空间信息
-附属设施信息
-成员信息
农户成员信息
- +户主专用信息
+户主专用信息
-户内成员
-
- {{item.xm}}
-
分户
移户
设为户主
成员详情
删除
+
+ {{item.xm}}
+
成员详情
删除
与户主关系:{{yhzgxfy(item.yhzgx)}}
证件号码:{{item.zjhm}}
农户代码:{{item.nhdm}}
与户主关系:{{yhzgxfy(item.yhzgx)}}
证件号码:{{item.zjhm}}
农户代码:{{item.nhdm}}
+ 添加成员信息
调查员·采集员
-审核员
-{{nickName}}
+{{nickName}} + ·调查员 + ·审核员 +
全部任务
@@ -35,7 +36,7 @@ width="50" height="50" :src="require('../../assets/images/housesteadSurvey/task2.png')" - @click="active=2,getList()" + @click="active=2,checkBadge()" />已完成
@@ -46,7 +47,7 @@ width="50" height="50" :src="require('../../assets/images/housesteadSurvey/task3.png')" - @click="active=3,getList()" + @click="active=3,checkBadge()" />待调查
@@ -197,6 +198,12 @@ rwfbzt:"PUBLISHED", rwzxr:null }, + // 切换查询参数 + switchParams: { + rwwczt: null, + rwfbzt:"PUBLISHED", + rwzxr:null + }, nickName:"", text:0, isLoadingtask:false, @@ -218,6 +225,7 @@ }) if(this.checked){ let userId = this.$store.getters.userId; + this.nickName = this.$store.getters.nickName; this.$set(this.queryParams, "rwzxr", userId); this.getList(); }else{ @@ -367,6 +375,7 @@ this.$set(this.queryParams, "rwzxr", null); this.getList(); } + this.queryNum(); }, setCookies(item){ /* if(this.$cookies.get("upload")==null||this.$cookies.get("upload")==0){ @@ -410,6 +419,47 @@ this.showDropList = false; this.$set(this.queryParams, "parentId", val.deptId); this.getList(); + this.$set(this.switchParams, "parentId", val.deptId); + this.queryNum(); + }, + checkBadge(){ + this.getList(); + this.queryNum(); + }, + queryNum(){ + if(this.checked){ + let userId = this.$store.getters.userId; + this.$set(this.switchParams, "rwzxr", userId); + listTask(this.switchParams).then(response => { + this.done = 0; + this.todo = 0; + this.total = response.total; + response.rows.map(res => { + if(res.rwwczt == "FINISHED"){ + this.done+=1 + }else{ + this.todo+=1 + } + // if(res.rwzxr!=null&&res.rwzxr!=''){ + // res.rwzxr = res.rwzxr.split(',') + }) + + }); + }else{ + this.$set(this.switchParams, "rwzxr", null); + listTask(this.switchParams).then(response => { + this.done = 0; + this.todo = 0; + this.total = response.total; + response.rows.map(res => { + if(res.rwwczt == "FINISHED"){ + this.done+=1 + }else{ + this.todo+=1 + } + }) + }); + } }, getList() { this.totalList = [] @@ -430,10 +480,13 @@ this.$set(this.queryParams, "pageNum", this.countqb + 1); } listTask(this.queryParams).then(response => { - this.done = 0; - this.todo = 0; - this.total = response.total; + if(this.active==1) { + this.done = 0; + this.todo = 0; + this.total = response.total; + } response.rows.map(res => { + console.info(this.active); if(this.active==1) { if(res.rwwczt == "FINISHED"){ this.done+=1 @@ -447,10 +500,8 @@ // } this.totalList = response.rows; }else if(this.active==2) { - this.done+=1 this.doneList.push(res); }else{ - this.todo+=1 this.todoList.push(res); } }) diff --git a/src/views/homesteadSurvey/list.vue b/src/views/homesteadSurvey/list.vue index 6a8d37f8..7d2379b7 100644 --- a/src/views/homesteadSurvey/list.vue +++ b/src/views/homesteadSurvey/list.vue @@ -52,13 +52,14 @@详情
详情
调查
调查
删除
+ 宅基地数: + {{qbNums}} 宗 +
++ 使用权人数: + {{totalR}} 人 +
宅基地
- - +自然幢
+附属设施
农户信息
- +户主专用信息
+户主专用信息
-户内成员
+ 添加成员信息
农民房屋信息
- +个人信息
+修改密码
@@ -45,6 +48,16 @@ + +使用权人信息
-自然幢信息