隐藏仪器

master
382696293@qq.com 2 years ago
parent 83b3448e36
commit dfc896f341

@ -234,7 +234,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</delete>
<delete id="deleteWxInstrumentByIds" parameterType="String">
delete from wx_instrument where id in
UPDATE wx_instrument SET status = 1 where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>

@ -116,7 +116,7 @@ public class WxInstrumentController extends BaseController {
}
/**
*
*
*/
@RequiresPermissions("system:instrument:remove")
@Log(title = "仪器列", businessType = BusinessType.DELETE)

@ -773,11 +773,11 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const ids = row.id || this.ids;
this.$modal.confirm('是否确认删除仪器列编号为"' + ids + '"的数据项?').then(function () {
this.$modal.confirm('是否确认隐藏仪器列编号为"' + ids + '"的数据项?').then(function () {
return delInstrument(ids);
}).then(() => {
this.getList();
this.$modal.msgSuccess("删除成功");
this.$modal.msgSuccess("隐藏成功");
}).catch(() => {
});
},

Loading…
Cancel
Save