Browse Source

宅基地调查优化

rongxin_prod
Xyq123* 2 years ago
parent
commit
8f4bc849f1
16 changed files with 157 additions and 380 deletions
  1. +1
    -1
      src/api/homesteadSurvey/fsss.js
  2. +1
    -1
      src/api/homesteadSurvey/zrz.js
  3. +13
    -5
      src/views/homesteadSurvey/add.vue
  4. +1
    -1
      src/views/homesteadSurvey/add2.vue
  5. +21
    -7
      src/views/homesteadSurvey/add3.vue
  6. +16
    -3
      src/views/homesteadSurvey/add4.vue
  7. +12
    -1
      src/views/homesteadSurvey/hncyList2.vue
  8. +31
    -338
      src/views/homesteadSurvey/list4.vue
  9. +5
    -5
      src/views/homesteadSurvey/nhDetails.vue
  10. +18
    -3
      src/views/homesteadSurvey/nhcyAdd.vue
  11. +2
    -2
      src/views/homesteadSurvey/nhcyList.vue
  12. +15
    -10
      src/views/homesteadSurvey/nmfwAdd.vue
  13. +16
    -1
      src/views/homesteadSurvey/nmfwList.vue
  14. +1
    -1
      src/views/homesteadSurvey/shyqrAdd.vue
  15. +3
    -0
      src/views/homesteadSurvey/zrzAdd.vue
  16. +1
    -1
      src/views/sunVillage_info/arbitration/arbitrationDetail.vue

+ 1
- 1
src/api/homesteadSurvey/fsss.js View File

@@ -47,7 +47,7 @@ export function updateFsss(data) {
// 删除数据调查-附属设施 // 删除数据调查-附属设施
export function delFsss(id) { export function delFsss(id) {
return request({ return request({
url: '/houseSurvey/fsss/remove/' + id,
url: '/home/homesteadfsss/remove/' + id,
method: 'get' method: 'get'
}) })
} }


+ 1
- 1
src/api/homesteadSurvey/zrz.js View File

@@ -56,7 +56,7 @@ export function zrzConnectTask(data) {
// 删除数据调查-自然幢 // 删除数据调查-自然幢
export function delZrz(id) { export function delZrz(id) {
return request({ return request({
url: '/houseSurvey/zrz/remove/' + id,
url: '/home/homespacezrz/remove/' + id,
method: 'get' method: 'get'
}) })
} }


+ 13
- 5
src/views/homesteadSurvey/add.vue View File

@@ -25,21 +25,21 @@
<van-col span="2"> <van-col span="2">
<div style="border-top: 2px dashed #b5b4b4;margin-top: 20px;"></div> <div style="border-top: 2px dashed #b5b4b4;margin-top: 20px;"></div>
</van-col> </van-col>
<van-col span="4" style="text-align:center;" @click="$router.push({path:'/homesteadSurvey/add2'})" >
<van-col span="4" style="text-align:center;" @click="checkTz('/homesteadSurvey/add2')" >
<van-icon :name="require('../../assets/images/housesteadSurvey/nhxx'+(active==2?'A':'D')+'.png')" size="1rem" style="margin-top:0px;"/> <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> <p :style="{color:(active==2?'rgb(34, 183, 242)':'#000')}">农户</p>
</van-col> </van-col>
<van-col span="2"> <van-col span="2">
<div style="border-top: 2px dashed #b5b4b4;margin-top: 20px;"></div> <div style="border-top: 2px dashed #b5b4b4;margin-top: 20px;"></div>
</van-col> </van-col>
<van-col span="4" style="text-align:center;" @click="$router.push({path:'/homesteadSurvey/add3'})" >
<van-col span="4" style="text-align:center;" @click="checkTz('/homesteadSurvey/add3')" >
<van-icon :name="require('../../assets/images/housesteadSurvey/fwxx'+(active==3?'A':'D')+'.png')" size="1rem" style="margin-top:0px;"/> <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> <p :style="{color:(active==3?'rgb(34, 183, 242)':'#000')}">房屋</p>
</van-col> </van-col>
<van-col span="2"> <van-col span="2">
<div style="border-top: 2px dashed #b5b4b4;margin-top: 20px;"></div> <div style="border-top: 2px dashed #b5b4b4;margin-top: 20px;"></div>
</van-col> </van-col>
<van-col span="4" style="text-align:center;" @click="$router.push({path:'/homesteadSurvey/add4'})">
<van-col span="4" style="text-align:center;" @click="checkTz('/homesteadSurvey/add4')">
<van-icon :name="require('../../assets/images/housesteadSurvey/fsss'+(active==4?'A':'D')+'.png')" size="1rem" style="margin-top:0px;"/> <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> <p :style="{color:(active==4?'rgb(34, 183, 242)':'#000')}">附属物</p>
</van-col> </van-col>
@@ -812,7 +812,6 @@ export default {
}; };
}, },
created(){ created(){
let data = this.$route.query.res;
this.form = JSON.parse(localStorage.getItem("zjdzdxxItem")); this.form = JSON.parse(localStorage.getItem("zjdzdxxItem"));
this.permission = localStorage.getItem("executePermission"); this.permission = localStorage.getItem("executePermission");
if(this.form.sfcz === "1"){ if(this.form.sfcz === "1"){
@@ -944,6 +943,14 @@ export default {
this.showWbzyy = true; this.showWbzyy = true;
} }
}, },
checkTz(val){
console.info(val)
if(this.form.zjddm == null){
Dialog({ type: 'danger', message: '请生成宅基地信息!' });
}else{
this.$router.push({path:val});
}
},
/**宅基地利用状态处理*/ /**宅基地利用状态处理*/
onZjdlyzkChanged(val){ onZjdlyzkChanged(val){
console.info(val); console.info(val);
@@ -959,6 +966,7 @@ export default {
let map = this.$refs.pointDarwMap; let map = this.$refs.pointDarwMap;
if(data == null) if(data == null)
data = this.form.theGeomJson; data = this.form.theGeomJson;
console.info(data);
this.setMapData(map, data); this.setMapData(map, data);


}); });
@@ -979,7 +987,7 @@ export default {
}, },
// 当地图绘制完成时 // 当地图绘制完成时
onMapDrawFinished(data) { onMapDrawFinished(data) {
console.info(data);
console.info(JSON.stringify(data));
this.drawInsert = data; this.drawInsert = data;
this.form.theGeomJson = JSON.stringify(this.drawInsert); this.form.theGeomJson = JSON.stringify(this.drawInsert);
}, },


