icd配置优化

master
fanluyan 1 year ago
parent 754020a90f
commit 8735d7f7d1

@ -95,7 +95,7 @@ export default {
if (valid) {
if (this.title == "添加监测设备") {
console.log(this.formInfo);
this.$set(this.formInfo, "zsbId", this.formInfo.zsbId);
this.$set(this.formInfo, "zsbId", this.zsbInfo.id);
modevAddApi(this.formInfo)
.then((res) => {
if (res.success) {
@ -111,7 +111,7 @@ export default {
})
.catch((err) => {});
} else {
this.$set(this.formInfo, "zsbId", this.formInfo.zsbId);
this.$set(this.formInfo, "zsbId", this.zsbInfo.id);
console.log(this.formInfo);
modevUpdateApi(this.formInfo)
.then((res) => {

@ -127,9 +127,12 @@ export default {
},
//
handlecolSaveClick({ row }) {
const idlistArr = [];
idlistArr.push(row.id);
console.log(idlistArr);
icdupdateAttApi({
colName: this.colName,
id: row.id,
idList: idlistArr,
})
.then((res) => {
if (res.success) {

Loading…
Cancel
Save