@@ -3,7 +3,7 @@ import request from '@/utils/request' | |||||
// 查询数据调查-附属设施列表 | // 查询数据调查-附属设施列表 | ||||
export function listFsss(query) { | export function listFsss(query) { | ||||
return request({ | return request({ | ||||
url: '/houseSurvey/fsss/list', | |||||
url: '/home/homesteadfsss/list', | |||||
method: 'get', | method: 'get', | ||||
params: query | params: query | ||||
}) | }) | ||||
@@ -3,7 +3,7 @@ import request from '@/utils/request' | |||||
// 查询数据调查-户主信息列表 | // 查询数据调查-户主信息列表 | ||||
export function listNh(query) { | export function listNh(query) { | ||||
return request({ | return request({ | ||||
url: '/houseSurvey/nh/list', | |||||
url: '/home/homesteadnh/list', | |||||
method: 'get', | method: 'get', | ||||
params: query | params: query | ||||
}) | }) | ||||
@@ -12,7 +12,7 @@ export function listNh(query) { | |||||
// 导出数据调查-户主信息 | // 导出数据调查-户主信息 | ||||
export function exportNh(query) { | export function exportNh(query) { | ||||
return request({ | return request({ | ||||
url: '/houseSurvey/nh/export', | |||||
url: '/home/homesteadnhhncy/export', | |||||
method: 'get', | method: 'get', | ||||
params: query | params: query | ||||
}) | }) | ||||
@@ -21,7 +21,7 @@ export function exportNh(query) { | |||||
// 查询数据调查-户主信息详细 | // 查询数据调查-户主信息详细 | ||||
export function getNh(id) { | export function getNh(id) { | ||||
return request({ | return request({ | ||||
url: '/houseSurvey/nh/get/' + id, | |||||
url: '/home/homesteadnhhncy/get/' + id, | |||||
method: 'get' | method: 'get' | ||||
}) | }) | ||||
} | } | ||||
@@ -29,7 +29,7 @@ export function getNh(id) { | |||||
// 查询数据调查-户主信息详细 | // 查询数据调查-户主信息详细 | ||||
export function getNhByNhdm(nhdm) { | export function getNhByNhdm(nhdm) { | ||||
return request({ | return request({ | ||||
url: '/houseSurvey/nh/getByNhdm/' + nhdm, | |||||
url: '/home/homesteadnhhncy/getByNhdm/' + nhdm, | |||||
method: 'get' | method: 'get' | ||||
}) | }) | ||||
} | } | ||||
@@ -37,7 +37,7 @@ export function getNhByNhdm(nhdm) { | |||||
// 新增数据调查-户主信息 | // 新增数据调查-户主信息 | ||||
export function addNh(data) { | export function addNh(data) { | ||||
return request({ | return request({ | ||||
url: '/houseSurvey/nh/add', | |||||
url: '/home/homesteadnhhncy/add', | |||||
method: 'post', | method: 'post', | ||||
data: data | data: data | ||||
}) | }) | ||||
@@ -46,7 +46,7 @@ export function addNh(data) { | |||||
// 新增数据调查-户主信息 | // 新增数据调查-户主信息 | ||||
export function nhConnectTask(data) { | export function nhConnectTask(data) { | ||||
return request({ | return request({ | ||||
url: '/houseSurvey/nh/connectTask', | |||||
url: '/home/homesteadnhhncy/connectTask', | |||||
method: 'post', | method: 'post', | ||||
data: data | data: data | ||||
}) | }) | ||||
@@ -55,7 +55,7 @@ export function nhConnectTask(data) { | |||||
// 修改数据调查-户主信息 | // 修改数据调查-户主信息 | ||||
export function updateNh(data) { | export function updateNh(data) { | ||||
return request({ | return request({ | ||||
url: '/houseSurvey/nh/edit', | |||||
url: '/home/homesteadnhhncy/edit', | |||||
method: 'post', | method: 'post', | ||||
data: data | data: data | ||||
}) | }) | ||||
@@ -64,7 +64,7 @@ export function updateNh(data) { | |||||
// 删除数据调查-户主信息 | // 删除数据调查-户主信息 | ||||
export function delNh(id) { | export function delNh(id) { | ||||
return request({ | return request({ | ||||
url: '/houseSurvey/nh/remove/' + id, | |||||
url: '/home/homesteadnhhncy/remove/' + id, | |||||
method: 'get' | method: 'get' | ||||
}) | }) | ||||
} | } | ||||
@@ -72,7 +72,7 @@ export function delNh(id) { | |||||
// 设为户主-户主信息 | // 设为户主-户主信息 | ||||
export function setNhInfo(data) { | export function setNhInfo(data) { | ||||
return request({ | return request({ | ||||
url: '/houseSurvey/nh/setNhInfo', | |||||
url: '/home/homesteadnhhncy/setNhInfo', | |||||
method: 'post', | method: 'post', | ||||
data: data | data: data | ||||
}) | }) | ||||
@@ -3,7 +3,7 @@ import request from '@/utils/request' | |||||
// 查询数据调查-农户户内成员列表 | // 查询数据调查-农户户内成员列表 | ||||
export function listNhhncy(query) { | export function listNhhncy(query) { | ||||
return request({ | return request({ | ||||
url: '/houseSurvey/nhhncy/list', | |||||
url: '/home/homesteadnhhncy/list', | |||||
method: 'get', | method: 'get', | ||||
params: query | params: query | ||||
}) | }) | ||||
@@ -12,7 +12,7 @@ export function listNhhncy(query) { | |||||
// 导出数据调查-农户户内成员 | // 导出数据调查-农户户内成员 | ||||
export function exportNhhncy(query) { | export function exportNhhncy(query) { | ||||
return request({ | return request({ | ||||
url: '/houseSurvey/nhhncy/export', | |||||
url: '/home/homesteadnhhncy/export', | |||||
method: 'get', | method: 'get', | ||||
params: query | params: query | ||||
}) | }) | ||||
@@ -21,7 +21,7 @@ export function exportNhhncy(query) { | |||||
// 查询数据调查-农户户内成员详细 | // 查询数据调查-农户户内成员详细 | ||||
export function getNhhncy(id) { | export function getNhhncy(id) { | ||||
return request({ | return request({ | ||||
url: '/houseSurvey/nhhncy/get/' + id, | |||||
url: '/home/homesteadnhhncy/get/' + id, | |||||
method: 'get' | method: 'get' | ||||
}) | }) | ||||
} | } | ||||
@@ -29,7 +29,7 @@ export function getNhhncy(id) { | |||||
// 新增数据调查-农户户内成员 | // 新增数据调查-农户户内成员 | ||||
export function addNhhncy(data) { | export function addNhhncy(data) { | ||||
return request({ | return request({ | ||||
url: '/houseSurvey/nhhncy/add', | |||||
url: '/home/homesteadnhhncy/add', | |||||
method: 'post', | method: 'post', | ||||
data: data | data: data | ||||
}) | }) | ||||
@@ -38,7 +38,7 @@ export function addNhhncy(data) { | |||||
// 新增数据调查-户主信息 | // 新增数据调查-户主信息 | ||||
export function nhhncyConnectTask(data) { | export function nhhncyConnectTask(data) { | ||||
return request({ | return request({ | ||||
url: '/houseSurvey/nhhncy/connectTask', | |||||
url: '/home/homesteadnhhncy/connectTask', | |||||
method: 'post', | method: 'post', | ||||
data: data | data: data | ||||
}) | }) | ||||
@@ -47,7 +47,7 @@ export function nhhncyConnectTask(data) { | |||||
// 修改数据调查-农户户内成员 | // 修改数据调查-农户户内成员 | ||||
export function updateNhhncy(data) { | export function updateNhhncy(data) { | ||||
return request({ | return request({ | ||||
url: '/houseSurvey/nhhncy/edit', | |||||
url: '/home/homesteadnhhncy/edit', | |||||
method: 'post', | method: 'post', | ||||
data: data | data: data | ||||
}) | }) | ||||
@@ -56,7 +56,7 @@ export function updateNhhncy(data) { | |||||
// 删除数据调查-农户户内成员 | // 删除数据调查-农户户内成员 | ||||
export function delNhhncy(id) { | export function delNhhncy(id) { | ||||
return request({ | return request({ | ||||
url: '/houseSurvey/nhhncy/remove/' + id, | |||||
url: '/home/homesteadnhhncy/remove/' + id, | |||||
method: 'get' | method: 'get' | ||||
}) | }) | ||||
} | } | ||||
@@ -3,12 +3,23 @@ import request from '@/utils/request' | |||||
// 查询数据调查-使用权人列表 | // 查询数据调查-使用权人列表 | ||||
export function listShyqr(query) { | export function listShyqr(query) { | ||||
return request({ | return request({ | ||||
url: '/houseSurvey/shyqr/list', | |||||
url: '/home/homesteadshyqr/list', | |||||
method: 'get', | method: 'get', | ||||
params: query | params: query | ||||
}) | }) | ||||
} | } | ||||
// 查询数据调查-使用权人列表 | |||||
export function getShyqrs(query) { | |||||
return request({ | |||||
url: '/home/homesteadshyqr/getShyqrs', | |||||
method: 'get', | |||||
params: query | |||||
}) | |||||
} | |||||
// 导出数据调查-使用权人 | // 导出数据调查-使用权人 | ||||
export function exportShyqr(query) { | export function exportShyqr(query) { | ||||
return request({ | return request({ | ||||
@@ -3,7 +3,7 @@ import request from '@/utils/request' | |||||
// 查询数据调查-所有权利人列表 | // 查询数据调查-所有权利人列表 | ||||
export function listSuyqr(query) { | export function listSuyqr(query) { | ||||
return request({ | return request({ | ||||
url: '/houseSurvey/suyqr/list', | |||||
url: '/home/homesteadsuyqr/list', | |||||
method: 'get', | method: 'get', | ||||
params: query | params: query | ||||
}) | }) | ||||
@@ -1,14 +1,27 @@ | |||||
import request from '@/utils/request' | import request from '@/utils/request' | ||||
//手机调查-入户核查 | |||||
export function rhhcList(query){ | |||||
return request({ | |||||
url:'/home/homesteadzjdzdxx/rhhcMobileList', | |||||
method:'get', | |||||
params: query | |||||
}) | |||||
} | |||||
//手机调查-用户切换部门 | |||||
export function changeDept(id){ | |||||
return request({ | |||||
url:'/system/user/changeDept?loginDeptID='+id, | |||||
method:'get', | |||||
}) | |||||
} | |||||
// 查询数据调查-宅基地宗地列表 | // 查询数据调查-宅基地宗地列表 | ||||
export function listZjdzd(query) { | export function listZjdzd(query) { | ||||
return request({ | return request({ | ||||
url: '/houseSurvey/zjdzd/searchList', | |||||
url: '/home/homesteadzjdzdxx/list', | |||||
method: 'get', | method: 'get', | ||||
params: query | params: query | ||||
}) | }) | ||||
} | } | ||||
// 导出数据调查-宅基地宗地 | // 导出数据调查-宅基地宗地 | ||||
export function exportZjdzd(query) { | export function exportZjdzd(query) { | ||||
return request({ | return request({ | ||||
@@ -21,7 +34,7 @@ export function exportZjdzd(query) { | |||||
// 查询数据调查-宅基地宗地详细 | // 查询数据调查-宅基地宗地详细 | ||||
export function getZjdzd(id) { | export function getZjdzd(id) { | ||||
return request({ | return request({ | ||||
url: '/houseSurvey/zjdzd/get/' + id, | |||||
url: '/home/homesteadzjdzdxx/get/' + id, | |||||
method: 'get' | method: 'get' | ||||
}) | }) | ||||
} | } | ||||
@@ -47,7 +60,7 @@ export function zjdzdConnectTask(data) { | |||||
// 修改数据调查-宅基地宗地 | // 修改数据调查-宅基地宗地 | ||||
export function updateZjdzd(data) { | export function updateZjdzd(data) { | ||||
return request({ | return request({ | ||||
url: '/houseSurvey/zjdzd/edit', | |||||
url: '/home/homesteadzjdzdxx/edit', | |||||
method: 'post', | method: 'post', | ||||
data: data | data: data | ||||
}) | }) | ||||
@@ -3,7 +3,7 @@ import request from '@/utils/request' | |||||
// 查询数据调查-自然幢列表 | // 查询数据调查-自然幢列表 | ||||
export function listZrz(query) { | export function listZrz(query) { | ||||
return request({ | return request({ | ||||
url: '/houseSurvey/zrz/list', | |||||
url: '/home/homespacezrz/list', | |||||
method: 'get', | method: 'get', | ||||
params: query | params: query | ||||
}) | }) | ||||
@@ -41,7 +41,7 @@ export default { | |||||
mapGeoServerUrl:"", | mapGeoServerUrl:"", | ||||
}; | }; | ||||
}, | }, | ||||
props: ['theGeom','message'], | |||||
props: ['theGeom','message','zjddm'], | |||||
// created() { | // created() { | ||||
// // setTimeout(() => { | // // setTimeout(() => { | ||||
// // this.drawingPaceCountryDarw(); | // // this.drawingPaceCountryDarw(); | ||||
@@ -158,12 +158,13 @@ export default { | |||||
}); | }); | ||||
//国有数据加载----------------------------------end | //国有数据加载----------------------------------end | ||||
//宅基地图层查询开始 ------------------start | //宅基地图层查询开始 ------------------start | ||||
var cql_filter_all = "dept_id='" + that.$cookies.get("item").deptId + "'" + "and zjddm='" + that.$cookies.get("search").zjddm + "'"; | |||||
console.info(that.$cookies); | |||||
var cql_filter_all = "zjddm='" +this.zjddm + "'"; | |||||
zjdTc= new ol.layer.Image({ | zjdTc= new ol.layer.Image({ | ||||
source: new ol.source.ImageWMS({ | source: new ol.source.ImageWMS({ | ||||
url: that.mapGeoServerUrl +"/geoserver/zjd_dc/wms", | |||||
url: that.mapGeoServerUrl +"/geoserver/nsgk_wulanhaote/wms", | |||||
params: { | params: { | ||||
LAYERS: 'zjd_dc:t_house_survey_zjdzd', | |||||
LAYERS: 'nsgk_wulanhaote:t_homestead_zjdzdxx', | |||||
TILED: true, | TILED: true, | ||||
cql_filter: cql_filter_all, | cql_filter: cql_filter_all, | ||||
SRID: 3857, | SRID: 3857, | ||||
@@ -176,9 +177,9 @@ export default { | |||||
//自然幢图层查询开始 ------------------start | //自然幢图层查询开始 ------------------start | ||||
zrzTc= new ol.layer.Image({ | zrzTc= new ol.layer.Image({ | ||||
source: new ol.source.ImageWMS({ | source: new ol.source.ImageWMS({ | ||||
url: that.mapGeoServerUrl+"/geoserver/zjd_dc/wms", | |||||
url: that.mapGeoServerUrl+"/geoserver/nsgk_wulanhaote/wms", | |||||
params: { | params: { | ||||
LAYERS: 'zjd_dc:t_house_survey_zrz', | |||||
LAYERS: 'nsgk_wulanhaote:t_homespace_zrz', | |||||
TILED: true, | TILED: true, | ||||
cql_filter: cql_filter_all, | cql_filter: cql_filter_all, | ||||
SRID: 3857, | SRID: 3857, | ||||
@@ -192,9 +193,9 @@ export default { | |||||
//附属设施图层查询开始 ------------------start | //附属设施图层查询开始 ------------------start | ||||
fsssTc= new ol.layer.Image({ | fsssTc= new ol.layer.Image({ | ||||
source: new ol.source.ImageWMS({ | source: new ol.source.ImageWMS({ | ||||
url: that.mapGeoServerUrl+"/geoserver/zjd_dc/wms", | |||||
url: that.mapGeoServerUrl+"/geoserver/nsgk_wulanhaote/wms", | |||||
params: { | params: { | ||||
LAYERS: 'zjd_dc:t_house_survey_fsss', | |||||
LAYERS: 'nsgk_wulanhaote:t_homestead_fsss', | |||||
TILED: true, | TILED: true, | ||||
cql_filter: cql_filter_all, | cql_filter: cql_filter_all, | ||||
SRID: 3857, | SRID: 3857, | ||||
@@ -2947,6 +2947,16 @@ export const constantRoutes = [ | |||||
}, | }, | ||||
component: (resolve) => require(['@/views/homesteadSurvey/add4'], resolve) | component: (resolve) => require(['@/views/homesteadSurvey/add4'], resolve) | ||||
}, | }, | ||||
{ | |||||
path: '/homesteadSurvey/shyqrAdd', | |||||
name: 'shyqrAdd', | |||||
meta: { | |||||
title: '宅基地调查', | |||||
hidden: true, | |||||
}, | |||||
component: (resolve) => require(['@/views/homesteadSurvey/shyqrAdd'], resolve) | |||||
}, | |||||
{ | { | ||||
path: '/homesteadSurvey/settle', | path: '/homesteadSurvey/settle', | ||||
name: 'homesteadSettle', | name: 'homesteadSettle', | ||||
@@ -44,7 +44,7 @@ | |||||
</van-row> | </van-row> | ||||
</div> | </div> | ||||
</van-sticky> | </van-sticky> | ||||
<van-form @submit="onSubmitzjd"> | |||||
<van-form @submit="submitzjd"> | |||||
<div style="margin:30px auto;background: #ffffff;width: 95%;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16);border-radius:15px;padding-top: 20px;"> | <div style="margin:30px auto;background: #ffffff;width: 95%;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16);border-radius:15px;padding-top: 20px;"> | ||||
<p class="title" style="position:relative;padding-left:10px;line-height:20px;font-size: 16px;margin-left: 3%;margin-bottom: 5px;">宅基地信息</p> | <p class="title" style="position:relative;padding-left:10px;line-height:20px;font-size: 16px;margin-left: 3%;margin-bottom: 5px;">宅基地信息</p> | ||||
<!--<van-field | <!--<van-field | ||||
@@ -86,8 +86,8 @@ | |||||
<van-field name="radio" label="是否发证" input-align="right" autocomplete="off"> | <van-field name="radio" label="是否发证" input-align="right" autocomplete="off"> | ||||
<template #input> | <template #input> | ||||
<van-radio-group v-model="form.sffz" direction="horizontal"> | <van-radio-group v-model="form.sffz" direction="horizontal"> | ||||
<van-radio name="Y">是</van-radio> | |||||
<van-radio name="N">否</van-radio> | |||||
<van-radio name="1">是</van-radio> | |||||
<van-radio name="0">否</van-radio> | |||||
</van-radio-group> | </van-radio-group> | ||||
</template> | </template> | ||||
</van-field> | </van-field> | ||||
@@ -185,269 +185,269 @@ | |||||
required | required | ||||
:rules="[{ required: true, message: '宗地四至-北不能为空' }]" | :rules="[{ required: true, message: '宗地四至-北不能为空' }]" | ||||
/> | /> | ||||
<van-collapse v-model="activeZjd"> | |||||
<van-collapse-item title="利用状况" name="1" class="label-class"> | |||||
<van-field | |||||
autocomplete="off" | |||||
input-align="right" | |||||
v-model="form.lyzkName" | |||||
name="当前利用状况" | |||||
label="当前利用状况" | |||||
placeholder="当前利用状况" | |||||
readonly | |||||
@click="showlyzk = true" | |||||
/> | |||||
<van-field | |||||
v-model="form.lyzk" | |||||
style="display:none" | |||||
/> | |||||
<van-field | |||||
autocomplete="off" | |||||
input-align="right" | |||||
v-model="form.zjdxzyy" | |||||
name="闲置原因" | |||||
label="闲置原因" | |||||
placeholder="宅基地闲置原因" | |||||
maxlength="200" | |||||
/> | |||||
<van-field | |||||
autocomplete="off" | |||||
input-align="right" | |||||
v-model="form.xzkssj" | |||||
name="闲置开始时间" | |||||
label="闲置开始时间" | |||||
placeholder="闲置开始时间" | |||||
readonly | |||||
@click="showPickerxzkssj = true" | |||||
/> | |||||
<van-popup v-model:show="showPickerxzkssj" position="bottom"> | |||||
<van-datetime-picker | |||||
type="date" | |||||
@confirm="onConfirmxzkssj" | |||||
@cancel="showPickerxzkssj = false" | |||||
:min-date="minDate" | |||||
:max-date="maxDate" | |||||
/> | |||||
</van-popup> | |||||
<van-field name="radio" label="流转意向" input-align="right" autocomplete="off"> | |||||
<template #input> | |||||
<van-radio-group v-model="form.lzyx" direction="horizontal"> | |||||
<van-radio name="1">有</van-radio> | |||||
<van-radio name="0">无</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="form.yctcyx" direction="horizontal"> | |||||
<van-radio name="1">有</van-radio> | |||||
<van-radio name="0">无</van-radio> | |||||
</van-radio-group> | |||||
</template> | |||||
</van-field> | |||||
</van-collapse-item> | |||||
<van-collapse-item title="其他信息" name="2" class="label-class"> | |||||
<van-field | |||||
autocomplete="off" | |||||
input-align="right" | |||||
v-model="form.djName" | |||||
name="等级" | |||||
label="等级" | |||||
placeholder="等级" | |||||
@click="showdj = true" | |||||
/> | |||||
<van-field | |||||
autocomplete="off" | |||||
v-model="form.dj" | |||||
style="display:none" | |||||
/> | |||||
<van-field | |||||
autocomplete="off" | |||||
input-align="right" | |||||
v-model="form.jg" | |||||
name="价格(万元)" | |||||
label="价格(万元)" | |||||
placeholder="价格(万元)" | |||||
maxlength="15" | |||||
type="number" | |||||
/> | |||||
<van-field | |||||
autocomplete="off" | |||||
input-align="right" | |||||
v-model="form.ytmc" | |||||
name="用途" | |||||
label="用途" | |||||
placeholder="用途" | |||||
readonly | |||||
@click="showyt = true" | |||||
required | |||||
:rules="[{ required: true, message: '用途不能为空' }]" | |||||
/> | |||||
<van-field | |||||
v-model="form.yt" | |||||
style="display:none" | |||||
autocomplete="off" | |||||
/> | |||||
<van-field | |||||
autocomplete="off" | |||||
input-align="right" | |||||
v-model="form.qllxName" | |||||
name="权利类型" | |||||
label="权利类型" | |||||
placeholder="权利类型" | |||||
readonly | |||||
@click="showqllx = true" | |||||
/> | |||||
<van-field | |||||
autocomplete="off" | |||||
v-model="form.qllx" | |||||
style="display:none" | |||||
/> | |||||
<van-field | |||||
autocomplete="off" | |||||
input-align="right" | |||||
v-model="form.qlxzName" | |||||
name="权利性质" | |||||
label="权利性质" | |||||
placeholder="权利性质" | |||||
readonly | |||||
@click="showqlxz = true" | |||||
/> | |||||
<van-field | |||||
autocomplete="off" | |||||
v-model="form.qlxz" | |||||
style="display:none" | |||||
/> | |||||
<van-field | |||||
autocomplete="off" | |||||
input-align="right" | |||||
v-model="form.qlsdfsName" | |||||
name="权利设定方式" | |||||
label="权利设定方式" | |||||
placeholder="权利设定方式" | |||||
readonly | |||||
@click="showqlsdfs = true" | |||||
/> | |||||
<van-field | |||||
autocomplete="off" | |||||
v-model="form.qlsdfs" | |||||
style="display:none" | |||||
/> | |||||
<van-field | |||||
autocomplete="off" | |||||
input-align="right" | |||||
v-model="form.rjl" | |||||
name="容积率" | |||||
label="容积率" | |||||
placeholder="容积率" | |||||
/> | |||||
<van-field | |||||
input-align="right" | |||||
v-model="form.jzmd" | |||||
name="validator" | |||||
label="建筑密度" | |||||
placeholder="填写0~1小数" | |||||
:rules="[{ validator, message: '请填写0~1小数,保留两位小数' }]" | |||||
type="number" | |||||
/> | |||||
<van-field | |||||
autocomplete="off" | |||||
input-align="right" | |||||
v-model="form.jzxg" | |||||
name="建筑限高(m)" | |||||
label="建筑限高(m)" | |||||
placeholder="填写000.00~999.99小数" | |||||
:rules="[{ validator:validator1, message: '请填写000.00~999.99小数,保留两位小数' }]" | |||||
type="number" | |||||
/> | |||||
<van-field | |||||
autocomplete="off" | |||||
input-align="right" | |||||
v-model="form.zdt" | |||||
name="宗地图" | |||||
label="宗地图" | |||||
placeholder="宗地图" | |||||
maxlength="200" | |||||
/> | |||||
<van-field | |||||
autocomplete="off" | |||||
input-align="right" | |||||
v-model="form.tfh" | |||||
name="图幅号" | |||||
label="图幅号" | |||||
placeholder="图幅号" | |||||
maxlength="50" | |||||
/> | |||||
<van-field | |||||
autocomplete="off" | |||||
input-align="right" | |||||
v-model="form.djh" | |||||
name="地籍号" | |||||
label="地籍号" | |||||
placeholder="自动生成" | |||||
disabled | |||||
v-show="false" | |||||
/> | |||||
<van-field name="radio" label="被惩处经历" input-align="right" autocomplete="off"> | |||||
<template #input> | |||||
<van-radio-group v-model="form.bccjl" direction="horizontal"> | |||||
<van-radio name="1">有</van-radio> | |||||
<van-radio name="0">无</van-radio> | |||||
</van-radio-group> | |||||
</template> | |||||
</van-field> | |||||
<van-field | |||||
autocomplete="off" | |||||
v-if="form.bccjl==1" | |||||
input-align="right" | |||||
v-model="form.bccbz" | |||||
name="被惩处备注" | |||||
label="被惩处备注" | |||||
placeholder="被惩处备注" | |||||
maxlength="200" | |||||
/> | |||||
<van-field name="radio" label="宅基地取得方式" input-align="right" autocomplete="off"> | |||||
<template #input> | |||||
<van-radio-group v-model="form.zjdqdfs" direction="horizontal"> | |||||
<van-radio v-for="dict in zjdqdfsOptions" :key="dict.dictValue" :name="dict.dictValue">{{dict.dictLabel}}</van-radio> | |||||
</van-radio-group> | |||||
</template> | |||||
</van-field> | |||||
</van-collapse-item> | |||||
</van-collapse> | |||||
<van-field | |||||
autocomplete="off" | |||||
v-model="form.sjlyName" | |||||
name="数据来源" | |||||
label="数据来源" | |||||
placeholder="数据来源" | |||||
input-align="right" | |||||
readonly | |||||
@click="showsjly = true" | |||||
/> | |||||
<van-field | |||||
autocomplete="off" | |||||
v-model="form.sjly" | |||||
style="display:none" | |||||
/> | |||||
<!-- <van-collapse v-model="activeZjd">--> | |||||
<!-- <van-collapse-item title="利用状况" name="1" class="label-class">--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- input-align="right"--> | |||||
<!-- v-model="form.lyzkName"--> | |||||
<!-- name="当前利用状况"--> | |||||
<!-- label="当前利用状况"--> | |||||
<!-- placeholder="当前利用状况"--> | |||||
<!-- readonly--> | |||||
<!-- @click="showlyzk = true"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- v-model="form.lyzk"--> | |||||
<!-- style="display:none"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- input-align="right"--> | |||||
<!-- v-model="form.zjdxzyy"--> | |||||
<!-- name="闲置原因"--> | |||||
<!-- label="闲置原因"--> | |||||
<!-- placeholder="宅基地闲置原因"--> | |||||
<!-- maxlength="200"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- input-align="right"--> | |||||
<!-- v-model="form.xzkssj"--> | |||||
<!-- name="闲置开始时间"--> | |||||
<!-- label="闲置开始时间"--> | |||||
<!-- placeholder="闲置开始时间"--> | |||||
<!-- readonly--> | |||||
<!-- @click="showPickerxzkssj = true"--> | |||||
<!-- />--> | |||||
<!-- <van-popup v-model:show="showPickerxzkssj" position="bottom">--> | |||||
<!-- <van-datetime-picker--> | |||||
<!-- type="date"--> | |||||
<!-- @confirm="onConfirmxzkssj"--> | |||||
<!-- @cancel="showPickerxzkssj = false"--> | |||||
<!-- :min-date="minDate"--> | |||||
<!-- :max-date="maxDate"--> | |||||
<!-- />--> | |||||
<!-- </van-popup>--> | |||||
<!-- <van-field name="radio" label="流转意向" input-align="right" autocomplete="off">--> | |||||
<!-- <template #input>--> | |||||
<!-- <van-radio-group v-model="form.lzyx" direction="horizontal">--> | |||||
<!-- <van-radio name="1">有</van-radio>--> | |||||
<!-- <van-radio name="0">无</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="form.yctcyx" direction="horizontal">--> | |||||
<!-- <van-radio name="1">有</van-radio>--> | |||||
<!-- <van-radio name="0">无</van-radio>--> | |||||
<!-- </van-radio-group>--> | |||||
<!-- </template>--> | |||||
<!-- </van-field>--> | |||||
<!-- </van-collapse-item>--> | |||||
<!-- <van-collapse-item title="其他信息" name="2" class="label-class">--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- input-align="right"--> | |||||
<!-- v-model="form.djName"--> | |||||
<!-- name="等级"--> | |||||
<!-- label="等级"--> | |||||
<!-- placeholder="等级"--> | |||||
<!-- @click="showdj = true"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- v-model="form.dj"--> | |||||
<!-- style="display:none"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- input-align="right"--> | |||||
<!-- v-model="form.jg"--> | |||||
<!-- name="价格(万元)"--> | |||||
<!-- label="价格(万元)"--> | |||||
<!-- placeholder="价格(万元)"--> | |||||
<!-- maxlength="15"--> | |||||
<!-- type="number"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- input-align="right"--> | |||||
<!-- v-model="form.ytmc"--> | |||||
<!-- name="用途"--> | |||||
<!-- label="用途"--> | |||||
<!-- placeholder="用途"--> | |||||
<!-- readonly--> | |||||
<!-- @click="showyt = true"--> | |||||
<!-- required--> | |||||
<!-- :rules="[{ required: true, message: '用途不能为空' }]"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- v-model="form.yt"--> | |||||
<!-- style="display:none"--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- input-align="right"--> | |||||
<!-- v-model="form.qllxName"--> | |||||
<!-- name="权利类型"--> | |||||
<!-- label="权利类型"--> | |||||
<!-- placeholder="权利类型"--> | |||||
<!-- readonly--> | |||||
<!-- @click="showqllx = true"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- v-model="form.qllx"--> | |||||
<!-- style="display:none"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- input-align="right"--> | |||||
<!-- v-model="form.qlxzName"--> | |||||
<!-- name="权利性质"--> | |||||
<!-- label="权利性质"--> | |||||
<!-- placeholder="权利性质"--> | |||||
<!-- readonly--> | |||||
<!-- @click="showqlxz = true"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- v-model="form.qlxz"--> | |||||
<!-- style="display:none"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- input-align="right"--> | |||||
<!-- v-model="form.qlsdfsName"--> | |||||
<!-- name="权利设定方式"--> | |||||
<!-- label="权利设定方式"--> | |||||
<!-- placeholder="权利设定方式"--> | |||||
<!-- readonly--> | |||||
<!-- @click="showqlsdfs = true"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- v-model="form.qlsdfs"--> | |||||
<!-- style="display:none"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- input-align="right"--> | |||||
<!-- v-model="form.rjl"--> | |||||
<!-- name="容积率"--> | |||||
<!-- label="容积率"--> | |||||
<!-- placeholder="容积率"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- input-align="right"--> | |||||
<!-- v-model="form.jzmd"--> | |||||
<!-- name="validator"--> | |||||
<!-- label="建筑密度"--> | |||||
<!-- placeholder="填写0~1小数"--> | |||||
<!-- :rules="[{ validator, message: '请填写0~1小数,保留两位小数' }]"--> | |||||
<!-- type="number"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- input-align="right"--> | |||||
<!-- v-model="form.jzxg"--> | |||||
<!-- name="建筑限高(m)"--> | |||||
<!-- label="建筑限高(m)"--> | |||||
<!-- placeholder="填写000.00~999.99小数"--> | |||||
<!-- :rules="[{ validator:validator1, message: '请填写000.00~999.99小数,保留两位小数' }]"--> | |||||
<!-- type="number"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- input-align="right"--> | |||||
<!-- v-model="form.zdt"--> | |||||
<!-- name="宗地图"--> | |||||
<!-- label="宗地图"--> | |||||
<!-- placeholder="宗地图"--> | |||||
<!-- maxlength="200"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- input-align="right"--> | |||||
<!-- v-model="form.tfh"--> | |||||
<!-- name="图幅号"--> | |||||
<!-- label="图幅号"--> | |||||
<!-- placeholder="图幅号"--> | |||||
<!-- maxlength="50"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- input-align="right"--> | |||||
<!-- v-model="form.djh"--> | |||||
<!-- name="地籍号"--> | |||||
<!-- label="地籍号"--> | |||||
<!-- placeholder="自动生成"--> | |||||
<!-- disabled--> | |||||
<!-- v-show="false"--> | |||||
<!-- />--> | |||||
<!-- <van-field name="radio" label="被惩处经历" input-align="right" autocomplete="off">--> | |||||
<!-- <template #input>--> | |||||
<!-- <van-radio-group v-model="form.bccjl" direction="horizontal">--> | |||||
<!-- <van-radio name="1">有</van-radio>--> | |||||
<!-- <van-radio name="0">无</van-radio>--> | |||||
<!-- </van-radio-group>--> | |||||
<!-- </template>--> | |||||
<!-- </van-field>--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- v-if="form.bccjl==1"--> | |||||
<!-- input-align="right"--> | |||||
<!-- v-model="form.bccbz"--> | |||||
<!-- name="被惩处备注"--> | |||||
<!-- label="被惩处备注"--> | |||||
<!-- placeholder="被惩处备注"--> | |||||
<!-- maxlength="200"--> | |||||
<!-- />--> | |||||
<!-- <van-field name="radio" label="宅基地取得方式" input-align="right" autocomplete="off">--> | |||||
<!-- <template #input>--> | |||||
<!-- <van-radio-group v-model="form.zjdqdfs" direction="horizontal">--> | |||||
<!-- <van-radio v-for="dict in zjdqdfsOptions" :key="dict.dictValue" :name="dict.dictValue">{{dict.dictLabel}}</van-radio>--> | |||||
<!-- </van-radio-group>--> | |||||
<!-- </template>--> | |||||
<!-- </van-field>--> | |||||
<!-- </van-collapse-item>--> | |||||
<!-- </van-collapse>--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- v-model="form.sjlyName"--> | |||||
<!-- name="数据来源"--> | |||||
<!-- label="数据来源"--> | |||||
<!-- placeholder="数据来源"--> | |||||
<!-- input-align="right"--> | |||||
<!-- readonly--> | |||||
<!-- @click="showsjly = true"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- v-model="form.sjly"--> | |||||
<!-- style="display:none"--> | |||||
<!-- />--> | |||||
<van-field | |||||
autocomplete="off" | |||||
input-align="right" | |||||
v-model="form.bz" | |||||
name="备注" | |||||
label="备注" | |||||
placeholder="备注" | |||||
maxlength="200" | |||||
/> | |||||
<van-field name="uploader" label="现场照片" autocomplete="off"> | |||||
<template #input> | |||||
<van-uploader v-model="fileListzjd" :after-read="beforeReadzjd" multiple @delete="deleteFilezjd" :max-count="20" accept="image/*"></van-uploader> | |||||
</template> | |||||
</van-field> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- input-align="right"--> | |||||
<!-- v-model="form.bz"--> | |||||
<!-- name="备注"--> | |||||
<!-- label="备注"--> | |||||
<!-- placeholder="备注"--> | |||||
<!-- maxlength="200"--> | |||||
<!-- />--> | |||||
<!-- <van-field name="uploader" label="现场照片" autocomplete="off">--> | |||||
<!-- <template #input>--> | |||||
<!-- <van-uploader v-model="fileListzjd" :after-read="beforeReadzjd" multiple @delete="deleteFilezjd" :max-count="20" accept="image/*"></van-uploader>--> | |||||
<!-- </template>--> | |||||
<!-- </van-field>--> | |||||
<MapGisDrawing :ref="this.zjdProductResh" :message="form.theGeom" v-on:formSubmit="MapTag"></MapGisDrawing> | |||||
<MapGisDrawing ref="zjdProductResh" :message="form.theGeomJson" :zjddm="form.zjddm" ></MapGisDrawing> | |||||
</div> | </div> | ||||
<div style="margin: 16px;display: flex;justify-content: space-around;"> | <div style="margin: 16px;display: flex;justify-content: space-around;"> | ||||
<van-button round color="#22B7F2" style="width:45%" native-type="submit">保存</van-button> | <van-button round color="#22B7F2" style="width:45%" native-type="submit">保存</van-button> | ||||
@@ -491,14 +491,43 @@ export default { | |||||
}; | }; | ||||
}, | }, | ||||
created(){ | created(){ | ||||
let data = this.$route.query.res; | |||||
this.form = JSON.parse(localStorage.getItem("zjdzdxxItem")); | |||||
console.info(this.form); | |||||
this.onSubmitzjd(); | |||||
}, | }, | ||||
mounted(){ | mounted(){ | ||||
}, | }, | ||||
methods: { | methods: { | ||||
onSubmitzjd(){ | onSubmitzjd(){ | ||||
setTimeout(() => { | |||||
this.$refs.zjdProductResh.drawingPaceCountryDarw(); | |||||
}, 500); | |||||
}, | |||||
submitzjd(){ | |||||
updateZjdzd(this.form).then(response => { | |||||
let _this =this | |||||
this.$toast({ | |||||
icon: 'success', // 找到自己需要的图标 | |||||
message: '保存成功', | |||||
duration:"1000", | |||||
onClose:function(){ | |||||
_this.$router.push({path:'/homesteadSurvey/add2',query: {zjddm: _this.form.zjddm}}); | |||||
} | |||||
}) | |||||
}); | |||||
}, | |||||
guidProduct(){ | |||||
return 'xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx'.replace(/[xy]/g, function (c) { | |||||
var r = Math.random() * 16 | 0, | |||||
v = c == 'x' ? r : (r & 0x3 | 0x8); | |||||
return v.toString(16); | |||||
}); | |||||
}, | |||||
/** 查找地图中定位点 */ | |||||
MapTag: function (data) { | |||||
this.$refs[this.zjdProductResh].drawingPaceCountryDarw(); | |||||
}, | }, | ||||
goBack(){ | goBack(){ | ||||
if(this.ztMap && this.enterMap ==1){ | if(this.ztMap && this.enterMap ==1){ | ||||
@@ -96,7 +96,7 @@ | |||||
</template> | </template> | ||||
<script> | <script> | ||||
import {listShyqr,addShyqr,updateShyqr,delShyqr,setSyqrInfo} from "@/api/homesteadSurvey/shyqr"; | |||||
import {getShyqrs,addShyqr,updateShyqr,delShyqr,setSyqrInfo} from "@/api/homesteadSurvey/shyqr"; | |||||
import {listZjdzd,getZjdzd,updateZjdzd,addZjdzd,uploadFile,getQueryLand,submitOnly} from "@/api/homesteadSurvey/zjdzd"; | import {listZjdzd,getZjdzd,updateZjdzd,addZjdzd,uploadFile,getQueryLand,submitOnly} from "@/api/homesteadSurvey/zjdzd"; | ||||
import MapGisDrawing from "@/components/Map/MapGisDrawing"; | import MapGisDrawing from "@/components/Map/MapGisDrawing"; | ||||
import {listZrz,addZrz,updateZrz,getZrzZjdDmList,delZrz,updateZrzStatus} from "@/api/homesteadSurvey/zrz"; | import {listZrz,addZrz,updateZrz,getZrzZjdDmList,delZrz,updateZrzStatus} from "@/api/homesteadSurvey/zrz"; | ||||
@@ -117,22 +117,23 @@ export default { | |||||
return { | return { | ||||
active:2, | active:2, | ||||
// 使用权人列表 | // 使用权人列表 | ||||
syqrlist:[ | |||||
{ | |||||
shyqrdbxm :'测试测试', | |||||
shyqrdbzjhm :'12324648564', | |||||
nhdm :'777888999', | |||||
} | |||||
], | |||||
zjdzdxx:{}, | |||||
syqrlist:[], | |||||
}; | }; | ||||
}, | }, | ||||
created(){ | created(){ | ||||
this.zjdzdxx = JSON.parse(localStorage.getItem("zjdzdxxItem")); | |||||
this.getList(); | |||||
}, | }, | ||||
mounted(){ | mounted(){ | ||||
}, | }, | ||||
methods: { | methods: { | ||||
getList(){ | |||||
getShyqrs({zjddm:this.zjdzdxx.zjddm,shyqrdbxm:this.zjdzdxx.shyqrdbxm }).then(response => { | |||||
this.syqrlist = response.rows; | |||||
}); | |||||
}, | |||||
goBack(){ | goBack(){ | ||||
if(this.ztMap && this.enterMap ==1){ | if(this.ztMap && this.enterMap ==1){ | ||||
if(this.form.id == null){ | if(this.form.id == null){ | ||||
@@ -147,7 +148,9 @@ export default { | |||||
this.$router.push({name:'homesteadList'}); | this.$router.push({name:'homesteadList'}); | ||||
// } | // } | ||||
}, | }, | ||||
showPopupsyqr(){}, | |||||
showPopupsyqr(){ | |||||
this.$router.push({name:'shyqrAdd'}); | |||||
}, | |||||
showPopupnh(){}, | showPopupnh(){}, | ||||
showPopuphncylist(){}, | showPopuphncylist(){}, | ||||
} | } | ||||
@@ -108,21 +108,23 @@ export default { | |||||
data() { | data() { | ||||
return { | return { | ||||
active:3, | active:3, | ||||
zrzlist:[ | |||||
{ | |||||
zrzh :'123', | |||||
zcs :'321654987' | |||||
} | |||||
] | |||||
zjdzdxx:{}, | |||||
zrzlist:[] | |||||
}; | }; | ||||
}, | }, | ||||
created(){ | created(){ | ||||
this.zjdzdxx = JSON.parse(localStorage.getItem("zjdzdxxItem")); | |||||
this.getList(); | |||||
}, | }, | ||||
mounted(){ | mounted(){ | ||||
}, | }, | ||||
methods: { | methods: { | ||||
getList(){ | |||||
listZrz({zjddm:this.zjdzdxx.zjddm}).then(response => { | |||||
this.zrzlist = response.rows; | |||||
}); | |||||
}, | |||||
goBack(){ | goBack(){ | ||||
if(this.ztMap && this.enterMap ==1){ | if(this.ztMap && this.enterMap ==1){ | ||||
if(this.form.id == null){ | if(this.form.id == null){ | ||||
@@ -115,20 +115,23 @@ export default { | |||||
data() { | data() { | ||||
return { | return { | ||||
active:4, | active:4, | ||||
fssslist:[{ | |||||
fssslx :'123', | |||||
jzmj :'123', | |||||
jzwqk:'123', | |||||
}] | |||||
zjdzdxx:{}, | |||||
fssslist:[] | |||||
}; | }; | ||||
}, | }, | ||||
created(){ | created(){ | ||||
this.zjdzdxx = JSON.parse(localStorage.getItem("zjdzdxxItem")); | |||||
this.getList(); | |||||
}, | }, | ||||
mounted(){ | mounted(){ | ||||
}, | }, | ||||
methods: { | methods: { | ||||
getList(){ | |||||
listFsss({zjddm:this.zjdzdxx.zjddm}).then(response => { | |||||
this.fssslist = response.rows; | |||||
}); | |||||
}, | |||||
goBack(){ | goBack(){ | ||||
if(this.ztMap && this.enterMap ==1){ | if(this.ztMap && this.enterMap ==1){ | ||||
if(this.form.id == null){ | if(this.form.id == null){ | ||||
@@ -61,12 +61,9 @@ | |||||
<van-cell v-for="(item,index) in totalList" :key="item.id" size="small" @click.native="setCookies(item)" style="border-radius: 16px; | <van-cell v-for="(item,index) in totalList" :key="item.id" size="small" @click.native="setCookies(item)" style="border-radius: 16px; | ||||
box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:95%;margin:0px auto 20px;height: 110px;"> | box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:95%;margin:0px auto 20px;height: 110px;"> | ||||
<template #title> | <template #title> | ||||
<div>{{item.deptName}}</div> | |||||
<div>{{item.rwmc}} <span :style="{'color':chooseColor(item),'background':chooseColor2(item),'display':'inline-block','padding':'4px 2px','line-height':'1','border-radius':'5px'}">{{item.zjdsl}}/{{zjdslSum}}</span></div> | |||||
</template> | </template> | ||||
<template #default> | <template #default> | ||||
<p :style="{'color':chooseColor(item),'background':chooseColor2(item),'display':'inline-block','padding':'4px 2px','line-height':'1','border-radius':'5px'}"> | |||||
{{item.confirmZjdzdNumber}}/{{item.reportZjdzdNumber}} | |||||
</p> | |||||
<van-circle | <van-circle | ||||
v-model="item.reportZrzNumber" | v-model="item.reportZrzNumber" | ||||
:rate="item.reportNhNumber" | :rate="item.reportNhNumber" | ||||
@@ -75,7 +72,7 @@ | |||||
size="70%" | size="70%" | ||||
layer-color="#ebedf0" | layer-color="#ebedf0" | ||||
:color="chooseColor(item)" | :color="chooseColor(item)" | ||||
:text="item.reportZjdzdNumber!=null?(((item.confirmZjdzdNumber/item.reportZjdzdNumber)*100).toFixed())+'%':0+'%'" | |||||
:text="item.zjdsl!=0?(((item.zjdsl/zjdslSum)*100).toFixed())+'%':0+'%'" | |||||
/> | /> | ||||
</template> | </template> | ||||
<template #label> | <template #label> | ||||
@@ -90,12 +87,10 @@ | |||||
<van-cell v-for="(item,index) in doneList" :key="item.id" size="small" @click.native="setCookies(item)" style="border-radius: 16px; | <van-cell v-for="(item,index) in doneList" :key="item.id" size="small" @click.native="setCookies(item)" style="border-radius: 16px; | ||||
box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:95%;margin:0px auto 20px;height: 110px;"> | box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:95%;margin:0px auto 20px;height: 110px;"> | ||||
<template #title> | <template #title> | ||||
<div>{{item.deptName}}</div> | |||||
<div>{{item.rwmc}} <span :style="{'color':chooseColor(item),'background':chooseColor2(item),'display':'inline-block','padding':'4px 2px','line-height':'1','border-radius':'5px'}">{{item.zjdsl}}/{{zjdslSum}}</span></div> | |||||
</template> | </template> | ||||
<template #default> | <template #default> | ||||
<p :style="{'color':chooseColor(item),'background':chooseColor2(item),'display':'inline-block','padding':'4px 2px','line-height':'1','border-radius':'5px'}"> | |||||
{{item.confirmZjdzdNumber}}/{{item.reportZjdzdNumber}} | |||||
</p> | |||||
<van-circle | <van-circle | ||||
v-model="item.reportZrzNumber" | v-model="item.reportZrzNumber" | ||||
:rate="item.reportNhNumber" | :rate="item.reportNhNumber" | ||||
@@ -104,7 +99,7 @@ | |||||
size="70%" | size="70%" | ||||
layer-color="#ebedf0" | layer-color="#ebedf0" | ||||
:color="chooseColor(item)" | :color="chooseColor(item)" | ||||
:text="item.reportZjdzdNumber!=null?(((item.confirmZjdzdNumber/item.reportZjdzdNumber)*100).toFixed())+'%':0+'%'" | |||||
:text="item.zjdsl!=0?(((item.zjdsl/zjdslSum)*100).toFixed())+'%':0+'%'" | |||||
/> | /> | ||||
</template> | </template> | ||||
<template #label> | <template #label> | ||||
@@ -119,12 +114,9 @@ | |||||
<van-cell v-for="(item,index) in todoList" :key="item.id" size="small" @click.native="setCookies(item)" style="border-radius: 16px; | <van-cell v-for="(item,index) in todoList" :key="item.id" size="small" @click.native="setCookies(item)" style="border-radius: 16px; | ||||
box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:95%;margin:0px auto 20px;height: 110px;"> | box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:95%;margin:0px auto 20px;height: 110px;"> | ||||
<template #title> | <template #title> | ||||
<div>{{item.deptName}}</div> | |||||
<div>{{item.rwmc}} <span :style="{'color':chooseColor(item),'background':chooseColor2(item),'display':'inline-block','padding':'4px 2px','line-height':'1','border-radius':'5px'}">{{item.zjdsl}}/{{zjdslSum}}</span></div> | |||||
</template> | </template> | ||||
<template #default> | <template #default> | ||||
<p :style="{'color':chooseColor(item),'background':chooseColor2(item),'display':'inline-block','padding':'4px 2px','line-height':'1','border-radius':'5px'}"> | |||||
{{item.confirmZjdzdNumber}}/{{item.reportZjdzdNumber}} | |||||
</p> | |||||
<van-circle | <van-circle | ||||
v-model="item.reportZrzNumber" | v-model="item.reportZrzNumber" | ||||
:rate="item.reportNhNumber" | :rate="item.reportNhNumber" | ||||
@@ -133,7 +125,7 @@ | |||||
size="70%" | size="70%" | ||||
layer-color="#ebedf0" | layer-color="#ebedf0" | ||||
:color="chooseColor(item)" | :color="chooseColor(item)" | ||||
:text="item.reportZjdzdNumber!=null?(((item.confirmZjdzdNumber/item.reportZjdzdNumber)*100).toFixed())+'%':0+'%'" | |||||
:text="item.zjdsl!=0?(((item.zjdsl/zjdslSum)*100).toFixed())+'%':0+'%'" | |||||
/> | /> | ||||
</template> | </template> | ||||
<template #label> | <template #label> | ||||
@@ -149,6 +141,7 @@ | |||||
<script> | <script> | ||||
import {addTask, complete, delTask, exportTask, getTask, listTask, publish, updateTask, userList} from "@/api/homesteadSurvey/index"; | import {addTask, complete, delTask, exportTask, getTask, listTask, publish, updateTask, userList} from "@/api/homesteadSurvey/index"; | ||||
import {changeDept} from "@/api/homesteadSurvey/zjdzd"; | |||||
import {getInfo} from "../../api/login"; | import {getInfo} from "../../api/login"; | ||||
import CircleProccess from "@/components/circleProccess.vue"; | import CircleProccess from "@/components/circleProccess.vue"; | ||||
import {updateUserPwd} from "../../api/onlineHome/my"; | import {updateUserPwd} from "../../api/onlineHome/my"; | ||||
@@ -173,6 +166,7 @@ | |||||
phone:null, | phone:null, | ||||
activeKey:0, | activeKey:0, | ||||
currentRate: 0, | currentRate: 0, | ||||
zjdslSum:0, | |||||
total:0, | total:0, | ||||
totalList:[], | totalList:[], | ||||
done:0, | done:0, | ||||
@@ -186,7 +180,7 @@ | |||||
queryParams: { | queryParams: { | ||||
rwwczt: null, | rwwczt: null, | ||||
rwfbzt:"PUBLISHED", | rwfbzt:"PUBLISHED", | ||||
taskExecutor:null | |||||
rwzxr:null | |||||
}, | }, | ||||
nickName:"", | nickName:"", | ||||
text:0, | text:0, | ||||
@@ -211,7 +205,6 @@ | |||||
this.nickName = response.user.nickName | this.nickName = response.user.nickName | ||||
this.businessLevel = response.user.businessLevel | this.businessLevel = response.user.businessLevel | ||||
this.$cookies.set("businessLevel",this.businessLevel) | this.$cookies.set("businessLevel",this.businessLevel) | ||||
this.queryParams.taskExecutor = response.user.userName | |||||
this.getList(); | this.getList(); | ||||
}); | }); | ||||
axios.get('../static/dictyType.json').then(res => { | axios.get('../static/dictyType.json').then(res => { | ||||
@@ -243,6 +236,9 @@ | |||||
this.$cookies.set("url",response.rows[0].configValue) | this.$cookies.set("url",response.rows[0].configValue) | ||||
}) | }) | ||||
}, | }, | ||||
qiehuan(deptId){ | |||||
changeDept(deptId); | |||||
}, | |||||
chooseValue(item){ | chooseValue(item){ | ||||
let a = ((item.confirmZjdzdNumber/item.reportZjdzdNumber)*100).toFixed() | let a = ((item.confirmZjdzdNumber/item.reportZjdzdNumber)*100).toFixed() | ||||
return a | return a | ||||
@@ -296,7 +292,6 @@ | |||||
let _this = this | let _this = this | ||||
if(this.active==1){ | if(this.active==1){ | ||||
let params = { | let params = { | ||||
"rwwczt": "FINISHED", | |||||
"rwfbzt":"PUBLISHED", | "rwfbzt":"PUBLISHED", | ||||
"pageNum": this.countyhc+1, | "pageNum": this.countyhc+1, | ||||
"pageSize":10, | "pageSize":10, | ||||
@@ -311,7 +306,7 @@ | |||||
}); | }); | ||||
}else if(this.active==2){ | }else if(this.active==2){ | ||||
let params = { | let params = { | ||||
"rwwczt": "UNFINISHED", | |||||
"rwwczt": "PUBLISHED", | |||||
"rwfbzt":"PUBLISHED", | "rwfbzt":"PUBLISHED", | ||||
"pageNum": this.countwhc+1, | "pageNum": this.countwhc+1, | ||||
"pageSize":10, | "pageSize":10, | ||||
@@ -326,6 +321,7 @@ | |||||
}); | }); | ||||
}else{ | }else{ | ||||
let params = { | let params = { | ||||
"rwwczt": "UNPUBLISHED", | |||||
"rwfbzt":"PUBLISHED", | "rwfbzt":"PUBLISHED", | ||||
"pageNum": this.countqb+1, | "pageNum": this.countqb+1, | ||||
"pageSize":10, | "pageSize":10, | ||||
@@ -360,29 +356,55 @@ | |||||
}*/ | }*/ | ||||
this.$cookies.set("item",""); | this.$cookies.set("item",""); | ||||
this.$cookies.set("item",JSON.stringify(item)); | this.$cookies.set("item",JSON.stringify(item)); | ||||
this.qiehuan(item.deptId); | |||||
this.$router.push({name:'homesteadList'}) | this.$router.push({name:'homesteadList'}) | ||||
}, | }, | ||||
getList() { | getList() { | ||||
this.totalList = [] | this.totalList = [] | ||||
this.doneList = []; | this.doneList = []; | ||||
this.todoList = []; | this.todoList = []; | ||||
this.zjdslSum = 0; | |||||
if(this.active==1) { | |||||
this.$set(this.queryParams, "rwfbzt", "PUBLISHED"); | |||||
this.$set(this.queryParams, "rwwczt", null); | |||||
this.$set(this.queryParams, "pageNum", this.countyhc + 1); | |||||
this.$set(this.queryParams, "pageSize", 10); | |||||
}else if(this.active==2) { | |||||
this.$set(this.queryParams, "rwwczt", "FINISHED"); | |||||
this.$set(this.queryParams, "rwfbzt", "PUBLISHED"); | |||||
this.$set(this.queryParams, "pageNum", this.countwhc + 1); | |||||
}else{ | |||||
this.$set(this.queryParams, "rwwczt", "UNFINISHED"); | |||||
this.$set(this.queryParams, "rwfbzt", "PUBLISHED"); | |||||
this.$set(this.queryParams, "pageNum", this.countqb + 1); | |||||
} | |||||
listTask(this.queryParams).then(response => { | listTask(this.queryParams).then(response => { | ||||
this.total = response.total | |||||
this.done = 0; | this.done = 0; | ||||
this.todo = 0; | this.todo = 0; | ||||
response.rows.map(res => { | response.rows.map(res => { | ||||
if(res.taskStatus == "FINISHED"){ | |||||
this.zjdslSum += res.zjdsl; | |||||
if(this.active==1) { | |||||
this.total = response.total; | |||||
if(res.rwwczt == "FINISHED"){ | |||||
this.done+=1 | |||||
this.doneList.push(res); | |||||
}else{ | |||||
this.todo+=1 | |||||
this.todoList.push(res); | |||||
} | |||||
// if(res.rwzxr!=null&&res.rwzxr!=''){ | |||||
// res.rwzxr = res.rwzxr.split(',') | |||||
// } | |||||
this.totalList = response.rows; | |||||
}else if(this.active==2) { | |||||
this.done+=1 | this.done+=1 | ||||
this.doneList.push(res); | this.doneList.push(res); | ||||
}else{ | }else{ | ||||
this.todo+=1 | this.todo+=1 | ||||
this.todoList.push(res); | this.todoList.push(res); | ||||
} | } | ||||
if(res.taskExecutor!=null&&res.taskExecutor!=''){ | |||||
res.taskExecutor = res.taskExecutor.split(',') | |||||
} | |||||
}) | }) | ||||
this.totalList = response.rows | |||||
}); | }); | ||||
}, | }, | ||||
gotoLink(){ | gotoLink(){ | ||||
@@ -40,14 +40,14 @@ | |||||
<div style="text-align:center;background: rgba(122,201,67,0.2);width: 49%;font-size: 14px;border-radius: 8px;display: flex;align-items: center;justify-content: center;padding: 2px 0;"> | <div style="text-align:center;background: rgba(122,201,67,0.2);width: 49%;font-size: 14px;border-radius: 8px;display: flex;align-items: center;justify-content: center;padding: 2px 0;"> | ||||
<img src="../../assets/images/housesteadSurvey/list01.png" alt=""> | <img src="../../assets/images/housesteadSurvey/list01.png" alt=""> | ||||
<p style="margin-left: 10px;"> | <p style="margin-left: 10px;"> | ||||
<span style="color:#60B722;line-height:.8rem;">总户数:</span> | |||||
<span style="color:#60B722;line-height:.8rem;">宅基地数:</span> | |||||
<span style="color:#60B722;line-height:.8rem;"><span style="font-size:16px;color: #448815;">{{totalH}}</span> 户</span> | <span style="color:#60B722;line-height:.8rem;"><span style="font-size:16px;color: #448815;">{{totalH}}</span> 户</span> | ||||
</p> | </p> | ||||
</div> | </div> | ||||
<div style="text-align:center;background: rgba(122,201,67,0.2);width: 49%;font-size: 14px;border-radius: 8px;display: flex;align-items: center;justify-content: center;padding: 2px 0;"> | <div style="text-align:center;background: rgba(122,201,67,0.2);width: 49%;font-size: 14px;border-radius: 8px;display: flex;align-items: center;justify-content: center;padding: 2px 0;"> | ||||
<img src="../../assets/images/housesteadSurvey/list02.png" alt=""> | <img src="../../assets/images/housesteadSurvey/list02.png" alt=""> | ||||
<p style="margin-left: 10px;"> | <p style="margin-left: 10px;"> | ||||
<span style="color:#60B722;line-height:.8rem">总人数:</span> | |||||
<span style="color:#60B722;line-height:.8rem">使用权人数:</span> | |||||
<span style="color:#60B722;line-height:.8rem"><span style="font-size:16px;color: #448815;">{{totalR}}</span> 人</span> | <span style="color:#60B722;line-height:.8rem"><span style="font-size:16px;color: #448815;">{{totalR}}</span> 人</span> | ||||
</p> | </p> | ||||
</div> | </div> | ||||
@@ -80,7 +80,7 @@ | |||||
<div style="display: flex;align-items: center;"> | <div style="display: flex;align-items: center;"> | ||||
<p style="display: flex;align-items: center;"> | <p style="display: flex;align-items: center;"> | ||||
<img src="../../assets/images/housesteadSurvey/list03.png" alt="" style="margin-right: 5px;"> | <img src="../../assets/images/housesteadSurvey/list03.png" alt="" style="margin-right: 5px;"> | ||||
<span style="line-height: 1;">{{limitWords(item.syqr)}}</span> | |||||
<span style="line-height: 1;">{{limitWords(item.shyqrdbxm)}}</span> | |||||
</p> | </p> | ||||
<p style="display: flex;align-items: center;color:#22B7F2;font-size:12px;margin-left: auto;margin-right: 10px;border-bottom: 1px dashed #22B7F2;" @click="setCookies(item)"><img src="../../assets/images/housesteadSurvey/list06.png" alt="" style="margin-right: 3px;">详情</p> | <p style="display: flex;align-items: center;color:#22B7F2;font-size:12px;margin-left: auto;margin-right: 10px;border-bottom: 1px dashed #22B7F2;" @click="setCookies(item)"><img src="../../assets/images/housesteadSurvey/list06.png" alt="" style="margin-right: 3px;">详情</p> | ||||
<p v-if="item.zjdAudit=='0'" style="color:#ff976a;background:rgba(255,151,106,0.2);font-size:12px;padding: 5px;line-height: 1;border-radius: 5px;">待审核</p> | <p v-if="item.zjdAudit=='0'" style="color:#ff976a;background:rgba(255,151,106,0.2);font-size:12px;padding: 5px;line-height: 1;border-radius: 5px;">待审核</p> | ||||
@@ -96,7 +96,7 @@ | |||||
</template>--> | </template>--> | ||||
<template #label> | <template #label> | ||||
<p style="display: flex;align-items: center;margin-top: 10px;"><img src="../../assets/images/housesteadSurvey/list04.png" alt="" style="margin-right: 5px;">宅基地代码: {{item.zjddm}} </p> | <p style="display: flex;align-items: center;margin-top: 10px;"><img src="../../assets/images/housesteadSurvey/list04.png" alt="" style="margin-right: 5px;">宅基地代码: {{item.zjddm}} </p> | ||||
<p style="display: flex;align-items: center;margin-top: 5px;"><img src="../../assets/images/housesteadSurvey/list05.png" alt="" style="margin-right: 5px;">宗地面积: {{item.zdmj}}㎡<span style="margin-left: auto;color: #333333;">检察员:{{item.updateBy}}</span></p> | |||||
<p style="display: flex;align-items: center;margin-top: 5px;"><img src="../../assets/images/housesteadSurvey/list05.png" alt="" style="margin-right: 5px;">宗地面积: {{item.zdmj}}㎡<span style="margin-left: auto;color: #333333;">检察员:{{item.surveyBy}}</span></p> | |||||
</template> | </template> | ||||
</van-cell> | </van-cell> | ||||
</van-list> | </van-list> | ||||
@@ -147,7 +147,7 @@ | |||||
</template> | </template> | ||||
<script> | <script> | ||||
import {listZjdzd,getQueryLand,getZjdzd,delZjdzdInfo,uploadFile,submitUploadImageList} from "@/api/homesteadSurvey/zjdzd"; | |||||
import {rhhcList,getQueryLand,getZjdzd,delZjdzdInfo,uploadFile,submitUploadImageList} from "@/api/homesteadSurvey/zjdzd"; | |||||
import {addNh, delNh, exportNh, getNh, listNh, updateNh,setNhInfo} from "@/api/homesteadSurvey/nh"; | import {addNh, delNh, exportNh, getNh, listNh, updateNh,setNhInfo} from "@/api/homesteadSurvey/nh"; | ||||
import {addNhhncy, delNhhncy, exportNhhncy, getNhhncy, listNhhncy, updateNhhncy} from "@/api/homesteadSurvey/nhhncy"; | import {addNhhncy, delNhhncy, exportNhhncy, getNhhncy, listNhhncy, updateNhhncy} from "@/api/homesteadSurvey/nhhncy"; | ||||
import {listShyqr,setSyqrInfo} from "@/api/homesteadSurvey/shyqr"; | import {listShyqr,setSyqrInfo} from "@/api/homesteadSurvey/shyqr"; | ||||
@@ -218,25 +218,9 @@ | |||||
// 全部列表 | // 全部列表 | ||||
list:[], | list:[], | ||||
// 已核查列表 | // 已核查列表 | ||||
list1:[ | |||||
{ | |||||
syqr:'刘茂强,王讲讲,王公公', | |||||
zjdAudit :'0', | |||||
zjddm :'4413215200216562255Z00026', | |||||
zdmj :'119.87㎡', | |||||
updateBy :'高一鹏', | |||||
} | |||||
], | |||||
list1:[], | |||||
// 未核查列表 | // 未核查列表 | ||||
list2:[ | |||||
{ | |||||
syqr:'刘茂强,王讲讲,王公公12', | |||||
zjdAudit :'0', | |||||
zjddm :'4413215200216562255Z00026', | |||||
zdmj :'119.87㎡', | |||||
updateBy :'高一鹏', | |||||
} | |||||
], | |||||
list2:[], | |||||
// 户主列表 | // 户主列表 | ||||
nhlist:[], | nhlist:[], | ||||
// 户内成员表单 | // 户内成员表单 | ||||
@@ -360,6 +344,7 @@ | |||||
mounted(){ | mounted(){ | ||||
}, | }, | ||||
created(){ | created(){ | ||||
axios.get('../static/dictyType.json').then(res => { | axios.get('../static/dictyType.json').then(res => { | ||||
this.dictTypeList = res.data | this.dictTypeList = res.data | ||||
this.zjlxOptions = this.dictTypeList.zjlx; | this.zjlxOptions = this.dictTypeList.zjlx; | ||||
@@ -371,6 +356,7 @@ | |||||
this.jzhcssfyzfOptions = this.dictTypeList.jzhcssfyzf; | this.jzhcssfyzfOptions = this.dictTypeList.jzhcssfyzf; | ||||
this.cybzOptions = this.dictTypeList.member_remark; | this.cybzOptions = this.dictTypeList.member_remark; | ||||
}) | }) | ||||
this.getList(); | |||||
// this.getDicts("family_status").then(response => { | // this.getDicts("family_status").then(response => { | ||||
// var arr = []; | // var arr = []; | ||||
// response.data.forEach(function (item) { | // response.data.forEach(function (item) { | ||||
@@ -429,6 +415,13 @@ | |||||
// } | // } | ||||
}, | }, | ||||
methods: { | methods: { | ||||
getList(){ | |||||
rhhcList({surveyStatus:"3"}).then(res => { | |||||
this.list1 = res.data.zjdzdxxList; | |||||
this.totalH = res.data.zjdzs; | |||||
this.totalR = res.data.shyqrs; | |||||
}); | |||||
}, | |||||
showUploadList(){ | showUploadList(){ | ||||
this.showImageList = true; | this.showImageList = true; | ||||
}, | }, | ||||
@@ -1208,15 +1201,17 @@ | |||||
}, | }, | ||||
// 宅基地搜索框 | // 宅基地搜索框 | ||||
onSearchzjd(){ | onSearchzjd(){ | ||||
console.info(this.active); | |||||
if(this.active==1){ | if(this.active==1){ | ||||
let params = { | let params = { | ||||
"deptId" : this.item.deptId, | |||||
"houseDataConfirmStatus" : "CONFIRMED", | |||||
"syqr" : this.zjdvalue | |||||
"shyqrdbxm" : this.zjdvalue, | |||||
"surveyStatus":"1", | |||||
} | } | ||||
listZjdzd(params).then((response) => { | |||||
rhhcList(params).then((response) => { | |||||
if (response.code == 200) { | if (response.code == 200) { | ||||
this.list1 = response.rows | |||||
this.list2 = response.data.zjdzdxxList; | |||||
this.totalH = response.data.zjdzs; | |||||
this.totalR = response.data.shyqrs; | |||||
} | } | ||||
}); | }); | ||||
}else if(this.active==2){ | }else if(this.active==2){ | ||||
@@ -1232,12 +1227,14 @@ | |||||
}); | }); | ||||
}else{ | }else{ | ||||
let params = { | let params = { | ||||
"deptId" : this.item.deptId, | |||||
"syqr" : this.zjdvalue | |||||
"shyqrdbxm" : this.zjdvalue, | |||||
"surveyStatus":"3", | |||||
} | } | ||||
listZjdzd(params).then((response) => { | |||||
rhhcList(params).then((response) => { | |||||
if (response.code == 200) { | if (response.code == 200) { | ||||
this.list = response.rows | |||||
this.list1 = response.data.zjdzdxxList; | |||||
this.totalH = response.data.zjdzs; | |||||
this.totalR = response.data.shyqrs; | |||||
} | } | ||||
}); | }); | ||||
} | } | ||||
@@ -1413,64 +1410,36 @@ | |||||
}) | }) | ||||
}, | }, | ||||
getZjdList(){ | getZjdList(){ | ||||
let params = { | |||||
"deptId" : this.item.deptId, | |||||
"pageNum": 1, | |||||
"pageSize":10, | |||||
} | |||||
listZjdzd(params).then((response) => { | |||||
if (response.code == 200) { | |||||
this.list = response.rows | |||||
this.qbNums = response.total | |||||
/* if(response.rows.length>=10){ | |||||
this.list = newList.slice(0,9) | |||||
}else { | |||||
this.list = newList | |||||
} | |||||
this.yhcNums = 0 | |||||
this.whcNums = 0 | |||||
this.list1 = [] | |||||
this.list2 = [] | |||||
response.rows.map(res => { | |||||
if(res.houseDataConfirmStatus == 'CONFIRMED'){ | |||||
if(this.list1.length<10){ | |||||
this.list1.push(res) | |||||
} | |||||
this.yhcNums ++ | |||||
}else{ | |||||
if(this.list2.length<10){ | |||||
this.list2.push(res) | |||||
} | |||||
this.whcNums ++ | |||||
} | |||||
})*/ | |||||
this.totalH = 0; | |||||
this.totalR = 0; | |||||
if(this.active === 0){ | |||||
let params = { | |||||
"shyqrdbxm" : this.zjdvalue, | |||||
"surveyStatus":"3", | |||||
} | } | ||||
}); | |||||
let params1 = { | |||||
"deptId" : this.item.deptId, | |||||
"houseDataConfirmStatus" : "CONFIRMED", | |||||
"pageNum": 1, | |||||
"pageSize":10, | |||||
} | |||||
listZjdzd(params1).then((response) => { | |||||
if (response.code == 200) { | |||||
this.yhcNums = response.total | |||||
this.list1 = response.rows | |||||
rhhcList(params).then((response) => { | |||||
if (response.code == 200) { | |||||
this.yhcNums = response.data.zjdzs; | |||||
this.list1 = response.data.zjdzdxxList; | |||||
this.totalH = response.data.zjdzs; | |||||
this.totalR = response.data.shyqrs; | |||||
} | |||||
}); | |||||
}else if(this.active === 1){ | |||||
let params = { | |||||
"shyqrdbxm" : this.zjdvalue, | |||||
"surveyStatus":"1", | |||||
} | } | ||||
}); | |||||
let params2 = { | |||||
"deptId" : this.item.deptId, | |||||
"houseDataConfirmStatus" : "UNCONFIRMED", | |||||
"pageNum": 1, | |||||
"pageSize":10, | |||||
rhhcList(params).then((response) => { | |||||
if (response.code == 200) { | |||||
this.whcNums = response.data.zjdzs; | |||||
this.list2 = response.data.zjdzdxxList; | |||||
this.totalH = response.data.zjdzs; | |||||
this.totalR = response.data.shyqrs; | |||||
} | |||||
}); | |||||
} | } | ||||
listZjdzd(params2).then((response) => { | |||||
if (response.code == 200) { | |||||
this.whcNums = response.total | |||||
this.list2 = response.rows | |||||
} | |||||
}); | |||||
}, | }, | ||||
onConfirm(){}, | onConfirm(){}, | ||||
/*onSubmithncy(){ | /*onSubmithncy(){ | ||||
@@ -64,7 +64,7 @@ | |||||
<div style="display: flex;align-items: center;"> | <div style="display: flex;align-items: center;"> | ||||
<p style="display: flex;align-items: center;"> | <p style="display: flex;align-items: center;"> | ||||
<img src="../../assets/images/housesteadSurvey/list03.png" alt="" style="margin-right: 5px;"> | <img src="../../assets/images/housesteadSurvey/list03.png" alt="" style="margin-right: 5px;"> | ||||
<span style="line-height: 1;">{{item.hzxm}}</span> | |||||
<span style="line-height: 1;">{{item.xm}}</span> | |||||
</p> | </p> | ||||
<p style="display: flex;align-items: center;color:#22B7F2;font-size:12px;margin-left: auto;margin-right: 10px;border-bottom: 1px dashed #22B7F2;" @click="showPopuphncylist(item)"><img src="../../assets/images/housesteadSurvey/list09.png" alt="" style="margin-right: 3px;">成员</p> | <p style="display: flex;align-items: center;color:#22B7F2;font-size:12px;margin-left: auto;margin-right: 10px;border-bottom: 1px dashed #22B7F2;" @click="showPopuphncylist(item)"><img src="../../assets/images/housesteadSurvey/list09.png" alt="" style="margin-right: 3px;">成员</p> | ||||
<p style="display: flex;align-items: center;color:#22B7F2;font-size:12px;margin-right: 10px;border-bottom: 1px dashed #22B7F2;" @click="showPopupnh(item)"><img src="../../assets/images/housesteadSurvey/list10.png" alt="" style="margin-right: 3px;">户主</p> | <p style="display: flex;align-items: center;color:#22B7F2;font-size:12px;margin-right: 10px;border-bottom: 1px dashed #22B7F2;" @click="showPopupnh(item)"><img src="../../assets/images/housesteadSurvey/list10.png" alt="" style="margin-right: 3px;">户主</p> | ||||
@@ -72,7 +72,7 @@ | |||||
</div> | </div> | ||||
</template> | </template> | ||||
<template #label> | <template #label> | ||||
<p style="display: flex;align-items: center;margin-top: 10px;"><img src="../../assets/images/housesteadSurvey/list04.png" alt="" style="margin-right: 5px;">证件号码:<span style="margin-left: auto;">{{item.hzzjhm}}</span> </p> | |||||
<p style="display: flex;align-items: center;margin-top: 10px;"><img src="../../assets/images/housesteadSurvey/list04.png" alt="" style="margin-right: 5px;">证件号码:<span style="margin-left: auto;">{{item.zjhm}}</span> </p> | |||||
<p style="display: flex;align-items: center;margin-top: 5px;"><img src="../../assets/images/housesteadSurvey/list05.png" alt="" style="margin-right: 5px;">农户代码:<span style="margin-left: auto;">{{item.nhdm}}</span></p> | <p style="display: flex;align-items: center;margin-top: 5px;"><img src="../../assets/images/housesteadSurvey/list05.png" alt="" style="margin-right: 5px;">农户代码:<span style="margin-left: auto;">{{item.nhdm}}</span></p> | ||||
</template> | </template> | ||||
</van-cell> | </van-cell> | ||||
@@ -81,7 +81,7 @@ | |||||
</template> | </template> | ||||
<script> | <script> | ||||
import {listZjdzd,getQueryLand,getZjdzd,delZjdzdInfo,uploadFile,submitUploadImageList} from "@/api/homesteadSurvey/zjdzd"; | |||||
import {getQueryLand,getZjdzd,delZjdzdInfo,uploadFile,submitUploadImageList} from "@/api/homesteadSurvey/zjdzd"; | |||||
import {addNh, delNh, exportNh, getNh, listNh, updateNh,setNhInfo} from "@/api/homesteadSurvey/nh"; | import {addNh, delNh, exportNh, getNh, listNh, updateNh,setNhInfo} from "@/api/homesteadSurvey/nh"; | ||||
import {addNhhncy, delNhhncy, exportNhhncy, getNhhncy, listNhhncy, updateNhhncy} from "@/api/homesteadSurvey/nhhncy"; | import {addNhhncy, delNhhncy, exportNhhncy, getNhhncy, listNhhncy, updateNhhncy} from "@/api/homesteadSurvey/nhhncy"; | ||||
import {listShyqr,setSyqrInfo} from "@/api/homesteadSurvey/shyqr"; | import {listShyqr,setSyqrInfo} from "@/api/homesteadSurvey/shyqr"; | ||||
@@ -156,11 +156,7 @@ | |||||
// 未核查列表 | // 未核查列表 | ||||
list2:[], | list2:[], | ||||
// 户主列表 | // 户主列表 | ||||
nhlist:[{ | |||||
hzxm :'刘茂强', | |||||
hzzjhm :'373702215605074707', | |||||
nhdm :'3737022156050747072' | |||||
}], | |||||
nhlist:[], | |||||
// 户内成员表单 | // 户内成员表单 | ||||
form5: {}, | form5: {}, | ||||
// 户内成员列表 | // 户内成员列表 | ||||
@@ -293,6 +289,8 @@ | |||||
this.jzhcssfyzfOptions = this.dictTypeList.jzhcssfyzf; | this.jzhcssfyzfOptions = this.dictTypeList.jzhcssfyzf; | ||||
this.cybzOptions = this.dictTypeList.member_remark; | this.cybzOptions = this.dictTypeList.member_remark; | ||||
}) | }) | ||||
this.item = this.$cookies.get("item"); | |||||
this.getNh(); | |||||
this.getDicts("family_status").then(response => { | this.getDicts("family_status").then(response => { | ||||
var arr = []; | var arr = []; | ||||
response.data.forEach(function (item) { | response.data.forEach(function (item) { | ||||
@@ -310,7 +308,6 @@ | |||||
// location.reload(); | // location.reload(); | ||||
// } | // } | ||||
this.activeBtn = this.$cookies.get("search").activeBtn; | this.activeBtn = this.$cookies.get("search").activeBtn; | ||||
this.item = this.$cookies.get("item"); | |||||
this.mapAddJump = this.$cookies.get("search").backMapZjdAData.deptId; | this.mapAddJump = this.$cookies.get("search").backMapZjdAData.deptId; | ||||
this.backTheGeom = this.$cookies.get("search").backMapZjdAData.theGeom; | this.backTheGeom = this.$cookies.get("search").backMapZjdAData.theGeom; | ||||
this.mapZjdData = this.$cookies.get("search").backMapZjdAData; | this.mapZjdData = this.$cookies.get("search").backMapZjdAData; | ||||
@@ -330,7 +327,6 @@ | |||||
} | } | ||||
} | } | ||||
}else { | }else { | ||||
this.item = this.$cookies.get("item"); | |||||
this.getZjdList(); | this.getZjdList(); | ||||
this.getTotalHR(); | this.getTotalHR(); | ||||
if(this.item.taskStatus=="FINISHED"){ | if(this.item.taskStatus=="FINISHED"){ | ||||
@@ -340,7 +336,6 @@ | |||||
} | } | ||||
} | } | ||||
}else { | }else { | ||||
this.item = this.$cookies.get("item"); | |||||
this.getZjdList(); | this.getZjdList(); | ||||
this.getTotalHR(); | this.getTotalHR(); | ||||
if(this.item.taskStatus=="FINISHED"){ | if(this.item.taskStatus=="FINISHED"){ | ||||
@@ -763,7 +758,6 @@ | |||||
}, | }, | ||||
getTotalHR(){ | getTotalHR(){ | ||||
let params = { | let params = { | ||||
"deptId" : this.item.deptId, | |||||
"pageNum": 1, | "pageNum": 1, | ||||
"pageSize":10, | "pageSize":10, | ||||
} | } | ||||
@@ -1074,13 +1068,16 @@ | |||||
getNh(){ | getNh(){ | ||||
//删除地图选中状态 | //删除地图选中状态 | ||||
$("#deleteHistoryMap").trigger("click"); | $("#deleteHistoryMap").trigger("click"); | ||||
console.info(this.item.deptId); | |||||
let params = { | let params = { | ||||
"deptId" : this.item.deptId | |||||
dept:this.item.deptId, | |||||
yhzgx : "02" | |||||
} | } | ||||
listNh(params).then((response) => { | |||||
listNhhncy(params).then((response) => { | |||||
this.nhlist = response.rows | this.nhlist = response.rows | ||||
this.totalN = response.total | this.totalN = response.total | ||||
}); | }); | ||||
console.info( this.nhlist); | |||||
this.mapZjdData = ""; | this.mapZjdData = ""; | ||||
this.mapZrzData = ""; | this.mapZrzData = ""; | ||||
this.mapFsssData = ""; | this.mapFsssData = ""; | ||||
@@ -1121,9 +1118,10 @@ | |||||
onSearchnh(){ | onSearchnh(){ | ||||
let params = { | let params = { | ||||
"deptId" : this.item.deptId, | "deptId" : this.item.deptId, | ||||
"yhzgx" : "01", | |||||
"nhValue" : this.nhvalue | "nhValue" : this.nhvalue | ||||
} | } | ||||
listNh(params).then((response) => { | |||||
listNhhncy(params).then((response) => { | |||||
this.nhlist = response.rows | this.nhlist = response.rows | ||||
}); | }); | ||||
}, | }, | ||||
@@ -1334,64 +1332,30 @@ | |||||
}) | }) | ||||
}, | }, | ||||
getZjdList(){ | getZjdList(){ | ||||
let params = { | |||||
"deptId" : this.item.deptId, | |||||
"pageNum": 1, | |||||
"pageSize":10, | |||||
} | |||||
listZjdzd(params).then((response) => { | |||||
if (response.code == 200) { | |||||
this.list = response.rows | |||||
this.qbNums = response.total | |||||
/* if(response.rows.length>=10){ | |||||
this.list = newList.slice(0,9) | |||||
}else { | |||||
this.list = newList | |||||
} | |||||
this.yhcNums = 0 | |||||
this.whcNums = 0 | |||||
this.list1 = [] | |||||
this.list2 = [] | |||||
response.rows.map(res => { | |||||
if(res.houseDataConfirmStatus == 'CONFIRMED'){ | |||||
if(this.list1.length<10){ | |||||
this.list1.push(res) | |||||
} | |||||
this.yhcNums ++ | |||||
}else{ | |||||
if(this.list2.length<10){ | |||||
this.list2.push(res) | |||||
} | |||||
this.whcNums ++ | |||||
} | |||||
})*/ | |||||
} | |||||
}); | |||||
let params1 = { | |||||
"deptId" : this.item.deptId, | |||||
"houseDataConfirmStatus" : "CONFIRMED", | |||||
"pageNum": 1, | |||||
"pageSize":10, | |||||
} | |||||
listZjdzd(params1).then((response) => { | |||||
if (response.code == 200) { | |||||
this.yhcNums = response.total | |||||
this.list1 = response.rows | |||||
} | |||||
}); | |||||
let params2 = { | |||||
"deptId" : this.item.deptId, | |||||
"houseDataConfirmStatus" : "UNCONFIRMED", | |||||
"pageNum": 1, | |||||
"pageSize":10, | |||||
} | |||||
listZjdzd(params2).then((response) => { | |||||
if (response.code == 200) { | |||||
this.whcNums = response.total | |||||
this.list2 = 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 | |||||
// this.list1 = response.rows | |||||
// } | |||||
// }); | |||||
// let params2 = { | |||||
// "deptId" : this.item.deptId, | |||||
// "houseDataConfirmStatus" : "UNCONFIRMED", | |||||
// "pageNum": 1, | |||||
// "pageSize":10, | |||||
// } | |||||
// listZjdzd(params2).then((response) => { | |||||
// if (response.code == 200) { | |||||
// this.whcNums = response.total | |||||
// this.list2 = response.rows | |||||
// } | |||||
// }); | |||||
}, | }, | ||||
onConfirm(){}, | onConfirm(){}, | ||||
/*onSubmithncy(){ | /*onSubmithncy(){ | ||||
@@ -333,7 +333,7 @@ | |||||
</template> | </template> | ||||
<script> | <script> | ||||
import {listZjdzd,getQueryLand,getZjdzd,delZjdzdInfo,uploadFile,submitUploadImageList} from "@/api/homesteadSurvey/zjdzd"; | |||||
import {getQueryLand,getZjdzd,delZjdzdInfo,uploadFile,submitUploadImageList} from "@/api/homesteadSurvey/zjdzd"; | |||||
import {addNh, delNh, exportNh, getNh, listNh, updateNh,setNhInfo} from "@/api/homesteadSurvey/nh"; | import {addNh, delNh, exportNh, getNh, listNh, updateNh,setNhInfo} from "@/api/homesteadSurvey/nh"; | ||||
import {addNhhncy, delNhhncy, exportNhhncy, getNhhncy, listNhhncy, updateNhhncy} from "@/api/homesteadSurvey/nhhncy"; | import {addNhhncy, delNhhncy, exportNhhncy, getNhhncy, listNhhncy, updateNhhncy} from "@/api/homesteadSurvey/nhhncy"; | ||||
import {listShyqr,setSyqrInfo} from "@/api/homesteadSurvey/shyqr"; | import {listShyqr,setSyqrInfo} from "@/api/homesteadSurvey/shyqr"; | ||||
@@ -541,6 +541,7 @@ | |||||
this.jzhcssfyzfOptions = this.dictTypeList.jzhcssfyzf; | this.jzhcssfyzfOptions = this.dictTypeList.jzhcssfyzf; | ||||
this.cybzOptions = this.dictTypeList.member_remark; | this.cybzOptions = this.dictTypeList.member_remark; | ||||
}) | }) | ||||
this.getSyqr(); | |||||
this.getDicts("family_status").then(response => { | this.getDicts("family_status").then(response => { | ||||
var arr = []; | var arr = []; | ||||
response.data.forEach(function (item) { | response.data.forEach(function (item) { | ||||
@@ -569,7 +570,7 @@ | |||||
this.mapZjdDataTure = 1; | this.mapZjdDataTure = 1; | ||||
this.mapAddJumpNum =1; | this.mapAddJumpNum =1; | ||||
this.mapShow(); | this.mapShow(); | ||||
this.getZjdList(); | |||||
// this.getZjdList(); | |||||
this.getTotalHR(); | this.getTotalHR(); | ||||
if(this.item.taskStatus=="FINISHED"){ | if(this.item.taskStatus=="FINISHED"){ | ||||
this.isFinished = true | this.isFinished = true | ||||
@@ -579,7 +580,7 @@ | |||||
} | } | ||||
}else { | }else { | ||||
this.item = this.$cookies.get("item"); | this.item = this.$cookies.get("item"); | ||||
this.getZjdList(); | |||||
// this.getZjdList(); | |||||
this.getTotalHR(); | this.getTotalHR(); | ||||
if(this.item.taskStatus=="FINISHED"){ | if(this.item.taskStatus=="FINISHED"){ | ||||
this.isFinished = true | this.isFinished = true | ||||
@@ -589,7 +590,8 @@ | |||||
} | } | ||||
}else { | }else { | ||||
this.item = this.$cookies.get("item"); | this.item = this.$cookies.get("item"); | ||||
this.getZjdList(); | |||||
console.info(this.item ); | |||||
// this.getZjdList(); | |||||
this.getTotalHR(); | this.getTotalHR(); | ||||
if(this.item.taskStatus=="FINISHED"){ | if(this.item.taskStatus=="FINISHED"){ | ||||
this.isFinished = true | this.isFinished = true | ||||
@@ -1061,9 +1063,6 @@ | |||||
// 农户信息搜索框新增。 | // 农户信息搜索框新增。 | ||||
onClicknh(){ | onClicknh(){ | ||||
this.shownh = true; | this.shownh = true; | ||||
let params = { | |||||
"deptId" : this.item.deptId | |||||
} | |||||
this.qlrform={} | this.qlrform={} | ||||
this.nhform={ | this.nhform={ | ||||
"suyqrdm":null, | "suyqrdm":null, | ||||
@@ -1084,7 +1083,7 @@ | |||||
"sjly":'07', | "sjly":'07', | ||||
"sjlyName":'农村集体产权制度改革', | "sjlyName":'农村集体产权制度改革', | ||||
} | } | ||||
listSuyqr(params).then((response) => { | |||||
listSuyqr({}).then((response) => { | |||||
if(response.rows.length>0){ | if(response.rows.length>0){ | ||||
this.qlrform = response.rows[0] | this.qlrform = response.rows[0] | ||||
this.nhform.suyqrdm = this.qlrform.suyqrdm | this.nhform.suyqrdm = this.qlrform.suyqrdm | ||||
@@ -1264,7 +1263,7 @@ | |||||
"sjly":'04', | "sjly":'04', | ||||
"sjlyName":"农村宅基地使用权确权登记发证" | "sjlyName":"农村宅基地使用权确权登记发证" | ||||
} | } | ||||
listSuyqr(params).then((response) => { | |||||
listSuyqr({}).then((response) => { | |||||
if(response.rows.length>0){ | if(response.rows.length>0){ | ||||
this.qlrform = response.rows[0] | this.qlrform = response.rows[0] | ||||
if(this.qlrform.suyqxz==null||this.qlrform.suyqxz==""){ | if(this.qlrform.suyqxz==null||this.qlrform.suyqxz==""){ | ||||
@@ -31,15 +31,15 @@ | |||||
</van-popup> | </van-popup> | ||||
<div style="display:flex;width:94%;margin:0 auto;justify-content:space-between;padding: 10px 0"> | <div style="display:flex;width:94%;margin:0 auto;justify-content:space-between;padding: 10px 0"> | ||||
<div style="display:flex;width:90%;margin:0 auto;"> | <div style="display:flex;width:90%;margin:0 auto;"> | ||||
<div :class="{activeBtn : activeBtn==1,disactiveBtn :activeBtn!=1 }" @click="activeBtn=1,getDc()" | |||||
<div :class="{activeBtn : activeBtn==1,disactiveBtn :activeBtn!=1 }" @click="$router.push({path:'/homesteadSurvey/list'})" | |||||
><van-icon size=".3rem" style="vertical-align:middle;" :name="require('../../assets/images/housesteadSurvey/btn1'+(activeBtn!=1?'1':'')+'.png')" /> | ><van-icon size=".3rem" style="vertical-align:middle;" :name="require('../../assets/images/housesteadSurvey/btn1'+(activeBtn!=1?'1':'')+'.png')" /> | ||||
入户核查 | 入户核查 | ||||
</div> | </div> | ||||
<div :class="{activeBtn : activeBtn==2,disactiveBtn :activeBtn!=2 }" @click="activeBtn=2,getNh()"> | |||||
<div :class="{activeBtn : activeBtn==2,disactiveBtn :activeBtn!=2 }" @click="$router.push({path:'/homesteadSurvey/list2'})"> | |||||
<van-icon size=".3rem" style="vertical-align:middle;" :name="require('../../assets/images/housesteadSurvey/btn2'+(activeBtn!=2?'2':'')+'.png')" /> | <van-icon size=".3rem" style="vertical-align:middle;" :name="require('../../assets/images/housesteadSurvey/btn2'+(activeBtn!=2?'2':'')+'.png')" /> | ||||
农户信息 | 农户信息 | ||||
</div> | </div> | ||||
<div :class="{activeBtn : activeBtn==3,disactiveBtn :activeBtn!=3 }" @click="activeBtn=3,getSyqr()"> | |||||
<div :class="{activeBtn : activeBtn==3,disactiveBtn :activeBtn!=3 }" @click="$router.push({path:'/homesteadSurvey/list3'})"> | |||||
<van-icon size=".3rem" style="vertical-align:middle;" :name="require('../../assets/images/housesteadSurvey/btn3'+(activeBtn!=3?'3':'')+'.png')" /> | <van-icon size=".3rem" style="vertical-align:middle;" :name="require('../../assets/images/housesteadSurvey/btn3'+(activeBtn!=3?'3':'')+'.png')" /> | ||||
所有权人 | 所有权人 | ||||
</div> | </div> | ||||
@@ -53,11 +53,11 @@ | |||||
<div style="background:#fff;padding:10px 0;"> | <div style="background:#fff;padding:10px 0;"> | ||||
<div style="border:1px solid rgb(122, 201, 67);width:90%;margin:0 auto;border-radius:15px;height:.8rem;display:flex;font-size:.3rem;"> | <div style="border:1px solid rgb(122, 201, 67);width:90%;margin:0 auto;border-radius:15px;height:.8rem;display:flex;font-size:.3rem;"> | ||||
<div style="flex:1;text-align:center;"> | <div style="flex:1;text-align:center;"> | ||||
<span style="color:rgb(122, 201, 67);line-height:.8rem;">总户数:</span> | |||||
<span style="color:rgb(122, 201, 67);line-height:.8rem;">宅基地数:</span> | |||||
<span style="color:rgb(250, 83, 83);line-height:.8rem;">{{totalH}} <span style="font-size:12px;">户</span></span> | <span style="color:rgb(250, 83, 83);line-height:.8rem;">{{totalH}} <span style="font-size:12px;">户</span></span> | ||||
</div> | </div> | ||||
<div style="flex:1;text-align:center;"> | <div style="flex:1;text-align:center;"> | ||||
<span style="color:rgb(122, 201, 67);line-height:.8rem">总人数:</span> | |||||
<span style="color:rgb(122, 201, 67);line-height:.8rem">使用权人数:</span> | |||||
<span style="color:rgb(250, 83, 83);line-height:.8rem">{{totalR}} <span style="font-size:12px;">人</span></span> | <span style="color:rgb(250, 83, 83);line-height:.8rem">{{totalR}} <span style="font-size:12px;">人</span></span> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
@@ -196,7 +196,7 @@ | |||||
<van-pull-refresh v-model="isLoadingnh" @refresh="onRefreshnh"> | <van-pull-refresh v-model="isLoadingnh" @refresh="onRefreshnh"> | ||||
<van-cell v-for="(item,index) in nhlist" :key="index" size="small" style="border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px"> | <van-cell v-for="(item,index) in nhlist" :key="index" size="small" style="border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px"> | ||||
<template #title> | <template #title> | ||||
<p style="color:#22B7F2">{{item.hzxm}} | |||||
<p style="color:#22B7F2">{{item.xm}} | |||||
<van-button plain round color="#7AC943" size="mini" style="vertical-align:middle;float:right;margin-left:10px;" @click="showPopuphncylist(item)">查看成员</van-button> | <van-button plain round color="#7AC943" size="mini" style="vertical-align:middle;float:right;margin-left:10px;" @click="showPopuphncylist(item)">查看成员</van-button> | ||||
<van-button plain round color="#7AC943" size="mini" style="vertical-align:middle;float:right;margin-left:10px;" @click="showPopupnh(item)">查看户主</van-button> | <van-button plain round color="#7AC943" size="mini" style="vertical-align:middle;float:right;margin-left:10px;" @click="showPopupnh(item)">查看户主</van-button> | ||||
<van-button plain round color="#FA5353" size="mini" v-if="!isFinished" style="vertical-align:middle;float:right;" @click="deletenh(item,index)">删除</van-button> | <van-button plain round color="#FA5353" size="mini" v-if="!isFinished" style="vertical-align:middle;float:right;" @click="deletenh(item,index)">删除</van-button> | ||||
@@ -206,7 +206,7 @@ | |||||
</template>--> | </template>--> | ||||
<template #label> | <template #label> | ||||
<p>证件号码:{{item.hzzjhm}}</p> | |||||
<p>证件号码:{{item.zjhm}}</p> | |||||
<p>农户代码:{{item.nhdm}}</p> | <p>农户代码:{{item.nhdm}}</p> | ||||
</template> | </template> | ||||
<template #icon> | <template #icon> | ||||
@@ -517,7 +517,7 @@ | |||||
<div class="searchBox" style="display: none;"> | <div class="searchBox" style="display: none;"> | ||||
<van-cell center v-for="(item,index) in mapDataAll" :key="index"> | <van-cell center v-for="(item,index) in mapDataAll" :key="index"> | ||||
<template #title> | <template #title> | ||||
<p><van-icon name="manager" /><span>{{item.syqr}}</span><span style="background: rgba(122, 201, 67, 0.4);color:#7ac943">{{item.paceType}}</span> | |||||
<p><van-icon name="manager" /><span>{{item.shyqrdbxm}}</span><span style="background: rgba(122, 201, 67, 0.4);color:#7ac943">{{item.paceType}}</span> | |||||
<!--<span style="background: rgba(122, 201, 67, 0.4);color:#7ac943">{{item.typeTc}}</span>--></p> | <!--<span style="background: rgba(122, 201, 67, 0.4);color:#7ac943">{{item.typeTc}}</span>--></p> | ||||
</template> | </template> | ||||
<template #default> | <template #default> | ||||
@@ -1272,7 +1272,7 @@ | |||||
showhzlx:false, | showhzlx:false, | ||||
showhncylist:false, | showhncylist:false, | ||||
showhncy:false, | showhncy:false, | ||||
activeBtn:1, | |||||
activeBtn:4, | |||||
value:'', | value:'', | ||||
// 宅基地搜索框 | // 宅基地搜索框 | ||||
zjdvalue:"", | zjdvalue:"", | ||||
@@ -1419,6 +1419,7 @@ | |||||
this.jzhcssfyzfOptions = this.dictTypeList.jzhcssfyzf; | this.jzhcssfyzfOptions = this.dictTypeList.jzhcssfyzf; | ||||
this.cybzOptions = this.dictTypeList.member_remark; | this.cybzOptions = this.dictTypeList.member_remark; | ||||
}) | }) | ||||
this.mapShow(); | |||||
this.getDicts("family_status").then(response => { | this.getDicts("family_status").then(response => { | ||||
var arr = []; | var arr = []; | ||||
response.data.forEach(function (item) { | response.data.forEach(function (item) { | ||||
@@ -1923,12 +1924,11 @@ | |||||
}, | }, | ||||
setCookies(item){ | setCookies(item){ | ||||
//this.$cookies.set("search",JSON.stringify(item)); | //this.$cookies.set("search",JSON.stringify(item)); | ||||
this.$cookies.set("search",""); | |||||
this.$cookies.set("zjdzdxx",JSON.stringify(item)); | |||||
// let _this = this | // let _this = this | ||||
// setTimeout(function(){ | // setTimeout(function(){ | ||||
// _this.$router.push({name:'homesteadAdd'}); | // _this.$router.push({name:'homesteadAdd'}); | ||||
// },1000) | // },1000) | ||||
this.$router.push({path:'/homesteadSurvey/add',query: {res: item}}); | this.$router.push({path:'/homesteadSurvey/add',query: {res: item}}); | ||||
}, | }, | ||||
// 入户核查搜索框新增。 | // 入户核查搜索框新增。 | ||||
@@ -2201,9 +2201,9 @@ | |||||
//删除地图选中状态 | //删除地图选中状态 | ||||
$("#deleteHistoryMap").trigger("click"); | $("#deleteHistoryMap").trigger("click"); | ||||
let params = { | let params = { | ||||
"deptId" : this.item.deptId | |||||
"yhzgx" : "01" | |||||
} | } | ||||
listNh(params).then((response) => { | |||||
listNhhncy(params).then((response) => { | |||||
this.nhlist = response.rows | this.nhlist = response.rows | ||||
this.totalN = response.total | this.totalN = response.total | ||||
}); | }); | ||||
@@ -3109,9 +3109,9 @@ | |||||
var cql_filter = "dept_id='" + that.$cookies.get("item").deptId + "'"; | var cql_filter = "dept_id='" + that.$cookies.get("item").deptId + "'"; | ||||
var cunTc = new ol.layer.Image({ | var cunTc = new ol.layer.Image({ | ||||
source: new ol.source.ImageWMS({ | source: new ol.source.ImageWMS({ | ||||
url: that.mapGeoServerUrl + "/geoserver/zjd_dc/wms", | |||||
url: that.mapGeoServerUrl + "/wms", | |||||
params: { | params: { | ||||
LAYERS: 'zjd_dc:t_house_survey_border_village', | |||||
LAYERS: 'nsgk_wulanhaote:t_homespace_cjqy', | |||||
TILED: true, | TILED: true, | ||||
cql_filter: cql_filter, | cql_filter: cql_filter, | ||||
SRID: 3857, | SRID: 3857, | ||||
@@ -3286,6 +3286,7 @@ | |||||
map.addLayer(cunTc); | map.addLayer(cunTc); | ||||
//村边界查询开始 ------------------------------end | //村边界查询开始 ------------------------------end | ||||
//国有数据加载-----------------------------------start | //国有数据加载-----------------------------------start | ||||
deptGetId(that.$cookies.get("item").deptId).then((res) => { | deptGetId(that.$cookies.get("item").deptId).then((res) => { | ||||
var cql_filter_guoyou = "ZLDWDM='" + res.data.orgCode + "0000000'"; | var cql_filter_guoyou = "ZLDWDM='" + res.data.orgCode + "0000000'"; | ||||
var guoyouTc = new ol.layer.Image({ | var guoyouTc = new ol.layer.Image({ | ||||
@@ -3307,11 +3308,11 @@ | |||||
//var cql_filter_all = "dept_id='" + that.$cookies.get("item").deptId + "'"; | //var cql_filter_all = "dept_id='" + that.$cookies.get("item").deptId + "'"; | ||||
var zjdTc = new ol.layer.Image({ | var zjdTc = new ol.layer.Image({ | ||||
source: new ol.source.ImageWMS({ | source: new ol.source.ImageWMS({ | ||||
url: that.mapGeoServerUrl + "/geoserver/zjd_dc/wms", | |||||
url: that.mapGeoServerUrl + "/wms", | |||||
params: { | params: { | ||||
LAYERS: 'zjd_dc:t_house_survey_zjdzd', | |||||
LAYERS: 'nsgk_wulanhaote:t_homestead_zjdzdxx', | |||||
TILED: true, | TILED: true, | ||||
cql_filter: cql_filter, | |||||
cql_filter: cql_filter+"and survey_status = '1'", | |||||
SRID: 3857, | SRID: 3857, | ||||
TIMESTAMP: new Date().getTime(), | TIMESTAMP: new Date().getTime(), | ||||
}, | }, | ||||
@@ -3323,16 +3324,16 @@ | |||||
service: "WFS", | service: "WFS", | ||||
version: "1.0.0", | version: "1.0.0", | ||||
request: "GetFeature", | request: "GetFeature", | ||||
typename: "zjd_dc:t_house_survey_zjdzd", | |||||
typename: "nsgk_wulanhaote:t_homestead_zjdzdxx", | |||||
//featureNS: 'nsgk_hc',//命名空间 URI | //featureNS: 'nsgk_hc',//命名空间 URI | ||||
cql_filter: cql_filter, | |||||
cql_filter: cql_filter+" and survey_status = '1'", | |||||
//featurePrefix: 'nationalwater',//工作区名称 | //featurePrefix: 'nationalwater',//工作区名称 | ||||
//featureTypes: ['nationalwater:01fir'],//查询图层,可以是同一个工作区下多个图层,逗号隔开 | //featureTypes: ['nationalwater:01fir'],//查询图层,可以是同一个工作区下多个图层,逗号隔开 | ||||
outputFormat: "application/json", | outputFormat: "application/json", | ||||
maxFeatures:1, | maxFeatures:1, | ||||
//filter: ol.format.filter.equalTo(t,e,r)//前者是属性名,后者是对应值 | //filter: ol.format.filter.equalTo(t,e,r)//前者是属性名,后者是对应值 | ||||
}; | }; | ||||
let url_zjdzd = that.mapGeoServerUrl + "/geoserver/zjd_dc/wfs"; //wfsurl; | |||||
let url_zjdzd = that.mapGeoServerUrl + "/wfs"; //wfsurl; | |||||
url_zjdzd = url_zjdzd + "?"; | url_zjdzd = url_zjdzd + "?"; | ||||
for (let key in param_zjdzd) { | for (let key in param_zjdzd) { | ||||
url_zjdzd = url_zjdzd + key + "=" + param_zjdzd[key] + "&"; | url_zjdzd = url_zjdzd + key + "=" + param_zjdzd[key] + "&"; | ||||
@@ -3351,9 +3352,9 @@ | |||||
var cql_filter_map = "dept_id='" + that.$cookies.get("item").deptId + "'" + "and zjddm='" + that.mapZjdData.zjddm + "'"; | var cql_filter_map = "dept_id='" + that.$cookies.get("item").deptId + "'" + "and zjddm='" + that.mapZjdData.zjddm + "'"; | ||||
zrzTc = new ol.layer.Image({ | zrzTc = new ol.layer.Image({ | ||||
source: new ol.source.ImageWMS({ | source: new ol.source.ImageWMS({ | ||||
url: that.mapGeoServerUrl + "/geoserver/zjd_dc/wms", | |||||
url: that.mapGeoServerUrl + "/wms", | |||||
params: { | params: { | ||||
LAYERS: 'zjd_dc:t_house_survey_zrz', | |||||
LAYERS: 'nsgk_wulanhaote:t_homespace_zrz', | |||||
TILED: true, | TILED: true, | ||||
cql_filter: cql_filter_map, | cql_filter: cql_filter_map, | ||||
SRID: 3857, | SRID: 3857, | ||||
@@ -3367,9 +3368,9 @@ | |||||
//var cql_filter_map = "dept_id='" + that.$cookies.get("item").deptId + "'" + "and zjddm='" + obj.zjddm + "'"; | //var cql_filter_map = "dept_id='" + that.$cookies.get("item").deptId + "'" + "and zjddm='" + obj.zjddm + "'"; | ||||
fsssTc = new ol.layer.Image({ | fsssTc = new ol.layer.Image({ | ||||
source: new ol.source.ImageWMS({ | source: new ol.source.ImageWMS({ | ||||
url: that.mapGeoServerUrl + "/geoserver/zjd_dc/wms", | |||||
url: that.mapGeoServerUrl + "/wms", | |||||
params: { | params: { | ||||
LAYERS: 'zjd_dc:t_house_survey_fsss', | |||||
LAYERS: 'nsgk_wulanhaote:t_homestead_fsss', | |||||
TILED: true, | TILED: true, | ||||
cql_filter: cql_filter_map, | cql_filter: cql_filter_map, | ||||
SRID: 3857, | SRID: 3857, | ||||
@@ -4073,22 +4074,22 @@ | |||||
if(that.mapAddJumpNum == 1){ | if(that.mapAddJumpNum == 1){ | ||||
params = { | params = { | ||||
"deptId" : that.mapAddJump, | "deptId" : that.mapAddJump, | ||||
"syqr" : val | |||||
"shyqrdbxm" : val | |||||
} | } | ||||
} else { | } else { | ||||
params = { | params = { | ||||
"deptId" : that.$cookies.get("item").deptId, | "deptId" : that.$cookies.get("item").deptId, | ||||
"syqr" : val | |||||
"shyqrdbxm" : val | |||||
} | } | ||||
} | } | ||||
listZjdzd(params).then((response) => { | listZjdzd(params).then((response) => { | ||||
if(response.rows.length != 0){ | if(response.rows.length != 0){ | ||||
that.mapDataAll = response.rows; | that.mapDataAll = response.rows; | ||||
for(var hg=0; hg < that.mapDataAll.length; hg++){ | for(var hg=0; hg < that.mapDataAll.length; hg++){ | ||||
var mapNum = that.mapDataAll[hg].houseDataConfirmStatus; | |||||
if(mapNum == "UNCONFIRMED"){ | |||||
var mapNum = that.mapDataAll[hg].surveyStatus; | |||||
if(mapNum == "1"){ | |||||
that.mapDataAll[hg].paceType = "未核查"; | that.mapDataAll[hg].paceType = "未核查"; | ||||
} else if (mapNum == "CONFIRMED"){ | |||||
} else if (mapNum == "3"){ | |||||
that.mapDataAll[hg].paceType = "已核查"; | that.mapDataAll[hg].paceType = "已核查"; | ||||
}else{ | }else{ | ||||
@@ -4102,7 +4103,7 @@ | |||||
projection: projection, | projection: projection, | ||||
features: new ol.format.GeoJSON().readFeatures("{\n" + | features: new ol.format.GeoJSON().readFeatures("{\n" + | ||||
" \"type\": \"Feature\",\n" + | " \"type\": \"Feature\",\n" + | ||||
" \"geometry\":" + that.mapDataAll[hg].theGeom + ", \"properties\":" + JSON.stringify(that.mapDataAll[hg]) + "}"), | |||||
" \"geometry\":" + that.mapDataAll[hg].theGeomJson + ", \"properties\":" + JSON.stringify(that.mapDataAll[hg]) + "}"), | |||||
}), | }), | ||||
style: styleZjd | style: styleZjd | ||||
}); | }); | ||||
@@ -4834,9 +4835,9 @@ | |||||
//查询宅基地图层 | //查询宅基地图层 | ||||
var ZjdwmsSource = new ol.source.TileWMS({ | var ZjdwmsSource = new ol.source.TileWMS({ | ||||
url: that.mapGeoServerUrl+"/geoserver/zjd_dc/wms", | |||||
url: that.mapGeoServerUrl+"/wms", | |||||
params: { | params: { | ||||
LAYERS: "zjd_dc:t_house_survey_zjdzd", | |||||
LAYERS: "nsgk_wulanhaote:t_homestead_zjdzdxx", | |||||
TILED: true, | TILED: true, | ||||
SRID: 3857, | SRID: 3857, | ||||
serverType: "geoserver", | serverType: "geoserver", | ||||
@@ -4847,9 +4848,9 @@ | |||||
//查询自然幢图层 | //查询自然幢图层 | ||||
var ZrzwmsSource = new ol.source.TileWMS({ | var ZrzwmsSource = new ol.source.TileWMS({ | ||||
url: that.mapGeoServerUrl+"/geoserver/zjd_dc/wms", | |||||
url: that.mapGeoServerUrl+"/wms", | |||||
params: { | params: { | ||||
LAYERS: "zjd_dc:t_house_survey_zrz", | |||||
LAYERS: "nsgk_wulanhaote:t_homespace_zrz", | |||||
TILED: true, | TILED: true, | ||||
SRID: 3857, | SRID: 3857, | ||||
serverType: "geoserver", | serverType: "geoserver", | ||||
@@ -5015,14 +5016,14 @@ | |||||
that.mapZjdTeAll.mapFsssAData = {}; | that.mapZjdTeAll.mapFsssAData = {}; | ||||
that.mapZjdDataTure = ""; | that.mapZjdDataTure = ""; | ||||
setTimeout(() => { | setTimeout(() => { | ||||
if ($("#info .featureInfo .featureInfo").text() == "t_house_survey_zjdzd") { | |||||
if ($("#info .featureInfo .featureInfo").text() == "t_homestead_zjdzdxx") { | |||||
map.removeLayer(hc_land_on); | map.removeLayer(hc_land_on); | ||||
that.mapHasDateStatus = 2; | that.mapHasDateStatus = 2; | ||||
that.mapXs = true; | that.mapXs = true; | ||||
let obj = {}; | 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 zjdXq = trs.find("td").eq(0).text(); | ||||
let zjdIdNum = zjdXq.replace("t_house_survey_zjdzd.", ""); | |||||
let zjdIdNum = zjdXq.replace("t_homestead_zjdzdxx.", ""); | |||||
obj.id = zjdIdNum; // 主键id | obj.id = zjdIdNum; // 主键id | ||||
obj.deptName = trs.find("td").eq(3).text();//行政区划名称 | obj.deptName = trs.find("td").eq(3).text();//行政区划名称 | ||||
@@ -6011,7 +6012,8 @@ | |||||
this.mapZjdTeAll.active = 1; | this.mapZjdTeAll.active = 1; | ||||
this.mapZjdTeAll.mapZjdAData = this.mapZjdData; | this.mapZjdTeAll.mapZjdAData = this.mapZjdData; | ||||
//this.$cookies.set("search",this.mapZjdTeAll); | //this.$cookies.set("search",this.mapZjdTeAll); | ||||
this.$cookies.set("search","") | |||||
console.info(this.mapZjdTeAll.mapZjdAData); | |||||
localStorage.setItem("zjdzdxxItem",JSON.stringify(this.mapZjdTeAll.mapZjdAData)); | |||||
setTimeout(() => { | setTimeout(() => { | ||||
this.$router.push({path:'/homesteadSurvey/add',query: {res: this.mapZjdTeAll}}); | this.$router.push({path:'/homesteadSurvey/add',query: {res: this.mapZjdTeAll}}); | ||||
}, 500); | }, 500); | ||||
@@ -0,0 +1,609 @@ | |||||
<template> | |||||
<div class="app-container"> | |||||
<van-sticky style="position:relative;"> | |||||
<div class="bannerBg"> | |||||
<van-nav-bar | |||||
style="background:transparent;border-bottom-width:0;height:2rem;margin-bottom:.5rem;" | |||||
@click-left="goBack()" | |||||
> | |||||
<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="width:95%;left:2.5%;position:absolute;background:#fff;border-radius:15px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16);padding: .3rem;top:1.2rem"> | |||||
<van-row> | |||||
<van-col span="4" :offset="1" style="text-align:center;" @click="$router.push({path:'/homesteadSurvey/add'})"> | |||||
<van-icon :name="require('../../assets/images/housesteadSurvey/zjd'+(active==1?'A':'D')+'.png')" size="1rem" style="margin-top:0px;"/> | |||||
<p :style="{color:(active==1?'rgb(34, 183, 242)':'#000')}">宅基地</p> | |||||
</van-col> | |||||
<van-col span="2"> | |||||
<div style="border-top: 2px dashed #b5b4b4;margin-top: 20px;"></div> | |||||
</van-col> | |||||
<van-col span="4" style="text-align:center;" @click="$router.push({path:'/homesteadSurvey/add2'})" > | |||||
<van-icon :name="require('../../assets/images/housesteadSurvey/nhxx'+(active==2?'A':'D')+'.png')" size="1rem" style="margin-top:0px;"/> | |||||
<p :style="{color:(active==2?'rgb(34, 183, 242)':'#000')}">农户</p> | |||||
</van-col> | |||||
<van-col span="2"> | |||||
<div style="border-top: 2px dashed #b5b4b4;margin-top: 20px;"></div> | |||||
</van-col> | |||||
<van-col span="4" style="text-align:center;" @click="$router.push({path:'/homesteadSurvey/add3'})" > | |||||
<van-icon :name="require('../../assets/images/housesteadSurvey/fwxx'+(active==3?'A':'D')+'.png')" size="1rem" style="margin-top:0px;"/> | |||||
<p :style="{color:(active==3?'rgb(34, 183, 242)':'#000')}">房屋</p> | |||||
</van-col> | |||||
<van-col span="2"> | |||||
<div style="border-top: 2px dashed #b5b4b4;margin-top: 20px;"></div> | |||||
</van-col> | |||||
<van-col span="4" style="text-align:center;" @click="$router.push({path:'/homesteadSurvey/add4'})"> | |||||
<van-icon :name="require('../../assets/images/housesteadSurvey/fsss'+(active==4?'A':'D')+'.png')" size="1rem" style="margin-top:0px;"/> | |||||
<p :style="{color:(active==4?'rgb(34, 183, 242)':'#000')}">附属物</p> | |||||
</van-col> | |||||
</van-row> | |||||
</div> | |||||
</van-sticky> | |||||
<van-form @submit="submitzjd"> | |||||
<div style="margin:30px auto;background: #ffffff;width: 95%;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16);border-radius:15px;padding-top: 20px;"> | |||||
<p class="title" style="position:relative;padding-left:10px;line-height:20px;font-size: 16px;margin-left: 3%;margin-bottom: 5px;">使用权人信息</p> | |||||
<!--<van-field | |||||
v-model="form.deptId" | |||||
name="行政区划名称" | |||||
label="行政区划名称" | |||||
placeholder="行政区划名称" | |||||
:rules="[{ required: true, message: '' }]" | |||||
/>--> | |||||
<van-field | |||||
autocomplete="off" | |||||
v-model="form.nhdm" | |||||
name="农户代码" | |||||
label="农户代码" | |||||
placeholder="自动生成" | |||||
input-align="right" | |||||
disabled | |||||
/> | |||||
<van-field | |||||
autocomplete="off" | |||||
v-model="form.zjddm" | |||||
name="宅基地代码" | |||||
label="宅基地代码" | |||||
placeholder="自动生成" | |||||
input-align="right" | |||||
disabled | |||||
/> | |||||
<van-field | |||||
autocomplete="off" | |||||
input-align="right" | |||||
v-model="form.nmfwdm" | |||||
name="农民房屋代码" | |||||
label="宗地代码" | |||||
placeholder="自动生成" | |||||
disabled | |||||
/> | |||||
<van-field | |||||
autocomplete="off" | |||||
input-align="right" | |||||
v-model="form.bdcdyh" | |||||
name="不动产单元号" | |||||
label="不动产单元号" | |||||
placeholder="自动生成" | |||||
disabled | |||||
/> | |||||
<van-field | |||||
autocomplete="off" | |||||
input-align="right" | |||||
v-model="form.bdcqzh" | |||||
name="不动产权证号" | |||||
label="不动产权证号" | |||||
placeholder="自动生成" | |||||
disabled | |||||
/> | |||||
<van-field | |||||
autocomplete="off" | |||||
input-align="right" | |||||
v-model="form.qzysxlh" | |||||
name="权证印刷序列号" | |||||
label="权证印刷序列号" | |||||
placeholder="自动生成" | |||||
disabled | |||||
/> | |||||
<van-field | |||||
autocomplete="off" | |||||
input-align="right" | |||||
v-model="form.fzjg" | |||||
name="发证机关" | |||||
label="发证机关" | |||||
disabled | |||||
/> | |||||
<van-field name="radio" label="是否发证" input-align="right" autocomplete="off"> | |||||
<template #input> | |||||
<van-radio-group v-model="form.sffz" direction="horizontal"> | |||||
<van-radio name="1">是</van-radio> | |||||
<van-radio name="0">否</van-radio> | |||||
</van-radio-group> | |||||
</template> | |||||
</van-field> | |||||
<van-field | |||||
input-align="right" | |||||
v-model="form.zjdzsh" | |||||
name="宅基地证书号" | |||||
label="宅基地证书号" | |||||
placeholder="宅基地证书号" | |||||
maxlength="50" | |||||
autocomplete="off" | |||||
/> | |||||
<van-field | |||||
autocomplete="off" | |||||
input-align="right" | |||||
v-model="form.zjdpzmj" | |||||
name="批准面积(㎡)" | |||||
label="批准面积(㎡)" | |||||
placeholder="单位:平方米" | |||||
type="number" | |||||
maxlength="15" | |||||
/> | |||||
<van-field | |||||
autocomplete="off" | |||||
input-align="right" | |||||
v-model="form.zdmj" | |||||
type="number" | |||||
name="宗地面积(㎡)" | |||||
label="宗地面积(㎡)" | |||||
placeholder="宗地面积(㎡)" | |||||
maxlength="15" | |||||
/> | |||||
<van-field | |||||
autocomplete="off" | |||||
input-align="right" | |||||
v-model="form.zl" | |||||
name="坐落" | |||||
label="坐落" | |||||
placeholder="坐落" | |||||
required | |||||
:rules="[{ required: true, message: '坐落不能为空' }]" | |||||
/> | |||||
<van-field | |||||
autocomplete="off" | |||||
v-model="form.zldwdm" | |||||
name="坐落单位代码" | |||||
label="坐落单位代码" | |||||
placeholder="自动生成" | |||||
input-align="right" | |||||
disabled | |||||
v-show="false" | |||||
/> | |||||
<van-field | |||||
autocomplete="off" | |||||
input-align="right" | |||||
v-model="form.zdszd" | |||||
name="宗地四至-东" | |||||
label="宗地四至-东" | |||||
placeholder="宗地四至-东" | |||||
maxlength="150" | |||||
required | |||||
:rules="[{ required: true, message: '宗地四至-东不能为空' }]" | |||||
/> | |||||
<van-field | |||||
autocomplete="off" | |||||
input-align="right" | |||||
v-model="form.zdszn" | |||||
name="宗地四至-南" | |||||
label="宗地四至-南" | |||||
placeholder="宗地四至-南" | |||||
maxlength="150" | |||||
required | |||||
:rules="[{ required: true, message: '宗地四至-南不能为空' }]" | |||||
/> | |||||
<van-field | |||||
input-align="right" | |||||
v-model="form.zdszx" | |||||
name="宗地四至-西" | |||||
label="宗地四至-西" | |||||
placeholder="宗地四至-西" | |||||
maxlength="150" | |||||
required | |||||
:rules="[{ required: true, message: '宗地四至-西不能为空' }]" | |||||
/> | |||||
<van-field | |||||
autocomplete="off" | |||||
input-align="right" | |||||
v-model="form.zdszb" | |||||
name="宗地四至-北" | |||||
label="宗地四至-北" | |||||
placeholder="宗地四至-北" | |||||
maxlength="150" | |||||
required | |||||
:rules="[{ required: true, message: '宗地四至-北不能为空' }]" | |||||
/> | |||||
<!-- <van-collapse v-model="activeZjd">--> | |||||
<!-- <van-collapse-item title="利用状况" name="1" class="label-class">--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- input-align="right"--> | |||||
<!-- v-model="form.lyzkName"--> | |||||
<!-- name="当前利用状况"--> | |||||
<!-- label="当前利用状况"--> | |||||
<!-- placeholder="当前利用状况"--> | |||||
<!-- readonly--> | |||||
<!-- @click="showlyzk = true"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- v-model="form.lyzk"--> | |||||
<!-- style="display:none"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- input-align="right"--> | |||||
<!-- v-model="form.zjdxzyy"--> | |||||
<!-- name="闲置原因"--> | |||||
<!-- label="闲置原因"--> | |||||
<!-- placeholder="宅基地闲置原因"--> | |||||
<!-- maxlength="200"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- input-align="right"--> | |||||
<!-- v-model="form.xzkssj"--> | |||||
<!-- name="闲置开始时间"--> | |||||
<!-- label="闲置开始时间"--> | |||||
<!-- placeholder="闲置开始时间"--> | |||||
<!-- readonly--> | |||||
<!-- @click="showPickerxzkssj = true"--> | |||||
<!-- />--> | |||||
<!-- <van-popup v-model:show="showPickerxzkssj" position="bottom">--> | |||||
<!-- <van-datetime-picker--> | |||||
<!-- type="date"--> | |||||
<!-- @confirm="onConfirmxzkssj"--> | |||||
<!-- @cancel="showPickerxzkssj = false"--> | |||||
<!-- :min-date="minDate"--> | |||||
<!-- :max-date="maxDate"--> | |||||
<!-- />--> | |||||
<!-- </van-popup>--> | |||||
<!-- <van-field name="radio" label="流转意向" input-align="right" autocomplete="off">--> | |||||
<!-- <template #input>--> | |||||
<!-- <van-radio-group v-model="form.lzyx" direction="horizontal">--> | |||||
<!-- <van-radio name="1">有</van-radio>--> | |||||
<!-- <van-radio name="0">无</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="form.yctcyx" direction="horizontal">--> | |||||
<!-- <van-radio name="1">有</van-radio>--> | |||||
<!-- <van-radio name="0">无</van-radio>--> | |||||
<!-- </van-radio-group>--> | |||||
<!-- </template>--> | |||||
<!-- </van-field>--> | |||||
<!-- </van-collapse-item>--> | |||||
<!-- <van-collapse-item title="其他信息" name="2" class="label-class">--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- input-align="right"--> | |||||
<!-- v-model="form.djName"--> | |||||
<!-- name="等级"--> | |||||
<!-- label="等级"--> | |||||
<!-- placeholder="等级"--> | |||||
<!-- @click="showdj = true"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- v-model="form.dj"--> | |||||
<!-- style="display:none"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- input-align="right"--> | |||||
<!-- v-model="form.jg"--> | |||||
<!-- name="价格(万元)"--> | |||||
<!-- label="价格(万元)"--> | |||||
<!-- placeholder="价格(万元)"--> | |||||
<!-- maxlength="15"--> | |||||
<!-- type="number"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- input-align="right"--> | |||||
<!-- v-model="form.ytmc"--> | |||||
<!-- name="用途"--> | |||||
<!-- label="用途"--> | |||||
<!-- placeholder="用途"--> | |||||
<!-- readonly--> | |||||
<!-- @click="showyt = true"--> | |||||
<!-- required--> | |||||
<!-- :rules="[{ required: true, message: '用途不能为空' }]"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- v-model="form.yt"--> | |||||
<!-- style="display:none"--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- input-align="right"--> | |||||
<!-- v-model="form.qllxName"--> | |||||
<!-- name="权利类型"--> | |||||
<!-- label="权利类型"--> | |||||
<!-- placeholder="权利类型"--> | |||||
<!-- readonly--> | |||||
<!-- @click="showqllx = true"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- v-model="form.qllx"--> | |||||
<!-- style="display:none"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- input-align="right"--> | |||||
<!-- v-model="form.qlxzName"--> | |||||
<!-- name="权利性质"--> | |||||
<!-- label="权利性质"--> | |||||
<!-- placeholder="权利性质"--> | |||||
<!-- readonly--> | |||||
<!-- @click="showqlxz = true"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- v-model="form.qlxz"--> | |||||
<!-- style="display:none"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- input-align="right"--> | |||||
<!-- v-model="form.qlsdfsName"--> | |||||
<!-- name="权利设定方式"--> | |||||
<!-- label="权利设定方式"--> | |||||
<!-- placeholder="权利设定方式"--> | |||||
<!-- readonly--> | |||||
<!-- @click="showqlsdfs = true"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- v-model="form.qlsdfs"--> | |||||
<!-- style="display:none"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- input-align="right"--> | |||||
<!-- v-model="form.rjl"--> | |||||
<!-- name="容积率"--> | |||||
<!-- label="容积率"--> | |||||
<!-- placeholder="容积率"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- input-align="right"--> | |||||
<!-- v-model="form.jzmd"--> | |||||
<!-- name="validator"--> | |||||
<!-- label="建筑密度"--> | |||||
<!-- placeholder="填写0~1小数"--> | |||||
<!-- :rules="[{ validator, message: '请填写0~1小数,保留两位小数' }]"--> | |||||
<!-- type="number"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- input-align="right"--> | |||||
<!-- v-model="form.jzxg"--> | |||||
<!-- name="建筑限高(m)"--> | |||||
<!-- label="建筑限高(m)"--> | |||||
<!-- placeholder="填写000.00~999.99小数"--> | |||||
<!-- :rules="[{ validator:validator1, message: '请填写000.00~999.99小数,保留两位小数' }]"--> | |||||
<!-- type="number"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- input-align="right"--> | |||||
<!-- v-model="form.zdt"--> | |||||
<!-- name="宗地图"--> | |||||
<!-- label="宗地图"--> | |||||
<!-- placeholder="宗地图"--> | |||||
<!-- maxlength="200"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- input-align="right"--> | |||||
<!-- v-model="form.tfh"--> | |||||
<!-- name="图幅号"--> | |||||
<!-- label="图幅号"--> | |||||
<!-- placeholder="图幅号"--> | |||||
<!-- maxlength="50"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- input-align="right"--> | |||||
<!-- v-model="form.djh"--> | |||||
<!-- name="地籍号"--> | |||||
<!-- label="地籍号"--> | |||||
<!-- placeholder="自动生成"--> | |||||
<!-- disabled--> | |||||
<!-- v-show="false"--> | |||||
<!-- />--> | |||||
<!-- <van-field name="radio" label="被惩处经历" input-align="right" autocomplete="off">--> | |||||
<!-- <template #input>--> | |||||
<!-- <van-radio-group v-model="form.bccjl" direction="horizontal">--> | |||||
<!-- <van-radio name="1">有</van-radio>--> | |||||
<!-- <van-radio name="0">无</van-radio>--> | |||||
<!-- </van-radio-group>--> | |||||
<!-- </template>--> | |||||
<!-- </van-field>--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- v-if="form.bccjl==1"--> | |||||
<!-- input-align="right"--> | |||||
<!-- v-model="form.bccbz"--> | |||||
<!-- name="被惩处备注"--> | |||||
<!-- label="被惩处备注"--> | |||||
<!-- placeholder="被惩处备注"--> | |||||
<!-- maxlength="200"--> | |||||
<!-- />--> | |||||
<!-- <van-field name="radio" label="宅基地取得方式" input-align="right" autocomplete="off">--> | |||||
<!-- <template #input>--> | |||||
<!-- <van-radio-group v-model="form.zjdqdfs" direction="horizontal">--> | |||||
<!-- <van-radio v-for="dict in zjdqdfsOptions" :key="dict.dictValue" :name="dict.dictValue">{{dict.dictLabel}}</van-radio>--> | |||||
<!-- </van-radio-group>--> | |||||
<!-- </template>--> | |||||
<!-- </van-field>--> | |||||
<!-- </van-collapse-item>--> | |||||
<!-- </van-collapse>--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- v-model="form.sjlyName"--> | |||||
<!-- name="数据来源"--> | |||||
<!-- label="数据来源"--> | |||||
<!-- placeholder="数据来源"--> | |||||
<!-- input-align="right"--> | |||||
<!-- readonly--> | |||||
<!-- @click="showsjly = true"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- v-model="form.sjly"--> | |||||
<!-- style="display:none"--> | |||||
<!-- />--> | |||||
<!-- <van-field--> | |||||
<!-- autocomplete="off"--> | |||||
<!-- input-align="right"--> | |||||
<!-- v-model="form.bz"--> | |||||
<!-- name="备注"--> | |||||
<!-- label="备注"--> | |||||
<!-- placeholder="备注"--> | |||||
<!-- maxlength="200"--> | |||||
<!-- />--> | |||||
<!-- <van-field name="uploader" label="现场照片" autocomplete="off">--> | |||||
<!-- <template #input>--> | |||||
<!-- <van-uploader v-model="fileListzjd" :after-read="beforeReadzjd" multiple @delete="deleteFilezjd" :max-count="20" accept="image/*"></van-uploader>--> | |||||
<!-- </template>--> | |||||
<!-- </van-field>--> | |||||
</div> | |||||
<div style="margin: 16px;display: flex;justify-content: space-around;"> | |||||
<van-button round color="#22B7F2" style="width:45%" native-type="submit">保存</van-button> | |||||
<van-button plain color="#22B7F2" round type="info" style="width:45%" native-type="submit">取消</van-button> | |||||
</div> | |||||
<div style="height: 50px;"></div> | |||||
</van-form> | |||||
</div> | |||||
</template> | |||||
<script> | |||||
import {listShyqr,addShyqr,updateShyqr,delShyqr,setSyqrInfo} from "@/api/homesteadSurvey/shyqr"; | |||||
import {listZjdzd,getZjdzd,updateZjdzd,addZjdzd,uploadFile,getQueryLand,submitOnly} from "@/api/homesteadSurvey/zjdzd"; | |||||
import {listZrz,addZrz,updateZrz,getZrzZjdDmList,delZrz,updateZrzStatus} from "@/api/homesteadSurvey/zrz"; | |||||
import {listNmfw,addNmfw,updateNmfw,delNmfw} from "@/api/homesteadSurvey/nmfw"; | |||||
import {listSuyqr,addSuyqr,updateSuyqr} from "@/api/homesteadSurvey/suyqr"; | |||||
import {listNhhncy,addNhhncy,updateNhhncy,delNhhncy} from "@/api/homesteadSurvey/nhhncy"; | |||||
import {addNh, delNh, exportNh, getNh, listNh, updateNh,setNhInfo} from "@/api/homesteadSurvey/nh"; | |||||
import {listFsss,addFsss,updateFsss,delFsss,getFsssZjdDmList,updateFsssStatus} from "@/api/homesteadSurvey/fsss"; | |||||
import { listTown, getTown } from "@/api/homesteadSurvey/town"; | |||||
import { listVillage} from "@/api/homesteadSurvey/village"; | |||||
import { sysConfig} from "@/api/homesteadSurvey/index"; | |||||
import { Notify, Dialog, Toast } from 'vant'; | |||||
import axios from "axios"; | |||||
export default { | |||||
name: "shyqrAdd", | |||||
data() { | |||||
return { | |||||
active:2, | |||||
// 使用权人列表 | |||||
syqrlist:[ | |||||
{ | |||||
shyqrdbxm :'测试测试', | |||||
shyqrdbzjhm :'12324648564', | |||||
nhdm :'777888999', | |||||
} | |||||
], | |||||
form:{} | |||||
}; | |||||
}, | |||||
created(){ | |||||
let data = this.$route.query.res; | |||||
this.form = JSON.parse(localStorage.getItem("zjdzdxxItem")); | |||||
console.info(this.form); | |||||
this.onSubmitzjd(); | |||||
}, | |||||
mounted(){ | |||||
}, | |||||
methods: { | |||||
onSubmitzjd(){ | |||||
setTimeout(() => { | |||||
this.$refs.zjdProductResh.drawingPaceCountryDarw(); | |||||
}, 500); | |||||
}, | |||||
submitzjd(){ | |||||
updateZjdzd(this.form).then(response => { | |||||
let _this =this | |||||
this.$toast({ | |||||
icon: 'success', // 找到自己需要的图标 | |||||
message: '保存成功', | |||||
duration:"1000", | |||||
onClose:function(){ | |||||
_this.$router.push({path:'/homesteadSurvey/add2',query: {zjddm: _this.form.zjddm}}); | |||||
} | |||||
}) | |||||
}); | |||||
}, | |||||
guidProduct(){ | |||||
return 'xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx'.replace(/[xy]/g, function (c) { | |||||
var r = Math.random() * 16 | 0, | |||||
v = c == 'x' ? r : (r & 0x3 | 0x8); | |||||
return v.toString(16); | |||||
}); | |||||
}, | |||||
/** 查找地图中定位点 */ | |||||
MapTag: function (data) { | |||||
this.$refs[this.zjdProductResh].drawingPaceCountryDarw(); | |||||
}, | |||||
goBack(){ | |||||
if(this.ztMap && this.enterMap ==1){ | |||||
if(this.form.id == null){ | |||||
this.backMap.backMapZjdAData.theGeom= ""; | |||||
}else{ | |||||
this.backMap.backMapZjdAData = this.form; | |||||
} | |||||
this.$cookies.set("search",this.backMap); | |||||
} else { | |||||
this.$cookies.set("search",""); | |||||
} | |||||
this.$router.push({name:'homesteadList'}); | |||||
// } | |||||
}, | |||||
} | |||||
} | |||||
</script> | |||||
<style scoped> | |||||
>>> .bannerBg{ | |||||
width: 100%; | |||||
color:#fff; | |||||
padding:10px; | |||||
background: linear-gradient(134deg,#7ac943 1%, #22b7f2); | |||||
} | |||||
>>> .van-hairline--bottom::after { | |||||
border-bottom-width: 0; | |||||
} | |||||
>>> .title:before | |||||
{ | |||||
content:""; | |||||
width: 6px; | |||||
height: 20PX; | |||||
background: #7ac943; | |||||
border-radius: 3px; | |||||
position:absolute; | |||||
left:0; | |||||
bottom:0; | |||||
} | |||||
>>> .delete-button { | |||||
height: 100%; | |||||
} | |||||
>>> .van-swipe-cell__wrapper{ | |||||
margin-right:-3px; | |||||
} | |||||
>>> .label-class .van-collapse-item__title--expanded{ | |||||
font-weight: bold; | |||||
} | |||||
</style> |