|
|
@@ -55,7 +55,7 @@ |
|
|
</van-search> |
|
|
</van-search> |
|
|
<van-tabs v-model="active" title-active-color="#7AC943" color="#7AC943" swipeable animated @click="getZjdList"> |
|
|
<van-tabs v-model="active" title-active-color="#7AC943" color="#7AC943" swipeable animated @click="getZjdList"> |
|
|
<van-tab > |
|
|
<van-tab > |
|
|
<template #title>全部<van-badge v-if="qbNums>0" :content="qbNums" /></template> |
|
|
|
|
|
|
|
|
<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-cell v-for="(item,index) in list" :key="index" size="small" @click.native="setCookies(item)" :to="{name:'homesteadAdd'}" style="border-radius: 16px; |
|
|
<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"> |
|
|
box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px"> |
|
|
@@ -78,7 +78,7 @@ |
|
|
</van-pull-refresh> |
|
|
</van-pull-refresh> |
|
|
</van-tab> |
|
|
</van-tab> |
|
|
<van-tab > |
|
|
<van-tab > |
|
|
<template #title>已核查<van-badge v-if="yhcNums>0" :content="yhcNums" /></template> |
|
|
|
|
|
|
|
|
<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-cell v-for="(item,index) in list1" :key="index" size="small" @click.native="setCookies(item)" :to="{name:'homesteadAdd'}" style="border-radius: 16px; |
|
|
<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"> |
|
|
box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px"> |
|
|
@@ -101,7 +101,7 @@ |
|
|
</van-pull-refresh> |
|
|
</van-pull-refresh> |
|
|
</van-tab> |
|
|
</van-tab> |
|
|
<van-tab > |
|
|
<van-tab > |
|
|
<template #title>未核查<van-badge v-if="whcNums>0" :content="whcNums" /></template> |
|
|
|
|
|
|
|
|
<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-cell v-for="(item,index) in list2" :key="index" size="small" @click.native="setCookies(item)" :to="{name:'homesteadAdd'}" style="border-radius: 16px; |
|
|
<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"> |
|
|
box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px"> |
|
|
@@ -1199,7 +1199,7 @@ |
|
|
zjdvalue:"", |
|
|
zjdvalue:"", |
|
|
// 使用权人搜索框 |
|
|
// 使用权人搜索框 |
|
|
nhvalue:"", |
|
|
nhvalue:"", |
|
|
active:null, |
|
|
|
|
|
|
|
|
active:2, |
|
|
// 全部列表 |
|
|
// 全部列表 |
|
|
list:[], |
|
|
list:[], |
|
|
// 已核查列表 |
|
|
// 已核查列表 |
|
|
@@ -1332,7 +1332,14 @@ |
|
|
this.jzhcssfyzfOptions = response.data; |
|
|
this.jzhcssfyzfOptions = response.data; |
|
|
}); |
|
|
}); |
|
|
this.getDicts("family_status").then(response => { |
|
|
this.getDicts("family_status").then(response => { |
|
|
this.yhzgxOptions = response.data; |
|
|
|
|
|
|
|
|
var arr = [];response.data.forEach(function (item) { |
|
|
|
|
|
if (item.dictLabel !== '户主') { |
|
|
|
|
|
arr.push(item) |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
this.yhzgxOptions = arr; |
|
|
|
|
|
|
|
|
|
|
|
/*this.yhzgxOptions = response.data;*/ |
|
|
}); |
|
|
}); |
|
|
this.getDicts("cybz").then(response => { |
|
|
this.getDicts("cybz").then(response => { |
|
|
this.cybzOptions = response.data; |
|
|
this.cybzOptions = response.data; |
|
|
@@ -1726,7 +1733,7 @@ |
|
|
if(this.active==1){ |
|
|
if(this.active==1){ |
|
|
let params = { |
|
|
let params = { |
|
|
"deptId" : this.item.deptId, |
|
|
"deptId" : this.item.deptId, |
|
|
"houserDataConfirmStatus" : "CONFIRMED", |
|
|
|
|
|
|
|
|
"houseDataConfirmStatus" : "CONFIRMED", |
|
|
"syqr" : this.zjdvalue |
|
|
"syqr" : this.zjdvalue |
|
|
} |
|
|
} |
|
|
listZjdzd(params).then((response) => { |
|
|
listZjdzd(params).then((response) => { |
|
|
@@ -1737,10 +1744,11 @@ |
|
|
}else if(this.active==2){ |
|
|
}else if(this.active==2){ |
|
|
let params = { |
|
|
let params = { |
|
|
"deptId" : this.item.deptId, |
|
|
"deptId" : this.item.deptId, |
|
|
"houserDataConfirmStatus" : "UNCONFIRMED", |
|
|
|
|
|
|
|
|
"houseDataConfirmStatus" : "UNCONFIRMED", |
|
|
"syqr" : this.zjdvalue |
|
|
"syqr" : this.zjdvalue |
|
|
} |
|
|
} |
|
|
listZjdzd(params).then((response) => { |
|
|
listZjdzd(params).then((response) => { |
|
|
|
|
|
console.log(response) |
|
|
if (response.code == 200) { |
|
|
if (response.code == 200) { |
|
|
this.list2 = response.rows |
|
|
this.list2 = response.rows |
|
|
} |
|
|
} |
|
|
@@ -1871,17 +1879,25 @@ |
|
|
}, |
|
|
}, |
|
|
// 户内成员列表 |
|
|
// 户内成员列表 |
|
|
showPopuphncylist(item){ |
|
|
showPopuphncylist(item){ |
|
|
this.showhncylist = true |
|
|
|
|
|
let params = { |
|
|
|
|
|
"nhdm":item.nhdm, |
|
|
|
|
|
"deptId":this.item.deptId |
|
|
|
|
|
} |
|
|
|
|
|
listNhhncy(params).then((response) => { |
|
|
|
|
|
if (response.code == 200) { |
|
|
|
|
|
this.hncylist = response.rows |
|
|
|
|
|
console.log(this.hncylist) |
|
|
|
|
|
|
|
|
if(item.nhdm==null||item.nhdm==""){ |
|
|
|
|
|
this.$toast({ |
|
|
|
|
|
icon: 'error', // 找到自己需要的图标 |
|
|
|
|
|
message: '请先保存户主信息', |
|
|
|
|
|
duration:"1000" |
|
|
|
|
|
}) |
|
|
|
|
|
}else{ |
|
|
|
|
|
this.showhncylist = true |
|
|
|
|
|
let params = { |
|
|
|
|
|
"nhdm":item.nhdm, |
|
|
|
|
|
"deptId":this.item.deptId |
|
|
} |
|
|
} |
|
|
}); |
|
|
|
|
|
|
|
|
listNhhncy(params).then((response) => { |
|
|
|
|
|
if (response.code == 200) { |
|
|
|
|
|
this.hncylist = response.rows |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
showPopupnh(item){ |
|
|
showPopupnh(item){ |
|
|
this.shownh = true |
|
|
this.shownh = true |
|
|
@@ -1913,7 +1929,7 @@ |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
getZjdList(){ |
|
|
getZjdList(){ |
|
|
if(this.active==1){ |
|
|
|
|
|
|
|
|
/*if(this.active==1){ |
|
|
let params = { |
|
|
let params = { |
|
|
"deptId" : this.item.deptId, |
|
|
"deptId" : this.item.deptId, |
|
|
"houseDataConfirmStatus" : "CONFIRMED", |
|
|
"houseDataConfirmStatus" : "CONFIRMED", |
|
|
@@ -1939,8 +1955,7 @@ |
|
|
this.list2 = response.rows |
|
|
this.list2 = response.rows |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
}else{ |
|
|
|
|
|
console.log(1) |
|
|
|
|
|
|
|
|
}else{*/ |
|
|
let params = { |
|
|
let params = { |
|
|
"deptId" : this.item.deptId, |
|
|
"deptId" : this.item.deptId, |
|
|
"pageNum": 1, |
|
|
"pageNum": 1, |
|
|
@@ -1962,6 +1977,7 @@ |
|
|
listZjdzd(params1).then((response) => { |
|
|
listZjdzd(params1).then((response) => { |
|
|
if (response.code == 200) { |
|
|
if (response.code == 200) { |
|
|
this.yhcNums = response.total |
|
|
this.yhcNums = response.total |
|
|
|
|
|
this.list1 = response.rows |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
let params2 = { |
|
|
let params2 = { |
|
|
@@ -1973,9 +1989,10 @@ |
|
|
listZjdzd(params2).then((response) => { |
|
|
listZjdzd(params2).then((response) => { |
|
|
if (response.code == 200) { |
|
|
if (response.code == 200) { |
|
|
this.whcNums = response.total |
|
|
this.whcNums = response.total |
|
|
|
|
|
this.list2 = response.rows |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
} |
|
|
|
|
|
|
|
|
/* }*/ |
|
|
}, |
|
|
}, |
|
|
onConfirm(){}, |
|
|
onConfirm(){}, |
|
|
onSubmithncy(){ |
|
|
onSubmithncy(){ |
|
|
@@ -1989,7 +2006,8 @@ |
|
|
onClose:function(){ |
|
|
onClose:function(){ |
|
|
_this.showhncy = false |
|
|
_this.showhncy = false |
|
|
let params = { |
|
|
let params = { |
|
|
"nhdm":_this.form5.nhdm |
|
|
|
|
|
|
|
|
"nhdm":_this.form5.nhdm, |
|
|
|
|
|
deptId:_this.form5.deptId |
|
|
} |
|
|
} |
|
|
listNhhncy(params).then((response) => { |
|
|
listNhhncy(params).then((response) => { |
|
|
_this.hncylist = response.rows |
|
|
_this.hncylist = response.rows |
|
|
@@ -2006,12 +2024,11 @@ |
|
|
duration:"1000", |
|
|
duration:"1000", |
|
|
onClose:function(){ |
|
|
onClose:function(){ |
|
|
_this.showhncy = false |
|
|
_this.showhncy = false |
|
|
console.log(_this.form5,this.form5) |
|
|
|
|
|
let params = { |
|
|
let params = { |
|
|
"nhdm":_this.form5.nhdm |
|
|
|
|
|
|
|
|
"nhdm":_this.form5.nhdm, |
|
|
|
|
|
deptId:_this.form5.deptId |
|
|
} |
|
|
} |
|
|
listNhhncy(params).then((response) => { |
|
|
listNhhncy(params).then((response) => { |
|
|
console.log(response.rows) |
|
|
|
|
|
_this.hncylist = response.rows |
|
|
_this.hncylist = response.rows |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
|