fe1a8bab by weimo934

feat(jzd,jzx):界址点、线

1 parent d247a19a
......@@ -97,6 +97,7 @@
props: {},
data() {
return {
bsm:'',
isCheckAll: false,
centerDialogVisible: false,
jblx: [
......@@ -163,7 +164,8 @@
mounted() {
// 该标识码继承过来
let bsm = '401044005bad0557d5e3787239d8e18e';
this.getData(bsm)
this.bsm=bsm;
this.getData(this.bsm)
},
methods: {
getData(bsm) {
......@@ -173,6 +175,7 @@
res.result[i]['iszb'] = 'readonly';
res.result[i]['jzdisdisabled'] = true;
}
this.isCheckAll=false;
this.jzdlist = res.result;
})
},
......@@ -182,6 +185,7 @@
console.log(res)
if (res.success) {
Message.success("保存成功")
this.getData(this.bsm)
} else {
Message.error(res.message)
}
......@@ -246,8 +250,8 @@
}
}
jzdbatchModify(this.batchJzd).then(res => {
console.log(res)
if (res.success) {
this.getData(this.bsm)
this.centerDialogVisible = false;
} else {
Message.error("修改失败")
......
......@@ -119,6 +119,7 @@
props: {},
data() {
return {
bsm:'',
isCheckAll: false,
centerDialogVisible: false,
jzxwz: [
......@@ -229,7 +230,8 @@
mounted() {
// 该标识码继承过来
let bsm = '044dc12648a1f41374679281da63e93b';
this.getData(bsm)
this.bsm=bsm;
this.getData(this.bsm)
},
methods: {
getData(bsm) {
......@@ -239,6 +241,7 @@
res.result[i]['jjisdisabled'] = 'readonly';
res.result[i]['jzxisdisabled'] = true;
}
this.isCheckAll=false;
this.jzxlist = res.result;
})
},
......@@ -248,6 +251,7 @@
console.log(res)
if (res.success) {
Message.success("保存成功")
this.getData(this.bsm)
} else {
Message.error(res.message)
}
......@@ -311,11 +315,11 @@
}
}
jzxsbatchModify(this.batchJzx).then(res => {
console.log(res)
if (res.success) {
this.getData(this.bsm)
this.centerDialogVisible = false;
} else {
Message.error("修改失败")
Message.error(res.message)
}
})
}
......