diff --git a/src/api/model/wpm.js b/src/api/model/wpm.js
index e0881550..24b0b0eb 100644
--- a/src/api/model/wpm.js
+++ b/src/api/model/wpm.js
@@ -298,6 +298,32 @@ export default {
},
},
},
+ mlogbw: {
+ list: {
+ name: "列表",
+ req: async function (data) {
+ return await http.get(`${config.API_URL}/wpm/mlogbw/`, data);
+ },
+ },
+ create: {
+ name: "创建",
+ req: async function (data) {
+ return await http.post(`${config.API_URL}/wpm/mlogbw/`, data);
+ },
+ },
+ update: {
+ name: "更新",
+ req: async function (id, data) {
+ return await http.put(`${config.API_URL}/wpm/mlogbw/${id}/`,data);
+ },
+ },
+ del: {
+ name: "删除",
+ req: async function (id) {
+ return await http.delete(`${config.API_URL}/wpm/mlogbw/${id}/`);
+ },
+ },
+ },
handover: {
list: {
name: "值班记录列表",
diff --git a/src/views/inm/mioitem.vue b/src/views/inm/mioitem.vue
index 252bc387..360649aa 100644
--- a/src/views/inm/mioitem.vue
+++ b/src/views/inm/mioitem.vue
@@ -77,6 +77,16 @@
hidePagination
hideDo
>
+
+
+
+ 检验
+
{
- this.$API.inm.mioitem.delete
- .req(row.id)
- .then((res) => {
- this.$message.success("删除成功");
- this.$refs.table.refresh();
- return res;
- })
- .catch((err) => {
- return err;
- });
- })
- .catch(() => {});
+ }).then(() => {
+ this.$API.inm.mioitem.delete.req(row.id).then((res) => {
+ this.$message.success("删除成功");
+ this.$refs.table.refresh();
+ return res;
+ }).catch((err) => {
+ return err;
+ });
+ }).catch(() => {});
},
//检验
table_check(row) {
@@ -365,6 +383,7 @@ export default {
},
handleCheckSuccess() {
this.$refs.table.refresh();
+ this.dialog.check = false;
},
handleQuery() {
this.$refs.table.queryData(this.query);
diff --git a/src/views/inm/mioitem_check.vue b/src/views/inm/mioitem_check.vue
index 84b72d85..c09be6d4 100644
--- a/src/views/inm/mioitem_check.vue
+++ b/src/views/inm/mioitem_check.vue
@@ -1199,6 +1199,7 @@ export default {
that.qct_testitems.forEach((item) => {
let val = that.form[item.testitem_name];
let obj0 = {};
+ obj0.testitem_name = item.testitem_name;
obj0.val = val;
test_json[item.id] =obj0;
})
diff --git a/src/views/wpm_bx/inm.vue b/src/views/wpm_bx/inm.vue
index 0971f667..58a8ba7f 100644
--- a/src/views/wpm_bx/inm.vue
+++ b/src/views/wpm_bx/inm.vue
@@ -156,19 +156,11 @@
@success="handleinmSuccess"
>
-
+
+