|
|
@@ -56,7 +56,13 @@ |
|
|
|
<van-tabs v-model="active" title-active-color="#7AC943" color="#7AC943" swipeable animated @click="getZjdList"> |
|
|
|
<van-tab > |
|
|
|
<template #title>全部<van-badge v-if="qbNums>=0" :content="qbNums" /></template> |
|
|
|
<van-pull-refresh v-model="isLoadingzjd" @refresh="onRefreshzjd"> |
|
|
|
<!--<van-pull-refresh v-model="isLoadingzjd" @refresh="onRefreshzjd">--> |
|
|
|
<van-list |
|
|
|
v-model:loading="loading1" |
|
|
|
:finished="finished1" |
|
|
|
finished-text="没有更多了" |
|
|
|
@load="onRefreshzjd" |
|
|
|
> |
|
|
|
<van-cell v-for="(item,index) in list" :key="index" size="small" @click.native="setCookies(item)" :to="{name:'homesteadAdd'}" style="border-radius: 16px; |
|
|
|
box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px"> |
|
|
|
<template #title> |
|
|
@@ -75,11 +81,18 @@ |
|
|
|
<van-icon name="clock" color="#22b7f2" style="margin-top:10px;margin-right:10px;"/> |
|
|
|
</template> |
|
|
|
</van-cell> |
|
|
|
</van-pull-refresh> |
|
|
|
</van-list> |
|
|
|
<!--</van-pull-refresh>--> |
|
|
|
</van-tab> |
|
|
|
<van-tab > |
|
|
|
<template #title>已核查<van-badge v-if="yhcNums>=0" :content="yhcNums" /></template> |
|
|
|
<van-pull-refresh v-model="isLoadingzjd" @refresh="onRefreshzjd"> |
|
|
|
<!--<van-pull-refresh v-model="isLoadingzjd" @refresh="onRefreshzjd">--> |
|
|
|
<van-list |
|
|
|
v-model:loading="loading2" |
|
|
|
:finished="finished2" |
|
|
|
finished-text="没有更多了" |
|
|
|
@load="onRefreshzjd" |
|
|
|
> |
|
|
|
<van-cell v-for="(item,index) in list1" :key="index" size="small" @click.native="setCookies(item)" :to="{name:'homesteadAdd'}" style="border-radius: 16px; |
|
|
|
box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px"> |
|
|
|
<template #title> |
|
|
@@ -98,11 +111,18 @@ |
|
|
|
<van-icon name="clock" color="#22b7f2" style="margin-top:10px;margin-right:10px;"/> |
|
|
|
</template> |
|
|
|
</van-cell> |
|
|
|
</van-pull-refresh> |
|
|
|
</van-list> |
|
|
|
<!--</van-pull-refresh>--> |
|
|
|
</van-tab> |
|
|
|
<van-tab > |
|
|
|
<template #title>未核查<van-badge v-if="whcNums>=0" :content="whcNums" /></template> |
|
|
|
<van-pull-refresh v-model="isLoadingzjd" @refresh="onRefreshzjd"> |
|
|
|
<!--<van-pull-refresh v-model="isLoadingzjd" @refresh="onRefreshzjd">--> |
|
|
|
<van-list |
|
|
|
v-model:loading="loading3" |
|
|
|
:finished="finished3" |
|
|
|
finished-text="没有更多了" |
|
|
|
@load="onRefreshzjd" |
|
|
|
> |
|
|
|
<van-cell v-for="(item,index) in list2" :key="index" size="small" @click.native="setCookies(item)" :to="{name:'homesteadAdd'}" style="border-radius: 16px; |
|
|
|
box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px"> |
|
|
|
<template #title> |
|
|
@@ -121,7 +141,8 @@ |
|
|
|
<van-icon name="clock" color="#22b7f2" style="margin-top:10px;margin-right:10px;"/> |
|
|
|
</template> |
|
|
|
</van-cell> |
|
|
|
</van-pull-refresh> |
|
|
|
</van-list> |
|
|
|
<!--</van-pull-refresh>--> |
|
|
|
</van-tab> |
|
|
|
</van-tabs> |
|
|
|
</div> |
|
|
@@ -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<response.total){ |
|
|
|
response.rows.map(res => { |
|
|
|
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<response.total){ |
|
|
|
response.rows.map(res => { |
|
|
|
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<response.total){ |
|
|
|
response.rows.map(res => { |
|
|
|
_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, |
|
|
|