Commit e7308ea7 authored by “yiyousong”'s avatar “yiyousong”

fix:修改事项关联设备

parent 0710b0fc
......@@ -199,7 +199,7 @@ export default {
: "",
tableData: [],
pageSizes: [10, 20, 30, 40, 50, 100, 200],
total: 10,
total: 0,
current: 1,
size: 10,
dialogVisible: false,
......@@ -223,7 +223,8 @@ export default {
productName: "样表机",
});
this.loading = false;
let { data } = res.data.data;
let { data, total } = res.data.data;
this.total = total;
this.tableData = data;
this.$refs.multipleTable.bodyWrapper.scrollTop = 0;
},
......
......@@ -317,7 +317,7 @@ export default {
let { code, msg } = res.data;
if (code == 1) {
this.$message.success(msg);
this.getDeviceMatterList();
this.getDeviceMatterList(this.devInfo.id);
}
},
// 删除设备事项
......@@ -333,7 +333,7 @@ export default {
let { code, msg } = res.data;
if (code == 1) {
this.$message.success(msg);
this.getDeviceMatterList();
this.getDeviceMatterList(this.devInfo.id);
}
})
.catch(() => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment