|
@ -273,7 +273,7 @@ export default { |
|
|
let dcArr = []; |
|
|
let dcArr = []; |
|
|
this.tableData.forEach(item => { |
|
|
this.tableData.forEach(item => { |
|
|
let dcData = { |
|
|
let dcData = { |
|
|
id: item.id || '', |
|
|
id: null, |
|
|
deviceType: item.deviceType, |
|
|
deviceType: item.deviceType, |
|
|
searchRule: item.searchRule, |
|
|
searchRule: item.searchRule, |
|
|
number: item.number |
|
|
number: item.number |
|
@ -346,13 +346,13 @@ export default { |
|
|
if (result.code != 200) return Message.error(result?.msg); |
|
|
if (result.code != 200) return Message.error(result?.msg); |
|
|
Message.success("提交成功"); |
|
|
Message.success("提交成功"); |
|
|
this.modelVisible = false; |
|
|
this.modelVisible = false; |
|
|
|
|
|
this.$emit("reInitData", true); |
|
|
}) |
|
|
}) |
|
|
.catch(() => { |
|
|
.catch(() => { |
|
|
Message.error("提交失败"); |
|
|
Message.error("提交失败"); |
|
|
}) |
|
|
}) |
|
|
.finally(() => { |
|
|
.finally(() => { |
|
|
this.submitting = false; |
|
|
this.submitting = false; |
|
|
this.$emit("reInitData", true); |
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|