From 2ea5791c7b184f9bb26628e5b6d2a8e5dd490a8f Mon Sep 17 00:00:00 2001 From: hbao Date: Tue, 1 Mar 2022 16:29:59 +0800 Subject: [PATCH 1/9] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=88=B7=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/homesteadSurvey/add.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/homesteadSurvey/add.vue b/src/views/homesteadSurvey/add.vue index 94ff5564..1137f40e 100644 --- a/src/views/homesteadSurvey/add.vue +++ b/src/views/homesteadSurvey/add.vue @@ -3754,6 +3754,7 @@ onSubmitzjd(){ if (this.form.id != null) { updateZjdzd(this.form).then(response => { + this.$cookies.set("search",this.form); let _this =this this.$toast({ icon: 'success', // 找到自己需要的图标 From 1eddc83109e76cc4392a371558336ca1dd840688 Mon Sep 17 00:00:00 2001 From: hbao Date: Tue, 1 Mar 2022 17:01:07 +0800 Subject: [PATCH 2/9] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/homesteadSurvey/add.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/homesteadSurvey/add.vue b/src/views/homesteadSurvey/add.vue index 1137f40e..00485155 100644 --- a/src/views/homesteadSurvey/add.vue +++ b/src/views/homesteadSurvey/add.vue @@ -3767,6 +3767,7 @@ }); } else { addZjdzd(this.form).then(response => { + this.$cookies.set("search",this.form); this.form = response.data let _this =this this.$toast({ From fdcde13ce6b51f6000e9494b2cba90a16cc98c3f Mon Sep 17 00:00:00 2001 From: yujk <990961482@qq.com> Date: Tue, 1 Mar 2022 17:02:21 +0800 Subject: [PATCH 3/9] =?UTF-8?q?=E5=AE=85=E5=9F=BA=E5=9C=B0=E8=B0=83?= =?UTF-8?q?=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/homesteadSurvey/add.vue | 31 +++++++++++----- src/views/homesteadSurvey/list.vue | 57 ++++++++++++++++++++++++------ 2 files changed, 70 insertions(+), 18 deletions(-) diff --git a/src/views/homesteadSurvey/add.vue b/src/views/homesteadSurvey/add.vue index 00485155..6fdf49bf 100644 --- a/src/views/homesteadSurvey/add.vue +++ b/src/views/homesteadSurvey/add.vue @@ -1925,7 +1925,17 @@ @cancel="showfwzt = false" /> + + + { this.lyzkOptions = response.data; @@ -2831,11 +2851,6 @@ this.getDicts("Industry").then(response => { this.industryOptions = response.data; }); - this.getnhdmlist(); - this.getZjd(); - this.getBaseUrl(); - - }, mounted(){ if(this.active ==1){ @@ -2871,10 +2886,10 @@ // 所有权人农户代码列表 getnhdmlist(){ let params = { - "deptId" : this.item.deptId + "deptId" : this.item.deptId, + "nhValue":this.nhdmValue } listNh(params).then((response) => { - console.log(response) this.syqrnhdmlist = response.rows }); }, diff --git a/src/views/homesteadSurvey/list.vue b/src/views/homesteadSurvey/list.vue index 98db4075..ae7fee88 100644 --- a/src/views/homesteadSurvey/list.vue +++ b/src/views/homesteadSurvey/list.vue @@ -56,7 +56,13 @@ - + + - + + - + + - + + - + + - + + @@ -1157,6 +1178,12 @@ name: "homesteadList", data() { return { + loading1:false, + finished1:false, + loading2:false, + finished2:false, + loading3:false, + finished3:false, //全部 qbNums:0, //已调查数量 @@ -1347,7 +1374,6 @@ this.item = this.$cookies.get("item"); this.getZjdList(); this.getTotalHR(); - console.log(this.mapZjdTeAll.mapZrzAData.length) }, methods: { //删除户内成员 @@ -1398,9 +1424,12 @@ listZjdzd(params).then((response) => { if(response.rows.length>0&&this.list1.length { - this.list1.unshift(res) + this.list1.push(res) }) this.countyhc++ + this.loading2 = false + }else{ + this.finished2 = true } }); }else if(this.active==2){ @@ -1413,9 +1442,12 @@ listZjdzd(params).then((response) => { if(response.rows.length>0&&this.list2.length { - this.list2.unshift(res) + this.list2.push(res) }) this.countwhc++ + this.loading3 = false + }else{ + this.finished3 = true } }); }else{ @@ -1427,9 +1459,12 @@ listZjdzd(params).then((response) => { if(response.rows.length>0&&this.list.length { - _this.list.unshift(res) + _this.list.push(res) }) this.countqb++ + this.loading1 = false + }else{ + this.finished1 = true } }); } @@ -2024,6 +2059,8 @@ message: '保存成功', duration:"1000", onClose:function(){ + _this.totalR+=1 + _this.totalH+=1 _this.showhncy = false let params = { "nhdm":_this.form5.nhdm, From 331886fabcdaea3e8604056f873a04d96f29b23e Mon Sep 17 00:00:00 2001 From: yujk <990961482@qq.com> Date: Tue, 1 Mar 2022 17:17:21 +0800 Subject: [PATCH 4/9] =?UTF-8?q?=E5=AE=85=E5=9F=BA=E5=9C=B0=E8=B0=83?= =?UTF-8?q?=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/homesteadSurvey/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/homesteadSurvey/index.vue b/src/views/homesteadSurvey/index.vue index 93a44b2a..4755a8b2 100644 --- a/src/views/homesteadSurvey/index.vue +++ b/src/views/homesteadSurvey/index.vue @@ -33,7 +33,7 @@ @click="active=1" /> -

全部任务

+

全部任务

@@ -44,7 +44,7 @@ @click="active=2" /> -

已完成

+

已完成

@@ -55,7 +55,7 @@ @click="active=3" /> -

待调查

+

待调查

From db045eec6cc5024b390968a96d76c7d33351ace3 Mon Sep 17 00:00:00 2001 From: hbao Date: Tue, 1 Mar 2022 18:00:04 +0800 Subject: [PATCH 5/9] =?UTF-8?q?=E7=BB=84=E4=BB=B6=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Map/MapGisDrawing.vue | 30 ++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/src/components/Map/MapGisDrawing.vue b/src/components/Map/MapGisDrawing.vue index c559dda8..4f264e6e 100644 --- a/src/components/Map/MapGisDrawing.vue +++ b/src/components/Map/MapGisDrawing.vue @@ -114,6 +114,21 @@ export default { }), }); that.mapData= that.message; + //宅基地图层查询开始 ------------------start + var cql_filter_all = "dept_id='" + that.$cookies.get("item").deptId + "'"; + var zjdTc= new ol.layer.Tile({ + source: new ol.source.TileWMS({ + url: "http://116.255.223.226:8080/geoserver/zjd_dc/wms", + params: { + LAYERS: 'zjd_dc:t_house_survey_zjdzd', + TILED: true, + cql_filter: cql_filter_all, + SRID: 3857, + }, + }), + }); + map.addLayer(zjdTc); + //宅基地图层查询开始 ------------------start //图层查询定位开始 ---------start if(this.message.substring(0,1) =="{"){ //that.newHt ="1"; @@ -539,6 +554,21 @@ export default { }); map.addLayer(cunTc); //村边界查询开始 ------------------------------end + //宅基地图层查询开始 ------------------start + var cql_filter_all = "dept_id='" + that.$cookies.get("item").deptId + "'"; + var zjdTc= new ol.layer.Tile({ + source: new ol.source.TileWMS({ + url: "http://116.255.223.226:8080/geoserver/zjd_dc/wms", + params: { + LAYERS: 'zjd_dc:t_house_survey_zjdzd', + TILED: true, + cql_filter: cql_filter_all, + SRID: 3857, + }, + }), + }); + map.addLayer(zjdTc); + //宅基地图层查询开始 ------------------start // getQueryLand().then((response) => { // if (response.code == 200) { // let InsertCode = response.data; From dcdc2a5054b847e1e9bd246393d6277f152ae1c5 Mon Sep 17 00:00:00 2001 From: hbao Date: Tue, 1 Mar 2022 18:23:29 +0800 Subject: [PATCH 6/9] =?UTF-8?q?=E8=AD=A6=E5=91=8A=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/homesteadSurvey/list.vue | 44 ++++++++++++++++++++++++++---- 1 file changed, 38 insertions(+), 6 deletions(-) diff --git a/src/views/homesteadSurvey/list.vue b/src/views/homesteadSurvey/list.vue index ae7fee88..0313db29 100644 --- a/src/views/homesteadSurvey/list.vue +++ b/src/views/homesteadSurvey/list.vue @@ -468,7 +468,7 @@