From f46ca1f25938361f157d4ff67c087fa574d81799 Mon Sep 17 00:00:00 2001 From: yujk <990961482@qq.com> Date: Mon, 28 Feb 2022 17:58:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=85=E5=9F=BA=E5=9C=B0=E8=B0=83=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/homesteadSurvey/add.vue | 282 +++++++++++++++++++++++++++-- src/views/homesteadSurvey/list.vue | 72 +++++++- 2 files changed, 338 insertions(+), 16 deletions(-) diff --git a/src/views/homesteadSurvey/add.vue b/src/views/homesteadSurvey/add.vue index e429fdf2..4a00c517 100644 --- a/src/views/homesteadSurvey/add.vue +++ b/src/views/homesteadSurvey/add.vue @@ -150,8 +150,6 @@ name="宗地代码" label="宗地代码" placeholder="宗地代码" - required - :rules="[{ required: true, message: '宗地代码不能为空' }]" /> { this.form = response.rows[0]; + 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="农村宅基地" + } + if(this.form.lyzk==null||this.form.lyzk==""){ + this.form.lyzk = "1" + this.form.lyzkName="正常使用" + } + if(this.form.lzyx==null||this.form.lzyx==""){ + this.form.lzyx = "0" + } + if(this.form.yctcyx==null||this.form.yctcyx==""){ + this.form.yctcyx = "0" + } + if(this.form.bccjl==null||this.form.bccjl==""){ + this.form.bccjl = "0" + } + if(this.form.zjdqdfs==null||this.form.zjdqdfs==""){ + this.form.zjdqdfs = "01" + } + if(this.form.dj==null||this.form.dj==""){ + this.form.dj = "1" + this.form.djName = "一类" + } + if(this.form.qllx==null||this.form.qllx==""){ + this.form.qllx = "1" + this.form.qllxName = "集体土地所有权" + } + if(this.form.qlxz==null||this.form.qlxz==""){ + this.form.qlxz = "200" + this.form.qlxzName = "集体土地" + } + if(this.form.qlsdfs==null||this.form.qlsdfs==""){ + this.form.qlsdfs = "1" + this.form.qlsdfsName = "地上" + } + if(this.form.sjly==null||this.form.sjly==""){ + this.form.sjly = "04" + this.form.sjlyName = "农村宅基地使用权确权登记发证" + } this.fileListzjd = [] if(this.form.zjdxctp!=null&&this.form.zjdxctp!=""&&this.form.zjdxctp.length>0){ let li = this.form.zjdxctp.split(","); @@ -3401,6 +3442,7 @@ yt:"072", ytName:"农村宅基地", lyzk:"1", + lyzkName:"正常使用", lzyx:'0', yctcyx:'0', bccjl:'0', @@ -3678,6 +3720,32 @@ } }else{ this.form1 = item + if(this.form1.gj==null||this.form1.gj==""){ + this.form1.gj = '1' + } + if(this.form1.hklx==null||this.form1.hklx==""){ + this.form1.hklx = '1' + } + if(this.form1.xb==null||this.form1.xb==""){ + this.form1.xb = '1' + } + if(this.form1.sfbncjtjjzzcy==null||this.form1.sfbncjtjjzzcy==""){ + this.form1.sfbncjtjjzzcy = 'Y' + } + if(this.form1.sfsyqrzjgy==null||this.form1.sfsyqrzjgy==""){ + this.form1.sfsyqrzjgy = 'Y' + } + if(this.form1.qlrlx==null||this.form1.qlrlx==""){ + this.form1.qlrlx = 'Y' + this.form1.qlrlxName = '个人' + } + if(this.form1.gyfs==null||this.form1.gyfs==""){ + this.form1.gyfs = '1' + this.form1.gyfsName = '单独所有' + } + if(this.form1.qlbl==null||this.form1.qlbl==""){ + this.form1.qlbl = '1' + } this.sjlyOptions.map(res => { if(res.dictValue == this.form1.sjly){ this.form1.sjlyName = res.dictLabel @@ -3727,6 +3795,53 @@ } }else{ this.form5 = item + if(this.form5.nhdm==null||this.form5.nhdm==""){ + this.form5.nhdm = this.nhform.nhdm + } + if(this.form5.deptId==null||this.form5.deptId==""){ + this.form5.deptId = this.nhform.deptId + } + if(this.form5.zjlx==null||this.form5.zjlx==""){ + this.form5.zjlx = "01" + this.form5.zjlxName = "身份证" + } + if(this.form5.yhzgx==null||this.form5.yhzgx==""){ + this.form5.yhzgx = "14" + this.form5.yhzgxName = "妻" + } + if(this.form5.hyzk==null||this.form5.hyzk==""){ + this.form5.hyzk = "02" + } + if(this.form5.hklx==null||this.form5.hklx==""){ + this.form5.hklx = "1" + } + if(this.form5.occupation==null||this.form5.occupation==""){ + this.form5.occupation = "1" + this.form5.occupationName = "务农" + } + if(this.form5.jzqk==null||this.form5.jzqk==""){ + this.form5.jzqk = "3" + this.form5.jzqkName = "常年居住" + } + if(this.form5.sfbjtjjzzcy==null||this.form5.sfbjtjjzzcy==""){ + this.form5.sfbjtjjzzcy = "Y" + } + if(this.form5.xb==null||this.form5.xb==""){ + this.form5.xb = "0" + } + if(this.form5.sfbccm==null||this.form5.sfbccm==""){ + this.form5.sfbccm = "Y" + } + if(this.form5.sfpkh==null||this.form5.sfpkh==""){ + this.form5.sfpkh = "N" + } + if(this.form5.sfwbh==null||this.form5.sfwbh==""){ + this.form5.sfwbh = "N" + } + if(this.form5.sjly==null||this.form5.sjly==""){ + this.form5.sjly = "07" + this.form5.sjlyName = "农村集体产权制度改革" + } this.jzhcssfyzfOptions.map(res => { if(res.dictValue == item.jzhcssfyzf){ this.form5.jzhcssfyzfName = res.dictLabel @@ -3774,9 +3889,9 @@ this.form3={ zjddm:this.item.zjddm, deptId:this.item.deptId, - zcs:1, - dscs:1, - dxcs:0, + zcs:"1", + dscs:"1", + dxcs:"0", fwjg:'02', fwjgName:'钢和钢筋混凝土结构', sjly:'04', @@ -3785,6 +3900,23 @@ } }else{ this.form3 = item + if(this.form3.zcs==null||this.form3.zcs==""){ + this.form3.zcs = "1" + } + if(this.form3.dscs==null||this.form3.dscs==""){ + this.form3.dscs = "1" + } + if(this.form3.dscs==null||this.form3.dscs==""){ + this.form3.dscs = "0" + } + if(this.form3.fwjg==null||this.form3.fwjg==""){ + this.form3.fwjg = "02" + this.form3.fwjgName = "钢和钢筋混凝土结构" + } + if(this.form3.sjly==null||this.form3.sjly==""){ + this.form3.sjly = "04" + this.form3.sjlyName = "农村宅基地使用权确权登记发证" + } if(this.form3.sjly!=null){ this.sjlyOptions.map(res => { if(res.dictValue == this.form3.sjly){ @@ -3803,7 +3935,6 @@ } this.showzrz = true; this.active = 3; - console.log(item); this.mapClickLoading(); } }, @@ -3814,16 +3945,14 @@ this.showfw = true; if(item==""){ this.nmfwform={ - pzdw : '1', - sfkjgj : 'Y', zrzh: this.item.zrzh, deptId : this.item.deptId, zjddm : this.item.zjddm, nmfwzh : this.item.nmfwzh, - ch:1, - sjc:1, - myc:1, - sjcs:1, + ch:"1", + sjc:"1", + myc:"1", + sjcs:"1", hx:'03', hxName:'三居室', hxjg:'01', @@ -3854,6 +3983,96 @@ } }else{ this.nmfwform = item + if(this.nmfwform.sfkjgj==null||this.nmfwform.sfkjgj==""){ + this.nmfwform.sfkjgj = "N" + } + if(this.nmfwform.qsly==null||this.nmfwform.qsly==""){ + this.nmfwform.qsly = "01" + this.nmfwform.qslyName = "申请" + } + if(this.nmfwform.yctcyx==null||this.nmfwform.yctcyx==""){ + this.nmfwform.yctcyx = "0" + } + if(this.nmfwform.lzyx==null||this.nmfwform.lzyx==""){ + this.nmfwform.lzyx = "0" + } + if(this.nmfwform.lyzk==null||this.nmfwform.lyzk==""){ + this.nmfwform.lyzk = "1" + this.nmfwform.lyzkName = "正常使用" + } + if(this.nmfwform.fwlx==null||this.nmfwform.fwlx==""){ + this.nmfwform.fwlx = "01" + this.nmfwform.fwlxName = "住宅" + } + if(this.nmfwform.sjly==null||this.nmfwform.sjly==""){ + this.nmfwform.sjly = "04" + this.nmfwform.sjlyName = "农村宅基地使用权确权登记发证" + } + if(this.nmfwform.isMortgage==null||this.nmfwform.isMortgage==""){ + this.nmfwform.isMortgage = "Y" + } + if(this.nmfwform.fwzt==null||this.nmfwform.fwzt==""){ + this.nmfwform.fwzt = "01" + this.nmfwform.fwztName = "正常" + } + if(this.nmfwform.pzdw==null||this.nmfwform.pzdw==""){ + this.nmfwform.pzdw = "1" + } + if(this.nmfwform.sfkjgj==null||this.nmfwform.sfkjgj==""){ + this.nmfwform.sfkjgj = "N" + } + if(this.nmfwform.zrzh==null||this.nmfwform.zrzh==""){ + this.nmfwform.zrzh = this.item.zrzh + } + if(this.nmfwform.deptId==null||this.nmfwform.deptId==""){ + this.nmfwform.deptId = this.item.deptId + } + if(this.nmfwform.zjddm==null||this.nmfwform.zjddm==""){ + this.nmfwform.zjddm = this.item.zjddm + } + if(this.nmfwform.nmfwzh==null||this.nmfwform.nmfwzh==""){ + this.nmfwform.nmfwzh = this.item.nmfwzh + } + if(this.nmfwform.ch==null||this.nmfwform.ch==""){ + this.nmfwform.ch = "1" + } + if(this.nmfwform.sjc==null||this.nmfwform.sjc==""){ + this.nmfwform.sjc = "1" + } + if(this.nmfwform.myc==null||this.nmfwform.myc==""){ + this.nmfwform.myc = "1" + } + if(this.nmfwform.sjcs==null||this.nmfwform.sjcs==""){ + this.nmfwform.sjcs = "1" + } + if(this.nmfwform.hx==null||this.nmfwform.hx==""){ + this.nmfwform.hx = "03" + this.nmfwform.hxName = "三居室" + } + if(this.nmfwform.hxjg==null||this.nmfwform.hxjg==""){ + this.nmfwform.hxjg = "01" + this.nmfwform.hxjgName = "平层" + } + if(this.nmfwform.fwjg==null||this.nmfwform.fwjg==""){ + this.nmfwform.fwjg = "02" + this.nmfwform.fwjgName = "钢和钢筋混凝土结构" + } + if(this.nmfwform.fwyt==null||this.nmfwform.fwyt==""){ + this.nmfwform.fwyt = "10" + this.nmfwform.fwytName = "住宅" + } + if(this.nmfwform.sfjf==null||this.nmfwform.sfjf==""){ + this.nmfwform.sfjf = "N" + } + if(this.nmfwform.sfcf==null||this.nmfwform.sfcf==""){ + this.nmfwform.sfcf = "N" + } + if(this.nmfwform.sffz==null||this.nmfwform.sffz==""){ + this.nmfwform.sffz = "Y" + } + if(this.nmfwform.isCommon==null||this.nmfwform.isCommon==""){ + this.nmfwform.isCommon = "N" + } this.sjlyOptions.map(res => { if(res.dictValue == item.sjly){ this.nmfwform.sjlyName = res.dictLabel @@ -3963,6 +4182,45 @@ } }else{ this.form4=item + if(this.form4.fssslx==null||this.form4.fssslx==""){ + this.form4.fssslx = "11" + this.form4.fssslxName = "畜厩" + } + if(this.form4.qsly==null||this.form4.qsly==""){ + this.form4.qsly = "99" + this.form4.qslyName = "其他" + } + if(this.form4.fwzt==null||this.form4.fwzt==""){ + this.form4.fwzt = "01" + this.form4.fwztName = "正常" + } + if(this.form4.sfsp==null||this.form4.sfsp==""){ + this.form4.sfsp = "N" + } + if(this.form4.sffz==null||this.form4.sffz==""){ + this.form4.sffz = "N" + } + if(this.form4.jglx==null||this.form4.jglx==""){ + this.form4.jglx = "2" + this.form4.jglxName = "砖混" + } + if(this.form4.sfzzsy==null||this.form4.sfzzsy==""){ + this.form4.sfzzsy = "Y" + } + if(this.form4.jzwqk==null||this.form4.jzwqk==""){ + this.form4.jzwqk = "01" + this.form4.jzwqkName = "正常" + } + if(this.form4.tdzk==null||this.form4.tdzk==""){ + this.form4.tdzk = "3" + this.form4.tdzkName = "其他" + } + if(this.form4.sfsgcf==null||this.form4.sfsgcf==""){ + this.form4.sfsgcf = "N" + } + if(this.form4.theGeom==null||this.form4.theGeom==""){ + this.form4.theGeom = this.form4.theGeom + } this.fssslxOptions.map(res => { if(res.dictValue == item.fssslx){ this.form4.fssslxName = res.dictLabel diff --git a/src/views/homesteadSurvey/list.vue b/src/views/homesteadSurvey/list.vue index 5a8cd635..9a07649c 100644 --- a/src/views/homesteadSurvey/list.vue +++ b/src/views/homesteadSurvey/list.vue @@ -284,8 +284,8 @@ @@ -1665,17 +1665,34 @@ let params = { "deptId" : this.item.deptId } - this.qlrform={ + this.qlrform ={ + "deptId":this.item.deptId, "suyqxz":'40', "suyqxzName":'集体土地所有权', "dbrzjlx":'01', "dbrzjlxName":'身份证', - "sfclncjtjjzz":'农村宅基地使用权确权登记发证', + "sfclncjtjjzz":'Y', "sjly":'04', + "sjlyName":"农村宅基地使用权确权登记发证" } listSuyqr(params).then((response) => { if(response.rows.length>0){ this.qlrform = response.rows[0] + if(this.qlrform.suyqxz==null||this.qlrform.suyqxz==""){ + this.qlrform.suyqxz = "40" + this.qlrform.suyqxzName = "集体土地所有权" + } + if(this.qlrform.dbrzjlx==null||this.qlrform.dbrzjlx==""){ + this.qlrform.dbrzjlx = "01" + this.qlrform.dbrzjlxName = "身份证" + } + if(this.qlrform.sfclncjtjjzz==null||this.qlrform.sfclncjtjjzz==""){ + this.qlrform.sfclncjtjjzz = "Y" + } + if(this.qlrform.sjly==null||this.qlrform.sjly==""){ + this.qlrform.sjly = "04" + this.qlrform.sjlyName = "农村宅基地使用权确权登记发证" + } this.zjlxOptions.map(res => { if(res.dictValue == this.qlrform.dbrzjlx){ this.qlrform.dbrzjlxName = res.dictLabel @@ -1782,6 +1799,53 @@ }else{ let _this = this this.form5 = item + if(this.form5.nhdm==null||this.form5.nhdm==""){ + this.form5.nhdm = this.nhform.nhdm + } + if(this.form5.deptId==null||this.form5.deptId==""){ + this.form5.deptId = this.nhform.deptId + } + if(this.form5.zjlx==null||this.form5.zjlx==""){ + this.form5.zjlx = "01" + this.form5.zjlxName = "身份证" + } + if(this.form5.yhzgx==null||this.form5.yhzgx==""){ + this.form5.yhzgx = "14" + this.form5.yhzgxName = "妻" + } + if(this.form5.hyzk==null||this.form5.hyzk==""){ + this.form5.hyzk = "02" + } + if(this.form5.hklx==null||this.form5.hklx==""){ + this.form5.hklx = "1" + } + if(this.form5.occupation==null||this.form5.occupation==""){ + this.form5.occupation = "1" + this.form5.occupationName = "务农" + } + if(this.form5.jzqk==null||this.form5.jzqk==""){ + this.form5.jzqk = "3" + this.form5.jzqkName = "常年居住" + } + if(this.form5.sfbjtjjzzcy==null||this.form5.sfbjtjjzzcy==""){ + this.form5.sfbjtjjzzcy = "Y" + } + if(this.form5.xb==null||this.form5.xb==""){ + this.form5.xb = "0" + } + if(this.form5.sfbccm==null||this.form5.sfbccm==""){ + this.form5.sfbccm = "Y" + } + if(this.form5.sfpkh==null||this.form5.sfpkh==""){ + this.form5.sfpkh = "N" + } + if(this.form5.sfwbh==null||this.form5.sfwbh==""){ + this.form5.sfwbh = "N" + } + if(this.form5.sjly==null||this.form5.sjly==""){ + this.form5.sjly = "07" + this.form5.sjlyName = "农村集体产权制度改革" + } this.jzhcssfyzfOptions.map(res => { if(res.dictValue == item.jzhcssfyzf){ this.form5.jzhcssfyzfName = res.dictLabel