hbao před 3 roky
rodič
revize
3e3fd06150
1 změnil soubory, kde provedl 510 přidání a 78 odebrání
  1. +510
    -78
      src/views/homesteadSurvey/add.vue

+ 510
- 78
src/views/homesteadSurvey/add.vue Zobrazit soubor

@@ -84,6 +84,15 @@
input-align="right"
disabled
/>
<van-field
autocomplete="off"
input-align="right"
v-model="form.zddm"
name="宗地代码"
label="宗地代码"
placeholder="自动生成"
disabled
/>
<van-field name="radio" label="是否发证" input-align="right" autocomplete="off">
<template #input>
<van-radio-group v-model="form.sffz" direction="horizontal">
@@ -95,7 +104,7 @@
<van-field
autocomplete="off"
input-align="right"
v-model="form.ytName"
v-model="form.ytmc"
name="用途"
label="用途"
placeholder="用途"
@@ -104,14 +113,6 @@
required
:rules="[{ required: true, message: '用途不能为空' }]"
/>
<van-field
input-align="right"
v-model="form.ytmc"
name="用途名称"
label="用途名称"
placeholder="用途名称"
autocomplete="off"
/>
<van-field
v-model="form.yt"
style="display:none"
@@ -143,14 +144,7 @@
label="宗地面积(㎡)"
placeholder="宗地面积(㎡)"
/>
<van-field
autocomplete="off"
input-align="right"
v-model="form.zdbh"
name="宗地代码"
label="宗地代码"
placeholder="宗地代码"
/>

<van-field
autocomplete="off"
input-align="right"
@@ -166,10 +160,9 @@
v-model="form.zldwdm"
name="坐落单位代码"
label="坐落单位代码"
placeholder="坐落单位代码"
placeholder="自动生成"
input-align="right"
required
:rules="[{ required: true, message: '坐落单位代码不能为空' }]"
disabled
/>
<van-field
autocomplete="off"
@@ -309,6 +302,7 @@
style="display:none"
/>
<van-field
autocomplete="off"
input-align="right"
v-model="form.jg"
name="价格(万元)"
@@ -410,7 +404,8 @@
v-model="form.djh"
name="地籍号"
label="地籍号"
placeholder="地籍号"
placeholder="自动生成"
disabled
/>
<van-field
autocomplete="off"
@@ -470,11 +465,13 @@
</template>
</van-swipe-cell>

<div style="border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px;background:#fff;padding:20px;">
<div style="text-align:center;" >
<p style="color:#22B7F2;font-size:20px;line-height:30px;" @click="showPopupsyqr('')"><van-icon name="plus" color="#22b7f2" size="20" style="margin-right:10px;"/>添加使用权人代表</p>
<div style="border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px;background:#fff;padding:10px;">
<div style="text-align:center;overflow:auto;">
<van-button plain round color="#22B7F2" size="mini" style="margin:0 auto;padding:20px;" @click="showPopupsyqr('')">+添加使用权人</van-button>
<van-button plain round color="#22B7F2" size="mini" style="margin:0 auto;padding:20px;" @click="showPopupnh('')">+添加农户信息</van-button>
</div>
</div>

