Ver código fonte

宅基地调查

wulanhaote
yujk 3 anos atrás
pai
commit
f46ca1f259
2 arquivos alterados com 338 adições e 16 exclusões
  1. +270
    -12
      src/views/homesteadSurvey/add.vue
  2. +68
    -4
      src/views/homesteadSurvey/list.vue

+ 270
- 12
src/views/homesteadSurvey/add.vue Ver arquivo

@@ -150,8 +150,6 @@
name="宗地代码"
label="宗地代码"
placeholder="宗地代码"
required
:rules="[{ required: true, message: '宗地代码不能为空' }]"
/>
<van-field
autocomplete="off"
@@ -3345,6 +3343,49 @@
}
listZjdzd(params).then(response => {
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


+ 68
- 4
src/views/homesteadSurvey/list.vue Ver arquivo

@@ -284,8 +284,8 @@
<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>
<van-radio name="2">否 </van-radio>
<van-radio name="Y">是</van-radio>
<van-radio name="N">否 </van-radio>
</van-radio-group>
</template>
</van-field>
@@ -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


Carregando…
Cancelar
Salvar