+ 1
- 1
src/views/homesteadSurvey/add2.vue View File

@@ -208,7 +208,7 @@ export default {
this.$router.push({name:'nhAdd',query:val}); this.$router.push({name:'nhAdd',query:val});
}, },
showPopupnhcy(){ showPopupnhcy(){
this.$router.push({name:'nhcyAdd',query:{}});
this.$router.push({name:'nhcyAdd',query:{yhzgxOperate:"true"}});
}, },
showPopuphncylist(val){ showPopuphncylist(val){
this.$router.push({name:'nhcyList',query:val}); this.$router.push({name:'nhcyList',query:val});


+ 21
- 7
src/views/homesteadSurvey/add3.vue View File

@@ -85,7 +85,7 @@
</div> </div>
</div> </div>
<template #right> <template #right>
<van-button v-if="permission == 'true'" square text="删除" type="danger" class="delete-button" @click="deletezrz(item,index)"/>
<van-button v-if="permission == 'true'" square text="删除" type="danger" class="delete-button" @click="deletezrz(item)"/>
</template> </template>
</van-swipe-cell> </van-swipe-cell>
</van-list> </van-list>
@@ -140,7 +140,7 @@ export default {
getList(){ getList(){
let params = { let params = {
zjddm:this.zjdzdxx.zjddm, zjddm:this.zjdzdxx.zjddm,
pageNum: this.countyhc+1,
pageNum: 1,
pageSize:10, pageSize:10,
} }
listZrz(params).then(response => { listZrz(params).then(response => {
@@ -171,12 +171,12 @@ export default {
onRefreshZrz(){ onRefreshZrz(){
if(this.loading){ if(this.loading){
let params = { let params = {
zjddm:this.zjdzdxx.zjddm,
pageNum: this.countyhc+1,
pageSize:10,
"zjddm":this.zjdzdxx.zjddm,
"pageNum": this.countyhc+1,
"pageSize":10,
} }
listZrz(params).then(response => { listZrz(params).then(response => {
if(response.rows.length>0&&response.rows.length<response.total){
if(response.rows.length>0&&this.zrzlist.length<response.total){
response.rows.map(res => { response.rows.map(res => {
this.zrzlist.push(res) this.zrzlist.push(res)
}) })
@@ -201,7 +201,21 @@ export default {
shownmfwlist(val){ shownmfwlist(val){
this.$router.push({name:'nmfwList',query:val}); this.$router.push({name:'nmfwList',query:val});
}, },
deletezrz(){},
deletezrz(val){
const ids = val.id || this.ids;
Dialog.confirm({
title: '系统提示',
message: '是否确认删除自然幢标识为"' + val.id + '"的数据项?',
confirmButtonText: '确定',
cancelButtonText: '取消'
})
.then(function() {
return delZrz(ids);
}).then(() => {
this.$notify({ type: 'success' , message: "删除成功" });
location.reload(true);
}).catch(() => {});
},
} }
} }
</script> </script>


+ 16
- 3
src/views/homesteadSurvey/add4.vue View File

@@ -81,7 +81,7 @@
</div> </div>
</div> </div>
<template #right> <template #right>
<van-button v-if="permission == 'true'" square text="删除" type="danger" class="delete-button" @click="deletefsss(item.id,index)"/>
<van-button v-if="permission == 'true'" square text="删除" type="danger" class="delete-button" @click="deletefsss(item)"/>
</template> </template>
</van-swipe-cell> </van-swipe-cell>
</van-list> </van-list>
@@ -350,8 +350,21 @@ export default {
showPopupAddzrz(){ showPopupAddzrz(){
this.$router.push({name:'fsssAdd',query:{zjddm:this.zjdzdxx.zjddm}}); this.$router.push({name:'fsssAdd',query:{zjddm:this.zjdzdxx.zjddm}});
}, },
shownmfwlist(){},
deletezrz(){},
deletefsss(val){
const ids = val.id || this.ids;
Dialog.confirm({
title: '系统提示',
message: '是否确认删除附属物标识为"' + val.id + '"的数据项?',
confirmButtonText: '确定',
cancelButtonText: '取消'
})
.then(function() {
return delFsss(ids);
}).then(() => {
this.$notify({ type: 'success' , message: "删除成功" });
location.reload(true);
}).catch(() => {});
},
qmqr(){ qmqr(){
this.showesign = true; this.showesign = true;
}, },


+ 12
- 1
src/views/homesteadSurvey/hncyList2.vue View File

@@ -54,7 +54,7 @@
</div> </div>
</van-sticky> </van-sticky>
<!--<van-pull-refresh v-model="isLoadingnh" @refresh="onRefreshnh">--> <!--<van-pull-refresh v-model="isLoadingnh" @refresh="onRefreshnh">-->
<div style="margin:30px auto 0;width: 95%;">
<div style="margin:13px auto 0;width: 95%;">
<p class="title" style="position:relative;padding-left:10px;line-height:20px;font-size: 16px;margin-bottom: 5px;">户内成员</p> <p class="title" style="position:relative;padding-left:10px;line-height:20px;font-size: 16px;margin-bottom: 5px;">户内成员</p>
</div> </div>
<van-cell v-for="(item,index) in hncylist" :key="index" size="small" style="border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:95%;margin:15px auto 0;"> <van-cell v-for="(item,index) in hncylist" :key="index" size="small" style="border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:95%;margin:15px auto 0;">
@@ -4952,6 +4952,17 @@
/deep/ .van-swipe-cell__wrapper{ /deep/ .van-swipe-cell__wrapper{
margin-right:-3px; margin-right:-3px;
} }
.title:before
{
content:"";
width: 6px;
height: 20PX;
background: #7ac943;
border-radius: 3px;
position:absolute;
left:0;
bottom:0;
}
.hzlxBtn{ .hzlxBtn{
font-size: 0.3rem; font-size: 0.3rem;
display: inline-block; display: inline-block;


+ 31
- 338
src/views/homesteadSurvey/list4.vue View File

@@ -51,7 +51,7 @@
<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;">{{qbNums}} <span style="font-size:12px;"></span></span>
<span style="color:rgb(250, 83, 83);line-height:.8rem;">{{qbNums}} <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>
@@ -508,7 +508,7 @@
placeholder="请输入宗地或权利人信息" placeholder="请输入宗地或权利人信息"
> >
<template #action> <template #action>
<div id="query">搜索</div>
<van-icon name="../../../static/images/onlineHome/home6.png" color="rgba(122,201,67,1)" size=".8rem" id="query" style="vertical-align:middle;"/>
</template> </template>
</van-search> </van-search>
<div class="searchBox" style="display: none;"> <div class="searchBox" style="display: none;">
@@ -538,10 +538,10 @@
<img src="../../assets/images/housesteadSurvey/tool2.png"> <img src="../../assets/images/housesteadSurvey/tool2.png">
<p>全图</p> <p>全图</p>
</div> </div>
<div class="clMap" @click="" id="area">
<img src="../../assets/images/housesteadSurvey/tool3.png">
<p>测量</p>
</div>
<!-- <div class="clMap" @click="" id="area">-->
<!-- <img src="../../assets/images/housesteadSurvey/tool3.png">-->
<!-- <p>测量</p>-->
<!-- </div>-->
<div class="hcMap" @click="zjdHc"> <div class="hcMap" @click="zjdHc">
<img src="../../assets/images/housesteadSurvey/tool4.png"> <img src="../../assets/images/housesteadSurvey/tool4.png">
<p>核查</p> <p>核查</p>
@@ -570,17 +570,17 @@
<van-checkbox-group v-model="checked" @change="handleChecked" ref="checkboxGroup"> <van-checkbox-group v-model="checked" @change="handleChecked" ref="checkboxGroup">
<van-checkbox name="fsssSx" shape="square" style="margin-bottom: 5px;" id="fsssSx"> <van-checkbox name="fsssSx" shape="square" style="margin-bottom: 5px;" id="fsssSx">
<template #default> <template #default>
附属设施<span style="display: inline-block;background: #00FFFF;height: 5px;width: 20px;vertical-align: middle;margin-left: 10px;"></span>
附属设施<span style="display: inline-block;background: #FF8C00;height: 5px;width: 20px;vertical-align: middle;margin-left: 10px;"></span>
</template> </template>
</van-checkbox> </van-checkbox>
<van-checkbox name="zrzSx" shape="square" style="margin-bottom: 5px;" id="zrzSx"> <van-checkbox name="zrzSx" shape="square" style="margin-bottom: 5px;" id="zrzSx">
<template #default> <template #default>
自<i style="margin-right: 0.5em;"></i>然<i style="margin-right: 0.5em;"></i>幢<span style="display: inline-block;background: #FFD306;height: 5px;width: 20px;vertical-align: middle;margin-left: 10px;"></span>
自<i style="margin-right: 0.5em;"></i>然<i style="margin-right: 0.5em;"></i>幢<span style="display: inline-block;background: #00FA9A;height: 5px;width: 20px;vertical-align: middle;margin-left: 10px;"></span>
</template> </template>
</van-checkbox> </van-checkbox>
<van-checkbox name="zjdSx" shape="square" style="margin-bottom: 5px;" id="zjdSx"> <van-checkbox name="zjdSx" shape="square" style="margin-bottom: 5px;" id="zjdSx">
<template #default> <template #default>
宅<i style="margin-right: 0.5em;"></i>基<i style="margin-right: 0.5em;"></i>地<span style="display: inline-block;background: #AE57A4;height: 5px;width: 20px;vertical-align: middle;margin-left: 10px;"></span>
宅<i style="margin-right: 0.5em;"></i>基<i style="margin-right: 0.5em;"></i>地<span style="display: inline-block;background: #7CFC00;height: 5px;width: 20px;vertical-align: middle;margin-left: 10px;"></span>
</template> </template>
</van-checkbox> </van-checkbox>
</van-checkbox-group> </van-checkbox-group>
@@ -1198,8 +1198,8 @@


<div style="text-align: center;margin-top: 3%;"> <div style="text-align: center;margin-top: 3%;">
<p class="hzlxBtn" :style="{background: mapZjdData ? '#CCC':'#7ac943'}" @click="zjdTz">宅基地</p> <p class="hzlxBtn" :style="{background: mapZjdData ? '#CCC':'#7ac943'}" @click="zjdTz">宅基地</p>
<p class="hzlxBtn" :style="{background: mapZjdData ? '#b026ff':'#CCC'}" @click="zrzTz">自然幢</p>
<p class="hzlxBtn" :style="{background: mapZjdData ? '#3ac2db':'#CCC'}" @click="fsssTz">附属设施</p>
<!-- <p class="hzlxBtn" :style="{background: mapZjdData ? '#b026ff':'#CCC'}" @click="zrzTz">自然幢</p>-->
<!-- <p class="hzlxBtn" :style="{background: mapZjdData ? '#3ac2db':'#CCC'}" @click="fsssTz">附属设施</p>-->
</div> </div>
</div> </div>
</van-popup> </van-popup>
@@ -2443,7 +2443,7 @@
}, },
getZjdList(){ getZjdList(){
let params = { let params = {
"surveyStatus":"1",
"surveyStatus":"1,2,3,4,5",
"pageNum": 1, "pageNum": 1,
"pageSize":10, "pageSize":10,
} }
@@ -3462,7 +3462,6 @@
.catch((error) => { .catch((error) => {
console.log("【异常】", error); console.log("【异常】", error);
}); });
map.addLayer(zjdTc);
//宅基地图层查询开始 ------------------start //宅基地图层查询开始 ------------------start
var zrzTc; var zrzTc;
//自然幢图层查询开始 ------------------start //自然幢图层查询开始 ------------------start
@@ -3496,321 +3495,7 @@
}), }),
}); });
map.addLayer(fsssTc); map.addLayer(fsssTc);
// //附属设施图层查询开始 ------------------start
//使用geoserver服务查询开始 -------------------end
// if(this.backMap ==1){
// var cql = "dept_id='" + that.$cookies.get("item").deptId + "'" + "and zjddm='" + this.mapZjdTeAll.mapZjdAData.zjddm + "'";
// var wmsSourceBack = new ol.source.ImageWMS({
// crossOrigin: 'anonymous',
// params: {
// LAYERS: 'zjd_dc:t_house_survey_all',
// 'VERSION': '1.1.0',
// 'FORMAT': "image/png",
// 'CQL_FILTER': cql
// },
// serverType: 'geoserver',
// url: that.mapGeoServerUrl + "/wms",
// });
// zjdTc.setSource(wmsSourceBack);
// ol.view.setResolution(ol.view.getResolution() + Math.random() * 0.00000001);//随机数缩放实现刷新
// }
//数据库直接加载数据渲染方式---------------------------------------------------start
//判断当前账套是否有数据
// var mapTalkAbout = true;
// //获取镇界线----start
// if(this.mapTownList.length >0){
// for (var i = 0; this.mapTownList.length > i; i++) {
// if (this.mapTownList[i] != null && this.mapTownList[i].theGeom != null && this.mapTownList[i].theGeom != "") {
// mapTalkAbout =false;
// this.mapTownList[i].createBy = 'mapTownList';
// var theGeomLine= this.mapTownList[i].theGeom.replaceAll("MultiPolygon","LineString");
// theGeomLine = theGeomLine.replaceAll("[[[[","[[");
// theGeomLine = theGeomLine.replaceAll("]]]]","]]");
// hc_land = new ol.layer.Vector({
// title: "add Layer",
// source: new ol.source.Vector({
// projection: projection,
// features: new ol.format.GeoJSON().readFeatures("{\n" +
// " \"type\": \"Feature\",\n" +
// " \"geometry\":" + theGeomLine + ", \"properties\":" + JSON.stringify(this.mapTownList[i]) + "}"),
// }),
// style: new ol.style.Style({
// fill: new ol.style.Fill({
// //矢量图层填充颜色,以及透明度
// color: "#AE57A4",
// }),
// stroke: new ol.style.Stroke({
// //边界样式
// color: "#FF0000",
// width: 3,
// }),
// // text: new ol.style.Text({
// // text: this.mapTownList[i].xzqmc,
// // font: '30px sans-serif',
// // textAlign: "center",
// // textBaseline: "middle",
// // //font: 'verdana',
// // fill: new ol.style.Fill({
// // color: "#ff0000"
// // }),
// // // backgroundFill: new ol.style.Fill({
// // // color: "#ff0000"
// // // }),
// // font: "30px sans-serif",
// // stroke: new ol.style.Stroke({
// // color: "#ffffff"
// // // width: 3
// // }),
// // offsetX: parseInt(0, 10),
// // offsetY: parseInt(0, 10),
// // placement: "line", //point 则自动计算面的中心k点然后标注 line 则根据面要素的边进行标注
// // overflow: false //超出面的部分不显示
// //}),
// }),
// });
// map.addLayer(hc_land);
// //console.log(hc_land.values_.source.featuresRtree_.rbush_.data);
// var maxXMap = hc_land.values_.source.featuresRtree_.rbush_.data.maxX;
// var maxYMap = hc_land.values_.source.featuresRtree_.rbush_.data.maxY;
// var minXMap = hc_land.values_.source.featuresRtree_.rbush_.data.minX;
// var minYMap = hc_land.values_.source.featuresRtree_.rbush_.data.minY;
// // //定位查询位置
// var center = ol.extent.getCenter([maxXMap, maxYMap, minXMap, minYMap]); //获取边界区域的中心位置
// // console.log(center);
// map.getView().animate({
// // 只设置需要的属性即可
// center: center, // 中心点
// zoom: 9.8, // 缩放级别
// rotation: undefined, // 缩放完成view视图旋转弧度
// duration: 1000, // 缩放持续时间,默认不需要设置
// });
// }
// }
// }
// //获取镇界线----end
// //获取村界线----start
// if(this.mapVillageList.length >0){
// for (var i = 0; this.mapVillageList.length > i; i++) {
// if (this.mapVillageList[i] != null && this.mapVillageList[i].theGeom != null && this.mapVillageList[i].theGeom != "") {
// mapTalkAbout =false;
// this.mapVillageList[i].createBy = 'mapVillageList';
// var theGeomLine= this.mapVillageList[i].theGeom.replaceAll("MultiPolygon","LineString");
// theGeomLine = theGeomLine.replaceAll("[[[[","[[");
// theGeomLine = theGeomLine.replaceAll("]]]]","]]");
// hc_land = new ol.layer.Vector({
// title: "add Layer",
// source: new ol.source.Vector({
// projection: projection,
// features: new ol.format.GeoJSON().readFeatures("{\n" +
// " \"type\": \"Feature\",\n" +
// " \"geometry\":" + theGeomLine + ", \"properties\":" + JSON.stringify(this.mapVillageList[i]) + "}"),
// }),
// style: new ol.style.Style({
// fill: new ol.style.Fill({
// //矢量图层填充颜色,以及透明度
// color: "#AE57A4",
// }),
// stroke: new ol.style.Stroke({
// //边界样式
// color: "#ff00ff",
// width: 3,
// }),
// // text: new ol.style.Text({
// // text: this.mapVillageList[i].dcmj,
// // font: '30px sans-serif',
// // textAlign: "center",
// // textBaseline: "middle",
// // //font: 'verdana',
// // fill: new ol.style.Fill({
// // color: "#ff00ff"
// // }),
// // // backgroundFill: new ol.style.Fill({
// // // color: "#ff0000"
// // // }),
// // font: "30px sans-serif",
// // stroke: new ol.style.Stroke({
// // color: "#ffffff"
// // // width: 3
// // }),
// // offsetX: parseInt(0, 10),
// // offsetY: parseInt(0, 10),
// // placement: "line", //point 则自动计算面的中心k点然后标注 line 则根据面要素的边进行标注
// // overflow: false //超出面的部分不显示
// // }),
// }),
// });
// map.addLayer(hc_land);
// }
// }
// }
// // //获取村界线----end
// //宅基地定位开始 ---------start
// if(this.mapTheGeomZjdId.length >0) {
// for (var i = 0; this.mapTheGeomZjdId.length > i; i++) {
// if (this.mapTheGeomZjdId[i] !=null && this.mapTheGeomZjdId[i].theGeom != null && this.mapTheGeomZjdId[i].theGeom != "") {
// mapTalkAbout =false;
// this.mapTheGeomZjdId[i].createBy = 'mapTheGeomZjdId';
// var styleYqr = "";
// if(this.mapTheGeomZjdId[i].houseDataConfirmStatus == "CONFIRMED"){
// styleYqr = new ol.style.Style({
// fill: new ol.style.Fill({
// //矢量图层填充颜色,以及透明度
// color: "#AE57A4",
// }),
// stroke: new ol.style.Stroke({
// //边界样式
// color: "#28FF28",
// width: 3,
// }),
// });
// } else {
// styleYqr = new ol.style.Style({
// fill: new ol.style.Fill({
// //矢量图层填充颜色,以及透明度
// color: "#AE57A4",
// }),
// stroke: new ol.style.Stroke({
// //边界样式
// color: "rgba(255, 45, 45,1)",
// width: 3,
// }),
// });
// }
// hc_land = new ol.layer.Vector({
// title: "add Layer",
// source: new ol.source.Vector({
// projection: projection,
// features: new ol.format.GeoJSON().readFeatures("{\n" +
// " \"type\": \"Feature\",\n" +
// " \"geometry\":" + this.mapTheGeomZjdId[i].theGeom + ", \"properties\":" + JSON.stringify(this.mapTheGeomZjdId[i]) + "}"),
// }),
// style: styleYqr
// });
// map.addLayer(hc_land);
// // var maxXMap = hc_land.values_.source.featuresRtree_.rbush_.data.maxX;
// // var maxYMap = hc_land.values_.source.featuresRtree_.rbush_.data.maxY;
// // var minXMap = hc_land.values_.source.featuresRtree_.rbush_.data.minX;
// // var minYMap = hc_land.values_.source.featuresRtree_.rbush_.data.minY;
// // //定位查询位置
// // var center = ol.extent.getCenter([maxXMap, maxYMap, minXMap, minYMap]); //获取边界区域的中心位置
// // map.getView().animate({
// // // 只设置需要的属性即可
// // center: center, // 中心点
// // zoom: 15.8, // 缩放级别
// // rotation: undefined, // 缩放完成view视图旋转弧度
// // duration: 1000, // 缩放持续时间,默认不需要设置
// // });
// //自然幢定位开始 ---------start
// getZrzZjdDmList(this.mapTheGeomZjdId[i].zjddm).then((response) => {
// if (response.code == 200) {
// this.mapTheGeomZrzId = response.data;
// if(this.mapTheGeomZrzId.length >0) {
// for (var i = 0; this.mapTheGeomZrzId.length > i; i++) {
// if (this.mapTheGeomZrzId[i] !=null && this.mapTheGeomZrzId[i].theGeom != null && this.mapTheGeomZrzId[i].theGeom != "") {
// this.mapTheGeomZrzId[i].createBy = 'mapTheGeomZrzId';
// var styleZrz = "";
// if(this.mapTheGeomZjdId[i].houseDataConfirmStatus == "CONFIRMED"){
// styleZrz = new ol.style.Style({
// fill: new ol.style.Fill({
// //矢量图层填充颜色,以及透明度
// color: "#FFD306",
// }),
// stroke: new ol.style.Stroke({
// //边界样式
// color: "#28FF28",
// width: 3,
// }),
// });
// } else {
// styleZrz = new ol.style.Style({
// fill: new ol.style.Fill({
// //矢量图层填充颜色,以及透明度
// color: "#FFD306",
// }),
// stroke: new ol.style.Stroke({
// //边界样式
// color: "rgba(255, 45, 45,1)",
// width: 3,
// }),
// });
// }
// hc_land = new ol.layer.Vector({
// title: "add Layer",
// source: new ol.source.Vector({
// projection: projection,
// features: new ol.format.GeoJSON().readFeatures("{\n" +
// " \"type\": \"Feature\",\n" +
// " \"geometry\":" + this.mapTheGeomZrzId[i].theGeom + ", \"properties\":" + JSON.stringify(this.mapTheGeomZrzId[i]) + "}"),
// }),
// style: styleZrz
// });
// map.addLayer(hc_land);
// }
// }
// }
// }
// });
// //自然幢定位结束 ---------end
//
// //附属设施定位开始 ---------start
// getFsssZjdDmList(this.mapTheGeomZjdId[i].zjddm).then((response) => {
// if (response.code == 200) {
// this.mapTheGeomFsssId = response.data;
// if(this.mapTheGeomFsssId.length >0) {
// for (var i = 0; this.mapTheGeomFsssId.length > i; i++) {
// if (this.mapTheGeomFsssId[i] !=null && this.mapTheGeomFsssId[i].theGeom != null && this.mapTheGeomFsssId[i].theGeom != "") {
// this.mapTheGeomFsssId[i].createBy = 'mapTheGeomFsssId';
// var styleFsss = "";
// if(this.mapTheGeomZjdId[i].houseDataConfirmStatus == "CONFIRMED"){
// styleFsss = new ol.style.Style({
// fill: new ol.style.Fill({
// //矢量图层填充颜色,以及透明度
// color: "#00FFFF",
// }),
// stroke: new ol.style.Stroke({
// //边界样式
// color: "#28FF28",
// width: 3,
// }),
// });
// } else {
// styleFsss = new ol.style.Style({
// fill: new ol.style.Fill({
// //矢量图层填充颜色,以及透明度
// color: "#00FFFF",
// }),
// stroke: new ol.style.Stroke({
// //边界样式
// color: "rgba(255, 45, 45,1)",
// width: 3,
// }),
// });
// }
// hc_land = new ol.layer.Vector({
// title: "add Layer",
// source: new ol.source.Vector({
// projection: projection,
// features: new ol.format.GeoJSON().readFeatures("{\n" +
// " \"type\": \"Feature\",\n" +
// " \"geometry\":" + this.mapTheGeomFsssId[i].theGeom + ", \"properties\":" + JSON.stringify(this.mapTheGeomFsssId[i]) + "}"),
// }),
// style: styleFsss
// });
// map.addLayer(hc_land);
// }
// }
// }
// }
// });
// //附属设施定位结束 ---------end
// }
// }
// }
// //宅基地定位结束 ---------end
//数据库直接加载数据渲染方式---------------------------------------------------end

//地图操作定义------------start
//定位定义------------start
map.addLayer(zjdTc);
var Zb; var Zb;
var latitude; var latitude;
var longitude; var longitude;
@@ -3841,7 +3526,7 @@
$("#dwMapAll").on("click", function () { $("#dwMapAll").on("click", function () {
//删除测量记录操作--------start //删除测量记录操作--------start
//将矢量图层从图中删除 //将矢量图层从图中删除
//map.removeLayer(helpTooltip);
map.removeLayer(helpTooltip);
map.removeLayer(vector); map.removeLayer(vector);
map.removeInteraction(draw_cm); map.removeInteraction(draw_cm);
//map.removeOverlay(helpTooltipElement); //map.removeOverlay(helpTooltipElement);
@@ -3860,8 +3545,9 @@
if(latitude !=null && longitude !=null && latitude !="" && longitude !="" && latitude !=undefined && longitude !=undefined ){ if(latitude !=null && longitude !=null && latitude !="" && longitude !="" && latitude !=undefined && longitude !=undefined ){
Zb = [longitude,latitude]; Zb = [longitude,latitude];
}else { }else {
Zb =[115.452752, 31.789033];
Zb =[122.115038, 46.086317];
} }

//获取坐标点LocationManager //获取坐标点LocationManager
// geoGps().then(response => { // geoGps().then(response => {
// //
@@ -3898,6 +3584,7 @@
zIndex: 9999, zIndex: 9999,
}); });
} }
console.info( Zb)
var newcenterFeature = new ol.Feature({ var newcenterFeature = new ol.Feature({
geometry: new ol.geom.Point(ol.proj.fromLonLat(Zb)), //几何信息 geometry: new ol.geom.Point(ol.proj.fromLonLat(Zb)), //几何信息
name: "标注点", name: "标注点",
@@ -3954,8 +3641,10 @@
//提示当前坐标是否绘制完成 //提示当前坐标是否绘制完成
if (that.coordinate != "" && that.coordinate != null) { if (that.coordinate != "" && that.coordinate != null) {
that.showhzht = true; that.showhzht = true;
that.htZjdZrzFsss = JSON.stringify(that.coordinate);
console.log(that.mapZjdData);
let zbNew = JSON.stringify({"type": "MultiPolygon", "coordinates": [JSON.stringify(that.coordinate).replaceAll("\"","")]});
let leftJoin = zbNew.replace("\"[","[");
let rightJoin = leftJoin.replace("\"]","]");
that.htZjdZrzFsss = rightJoin;
// htMapAllFu(); // htMapAllFu();
} else { } else {
$("#htMapAll").trigger("click"); $("#htMapAll").trigger("click");
@@ -4753,7 +4442,7 @@
service: "WFS", service: "WFS",
version: "1.0.0", version: "1.0.0",
request: "GetFeature", request: "GetFeature",
typename: "zjd_dc:t_house_survey_border_village",
typename: "nsgk_wulanhaote:t_homespace_cjqy",
//featureNS: 'nsgk_hc',//命名空间 URI //featureNS: 'nsgk_hc',//命名空间 URI
cql_filter: cql_filter, cql_filter: cql_filter,
//featurePrefix: 'nationalwater',//工作区名称 //featurePrefix: 'nationalwater',//工作区名称
@@ -6105,13 +5794,15 @@
if(this.mapZjdData =="" && this.mapZjdDataTure =="" && this.mapZjdData !=undefined){ if(this.mapZjdData =="" && this.mapZjdDataTure =="" && this.mapZjdData !=undefined){
this.mapZjdTeAll.active =1; this.mapZjdTeAll.active =1;
this.mapZjdTeAll.mapZjdAData.deptId =JSON.parse(localStorage.getItem("surveyItem")).deptId; this.mapZjdTeAll.mapZjdAData.deptId =JSON.parse(localStorage.getItem("surveyItem")).deptId;
this.mapZjdTeAll.mapZjdAData.theGeom =this.htZjdZrzFsss;
this.mapZjdTeAll.mapZjdAData.theGeomJson =this.htZjdZrzFsss;
//this.mapZjdTeAll.mapZjdAData.deptId = this.$cookies.get("item").deptId; //this.mapZjdTeAll.mapZjdAData.deptId = this.$cookies.get("item").deptId;
//this.$cookies.set("search",this.mapZjdTeAll); //this.$cookies.set("search",this.mapZjdTeAll);
this.$cookies.set("search","") this.$cookies.set("search","")
this.$router.push({path:'/homesteadSurvey/add',query: {res: this.mapZjdTeAll}});
localStorage.setItem("zjdzdxxItem",JSON.stringify(this.mapZjdTeAll.mapZjdAData));
this.$router.push({path:'/homesteadSurvey/add'});
}else { }else {
this.$toast("已选择宅基地,请选择自然幢或附属设施按钮"); this.$toast("已选择宅基地,请选择自然幢或附属设施按钮");

} }
}, },
zrzTz(){ zrzTz(){
@@ -6122,7 +5813,8 @@
//this.mapZjdTeAll.mapZrzAData.deptId = this.$cookies.get("item").deptId; //this.mapZjdTeAll.mapZrzAData.deptId = this.$cookies.get("item").deptId;
//this.$cookies.set("search",this.mapZjdTeAll); //this.$cookies.set("search",this.mapZjdTeAll);
this.$cookies.set("search","") this.$cookies.set("search","")
this.$router.push({path:'/homesteadSurvey/add',query: {res: this.mapZjdTeAll}});
localStorage.setItem("zjdzdxxItem",JSON.stringify(this.mapZjdTeAll.mapZrzAData));
this.$router.push({path:'/homesteadSurvey/add3'});
}else { }else {
this.$toast("请先在地图上选择宅基地后,再选择自然幢按钮"); this.$toast("请先在地图上选择宅基地后,再选择自然幢按钮");
} }
@@ -6130,12 +5822,13 @@
fsssTz(){ fsssTz(){
if(this.mapZjdData !=undefined && this.mapZjdData !="" && this.mapZjdDataTure !=""){ if(this.mapZjdData !=undefined && this.mapZjdData !="" && this.mapZjdDataTure !=""){
this.mapZjdTeAll.active =4; this.mapZjdTeAll.active =4;
this.mapZjdTeAll.mapFsssAData.theGeom =this.htZjdZrzFsss;
this.mapZjdTeAll.mapFsssAData.theGeomJson =this.htZjdZrzFsss;
this.mapZjdTeAll.mapFsssAData.deptId =JSON.parse(localStorage.getItem("surveyItem")).deptId; this.mapZjdTeAll.mapFsssAData.deptId =JSON.parse(localStorage.getItem("surveyItem")).deptId;
//this.mapZjdTeAll.mapFsssAData.deptId = this.$cookies.get("item").deptId; //this.mapZjdTeAll.mapFsssAData.deptId = this.$cookies.get("item").deptId;
//this.$cookies.set("search",this.mapZjdTeAll); //this.$cookies.set("search",this.mapZjdTeAll);
this.$cookies.set("search","") this.$cookies.set("search","")
this.$router.push({path:'/homesteadSurvey/add',query: {res: this.mapZjdTeAll}});
localStorage.setItem("zjdzdxxItem",JSON.stringify(this.mapZjdTeAll.mapFsssAData));
this.$router.push({path:'/homesteadSurvey/add4'});
}else { }else {
this.$toast("请先在地图上选择宅基地后,再选择附属设施按钮"); this.$toast("请先在地图上选择宅基地后,再选择附属设施按钮");
} }


+ 5
- 5
src/views/homesteadSurvey/nhDetails.vue View File

@@ -54,12 +54,12 @@
</div> </div>
</van-sticky> </van-sticky>
<!--<van-pull-refresh v-model="isLoadingnh" @refresh="onRefreshnh">--> <!--<van-pull-refresh v-model="isLoadingnh" @refresh="onRefreshnh">-->
<div style="margin:30px auto 0;width: 95%;">
<p class="title" style="position:relative;padding-left:10px;line-height:20px;font-size: 16px;margin-bottom: 5px;">成员信息</p>
</div>

<van-form ref="form"> <van-form ref="form">
<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>
<div style="margin:10px auto 0;width: 95%;">
<p class="title" style="position:relative;padding-left:10px;line-height:20px;font-size: 16px;margin-bottom: 5px;">农户信息</p>
</div>
<div style="margin:10px auto;background: #ffffff;width: 95%;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16);border-radius:15px;padding-top: 20px;">
<!--<van-field <!--<van-field
v-model="form.deptId" v-model="form.deptId"
name="行政区划名称" name="行政区划名称"


+ 18
- 3
src/views/homesteadSurvey/nhcyAdd.vue View File

@@ -92,6 +92,7 @@
v-model="form.yhzgx" v-model="form.yhzgx"
label="与户主关系" label="与户主关系"
value-key="dictLabel" value-key="dictLabel"
:readonly="yhzgxOperate"
data-key="dictValue" data-key="dictValue"
placeholder="选择与户主关系" placeholder="选择与户主关系"
remote-url="/open/zdzh/list/family_status" remote-url="/open/zdzh/list/family_status"
@@ -294,6 +295,7 @@ export default {
return { return {
active:2, active:2,
permission:false, permission:false,
yhzgxOperate:false,
// 使用权人列表 // 使用权人列表
syqrlist:[ syqrlist:[
{ {
@@ -310,9 +312,14 @@ export default {
this.form = data; this.form = data;
this.permission = localStorage.getItem("executePermission"); this.permission = localStorage.getItem("executePermission");
if(this.form.id == null){ if(this.form.id == null){
if(data.yhzgxOperate === "true"){
this.yhzgxOperate = true;
this.$set(this.form, 'yhzgx', "02");
}else{
this.$set(this.form, 'yhzgx', "11");
}
this.$set(this.form, 'zjlx', "01"); this.$set(this.form, 'zjlx', "01");
this.$set(this.form, 'xb', "1"); this.$set(this.form, 'xb', "1");
this.$set(this.form, 'yhzgx', "11");
this.$set(this.form, 'hklx', "01"); this.$set(this.form, 'hklx', "01");
this.$set(this.form, 'hyzk', "01"); this.$set(this.form, 'hyzk', "01");
this.$set(this.form, 'cybz', "9"); this.$set(this.form, 'cybz', "9");
@@ -348,7 +355,11 @@ export default {
message: '保存成功', message: '保存成功',
duration:"1000", duration:"1000",
onClose:function(){ onClose:function(){
_this.$router.push({path:'/homesteadSurvey/nhcyList',query: {zjddm: _this.form.zjddm}});
if(_this.yhzgxOperate){
_this.$router.push({path:'/homesteadSurvey/add2',query: {zjddm: _this.form.zjddm}});
}else{
_this.$router.push({path:'/homesteadSurvey/nhcyList',query: {nhdm: _this.form.nhdm}});
}
} }
}) })
}); });
@@ -360,7 +371,11 @@ export default {
message: '保存成功', message: '保存成功',
duration:"1000", duration:"1000",
onClose:function(){ onClose:function(){
_this.$router.push({path:'/homesteadSurvey/nhcyList',query: {zjddm: _this.form.zjddm}});
if(_this.yhzgxOperate){
_this.$router.push({path:'/homesteadSurvey/add2',query: {zjddm: _this.form.zjddm}});
}else{
_this.$router.push({path:'/homesteadSurvey/nhcyList',query: {nhdm: _this.form.nhdm}});
}
} }
}) })
}); });


+ 2
- 2
src/views/homesteadSurvey/nhcyList.vue View File

@@ -78,7 +78,7 @@
</van-swipe-cell> </van-swipe-cell>
<div v-if="permission == 'true'" style=" width:95%;margin:20px auto;display: flex;justify-content: space-between;"> <div v-if="permission == 'true'" style=" width:95%;margin:20px auto;display: flex;justify-content: space-between;">
<div style="width:49%;text-align:center;overflow:auto;border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16);padding: 15px 0px;background: #ffffff;color: #22B7F2;"> <div style="width:49%;text-align:center;overflow:auto;border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16);padding: 15px 0px;background: #ffffff;color: #22B7F2;">
<p style="font-size: 16px;" @click="showPopupcy()">+ 添加农户信息</p>
<p style="font-size: 16px;" @click="showPopupcy()">+ 添加成员信息</p>
</div> </div>
</div> </div>
</div> </div>
@@ -142,7 +142,7 @@ export default {
this.$router.push({name:'shyqrAdd',query:val}); this.$router.push({name:'shyqrAdd',query:val});
}, },
showPopupcy(){ showPopupcy(){
this.$router.push({name:'nhcyAdd',query:{nhdm:this.hnnylist[0].nhdm,suyqrdm:this.hnnylist[0].suyqrdm}});
this.$router.push({name:'nhcyAdd',query:{nhdm:this.shyqrData.nhdm,suyqrdm:this.shyqrData.suyqrdm,yhzgxOperate:"false"}});
}, },
showPopuphncy(val){ showPopuphncy(val){
this.$router.push({name:'nhcyAdd',query:val}); this.$router.push({name:'nhcyAdd',query:val});


+ 15
- 10
src/views/homesteadSurvey/nmfwAdd.vue View File

@@ -286,6 +286,7 @@
v-model="form.jznd" v-model="form.jznd"
name="建筑年代" name="建筑年代"
label="建筑年代" label="建筑年代"
placeholder="建筑年代"
maxlength="50" maxlength="50"
autocomplete="off" autocomplete="off"
/> />
@@ -392,6 +393,10 @@ export default {
this.$set(this.form, 'fwzt', "01"); this.$set(this.form, 'fwzt', "01");
this.$set(this.form, 'fwyt', "10"); this.$set(this.form, 'fwyt', "10");
this.$set(this.form, 'sfytrgy', "0"); this.$set(this.form, 'sfytrgy', "0");
}else{
if(this.form.jznd != null){
this.form.jznd = this.form.jznd.substr(0,10);
}
} }
}, },
mounted(){ mounted(){
@@ -402,16 +407,16 @@ export default {
this.$refs.form.validate().then(() => { this.$refs.form.validate().then(() => {
if(this.form.id == null){ if(this.form.id == null){
addNmfw(this.form).then(response => { addNmfw(this.form).then(response => {
let _this =this
this.$toast({
icon: 'success', // 找到自己需要的图标
message: '保存成功',
duration:"1000",
onClose:function(){
_this.$router.push({path:'/homesteadSurvey/add3',query: {zjddm: _this.form.zjddm}});
}
})
});
let _this =this
this.$toast({
icon: 'success', // 找到自己需要的图标
message: '保存成功',
duration:"1000",
onClose:function(){
_this.$router.push({path:'/homesteadSurvey/add3',query: {zjddm: _this.form.zjddm}});
}
})
})
}else{ }else{
updateNmfw(this.form).then(response => { updateNmfw(this.form).then(response => {
let _this =this let _this =this


+ 16
- 1
src/views/homesteadSurvey/nmfwList.vue View File

@@ -72,7 +72,7 @@
</div> </div>
</div> </div>
<template #right> <template #right>
<van-button v-if="permission == 'true'" square text="删除" type="danger" class="delete-button" @click="deletesyqr(item.id,index)"/>
<van-button v-if="permission == 'true'" square text="删除" type="danger" class="delete-button" @click="deletenmfw(item)"/>
</template> </template>
</van-swipe-cell> </van-swipe-cell>


@@ -148,6 +148,21 @@ export default {
showPopuphncy(val){ showPopuphncy(val){
this.$router.push({name:'nhcyAdd',query:val}); this.$router.push({name:'nhcyAdd',query:val});
}, },
deletenmfw(val){
const ids = val.id || this.ids;
Dialog.confirm({
title: '系统提示',
message: '是否确认删除农民房屋标识为"' + val.id + '"的数据项?',
confirmButtonText: '确定',
cancelButtonText: '取消'
})
.then(function() {
return delNmfw(ids);
}).then(() => {
this.$notify({ type: 'success' , message: "删除成功" });
location.reload(true);
}).catch(() => {});
}
} }
} }
</script> </script>


+ 1
- 1
src/views/homesteadSurvey/shyqrAdd.vue View File

@@ -55,7 +55,7 @@
:rules="[{ required: true, message: '' }]" :rules="[{ required: true, message: '' }]"
/>--> />-->


<van-field v-model="form.nhdm" label="农户姓名" placeholder="农户" input-align="right" label-width="auto" :rules="[{ required: true }]" required @input="remoteTransfereeMethod" />
<van-field v-model="form.nhdm" label="农户代码" placeholder="农户代码" input-align="right" label-width="auto" :rules="[{ required: true }]" required @input="remoteTransfereeMethod" />
<div id="dropList" v-show="showDropList" style="width: 92vw; position: absolute; z-index: 99; left: 50%; margin-left: -46vw; border: 1px solid #E2E0E0;" > <div id="dropList" v-show="showDropList" style="width: 92vw; position: absolute; z-index: 99; left: 50%; margin-left: -46vw; border: 1px solid #E2E0E0;" >
<van-cell id="vanCell" v-for="(item, index) in nhdmDictionaries" :key="index" @click="shyqrdmxmChange(item)" style="position: relative; z-index: 999;"> <van-cell id="vanCell" v-for="(item, index) in nhdmDictionaries" :key="index" @click="shyqrdmxmChange(item)" style="position: relative; z-index: 999;">
{{item.hzxm}}-{{item.nhdm}} {{item.hzxm}}-{{item.nhdm}}


+ 3
- 0
src/views/homesteadSurvey/zrzAdd.vue View File

@@ -244,6 +244,9 @@ export default {
if(this.form.shyqrdbzjhm != null){ if(this.form.shyqrdbzjhm != null){
this.getList(); this.getList();
} }
if(this.form.jgrq != null){
this.form.jgrq = this.form.jgrq.substr(0,10);
}
this.$nextTick(() => { this.$nextTick(() => {


this.pointDarw(null); this.pointDarw(null);


+ 1
- 1
src/views/sunVillage_info/arbitration/arbitrationDetail.vue View File

@@ -27,7 +27,7 @@
<div> <div>
<p class="main_title">基本信息</p> <p class="main_title">基本信息</p>
<div class="main_box"> <div class="main_box">
<van-field v-model="arbitrationData.shyqrdbxm" readonly label="申请人姓名" placeholder="申请人姓名" input-align="right" label-width="auto" :rules="[{ required: true }]" required @input="remoteTransfereeMethod" />
<van-field v-model="arbitrationData.shyqrdbxm" label="申请人姓名" placeholder="申请人姓名" input-align="right" label-width="auto" :rules="[{ required: true }]" required @input="remoteTransfereeMethod" />
<div id="dropList" v-show="showDropList" style="width: 92vw; position: absolute; z-index: 99; left: 50%; margin-left: -46vw; border: 1px solid #E2E0E0;" > <div id="dropList" v-show="showDropList" style="width: 92vw; position: absolute; z-index: 99; left: 50%; margin-left: -46vw; border: 1px solid #E2E0E0;" >
<van-cell id="vanCell" v-for="(item, index) in getObligeeOptions" :key="index" @click="shyqrdmxmChange(item)" style="position: relative; z-index: 999;"> <van-cell id="vanCell" v-for="(item, index) in getObligeeOptions" :key="index" @click="shyqrdmxmChange(item)" style="position: relative; z-index: 999;">
{{item.sqrxm}} {{item.sqrxm}}


Loading…
Cancel
Save