|
@@ -32,6 +32,8 @@ export default {
|
|
currentLabelCid: null,
|
|
currentLabelCid: null,
|
|
currentLabelHtml: null,
|
|
currentLabelHtml: null,
|
|
tableObj: {},
|
|
tableObj: {},
|
|
|
|
+ // 疑点审计的保存后的疑点状态集合
|
|
|
|
+ caseStatusMap: new Map(),
|
|
};
|
|
};
|
|
},
|
|
},
|
|
created() {},
|
|
created() {},
|
|
@@ -177,6 +179,14 @@ export default {
|
|
);
|
|
);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ if ($(`#${str}_id .center-table-item-special select`)) {
|
|
|
|
+ if (this.caseStatusMap.has(str)) {
|
|
|
|
+ $(`#${str}_id .center-table-item-special select`).val(
|
|
|
|
+ this.caseStatusMap.get(str)
|
|
|
|
+ );
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
// 法律法规点击事件
|
|
// 法律法规点击事件
|
|
if ($(`#${str}_id a`)) {
|
|
if ($(`#${str}_id a`)) {
|
|
$(`#${str}_id a`).click((e) => {
|
|
$(`#${str}_id a`).click((e) => {
|
|
@@ -243,6 +253,7 @@ export default {
|
|
confirmBtnEvent(str) {
|
|
confirmBtnEvent(str) {
|
|
// isTrue
|
|
// isTrue
|
|
let selectVal = $(`#${str}_id .center-table-item-special select`).val();
|
|
let selectVal = $(`#${str}_id .center-table-item-special select`).val();
|
|
|
|
+ this.caseStatusMap.set(str, selectVal);
|
|
let obj = {
|
|
let obj = {
|
|
c_date_time: this.$dayjs().valueOf(),
|
|
c_date_time: this.$dayjs().valueOf(),
|
|
c_boolean: selectVal === "isTrue" ? true : false,
|
|
c_boolean: selectVal === "isTrue" ? true : false,
|
|
@@ -257,12 +268,14 @@ export default {
|
|
modelId: 49,
|
|
modelId: 49,
|
|
content: JSON.stringify(obj),
|
|
content: JSON.stringify(obj),
|
|
};
|
|
};
|
|
- this.$Post(this.urlsCollection.updateContent,modifyParams).then((res)=>{
|
|
|
|
- if(res.code === 200 ){
|
|
|
|
- this.$message.success("数据修改成功")
|
|
|
|
- map2DViewer.map.closePopup()
|
|
|
|
|
|
+ this.$Post(this.urlsCollection.updateContent, modifyParams).then(
|
|
|
|
+ (res) => {
|
|
|
|
+ if (res.code === 200) {
|
|
|
|
+ this.$message.success("数据修改成功");
|
|
|
|
+ map2DViewer.map.closePopup();
|
|
|
|
+ }
|
|
}
|
|
}
|
|
- });
|
|
|
|
|
|
+ );
|
|
},
|
|
},
|
|
cancelBtnEvent() {
|
|
cancelBtnEvent() {
|
|
map2DViewer.map.closePopup();
|
|
map2DViewer.map.closePopup();
|
|
@@ -590,7 +603,6 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
addSinglePolygon(geometry, cid, color, uniqueId) {
|
|
addSinglePolygon(geometry, cid, color, uniqueId) {
|
|
- // debugger;
|
|
|
|
let coordinates = "";
|
|
let coordinates = "";
|
|
|
|
|
|
if (uniqueId === "一般耕地_47") {
|
|
if (uniqueId === "一般耕地_47") {
|
|
@@ -625,7 +637,7 @@ export default {
|
|
this.auditPopupShow = true;
|
|
this.auditPopupShow = true;
|
|
this.popup = L.popup({ maxWidth: 700, maxHeight: 600 })
|
|
this.popup = L.popup({ maxWidth: 700, maxHeight: 600 })
|
|
.setLatLng(e.latlng)
|
|
.setLatLng(e.latlng)
|
|
- .setContent(this.createAuditDiv("cid", properties));
|
|
|
|
|
|
+ .setContent(this.createAuditDiv(cid, properties));
|
|
this.auditPopupShow = false;
|
|
this.auditPopupShow = false;
|
|
this.popup.openOn(map2DViewer.map);
|
|
this.popup.openOn(map2DViewer.map);
|
|
this.currentCid = cid;
|
|
this.currentCid = cid;
|
|
@@ -654,7 +666,7 @@ export default {
|
|
|
|
|
|
this.popup = L.popup({ maxWidth: 700, maxHeight: 600 })
|
|
this.popup = L.popup({ maxWidth: 700, maxHeight: 600 })
|
|
.setLatLng(e.latlng)
|
|
.setLatLng(e.latlng)
|
|
- .setContent(this.createAuditDiv("cid"));
|
|
|
|
|
|
+ .setContent(this.createAuditDiv(cid));
|
|
// .openOn(map2DViewer.map);
|
|
// .openOn(map2DViewer.map);
|
|
this.auditPopupShow = false;
|
|
this.auditPopupShow = false;
|
|
this.popup.openOn(map2DViewer.map);
|
|
this.popup.openOn(map2DViewer.map);
|