Pārlūkot izejas kodu

宅基地调查

wulanhaote
yujk pirms 3 gadiem
vecāks
revīzija
d01ed32256
2 mainītis faili ar 317 papildinājumiem un 61 dzēšanām
  1. +215
    -44
      src/views/homesteadSurvey/add.vue
  2. +102
    -17
      src/views/homesteadSurvey/list.vue

+ 215
- 44
src/views/homesteadSurvey/add.vue
Failā izmaiņas netiks attēlotas, jo tās ir par lielu
Parādīt failu


+ 102
- 17
src/views/homesteadSurvey/list.vue Parādīt failu

@@ -154,6 +154,7 @@
<div style="border-radius: 16px;
box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px;padding:5px;background:#fff;">
<van-field
autocomplete="off"
v-model="qlrform.qydm"
name="区域代码"
label="区域代码"
@@ -162,6 +163,7 @@
input-align="right"
/>
<van-field
autocomplete="off"
v-model="qlrform.suyqrdm"
name="所有权人代码"
label="所有权人代码"
@@ -170,6 +172,7 @@
input-align="right"
/>
<van-field
autocomplete="off"
v-model="qlrform.suyqrmc"
name="所有权人名称"
label="所有权人名称"
@@ -179,6 +182,7 @@
:rules="[{ required: true, message: '所有权人名称不能为空' }]"
/>
<van-field
autocomplete="off"
v-model="qlrform.suyqxzName"
name="所有权性质"
label="所有权性质"
@@ -189,6 +193,7 @@
@click="showsuyqxz = true"
/>
<van-field
autocomplete="off"
v-model="qlrform.suyqxz"
style="display:none"
/>
@@ -202,6 +207,7 @@
/>
</van-popup>
<van-field
autocomplete="off"
v-model="qlrform.dbrxm"
name="代表人姓名"
label="代表人姓名"
@@ -211,10 +217,12 @@
:rules="[{ required: true, message: '代表人姓名不能为空' }]"
/>
<van-field
autocomplete="off"
v-model="qlrform.dbrzjlx"
style="display:none"
/>
<van-field
autocomplete="off"
v-model="qlrform.dbrzjlxName"
name="代表人证件类型"
label="代表人证件类型"
@@ -234,6 +242,7 @@
/>
</van-popup>
<van-field
autocomplete="off"
v-model="qlrform.dbrzjhm"
name="代表人证件号码"
label="代表人证件号码"
@@ -243,6 +252,7 @@
:rules="[{ required: true, message: '' }]"
/>
<van-field
autocomplete="off"
v-model="qlrform.dbrlxdh"
name="代表人联系电话"
label="代表人联系电话"
@@ -252,6 +262,7 @@
:rules="[{ required: true, message: '代表人联系电话不能为空' }]"
/>
<van-field
autocomplete="off"
v-model="qlrform.dbrtxdz"
name="代表人通讯地址"
label="代表人通讯地址"
@@ -261,6 +272,7 @@
:rules="[{ required: true, message: '代表人通讯地址不能为空' }]"
/>
<van-field
autocomplete="off"
v-model="qlrform.dbryzbm"
name="代表人邮政编码"
label="代表人邮政编码"
@@ -269,7 +281,7 @@
input-align="right"
:rules="[{ required: true, message: '代表人邮政编码不能为空' }]"
/>
<van-field name="radio" label="是否成立农村集体经济组织" required input-align="right">
<van-field name="radio" label="是否成立农村集体经济组织" required input-align="right" autocomplete="off">
<template #input>
<van-radio-group v-model="qlrform.sfclncjtjjzz" direction="horizontal">
<van-radio name="1">是</van-radio>
@@ -278,6 +290,7 @@
</template>
</van-field>
<van-field
autocomplete="off"
v-model="qlrform.dlrxm"
name="代理人姓名"
label="代理人姓名"
@@ -285,10 +298,12 @@
input-align="right"
/>
<van-field
autocomplete="off"
v-model="qlrform.dlrzjlx"
style="display:none"
/>
<van-field
autocomplete="off"
v-model="qlrform.dlrzjlxName"
name="代理人证件类型"
label="代理人证件类型"
@@ -306,6 +321,7 @@
/>
</van-popup>
<van-field
autocomplete="off"
v-model="qlrform.dlrzjhm"
name="代理人证件号码"
label="代理人证件号码"
@@ -313,6 +329,7 @@
input-align="right"
/>
<van-field
autocomplete="off"
v-model="qlrform.dlrlxdh"
name="代理人联系电话"
label="代理人联系电话"
@@ -320,6 +337,7 @@
input-align="right"
/>
<van-field
autocomplete="off"
v-model="qlrform.dlrtxdz"
name="代理人通讯地址"
label="代理人通讯地址"
@@ -327,6 +345,7 @@
input-align="right"
/>
<van-field
autocomplete="off"
v-model="qlrform.dlryzbm"
name="代理人邮政编码"
label="代理人邮政编码"
@@ -337,6 +356,7 @@
<div style="border-radius: 16px;
box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px;padding:5px;background:#fff;">
<van-field
autocomplete="off"
v-model="qlrform.ncjtjjzzdm"
name="农村集体经济组织代码"
label="农村集体经济组织代码"
@@ -344,6 +364,7 @@
input-align="right"
/>
<van-field
autocomplete="off"
v-model="qlrform.ncjtjjzzmc"
name="农村集体经济组织名称"
label="农村集体经济组织名称"
@@ -351,6 +372,7 @@
input-align="right"
/>
<van-field
autocomplete="off"
v-model="qlrform.fbfdm"
name="发包方代码"
label="发包方代码"
@@ -358,6 +380,7 @@
input-align="right"
/>
<van-field
autocomplete="off"
v-model="qlrform.fbfmc"
name="发包方名称"
label="发包方名称"
@@ -365,6 +388,7 @@
input-align="right"
/>
<van-field
autocomplete="off"
v-model="qlrform.sjlyName"
name="数据来源"
label="数据来源"
@@ -375,6 +399,7 @@
:rules="[{ required: true, message: '数据来源不能为空' }]"
/>
<van-field
autocomplete="off"
v-model="qlrform.sjly"
style="display:none"
/>
@@ -388,6 +413,7 @@
/>
</van-popup>
<van-field
autocomplete="off"
v-model="qlrform.bz"
name="备注"
label="备注"
@@ -472,7 +498,7 @@
</div>