<div style="position:fixed;bottom:50px;left:25%;width:50%;text-align:center;">
<van-button round size="small" color="#7AC943" style="width:40%" @click="changeActiveBack">上一项</van-button>
<van-button round size="small" color="#7AC943" style="width:40%" @click="changeActive">下一项</van-button>
@@ -498,6 +495,7 @@
</div>
<div style="text-align:center;overflow:auto;">
<van-button plain round color="#7AC943" size="mini" style="margin:0 auto;" @click="showPopupzrz(item)">查看自然幢信息</van-button>
<van-button plain round color="#7AC943" size="mini" style="margin:0 auto;" @click="shownmfwlist(item)">查看房屋列表</van-button>
</div>
</div>
<template #right>
@@ -509,7 +507,7 @@
<p style="color:#22B7F2;font-size:20px;line-height:30px;" @click="showPopupzrz('')"><van-icon name="plus" color="#22b7f2" size="20" style="margin-right:10px;"/>添加自然幢信息</p>
</div>
</div>
<div style="margin:20px;">
<!--<div style="margin:20px;">
<p class="title" style="position:relative;padding-left:20px;line-height:32px;">房屋信息</p>
</div>
<van-swipe-cell v-for="(item,index) in fwlist" :key="index" style="border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px auto;background:#fff;">
@@ -535,7 +533,7 @@
<div style="text-align:center;" >
<p style="color:#22B7F2;font-size:20px;line-height:30px;" @click="showPopupfw('')"><van-icon name="plus" color="#22b7f2" size="20" style="margin-right:10px;"/>添加房屋信息</p>
</div>
</div>
</div>-->
<div style="position:fixed;bottom:50px;left:25%;width:50%;text-align:center;">
<van-button round size="small" color="#7AC943" style="width:40%" @click="changeActiveBack">上一项</van-button>
<van-button round size="small" color="#7AC943" style="width:40%" @click="changeActive">下一项</van-button>
@@ -721,6 +719,7 @@
name="权利比例"
label="权利比例"
placeholder="单独为1,共有时2位小数"
type="number"
/>
<van-field
autocomplete="off"
@@ -772,6 +771,7 @@
name="分摊宗地面积(㎡)"
label="分摊宗地面积(㎡)"
placeholder="单位:平方米"
type="number"
/>
<van-field
autocomplete="off"
@@ -888,9 +888,8 @@
v-model="form3.zrzh"
name="自然幢号"
label="自然幢号"
placeholder="自然幢号"
required
:rules="[{ required: true, message: '自然幢号不能为空' }]"
placeholder="自动生成"
disabled
/>
<van-field
autocomplete="off"
@@ -909,6 +908,7 @@
name="建筑物高度"
label="建筑物高度"
placeholder="建筑物高度"
type="number"
/>
<van-field
autocomplete="off"
@@ -917,6 +917,7 @@
name="幢占地面积(㎡)"
label="幢占地面积(㎡)"
placeholder="幢占地面积(㎡)"
type="number"
required
:rules="[{ required: true, message: '幢占地面积(㎡)不能为空' }]"
/>
@@ -927,6 +928,7 @@
name="幢用地面积(㎡)"
label="幢用地面积(㎡)"
placeholder="幢用地面积(㎡)"
type="number"
required
:rules="[{ required: true, message: '幢用地面积(㎡)不能为空' }]"
/>
@@ -937,6 +939,7 @@
name="实测建筑面积(㎡)"
label="实测建筑面积(㎡)"
placeholder="实测建筑面积(㎡)"
type="number"
/>
<van-field
autocomplete="off"
@@ -945,6 +948,7 @@
name="总层数"
label="总层数"
placeholder="总层数"
type="number"
required
:rules="[{ required: true, message: '总层数不能为空' }]"
/>
@@ -955,6 +959,7 @@
name="地上层数"
label="地上层数"
placeholder="地上层数"
type="number"
/>
<van-field
autocomplete="off"
@@ -963,6 +968,7 @@
name="地下层数"
label="地下层数"
placeholder="地下层数"
type="number"
/>
<van-field
autocomplete="off"
@@ -1013,6 +1019,228 @@
</van-form>
</div>
</van-popup>
<van-popup v-model="shownh" style="height:100%;width:100%;">
<div class="bannerBg">
<van-nav-bar
style="background:transparent;border-bottom-width:0;"
@click-left="shownh=false"
>
<template #left>
<van-icon name="arrow-left" size="18" color="#fff" />
</template>
<template #title>
<p style="color:#fff">{{nhform.id?"":"新增"}}户主信息</p>
</template>
</van-nav-bar>
</div>
<div style="margin:20px;">
<van-form @submit="onSubmitnh">
<van-field
autocomplete="off"
input-align="right"
v-model="nhform.suyqrdm"
name="所有权人代码"
label="所有权人代码"
placeholder="所有权人代码"
required
disabled
:rules="[{ required: true, message: '所有权人代码不能为空' }]"
/>
<van-field
autocomplete="off"
input-align="right"
v-model="nhform.nhdm"
name="农户代码"
label="农户代码"
placeholder="自动生成"
disabled
/>
<van-field
autocomplete="off"
input-align="right"
v-model="nhform.hzxm"
name="户主姓名"
label="户主姓名"
placeholder="户主姓名"
required
:rules="[{ required: true, message: '户主姓名不能为空' }]"
/>
<van-field
autocomplete="off"
input-align="right"
v-model="nhform.hzzjlxName"
name="户主证件类型"
label="户主证件类型"
placeholder="户主证件类型"
required
readonly
:rules="[{ required: true, message: '户主证件类型不能为空' }]"
@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="户主证件号码"
label="户主证件号码"
placeholder="户主证件号码"
required
:rules="[{ required: true, message: '户主证件号码不能为空' }]"
/>
<van-field
autocomplete="off"
input-align="right"
v-model="nhform.txdz"
name="通讯地址"
label="通讯地址"
placeholder="通讯地址"
required
:rules="[{ required: true, message: '通讯地址不能为空' }]"
/>
<van-field
autocomplete="off"
input-align="right"
v-model="nhform.hncysl"
name="户内成员数量"
label="户内成员数量"
placeholder="户内成员数量"
required
:rules="[{ required: true, message: '户内成员数量不能为空' }]"
/>
<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>
</van-radio-group>
</template>
</van-field>
<van-field
autocomplete="off"
input-align="right"
v-model="nhform.phone"
name="电话号码"
label="电话号码"
placeholder="电话号码"
/>
<van-field
autocomplete="off"
input-align="right"
v-model="nhform.occupationName"
name="职业"
label="职业"
placeholder="职业"
required
readonly
:rules="[{ required: true, message: '职业不能为空' }]"
@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="居住情况"
label="居住情况"
placeholder="居住情况"
required
readonly
:rules="[{ required: true, message: '居住情况不能为空' }]"
@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="在集镇或城市是否有住房"
label="在集镇或城市是否有住房"
placeholder="在集镇或城市是否有住房"
required
readonly
:rules="[{ required: true, message: '在集镇或城市是否有住房不能为空' }]"
@click="showhzjzhcssfyzf = true"
/>
<van-field
autocomplete="off"
v-model="nhform.jzhcssfyzf"
style="display:none"
/>
<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>
<van-radio name="N">否</van-radio>
</van-radio-group>
</template>
</van-field>
<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>
<van-radio name="N">否</van-radio>
</van-radio-group>
</template>
</van-field>
<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>
<van-radio name="N">否</van-radio>
</van-radio-group>
</template>
</van-field>
<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>
<van-radio name="N">否</van-radio>
</van-radio-group>
</template>
</van-field>
<van-field
autocomplete="off"
input-align="right"
v-model="nhform.sjlyName"
name="数据来源"
label="数据来源"
placeholder="数据来源"
required
readonly
:rules="[{ required: true, message: '能为空' }]"
@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="备注"
label="备注"
placeholder="备注"
/>
<div style="margin: 16px;">
<van-button round block color="#7AC943" native-type="submit">保存</van-button>
</div>
</van-form>
</div>
</van-popup>
<van-popup v-model="showfw" style="height:100%;width:100%;">
<div class="bannerBg">
<van-nav-bar
@@ -1092,6 +1320,7 @@
name="农民房屋面积(㎡)"
label="农民房屋面积(㎡)"
placeholder="农民房屋面积(㎡)"
type="number"
required
:rules="[{ required: true, message: '农民房屋面积(㎡)不能为空' }]"
/>
@@ -1247,6 +1476,7 @@
name="建筑面积(㎡)"
label="建筑面积(㎡)"
placeholder="建筑面积(㎡)"
type="number"
/>
<van-field
autocomplete="off"
@@ -1868,6 +2098,8 @@
type="date"
@confirm="onConfirmzrzjgrq"
@cancel="showPickerjgrq = false"
:min-date="minDate"
:max-date="maxDate"
/>
</van-popup>
<van-popup v-model="showPickerpzsj" position="bottom">
@@ -2025,6 +2257,7 @@
name="建筑面积(㎡)"
label="建筑面积(㎡)"
placeholder="建筑面积(㎡)"
type="number"
required
:rules="[{ required: true, message: '建筑面积(㎡)不能为空' }]"
/>
@@ -2406,6 +2639,48 @@
</div>
</div>
</van-popup>
<van-popup v-model="shownmfw" style="height:100%;width:100%;">
<div class="bannerBg">
<van-nav-bar
style="background:transparent;border-bottom-width:0;"
@click-left="shownmfw=false"
>
<template #left>
<van-icon name="arrow-left" size="18" color="#fff" />
</template>
<template #title>
<p style="color:#fff">房屋信息列表</p>
</template>
</van-nav-bar>
</div>
<div style="margin:20px;">
<p class="title" style="position:relative;padding-left:20px;line-height:32px;">房屋信息</p>
</div>
<van-swipe-cell v-for="(item,index) in fwlist" :key="index" style="border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px auto;background:#fff;">
<div style="padding:20px;">
<p style="color:#22B7F2;font-size:20px;line-height:30px;"><van-icon name="wap-home" color="#22b7f2" size="20" style="margin-right:10px;"/>第{{index+1}}号</p>
<div style="display:flex;line-height:20px">
<p style="flex:1;text-align:left;">农民房屋幢号</p>
<p style="flex:1;text-align:right;">{{item.nmfwzh}}</p>
</div>
<div style="display:flex;line-height:20px">
<p style="flex:1;text-align:left;">农民房屋面积(㎡)</p>
<p style="flex:1;text-align:right;">{{item.nmfwmj}}</p>
</div>
<div style="text-align:center;overflow:auto;">
<van-button plain round color="#7AC943" size="mini" style="margin:0 auto;" @click="showPopupfw(item)">查看房屋信息</van-button>
</div>
</div>
<template #right>
<van-button square text="删除" type="danger" class="delete-button" @click="deletefw(item.id,index)"/>
</template>
</van-swipe-cell>
<div style="border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px;background:#fff;padding:20px;margin-bottom:50px">
<div style="text-align:center;" >
<p style="color:#22B7F2;font-size:20px;line-height:30px;" @click="showPopupfw('')"><van-icon name="plus" color="#22b7f2" size="20" style="margin-right:10px;"/>添加房屋信息</p>
</div>
</div>
</van-popup>
<van-popup v-model="showesign" position="bottom" closeable
close-icon="close">
<van-row style="margin:0 10%">
@@ -2511,6 +2786,56 @@
@cancel="showsyqrsshy = false"
/>
</van-popup>
<!--户主证件类型-->
<van-popup v-model="showhzzjlx" position="bottom">
<van-picker
show-toolbar
:columns="zjlxOptions"
value-key="dictLabel"
@confirm="onConfirmhzzjlx"
@cancel="showhzzjlx = false"
/>
</van-popup>
<!--户主数据来源-->
<van-popup v-model="showhzsjly" position="bottom">
<van-picker
show-toolbar
:columns="sjlyOptions"
value-key="dictLabel"
@confirm="onConfirmhzsjly"
@cancel="showhzsjly = false"
/>
</van-popup>
<!--户主职业-->
<van-popup v-model="showhzoccupation" position="bottom">
<van-picker
show-toolbar
:columns="occupationOptions"
value-key="dictLabel"
@confirm="onConfirmhzoccupation"
@cancel="showhzoccupation = false"
/>
</van-popup>
<!--户主居住情况-->
<van-popup v-model="showhzjzqk" position="bottom">
<van-picker
show-toolbar
:columns="jzqkOptions"
value-key="dictLabel"
@confirm="onConfirmhzjzqk"
@cancel="showhzjzqk = false"
/>
</van-popup>
<!--集市或城市是否有住房-->
<van-popup v-model="showhzjzhcssfyzf" position="bottom">
<van-picker
show-toolbar
:columns="jzhcssfyzfOptions"
value-key="dictLabel"
@confirm="onConfirmhzjzhcssfyzf"
@cancel="showhzjzhcssfyzf = false"
/>
</van-popup>
</div>
</template>

