diff --git a/src/components/Map/MapGisDrawing.vue b/src/components/Map/MapGisDrawing.vue index cfba03c7..813f5498 100644 --- a/src/components/Map/MapGisDrawing.vue +++ b/src/components/Map/MapGisDrawing.vue @@ -132,7 +132,18 @@ export default { map.removeLayer(zjdTc); map.removeLayer(fsssTc); //宅基地图层查询开始 ------------------start + // var zjddmNew; + // if(that.$cookies.get("search").zjddm !=undefined && that.$cookies.get("search").zjddm !=""){ + // zjddmNew = that.$cookies.get("search").zjddm; + // }else { + // if(that.$cookies.get("item").zjddm !=undefined && that.$cookies.get("item").zjddm !=""){ + // zjddmNew = that.$cookies.get("item").zjddm; + // } + // } var cql_filter_all = "dept_id='" + that.$cookies.get("item").deptId + "'" + "and zjddm='" + that.$cookies.get("item").zjddm + "'"; + console.log(cql_filter_all); + console.log(that.$cookies.get("item")); + console.log(that.$cookies.get("search")); zjdTc= new ol.layer.Tile({ source: new ol.source.TileWMS({ url: that.mapGeoServerUrl +"/geoserver/zjd_dc/wms", diff --git a/src/views/homesteadSurvey/add.vue b/src/views/homesteadSurvey/add.vue index 63743906..494e12b6 100644 --- a/src/views/homesteadSurvey/add.vue +++ b/src/views/homesteadSurvey/add.vue @@ -48,7 +48,7 @@
- +

附属物

@@ -446,9 +446,35 @@ placeholder="备注" maxlength="200" /> + +
- 保存 + 保存
@@ -581,18 +607,10 @@

添加附属设施信息

-
- 异常标记 - 签名确认 - 调查审核 + 异常标记 + 签名确认 + 调查审核
@@ -2739,9 +2757,9 @@ /> - + 清空画板 - 保存提交 + 保存确认
-
- 保存 +
+ 关闭
{ this.showPopupzrz(zrz) @@ -3193,7 +3222,8 @@ }else if(this.cookiesInfo.active=="4"){ this.showfsss= true - this.form4.theGeom = this.cookiesInfo.mapFsssAData.theGeom; + //this.form4.theGeom = this.cookiesInfo.mapFsssAData.theGeom; + this.form4.zjddm = this.form.zjddm; this.getFsssList() setTimeout(() => { this.showPopupfsss(fsss) @@ -3327,7 +3357,6 @@ if(this.active ==1){ //this.form.theGeom = this.item.theGeom; this.message = this.form.theGeom; - console.log(this.message); //this.$refs.drewingClickLoading = this.form.theGeom; this.mapClickLoading(); } @@ -3336,16 +3365,6 @@ }, methods: { - showPic(){ - if(this.form.dzqm!=null&&this.form.dzqm!=""){ - this.resultImg = this.baseUrl+this.form.dzqm - } - if(this.$cookies.get("businessLevel")=='2'){ - this.showsh = true - }else{ - this.showsh = false - } - }, validatorIdcard(val){ if(this.form1.shyqrdbzjlx=='01'){ if(this.vcheckID(val)){ @@ -3466,6 +3485,7 @@ this.form.auditRemark = this.auditRemark if(this.form.zjdAudit=='2'){ this.form.houseDataConfirmStatus = 'UNCONFIRMED' + this.form.dzqm = '' updateZjdzd(this.form).then(response => { let _this =this this.$toast({ @@ -3495,17 +3515,6 @@ this.showycbj = false this.form.isyc = this.isyc this.form.ycms = this.ycms - updateZjdzd(this.form).then(response => { - let _this =this - this.$toast({ - icon: 'success', // 找到自己需要的图标 - message: '保存成功', - duration:"1000", - onClose:function(){ - _this.showycbj = false - } - }) - }); }, // 图片上传前 beforeReadyc(file){ @@ -3577,7 +3586,6 @@ configKey: "system.attachment.url"} sysConfig(params).then(response => { this.baseUrl = response.rows[0].configValue - console.log(this.baseUrl) }) }, // 验证 @@ -5904,6 +5912,9 @@ }, searchCommit(){ this.showesign = true + if(this.form.dzqm!=null&&this.form.dzqm!=""){ + this.resultImg = this.baseUrl+this.form.dzqm + } }, searchCommit1(){ this.form.houseDataConfirmStatus = "CONFIRMED"