<div style="padding: 10px 15px;">
<van-checkbox name="all" v-model="CheckedAllArr" shape="square" @click="checkAll">全选</van-checkbox>
<van-checkbox name="all" v-model="CheckedAllArr" shape="square" @change="CheckedAllArr=!CheckedAllArr">全选</van-checkbox>
<div style="height: 15px;"></div>
<van-checkbox-group v-model="checked">
<van-checkbox name="fsssSx" shape="square" style="margin-bottom: 5px;" id="fsssSx">
@@ -513,6 +539,7 @@
<div style="margin:20px;">
<van-form @submit="onSubmitnh">
<van-field
autocomplete="off"
input-align="right"
v-model="nhform.suyqrdm"
name="所有权人代码"
@@ -523,6 +550,7 @@
:rules="[{ required: true, message: '所有权人代码不能为空' }]"
/>
<van-field
autocomplete="off"
input-align="right"
v-model="nhform.nhdm"
name="农户代码"
@@ -532,6 +560,7 @@
:rules="[{ required: true, message: '农户代码不能为空' }]"
/>
<van-field
autocomplete="off"
input-align="right"
v-model="nhform.hzxm"
name="户主姓名"
@@ -541,6 +570,7 @@
:rules="[{ required: true, message: '户主姓名不能为空' }]"
/>
<van-field
autocomplete="off"
input-align="right"
v-model="nhform.hzzjlxName"
name="户主证件类型"
@@ -552,10 +582,12 @@
@click="showhzzjlx = true"
/>
<van-field
autocomplete="off"
v-model="nhform.hzzjlx"
style="display:none"
/>
<van-field
autocomplete="off"
v-model="nhform.hzzjhm"
input-align="right"
name="户主证件号码"
@@ -565,6 +597,7 @@
:rules="[{ required: true, message: '户主证件号码不能为空' }]"
/>
<van-field
autocomplete="off"
input-align="right"
v-model="nhform.txdz"
name="通讯地址"
@@ -574,6 +607,7 @@
:rules="[{ required: true, message: '通讯地址不能为空' }]"
/>
<van-field
autocomplete="off"
input-align="right"
v-model="nhform.hncysl"
name="户内成员数量"
@@ -582,7 +616,7 @@
required
:rules="[{ required: true, message: '户内成员数量不能为空' }]"
/>
<van-field name="radio" label="婚姻状况" input-align="right">
<van-field name="radio" label="婚姻状况" input-align="right" autocomplete="off">
<template #input>
<van-radio-group v-model="nhform.hyzk" direction="horizontal">
<van-radio v-for="dict in hyzkOptions" :key="dict.dictValue" :name="dict.dictValue">{{dict.dictLabel}}</van-radio>
@@ -590,6 +624,7 @@
</template>
</van-field>
<van-field
autocomplete="off"
input-align="right"
v-model="nhform.phone"
name="电话号码"
@@ -597,6 +632,7 @@
placeholder="电话号码"
/>
<van-field
autocomplete="off"
input-align="right"
v-model="nhform.occupationName"
name="职业"
@@ -608,10 +644,12 @@
@click="showhzoccupation = true"
/>
<van-field
autocomplete="off"
v-model="nhform.occupation"
style="display:none"
/>
<van-field
autocomplete="off"
input-align="right"
v-model="nhform.jzqkName"
name="居住情况"
@@ -623,10 +661,12 @@
@click="showhzjzqk = true"
/>
<van-field
autocomplete="off"
v-model="nhform.jzqk"
style="display:none"
/>
<van-field
autocomplete="off"
input-align="right"
v-model="nhform.jzhcssfyzfName"
name="在集镇或城市是否有住房"
@@ -638,10 +678,11 @@
@click="showhzjzhcssfyzf = true"
/>
<van-field
autocomplete="off"
v-model="nhform.jzhcssfyzf"
style="display:none"
/>
<van-field name="radio" label="在其他村庄是否有住房" input-align="right">
<van-field name="radio" label="在其他村庄是否有住房" input-align="right" autocomplete="off">
<template #input>
<van-radio-group v-model="nhform.zqtczsfyzf" direction="horizontal">
<van-radio name="Y">是</van-radio>
@@ -649,7 +690,7 @@
</van-radio-group>
</template>
</van-field>
<van-field name="radio" label="是否本村村民" input-align="right">
<van-field name="radio" label="是否本村村民" input-align="right" autocomplete="off">
<template #input>
<van-radio-group v-model="nhform.sfbccm" direction="horizontal">
<van-radio name="Y">是</van-radio>
@@ -657,7 +698,7 @@
</van-radio-group>
</template>
</van-field>
<van-field name="radio" label="是否贫困户" input-align="right">
<van-field name="radio" label="是否贫困户" input-align="right" autocomplete="off">
<template #input>
<van-radio-group v-model="nhform.sfpkh" direction="horizontal">
<van-radio name="Y">是</van-radio>
@@ -665,7 +706,7 @@
</van-radio-group>
</template>
</van-field>
<van-field name="radio" label="是否五保户" input-align="right">
<van-field name="radio" label="是否五保户" input-align="right" autocomplete="off">
<template #input>
<van-radio-group v-model="nhform.sfwbh" direction="horizontal">
<van-radio name="Y">是</van-radio>
@@ -674,6 +715,7 @@
</template>
</van-field>
<van-field
autocomplete="off"
input-align="right"
v-model="nhform.sjlyName"
name="数据来源"
@@ -685,10 +727,12 @@
@click="showhzsjly = true"
/>
<van-field
autocomplete="off"
v-model="nhform.sjly"
style="display:none"
/>
<van-field
autocomplete="off"
input-align="right"
v-model="nhform.bz"
name="备注"
@@ -869,6 +913,7 @@
<div style="margin:20px;">
<van-form @submit="onSubmithncy">
<van-field
autocomplete="off"
input-align="right"
v-model="form5.nhdm"
name="农户代码"
@@ -879,6 +924,7 @@
:rules="[{ required: true, message: '农户代码不能为空' }]"
/>
<van-field
autocomplete="off"
input-align="right"
v-model="form5.xm"
name="姓名"
@@ -888,6 +934,7 @@
:rules="[{ required: true, message: '姓名不能为空' }]"
/>
<van-field
autocomplete="off"
input-align="right"
v-model="form5.zjlxName"
name="证件类型"
@@ -899,10 +946,12 @@
@click="showhncyzjlx = true"
/>
<van-field
autocomplete="off"
v-model="form5.zjlx"
style="display:none"
/>
<van-field
autocomplete="off"
input-align="right"
v-model="form5.yhzgxName"
name="与户主关系"
@@ -913,10 +962,12 @@
@click="showhncyyhzgx = true"
/>
<van-field
autocomplete="off"
v-model="form5.yhzgx"
style="display:none"
/>
<van-field
autocomplete="off"
input-align="right"
v-model="form5.zjhm"
name="证件号码"
@@ -925,7 +976,7 @@
required
:rules="[{ required: true, message: '证件号码不能为空' }]"
/>
<van-field name="radio" label="性别" input-align="right" required
<van-field autocomplete="off" name="radio" label="性别" input-align="right" required
:rules="[{ required: true, message: '性别不能为空' }]">
<template #input>
<van-radio-group v-model="form5.xb" direction="horizontal">
@@ -936,13 +987,14 @@
</template>
</van-field>
<van-field
autocomplete="off"
input-align="right"
v-model="form5.lxdh"
name="联系电话"
label="联系电话"
placeholder="联系电话"
/>
<van-field name="radio" label="户口类型" input-align="right">
<van-field name="radio" label="户口类型" input-align="right" autocomplete="off">
<template #input>
<van-radio-group v-model="form5.hklx" direction="horizontal">
<van-radio name="1">农业</van-radio>
@@ -950,14 +1002,14 @@
</van-radio-group>
</template>
</van-field>
<van-field name="radio" label="婚姻状况" input-align="right">
<van-field name="radio" label="婚姻状况" input-align="right" autocomplete="off">
<template #input>
<van-radio-group v-model="form5.hyzk" direction="horizontal">
<van-radio v-for="dict in hyzkOptions" :key="dict.dictValue" :name="dict.dictValue">{{dict.dictLabel}}</van-radio>
</van-radio-group>
</template>
</van-field>
<van-field name="radio" label="是否本集体经济组织成员" input-align="right">
<van-field name="radio" label="是否本集体经济组织成员" input-align="right" autocomplete="off">
<template #input>
<van-radio-group v-model="form5.sfbjtjjzzcy" direction="horizontal">
<van-radio name="Y">是</van-radio>
@@ -966,6 +1018,7 @@
</template>
</van-field>
<van-field
autocomplete="off"
input-align="right"
v-model="form5.cybzName"
name="成员备注"
@@ -974,10 +1027,12 @@
@click="showhncycybz = true"
/>
<van-field
autocomplete="off"
v-model="form5.cybz"
style="display:none"
/>
<van-field
autocomplete="off"
input-align="right"
v-model="form5.cybzsm"
name="成员备注说明"
@@ -985,6 +1040,7 @@
placeholder="成员备注说明"
/>
<van-field
autocomplete="off"
input-align="right"
v-model="form5.occupationName"
name="职业"
@@ -995,10 +1051,12 @@
@click="showhncyoccupation = true"
/>
<van-field
autocomplete="off"
v-model="form5.occupation"
style="display:none"
/>
<van-field
autocomplete="off"
input-align="right"
v-model="form5.jzqkName"
name="居住情况"
@@ -1009,10 +1067,11 @@
@click="showhncyjzqk = true"
/>
<van-field
autocomplete="off"
v-model="form5.jzqk"
style="display:none"
/>
<van-field name="radio" label="是否贫困户" input-align="right">
<van-field name="radio" label="是否贫困户" input-align="right" autocomplete="off">
<template #input>
<van-radio-group v-model="form5.sfpkh" direction="horizontal">
<van-radio name="Y">是</van-radio>
@@ -1020,7 +1079,7 @@
</van-radio-group>
</template>
</van-field>
<van-field name="radio" label="是否五保户" input-align="right">
<van-field name="radio" label="是否五保户" input-align="right" autocomplete="off">
<template #input>
<van-radio-group v-model="form5.sfwbh" direction="horizontal">
<van-radio name="Y">是</van-radio>
@@ -1029,6 +1088,7 @@
</template>
</van-field>
<van-field
autocomplete="off"
input-align="right"
v-model="form5.sjlyName"
name="数据来源"
@@ -1039,6 +1099,7 @@
@click="showhncysjly = true"
/>
<van-field
autocomplete="off"
v-model="form5.sjly"
style="display:none"
/>
@@ -1214,7 +1275,7 @@
coordinate:"",
checked:[],
checkAllFlag: false,//全选判断标识
CheckedAllArr: [],//全选数组
CheckedAllArr: false,//全选数组
sx:"",
dataList:[],
//搜索---start
@@ -1333,11 +1394,11 @@
let params = {
"deptId" : this.item.deptId,
"houseDataConfirmStatus" : "UNCONFIRMED",
"pageNum": this.countywhc+1,
"pageNum": this.countwhc+1,
"pageSize":10,
}
listZjdzd(params).then((response) => {
if(response.rows.lenght>0&&this.list2.length<response.total){
if(response.rows.length>0&&this.list2.length<response.total){
response.rows.map(res => {
this.list2.unshift(res)
})
@@ -1549,6 +1610,8 @@
}else{
addNh(this.nhform).then(
response => {
this.totalR+=1
this.totalH+=1
let _this =this
this.$toast({
icon: 'success', // 找到自己需要的图标
@@ -1833,6 +1896,28 @@
this.list = response.rows
}
});
let params1 = {
"deptId" : this.item.deptId,
"houseDataConfirmStatus" : "CONFIRMED",
"pageNum": 1,
"pageSize":10,
}
listZjdzd(params1).then((response) => {
if (response.code == 200) {
this.yhcNums = response.total
}
});
let params2 = {
"deptId" : this.item.deptId,
"houseDataConfirmStatus" : "UNCONFIRMED",
"pageNum": 1,
"pageSize":10,
}
listZjdzd(params2).then((response) => {
if (response.code == 200) {
this.whcNums = response.total
}
});
}
},
onConfirm(){},
@@ -3386,7 +3471,7 @@
if ($("#info .featureInfo .featureInfo").text() == "t_house_survey_zjdzd") {
that.mapHasDateStatus = 2;
let obj = {};
let trs = $("#info .featureInfo").find("tr:eq(1)");
let trs = $("#info .featureInfo").find("tr:eq(1)");
let zjdXq = trs.find("td").eq(0).text();
let zjdIdNum = zjdXq.replace("t_house_survey_zjdzd.", "");
obj.id = zjdIdNum; // 主键id


Notiek ielāde…
Atcelt
Saglabāt