@@ -2533,6 +2858,14 @@
components: { MapGisDrawing,},
data() {
return {
shownh:false,
showhzzjlx:false,
showhzoccupation:false,
showhzjzqk:false,
showhzjzhcssfyzf:false,
showhzsjly:false,
minDate:new Date(1950,1,1),
maxDate:new Date(2030,1,1),
nhdmValue:null,
active:1,
// 电子签名
@@ -2542,6 +2875,7 @@
resultImg: "", // 最终画布生成的base64图片
isCrop: false, // 是否裁剪,在画布设定尺寸基础上裁掉四周空白部分
showdj:false,
shownmfw:false,
showsyqrsshy:false,
shownmfwnhdm:false,
showsyqrnmfwdm:false,
@@ -2619,6 +2953,8 @@
form4:{},
//成员信息表单
form5:{},
// 农户信息表单
nhform:{},
// 使用权人列表
syqrlist:[],
// 使用权人农户代码列表
@@ -2710,44 +3046,13 @@

// 图片上传路径
baseUrl:"",

// 自然幢号
zrzh:null,
};
},
created(){
if(this.$cookies.get("search")){
if(this.$cookies.get("search").active!=null){
this.active = this.$cookies.get("search").active
this.item = this.$cookies.get("search").mapZjdAData
let zrz = this.$cookies.get("search").mapZrzAData
let fsss = this.$cookies.get("search").mapFsssAData
this.getnhdmlist();
this.getZjd();
this.getBaseUrl();
if(this.$cookies.get("search").active=="3"){
this.showzrz= true
this.getZrzList()
setTimeout(() => {
this.showPopupzrz(zrz)
}, 500);

}else if(this.$cookies.get("search").active=="4"){
this.showfsss= true
this.getFsssList()
setTimeout(() => {
this.showPopupfsss(fsss)
}, 500);
}
}else{
this.item = this.$cookies.get("search")
this.getnhdmlist();
this.getZjd();
this.getBaseUrl();
}
}else{
this.$set(this.item,"deptId",this.$cookies.get("item").deptId)
this.getnhdmlist();
this.getZjd();
this.getBaseUrl();
}
this.getDicts("zjdlyzk").then(response => {
this.lyzkOptions = response.data;
});
@@ -2851,6 +3156,41 @@
this.getDicts("Industry").then(response => {
this.industryOptions = response.data;
});
if(this.$cookies.get("search")){
if(this.$cookies.get("search").active!=null){
this.active = this.$cookies.get("search").active
this.item = this.$cookies.get("search").mapZjdAData
let zrz = this.$cookies.get("search").mapZrzAData
let fsss = this.$cookies.get("search").mapFsssAData
this.getnhdmlist();
this.getZjd();
this.getBaseUrl();
if(this.$cookies.get("search").active=="3"){
this.showzrz= true
this.getZrzList()
setTimeout(() => {
this.showPopupzrz(zrz)
}, 500);

}else if(this.$cookies.get("search").active=="4"){
this.showfsss= true
this.getFsssList()
setTimeout(() => {
this.showPopupfsss(fsss)
}, 500);
}
}else{
this.item = this.$cookies.get("search")
this.getnhdmlist();
this.getZjd();
this.getBaseUrl();
}
}else{
this.$set(this.item,"deptId",this.$cookies.get("item").deptId)
this.getnhdmlist();
this.getZjd();
this.getBaseUrl();
}
},
mounted(){
if(this.active ==1){
@@ -2859,6 +3199,21 @@
}
},
methods: {
shownmfwlist(item){
this.zrzh = item.zrzh
this.shownmfw = true
this.fwlist=[]
if(this.item.zjddm!=null||this.form.zjddm!=null) {
let params = {
"zjddm":this.item.zjddm?this.item.zjddm:this.form.zjddm,
deptId:this.item.deptId,
zrzh:this.zrzh
}
listNmfw(params).then(r => {
this.fwlist = r.rows
})
}
},
getBaseUrl(){
let params={
configKey: "system.attachment.url"}
@@ -3094,6 +3449,31 @@
this.form5.zjdxctp = this.form5.zjdxctp.replaceAll(url,"")
this.form5.zjdxctp = this.form5.zjdxctp.replaceAll(url1,"")
},
onConfirmhzsjly(value){
this.nhform.sjlyName = value.dictLabel
this.nhform.sjly = value.dictValue
this.showhzsjly= false
},
onConfirmhzjzqk(value){
this.nhform.jzqkName = value.dictLabel
this.nhform.jzqk = value.dictValue
this.showhzjzqk = false
},
onConfirmhzoccupation(value){
this.nhform.occupationName = value.dictLabel
this.nhform.occupation = value.dictValue
this.showhzoccupation = false
},
onConfirmhzzjlx(value){
this.nhform.hzzjlxName = value.dictLabel
this.nhform.hzzjlx = value.dictValue
this.showhzzjlx = false
},
onConfirmhzjzhcssfyzf(value){
this.nhform.jzhcssfyzfName = value.dictLabel
this.nhform.jzhcssfyzf = value.dictValue
this.showhzjzhcssfyzf= false
},
// 使用权人农民房屋代码弹出框
onConfirmsyqrnmfwdm(value){
this.form1.nmfwdm = value.nmfwdm
@@ -3178,7 +3558,7 @@
},
// 宅基地用途弹出框
onConfirmyt(value){
this.form.ytName = value.dictLabel
this.form.ytmc = value.dictLabel
this.form.yt = value.dictValue
this.showyt = false
},
@@ -3431,7 +3811,40 @@
goBack(){
this.$router.push({name:'homesteadList'});
},
showPopupnh(){
this.shownh = true;
let params = {
"deptId" : this.item.deptId
}
this.nhform={
"suyqrdm":null,
"deptId":this.item.deptId,
"hzzjlx":'01',
"hzzjlxName":"身份证",
"hyzk":'02',
"occupation":'1',
"occupationName":'务农',
"jzqk":'3',
"jzqkName":'常年居住',
"jzhcssfyzf":'1',
"jzhcssfyzfName":'无住房',
"zqtczsfyzf":'Y',
"sfbccm":'Y',
"sfpkh":'N',
"sfwbh":'N',
"sjly":'07',
"sjlyName":'农村集体产权制度改革',
}
listSuyqr(params).then((response) => {
if(response.rows.length>0){
this.nhform.suyqrdm = response.rows[0].suyqrdm
}else{
this.nhform.suyqrdm = this.form.suyqrdm
}
});
},
getZjd() {
let _this = this
if(this.item.zjddm){
let params = {
"zjddm":this.item.zjddm,
@@ -3439,12 +3852,13 @@
}
listZjdzd(params).then(response => {
this.form = response.rows[0];
console.log(this.form)
if(this.form.sffz==null||this.form.sffz==""){
this.form.sffz = "Y"
}
if(this.form.yt==null||this.form.yt==""){
this.form.yt = "072"
this.form.ytName="农村宅基地"
this.form.ytmc="农村宅基地"
}
if(this.form.lyzk==null||this.form.lyzk==""){
this.form.lyzk = "1"
@@ -3481,6 +3895,13 @@
if(this.form.sjly==null||this.form.sjly==""){
this.form.sjly = "04"
this.form.sjlyName = "农村宅基地使用权确权登记发证"
}else{
console.log(this.form.sjly)
this.sjlyOptions.map(res => {
if(res.dictValue == this.form.sjly){
this.form.sjlyName = res.dictLabel
}
})
}
this.fileListzjd = []
if(this.form.zjdxctp!=null&&this.form.zjdxctp!=""&&this.form.zjdxctp.length>0){
@@ -3490,11 +3911,7 @@
})
}

this.sjlyOptions.map(res => {
if(res.dictValue == this.form.sjly){
this.form.sjlyName = res.dictLabel
}
})

this.lyzkOptions.map(res => {
if(res.dictValue == this.form.lyzk){
this.form.lyzkName = res.dictLabel
@@ -3517,7 +3934,7 @@
})
this.ytOptions.map(res => {
if(res.dictValue == this.form.yt){
this.form.ytName = res.dictLabel
this.form.ytmc = res.dictLabel
}
})
this.tddjOptions.map(res => {
@@ -3580,9 +3997,9 @@
listZrz(params).then(response => {
this.zrzlist = response.rows;
});
listNmfw(params).then(r => {
/*listNmfw(params).then(r => {
this.fwlist = r.rows
})
})*/
}
},
getFsssList() {
@@ -3682,13 +4099,12 @@
duration:"1000",
onClose:function(){
_this.showfw = false
_this.active = 3
_this.getZrzList()
}
})
});
} else {
addNmfw(this.nmfwform).then(response => {
console.log(this.nmfwform)
let _this =this
this.$toast({
icon: 'success', // 找到自己需要的图标
@@ -3696,13 +4112,29 @@
duration:"1000",
onClose:function(){
_this.showfw = false
_this.active = 3
_this.getZrzList()
_this.shownmfwlist(_this.nmfwform);
}
})
});
}
},
// 户主保存
onSubmitnh(){
this.nhform.deptId = this.item.deptId
addNh(this.nhform).then(
response => {
let _this =this
this.$toast({
icon: 'success', // 找到自己需要的图标
message: '保存成功',
duration:"1000",
onClose:function(){
_this.shownh = false
}
})
}
);
},
// 自然幢保存
onSubmitzrz(){
if (this.form3.id != null) {
@@ -4048,7 +4480,7 @@
this.showfw = true;
if(item==""){
this.nmfwform={
zrzh: null,
zrzh: this.zrzh,
deptId : this.item.deptId?this.item.deptId:this.form.deptId,
zjddm : this.item.zjddm?this.item.zjddm:this.form.zjddm,
nmfwzh : null,


Načítá se…
Zrušit
Uložit