@@ -7,6 +7,7 @@ | |||||
<!--<el-button :id=this.drawingPolygonMap style="background-color:#D0EEFF;color:#1E88C7" @click="" type="primary">画图</el-button>--> | <!--<el-button :id=this.drawingPolygonMap style="background-color:#D0EEFF;color:#1E88C7" @click="" type="primary">画图</el-button>--> | ||||
<!--<input id="drawRemove" type="button" class="ant-btn ant-btn-red" value="取消"/> --> | <!--<input id="drawRemove" type="button" class="ant-btn ant-btn-red" value="取消"/> --> | ||||
<!--<el-button :id=this.drawingPolygonMap style="background-color:#D0EEFF;color:#1E88C7" type="primary">重置图层</el-button>--> | <!--<el-button :id=this.drawingPolygonMap style="background-color:#D0EEFF;color:#1E88C7" type="primary">重置图层</el-button>--> | ||||
<input :id="this.positioningMap" type="button" class="ant-btn ant-btn-red" value="图层定位"/> | |||||
<input :id="this.drawingPolygonMap" class="ant-btn ant-btn-red" type="button" value="画图"/> | <input :id="this.drawingPolygonMap" class="ant-btn ant-btn-red" type="button" value="画图"/> | ||||
<input :id="this.drawingResetMap" type="button" class="ant-btn ant-btn-red" value="重置图层"/> | <input :id="this.drawingResetMap" type="button" class="ant-btn ant-btn-red" value="重置图层"/> | ||||
</div> | </div> | ||||
@@ -29,6 +30,10 @@ export default { | |||||
uuidMap: this.guidProduct(), | uuidMap: this.guidProduct(), | ||||
drawingPolygonMap: this.guidProduct(), | drawingPolygonMap: this.guidProduct(), | ||||
drawingResetMap: this.guidProduct(), | drawingResetMap: this.guidProduct(), | ||||
positioningMap: this.guidProduct(), | |||||
newZb: null, | |||||
newGeom: null, | |||||
mapData: null, | |||||
}; | }; | ||||
}, | }, | ||||
props: ['theGeom','message'], | props: ['theGeom','message'], | ||||
@@ -108,6 +113,7 @@ export default { | |||||
maxZoom: 18.3, //地图放大限制 | maxZoom: 18.3, //地图放大限制 | ||||
}), | }), | ||||
}); | }); | ||||
that.mapData= that.message; | |||||
//图层查询定位开始 ---------start | //图层查询定位开始 ---------start | ||||
if(this.message.substring(0,1) =="{"){ | if(this.message.substring(0,1) =="{"){ | ||||
//that.newHt ="1"; | //that.newHt ="1"; | ||||
@@ -199,6 +205,7 @@ export default { | |||||
//图层查询定位结束 ---------end | //图层查询定位结束 ---------end | ||||
//开始绘制地图 | //开始绘制地图 | ||||
$("#"+this.drawingPolygonMap).click(function () { | $("#"+this.drawingPolygonMap).click(function () { | ||||
that.newGeom = 1; | |||||
map.removeLayer(hc_land); | map.removeLayer(hc_land); | ||||
map.removeLayer(vector_drawing); | map.removeLayer(vector_drawing); | ||||
//that.closeMoule = null; | //that.closeMoule = null; | ||||
@@ -238,6 +245,7 @@ export default { | |||||
// }); | // }); | ||||
//还原之前图层 | //还原之前图层 | ||||
$("#"+this.drawingResetMap).click(function () { | $("#"+this.drawingResetMap).click(function () { | ||||
that.newGeom = 2; | |||||
if(that.closeMoule !=null) { | if(that.closeMoule !=null) { | ||||
map.addLayer(hc_land); | map.addLayer(hc_land); | ||||
map.removeInteraction(draw); | map.removeInteraction(draw); | ||||
@@ -245,6 +253,189 @@ export default { | |||||
that.formSubmit(); | that.formSubmit(); | ||||
} | } | ||||
}); | }); | ||||
//定位当前绘制图层 | |||||
$("#"+this.positioningMap).click(function () { | |||||
//图层查询定位开始 ---------start | |||||
console.log(that.message); | |||||
console.log(that.closeMoule); | |||||
console.log(that.newGeom); | |||||
// var dwmap; | |||||
// if(that.closeMoule != null && that.closeMoule !=""){ | |||||
// dwmap = JSON.stringify(that.closeMoule); | |||||
// }else { | |||||
// console.log(that.newGeom); | |||||
// dwmap = JSON.stringify(that.newGeom); | |||||
// } | |||||
var deMap = JSON.stringify(that.closeMoule); | |||||
if(that.newGeom == 1){ | |||||
if(deMap.substring(0,1) =="{"){ | |||||
//that.newHt ="1"; | |||||
// var theGeomMap =this.message.replace("Point", "MultiPolygon"); | |||||
// var pointLeft = theGeomMap.replace("[", "[[[["); | |||||
// var pointRight = pointLeft.replace("]", "]]]]"); | |||||
hc_landFuther = 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\":" + deMap + "}"), | |||||
}), | |||||
style: new ol.style.Style({ | |||||
fill: new ol.style.Fill({ | |||||
//矢量图层填充颜色,以及透明度 | |||||
color: "rgba(204, 255, 204,0.3)", | |||||
}), | |||||
stroke: new ol.style.Stroke({ | |||||
//边界样式 | |||||
color: "#47c68f", | |||||
width: 3, | |||||
}), | |||||
}), | |||||
}); | |||||
//map.addLayer(hc_land); | |||||
var maxXMap = hc_landFuther.values_.source.featuresRtree_.rbush_.data.maxX; | |||||
var maxYMap = hc_landFuther.values_.source.featuresRtree_.rbush_.data.maxY; | |||||
var minXMap = hc_landFuther.values_.source.featuresRtree_.rbush_.data.minX; | |||||
var minYMap = hc_landFuther.values_.source.featuresRtree_.rbush_.data.minY; | |||||
//定位查询位置 | |||||
var center = ol.extent.getCenter([maxXMap, maxYMap, minXMap, minYMap]); //获取边界区域的中心位置 | |||||
map.getView().animate({ | |||||
// 只设置需要的属性即可 | |||||
center: center, // 中心点 | |||||
zoom: 17.9, // 缩放级别 | |||||
rotation: undefined, // 缩放完成view视图旋转弧度 | |||||
duration: 1000, // 缩放持续时间,默认不需要设置 | |||||
}); | |||||
// let resolution = map.getView().getResolutionForExtent([maxXMap, maxYMap, minXMap, minYMap],map.getSize()); | |||||
// map.getView().fit([maxXMap, maxYMap, minXMap, minYMap]); | |||||
// map.getView().setResolution(resolution); | |||||
} else if(deMap.substring(0,1) =="[") { | |||||
//that.newHt ="1"; | |||||
var zbNew = JSON.stringify({"type": "MultiPolygon", "coordinates": [deMap.replaceAll("\"", "")]}); | |||||
var leftJoin = zbNew.replace("\"[", "["); | |||||
var rightJoin = leftJoin.replace("\"]", "]"); | |||||
hc_landFuther = 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\":" + rightJoin + "}"), | |||||
}), | |||||
style: new ol.style.Style({ | |||||
fill: new ol.style.Fill({ | |||||
//矢量图层填充颜色,以及透明度 | |||||
color: "rgba(204, 255, 204,0.3)", | |||||
}), | |||||
stroke: new ol.style.Stroke({ | |||||
//边界样式 | |||||
color: "#47c68f", | |||||
width: 3, | |||||
}), | |||||
}), | |||||
}); | |||||
//map.addLayer(hc_land); | |||||
var maxXMap = hc_landFuther.values_.source.featuresRtree_.rbush_.data.maxX; | |||||
var maxYMap = hc_landFuther.values_.source.featuresRtree_.rbush_.data.maxY; | |||||
var minXMap = hc_landFuther.values_.source.featuresRtree_.rbush_.data.minX; | |||||
var minYMap = hc_landFuther.values_.source.featuresRtree_.rbush_.data.minY; | |||||
//定位查询位置 | |||||
var center = ol.extent.getCenter([maxXMap, maxYMap, minXMap, minYMap]); //获取边界区域的中心位置 | |||||
map.getView().animate({ | |||||
// 只设置需要的属性即可 | |||||
center: center, // 中心点 | |||||
zoom: 16.9, // 缩放级别 | |||||
rotation: undefined, // 缩放完成view视图旋转弧度 | |||||
duration: 1000, // 缩放持续时间,默认不需要设置 | |||||
}); | |||||
} | |||||
} else { | |||||
console.log(that.mapData); | |||||
if(that.mapData.substring(0,1) =="{"){ | |||||
//that.newHt ="1"; | |||||
// var theGeomMap =this.message.replace("Point", "MultiPolygon"); | |||||
// var pointLeft = theGeomMap.replace("[", "[[[["); | |||||
// var pointRight = pointLeft.replace("]", "]]]]"); | |||||
hc_landFuther = 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\":" + that.mapData + "}"), | |||||
}), | |||||
style: new ol.style.Style({ | |||||
fill: new ol.style.Fill({ | |||||
//矢量图层填充颜色,以及透明度 | |||||
color: "rgba(204, 255, 204,0.3)", | |||||
}), | |||||
stroke: new ol.style.Stroke({ | |||||
//边界样式 | |||||
color: "#47c68f", | |||||
width: 3, | |||||
}), | |||||
}), | |||||
}); | |||||
//map.addLayer(hc_land); | |||||
var maxXMap = hc_landFuther.values_.source.featuresRtree_.rbush_.data.maxX; | |||||
var maxYMap = hc_landFuther.values_.source.featuresRtree_.rbush_.data.maxY; | |||||
var minXMap = hc_landFuther.values_.source.featuresRtree_.rbush_.data.minX; | |||||
var minYMap = hc_landFuther.values_.source.featuresRtree_.rbush_.data.minY; | |||||
//定位查询位置 | |||||
var center = ol.extent.getCenter([maxXMap, maxYMap, minXMap, minYMap]); //获取边界区域的中心位置 | |||||
map.getView().animate({ | |||||
// 只设置需要的属性即可 | |||||
center: center, // 中心点 | |||||
zoom: 17.9, // 缩放级别 | |||||
rotation: undefined, // 缩放完成view视图旋转弧度 | |||||
duration: 1000, // 缩放持续时间,默认不需要设置 | |||||
}); | |||||
// let resolution = map.getView().getResolutionForExtent([maxXMap, maxYMap, minXMap, minYMap],map.getSize()); | |||||
// map.getView().fit([maxXMap, maxYMap, minXMap, minYMap]); | |||||
// map.getView().setResolution(resolution); | |||||
} else if(that.mapData.substring(0,1) =="[") { | |||||
//that.newHt ="1"; | |||||
var zbNew = JSON.stringify({"type": "MultiPolygon", "coordinates": [that.mapData.replaceAll("\"", "")]}); | |||||
var leftJoin = zbNew.replace("\"[", "["); | |||||
var rightJoin = leftJoin.replace("\"]", "]"); | |||||
hc_landFuther = 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\":" + rightJoin + "}"), | |||||
}), | |||||
style: new ol.style.Style({ | |||||
fill: new ol.style.Fill({ | |||||
//矢量图层填充颜色,以及透明度 | |||||
color: "rgba(204, 255, 204,0.3)", | |||||
}), | |||||
stroke: new ol.style.Stroke({ | |||||
//边界样式 | |||||
color: "#47c68f", | |||||
width: 3, | |||||
}), | |||||
}), | |||||
}); | |||||
//map.addLayer(hc_land); | |||||
var maxXMap = hc_landFuther.values_.source.featuresRtree_.rbush_.data.maxX; | |||||
var maxYMap = hc_landFuther.values_.source.featuresRtree_.rbush_.data.maxY; | |||||
var minXMap = hc_landFuther.values_.source.featuresRtree_.rbush_.data.minX; | |||||
var minYMap = hc_landFuther.values_.source.featuresRtree_.rbush_.data.minY; | |||||
//定位查询位置 | |||||
var center = ol.extent.getCenter([maxXMap, maxYMap, minXMap, minYMap]); //获取边界区域的中心位置 | |||||
map.getView().animate({ | |||||
// 只设置需要的属性即可 | |||||
center: center, // 中心点 | |||||
zoom: 16.9, // 缩放级别 | |||||
rotation: undefined, // 缩放完成view视图旋转弧度 | |||||
duration: 1000, // 缩放持续时间,默认不需要设置 | |||||
}); | |||||
} | |||||
} | |||||
}); | |||||
} else{ | } else{ | ||||
//this.closeMoule = null; | //this.closeMoule = null; | ||||
document.getElementById(that.uuidMap).innerHTML = ''; | document.getElementById(that.uuidMap).innerHTML = ''; | ||||
@@ -398,6 +589,7 @@ export default { | |||||
var feature = evt.feature; | var feature = evt.feature; | ||||
var geometry = feature.getGeometry(); | var geometry = feature.getGeometry(); | ||||
var coordinate = geometry.getCoordinates(); | var coordinate = geometry.getCoordinates(); | ||||
that.newZb = JSON.stringify(coordinate); | |||||
if(coordinate !="" && coordinate !=null){ | if(coordinate !="" && coordinate !=null){ | ||||
//map.addLayer(vector_drawing); | //map.addLayer(vector_drawing); | ||||
map.removeInteraction(draw); | map.removeInteraction(draw); | ||||
@@ -424,6 +616,101 @@ export default { | |||||
//that.closeMoule = null; | //that.closeMoule = null; | ||||
that.formSubmit(); | that.formSubmit(); | ||||
}); | }); | ||||
//定位当前绘制图层 | |||||
$("#"+this.positioningMap).click(function () { | |||||
console.log(that.newZb); | |||||
//图层查询定位开始 ---------start | |||||
//if(){} | |||||
//map.removeLayer(hc_landFuther); | |||||
if(that.newZb.substring(0,1) =="{"){ | |||||
//that.newHt ="1"; | |||||
// var theGeomMap =this.message.replace("Point", "MultiPolygon"); | |||||
// var pointLeft = theGeomMap.replace("[", "[[[["); | |||||
// var pointRight = pointLeft.replace("]", "]]]]"); | |||||
hc_landFuther = 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\":" + that.newZb + "}"), | |||||
}), | |||||
style: new ol.style.Style({ | |||||
fill: new ol.style.Fill({ | |||||
//矢量图层填充颜色,以及透明度 | |||||
color: "rgba(204, 255, 204,0.3)", | |||||
}), | |||||
stroke: new ol.style.Stroke({ | |||||
//边界样式 | |||||
color: "#47c68f", | |||||
width: 3, | |||||
}), | |||||
}), | |||||
}); | |||||
//map.addLayer(hc_landFuther); | |||||
var maxXMap = hc_landFuther.values_.source.featuresRtree_.rbush_.data.maxX; | |||||
var maxYMap = hc_landFuther.values_.source.featuresRtree_.rbush_.data.maxY; | |||||
var minXMap = hc_landFuther.values_.source.featuresRtree_.rbush_.data.minX; | |||||
var minYMap = hc_landFuther.values_.source.featuresRtree_.rbush_.data.minY; | |||||
//定位查询位置 | |||||
var center = ol.extent.getCenter([maxXMap, maxYMap, minXMap, minYMap]); //获取边界区域的中心位置 | |||||
map.getView().animate({ | |||||
// 只设置需要的属性即可 | |||||
center: center, // 中心点 | |||||
zoom: 17.9, // 缩放级别 | |||||
rotation: undefined, // 缩放完成view视图旋转弧度 | |||||
duration: 1000, // 缩放持续时间,默认不需要设置 | |||||
}); | |||||
// let resolution = map.getView().getResolutionForExtent([maxXMap, maxYMap, minXMap, minYMap],map.getSize()); | |||||
// map.getView().fit([maxXMap, maxYMap, minXMap, minYMap]); | |||||
// map.getView().setResolution(resolution); | |||||
} else if(that.newZb.substring(0,1) =="["){ | |||||
//that.newHt ="1"; | |||||
var zbNew = JSON.stringify({"type": "MultiPolygon", "coordinates": [that.newZb.replaceAll("\"","")]}); | |||||
var leftJoin = zbNew.replace("\"[","["); | |||||
var rightJoin = leftJoin.replace("\"]","]"); | |||||
hc_landFuther = 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\":" + rightJoin + "}"), | |||||
}), | |||||
style: new ol.style.Style({ | |||||
fill: new ol.style.Fill({ | |||||
//矢量图层填充颜色,以及透明度 | |||||
color: "rgba(204, 255, 204,0.3)", | |||||
}), | |||||
stroke: new ol.style.Stroke({ | |||||
//边界样式 | |||||
color: "#47c68f", | |||||
width: 3, | |||||
}), | |||||
}), | |||||
}); | |||||
//map.addLayer(hc_landFuther); | |||||
var maxXMap = hc_landFuther.values_.source.featuresRtree_.rbush_.data.maxX; | |||||
var maxYMap = hc_landFuther.values_.source.featuresRtree_.rbush_.data.maxY; | |||||
var minXMap = hc_landFuther.values_.source.featuresRtree_.rbush_.data.minX; | |||||
var minYMap = hc_landFuther.values_.source.featuresRtree_.rbush_.data.minY; | |||||
//定位查询位置 | |||||
var center = ol.extent.getCenter([maxXMap, maxYMap, minXMap, minYMap]); //获取边界区域的中心位置 | |||||
map.getView().animate({ | |||||
// 只设置需要的属性即可 | |||||
center: center, // 中心点 | |||||
zoom: 16.9, // 缩放级别 | |||||
rotation: undefined, // 缩放完成view视图旋转弧度 | |||||
duration: 1000, // 缩放持续时间,默认不需要设置 | |||||
}); | |||||
// let resolution = map.getView().getResolutionForExtent([maxXMap, maxYMap, minXMap, minYMap],map.getSize()); | |||||
// map.getView().fit([maxXMap, maxYMap, minXMap, minYMap]); | |||||
// map.getView().setResolution(resolution); | |||||
} else { | |||||
} | |||||
//图层查询定位结束 ---------end | |||||
}); | |||||
} | } | ||||
}, | }, | ||||
}, | }, | ||||
@@ -674,7 +674,7 @@ | |||||
name="不动产权证号" | name="不动产权证号" | ||||
label="不动产权证号" | label="不动产权证号" | ||||
placeholder="不动产权证号" | placeholder="不动产权证号" | ||||
v-show="form1.bdcdyh!=null&&form1.bdcdyh==''" | |||||
v-show="form1.bdcdyh!=null&&form1.bdcdyh!=''" | |||||
/> | /> | ||||
<van-field | <van-field | ||||
autocomplete="off" | autocomplete="off" | ||||
@@ -695,10 +695,16 @@ | |||||
<van-field | <van-field | ||||
autocomplete="off" | autocomplete="off" | ||||
input-align="right" | input-align="right" | ||||
v-model="form1.sshy" | |||||
v-model="form1.sshyName" | |||||
name="所属行业" | name="所属行业" | ||||
label="所属行业" | label="所属行业" | ||||
placeholder="所属行业" | placeholder="所属行业" | ||||
@click="showsyqrsshy = true" | |||||
/> | |||||
<van-field | |||||
autocomplete="off" | |||||
v-model="form1.sshy" | |||||
style="display:none" | |||||
/> | /> | ||||
<van-field name="radio" label="国家/地区" input-align="right" autocomplete="off"> | <van-field name="radio" label="国家/地区" input-align="right" autocomplete="off"> | ||||
<template #input> | <template #input> | ||||
@@ -2484,6 +2490,16 @@ | |||||
@cancel="shownmfwnhdm = false" | @cancel="shownmfwnhdm = false" | ||||
/> | /> | ||||
</van-popup> | </van-popup> | ||||
<!--使用权人所属行业列表--> | |||||
<van-popup v-model="showsyqrsshy" position="bottom"> | |||||
<van-picker | |||||
show-toolbar | |||||
:columns="industryOptions" | |||||
value-key="dictLabel" | |||||
@confirm="onConfirmsyqrsshy" | |||||
@cancel="showsyqrsshy = false" | |||||
/> | |||||
</van-popup> | |||||
</div> | </div> | ||||
</template> | </template> | ||||
@@ -2514,6 +2530,7 @@ | |||||
resultImg: "", // 最终画布生成的base64图片 | resultImg: "", // 最终画布生成的base64图片 | ||||
isCrop: false, // 是否裁剪,在画布设定尺寸基础上裁掉四周空白部分 | isCrop: false, // 是否裁剪,在画布设定尺寸基础上裁掉四周空白部分 | ||||
showdj:false, | showdj:false, | ||||
showsyqrsshy:false, | |||||
shownmfwnhdm:false, | shownmfwnhdm:false, | ||||
showsyqrnmfwdm:false, | showsyqrnmfwdm:false, | ||||
showhncysjly:false, | showhncysjly:false, | ||||
@@ -2676,6 +2693,8 @@ | |||||
jzqkOptions:[], | jzqkOptions:[], | ||||
// 土地等级字典 | // 土地等级字典 | ||||
tddjOptions:[], | tddjOptions:[], | ||||
// 所属行业 | |||||
industryOptions:[], | |||||
// 图片上传路径 | // 图片上传路径 | ||||
baseUrl:"", | baseUrl:"", | ||||
@@ -2770,7 +2789,14 @@ | |||||
this.zjlxOptions = response.data; | this.zjlxOptions = response.data; | ||||
}); | }); | ||||
this.getDicts("family_status").then(response => { | this.getDicts("family_status").then(response => { | ||||
this.yhzgxOptions = response.data; | |||||
var arr = [];response.data.forEach(function (item) { | |||||
if (item.dictLabel !== '户主') { | |||||
arr.push(item) | |||||
} | |||||
}); | |||||
this.yhzgxOptions = arr; | |||||
/*this.yhzgxOptions = response.data;*/ | |||||
}); | }); | ||||
this.getDicts("rights_nature").then(response => { | this.getDicts("rights_nature").then(response => { | ||||
this.qlxzOptions = response.data; | this.qlxzOptions = response.data; | ||||
@@ -2802,6 +2828,9 @@ | |||||
this.getDicts("tddj").then(response => { | this.getDicts("tddj").then(response => { | ||||
this.tddjOptions = response.data; | this.tddjOptions = response.data; | ||||
}); | }); | ||||
this.getDicts("Industry").then(response => { | |||||
this.industryOptions = response.data; | |||||
}); | |||||
this.getnhdmlist(); | this.getnhdmlist(); | ||||
this.getZjd(); | this.getZjd(); | ||||
this.getBaseUrl(); | this.getBaseUrl(); | ||||
@@ -3073,6 +3102,12 @@ | |||||
this.nmfwform.nhdm = value.nhdm | this.nmfwform.nhdm = value.nhdm | ||||
this.shownmfwnhdm = false | this.shownmfwnhdm = false | ||||
}, | }, | ||||
// 使用权人所属行业弹出框 | |||||
onConfirmsyqrsshy(value){ | |||||
this.form1.sshyName = value.dictLabel | |||||
this.form1.sshy = value.dictValue | |||||
this.showsyqrsshy= false | |||||
}, | |||||
// 户内成员数据来源弹出框 | // 户内成员数据来源弹出框 | ||||
onConfirmhncysjly(value){ | onConfirmhncysjly(value){ | ||||
this.form5.sjlyName = value.dictLabel | this.form5.sjlyName = value.dictLabel | ||||
@@ -3505,16 +3540,15 @@ | |||||
sjlyName:'农村宅基地使用权确权登记发证' | sjlyName:'农村宅基地使用权确权登记发证' | ||||
} | } | ||||
if(response.rows.length>0){ | if(response.rows.length>0){ | ||||
console.log(response.rows[0].suyqrdm) | |||||
this.form.suyqrdm = response.rows[0].suyqrdm | this.form.suyqrdm = response.rows[0].suyqrdm | ||||
} | } | ||||
}); | }); | ||||
} | } | ||||
}, | }, | ||||
getSyqrList() { | getSyqrList() { | ||||
if(this.item.zjddm) { | |||||
if(this.item.zjddm!=null||this.form.zjddm!=null) { | |||||
let params = { | let params = { | ||||
"zjddm":this.item.zjddm, | |||||
"zjddm":this.item.zjddm?this.item.zjddm:this.form.zjddm, | |||||
deptId:this.item.deptId | deptId:this.item.deptId | ||||
} | } | ||||
listShyqr(params).then(response => { | listShyqr(params).then(response => { | ||||
@@ -3523,10 +3557,9 @@ | |||||
} | } | ||||
}, | }, | ||||
getZrzList() { | getZrzList() { | ||||
if(this.item.zjddm){ | |||||
/* let _this = this*/ | |||||
if(this.item.zjddm!=null||this.form.zjddm!=null) { | |||||
let params = { | let params = { | ||||
"zjddm":this.item.zjddm, | |||||
"zjddm":this.item.zjddm?this.item.zjddm:this.form.zjddm, | |||||
deptId:this.item.deptId | deptId:this.item.deptId | ||||
} | } | ||||
listZrz(params).then(response => { | listZrz(params).then(response => { | ||||
@@ -3538,9 +3571,9 @@ | |||||
} | } | ||||
}, | }, | ||||
getFsssList() { | getFsssList() { | ||||
if(this.item.zjddm){ | |||||
if(this.item.zjddm!=null||this.form.zjddm!=null) { | |||||
let params = { | let params = { | ||||
"zjddm":this.item.zjddm, | |||||
"zjddm":this.item.zjddm?this.item.zjddm:this.form.zjddm, | |||||
deptId:this.item.deptId | deptId:this.item.deptId | ||||
} | } | ||||
listFsss(params).then(response => { | listFsss(params).then(response => { | ||||
@@ -3559,7 +3592,8 @@ | |||||
onClose:function(){ | onClose:function(){ | ||||
_this.showhncy = false | _this.showhncy = false | ||||
let params = { | let params = { | ||||
"nhdm":_this.form5.nhdm | |||||
"nhdm":_this.form5.nhdm, | |||||
deptId:this.item.deptId | |||||
} | } | ||||
listNhhncy(params).then((response) => { | listNhhncy(params).then((response) => { | ||||
_this.hncylist = response.rows | _this.hncylist = response.rows | ||||
@@ -3577,7 +3611,8 @@ | |||||
onClose:function(){ | onClose:function(){ | ||||
_this.showhncy = false | _this.showhncy = false | ||||
let params = { | let params = { | ||||
"nhdm":_this.form5.nhdm | |||||
"nhdm":_this.form5.nhdm, | |||||
deptId:this.item.deptId | |||||
} | } | ||||
listNhhncy(params).then((response) => { | listNhhncy(params).then((response) => { | ||||
_this.hncylist = response.rows | _this.hncylist = response.rows | ||||
@@ -3792,6 +3827,11 @@ | |||||
if(this.form1.qlbl==null||this.form1.qlbl==""){ | if(this.form1.qlbl==null||this.form1.qlbl==""){ | ||||
this.form1.qlbl = '1' | this.form1.qlbl = '1' | ||||
} | } | ||||
this.industryOptions.map(res => { | |||||
if(res.dictValue == this.form1.sshy){ | |||||
this.form1.sshyName = res.dictLabel | |||||
} | |||||
}) | |||||
this.sjlyOptions.map(res => { | this.sjlyOptions.map(res => { | ||||
if(res.dictValue == this.form1.sjly){ | if(res.dictValue == this.form1.sjly){ | ||||
this.form1.sjlyName = res.dictLabel | this.form1.sjlyName = res.dictLabel | ||||
@@ -3933,8 +3973,8 @@ | |||||
}else{ | }else{ | ||||
if(item==""){ | if(item==""){ | ||||
this.form3={ | this.form3={ | ||||
zjddm:this.item.zjddm, | |||||
deptId:this.item.deptId, | |||||
zjddm:this.item.zjddm?this.item.zjddm:this.form.zjddm, | |||||
deptId:this.item.deptId?this.item.deptId:this.form.deptId, | |||||
zcs:"1", | zcs:"1", | ||||
dscs:"1", | dscs:"1", | ||||
dxcs:"0", | dxcs:"0", | ||||
@@ -3991,10 +4031,10 @@ | |||||
this.showfw = true; | this.showfw = true; | ||||
if(item==""){ | if(item==""){ | ||||
this.nmfwform={ | this.nmfwform={ | ||||
zrzh: this.item.zrzh, | |||||
deptId : this.item.deptId, | |||||
zjddm : this.item.zjddm, | |||||
nmfwzh : this.item.nmfwzh, | |||||
zrzh: null, | |||||
deptId : this.item.deptId?this.item.deptId:this.form.deptId, | |||||
zjddm : this.item.zjddm?this.item.zjddm:this.form.zjddm, | |||||
nmfwzh : null, | |||||
ch:"1", | ch:"1", | ||||
sjc:"1", | sjc:"1", | ||||
myc:"1", | myc:"1", | ||||
@@ -4206,8 +4246,8 @@ | |||||
}else{ | }else{ | ||||
if(item==""){ | if(item==""){ | ||||
this.form4={ | this.form4={ | ||||
deptId:this.item.deptId, | |||||
zjddm:this.item.zjddm, | |||||
deptId:this.item.deptId?this.item.deptId:this.form.deptId, | |||||
zjddm:this.item.zjddm?this.item.zjddm:this.form.zjddm, | |||||
fssslx:'11', | fssslx:'11', | ||||
fssslxName:'畜厩', | fssslxName:'畜厩', | ||||
qsly:'99', | qsly:'99', | ||||
@@ -55,7 +55,7 @@ | |||||
</van-search> | </van-search> | ||||
<van-tabs v-model="active" title-active-color="#7AC943" color="#7AC943" swipeable animated @click="getZjdList"> | <van-tabs v-model="active" title-active-color="#7AC943" color="#7AC943" swipeable animated @click="getZjdList"> | ||||
<van-tab > | <van-tab > | ||||
<template #title>全部<van-badge v-if="qbNums>0" :content="qbNums" /></template> | |||||
<template #title>全部<van-badge v-if="qbNums>=0" :content="qbNums" /></template> | |||||
<van-pull-refresh v-model="isLoadingzjd" @refresh="onRefreshzjd"> | <van-pull-refresh v-model="isLoadingzjd" @refresh="onRefreshzjd"> | ||||
<van-cell v-for="(item,index) in list" :key="index" size="small" @click.native="setCookies(item)" :to="{name:'homesteadAdd'}" style="border-radius: 16px; | <van-cell v-for="(item,index) in list" :key="index" size="small" @click.native="setCookies(item)" :to="{name:'homesteadAdd'}" style="border-radius: 16px; | ||||
box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px"> | box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px"> | ||||
@@ -78,7 +78,7 @@ | |||||
</van-pull-refresh> | </van-pull-refresh> | ||||
</van-tab> | </van-tab> | ||||
<van-tab > | <van-tab > | ||||
<template #title>已核查<van-badge v-if="yhcNums>0" :content="yhcNums" /></template> | |||||
<template #title>已核查<van-badge v-if="yhcNums>=0" :content="yhcNums" /></template> | |||||
<van-pull-refresh v-model="isLoadingzjd" @refresh="onRefreshzjd"> | <van-pull-refresh v-model="isLoadingzjd" @refresh="onRefreshzjd"> | ||||
<van-cell v-for="(item,index) in list1" :key="index" size="small" @click.native="setCookies(item)" :to="{name:'homesteadAdd'}" style="border-radius: 16px; | <van-cell v-for="(item,index) in list1" :key="index" size="small" @click.native="setCookies(item)" :to="{name:'homesteadAdd'}" style="border-radius: 16px; | ||||
box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px"> | box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px"> | ||||
@@ -101,7 +101,7 @@ | |||||
</van-pull-refresh> | </van-pull-refresh> | ||||
</van-tab> | </van-tab> | ||||
<van-tab > | <van-tab > | ||||
<template #title>未核查<van-badge v-if="whcNums>0" :content="whcNums" /></template> | |||||
<template #title>未核查<van-badge v-if="whcNums>=0" :content="whcNums" /></template> | |||||
<van-pull-refresh v-model="isLoadingzjd" @refresh="onRefreshzjd"> | <van-pull-refresh v-model="isLoadingzjd" @refresh="onRefreshzjd"> | ||||
<van-cell v-for="(item,index) in list2" :key="index" size="small" @click.native="setCookies(item)" :to="{name:'homesteadAdd'}" style="border-radius: 16px; | <van-cell v-for="(item,index) in list2" :key="index" size="small" @click.native="setCookies(item)" :to="{name:'homesteadAdd'}" style="border-radius: 16px; | ||||
box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px"> | box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px"> | ||||
@@ -1199,7 +1199,7 @@ | |||||
zjdvalue:"", | zjdvalue:"", | ||||
// 使用权人搜索框 | // 使用权人搜索框 | ||||
nhvalue:"", | nhvalue:"", | ||||
active:null, | |||||
active:2, | |||||
// 全部列表 | // 全部列表 | ||||
list:[], | list:[], | ||||
// 已核查列表 | // 已核查列表 | ||||
@@ -1332,7 +1332,14 @@ | |||||
this.jzhcssfyzfOptions = response.data; | this.jzhcssfyzfOptions = response.data; | ||||
}); | }); | ||||
this.getDicts("family_status").then(response => { | this.getDicts("family_status").then(response => { | ||||
this.yhzgxOptions = response.data; | |||||
var arr = [];response.data.forEach(function (item) { | |||||
if (item.dictLabel !== '户主') { | |||||
arr.push(item) | |||||
} | |||||
}); | |||||
this.yhzgxOptions = arr; | |||||
/*this.yhzgxOptions = response.data;*/ | |||||
}); | }); | ||||
this.getDicts("cybz").then(response => { | this.getDicts("cybz").then(response => { | ||||
this.cybzOptions = response.data; | this.cybzOptions = response.data; | ||||
@@ -1727,7 +1734,7 @@ | |||||
if(this.active==1){ | if(this.active==1){ | ||||
let params = { | let params = { | ||||
"deptId" : this.item.deptId, | "deptId" : this.item.deptId, | ||||
"houserDataConfirmStatus" : "CONFIRMED", | |||||
"houseDataConfirmStatus" : "CONFIRMED", | |||||
"syqr" : this.zjdvalue | "syqr" : this.zjdvalue | ||||
} | } | ||||
listZjdzd(params).then((response) => { | listZjdzd(params).then((response) => { | ||||
@@ -1738,10 +1745,11 @@ | |||||
}else if(this.active==2){ | }else if(this.active==2){ | ||||
let params = { | let params = { | ||||
"deptId" : this.item.deptId, | "deptId" : this.item.deptId, | ||||
"houserDataConfirmStatus" : "UNCONFIRMED", | |||||
"houseDataConfirmStatus" : "UNCONFIRMED", | |||||
"syqr" : this.zjdvalue | "syqr" : this.zjdvalue | ||||
} | } | ||||
listZjdzd(params).then((response) => { | listZjdzd(params).then((response) => { | ||||
console.log(response) | |||||
if (response.code == 200) { | if (response.code == 200) { | ||||
this.list2 = response.rows | this.list2 = response.rows | ||||
} | } | ||||
@@ -1872,17 +1880,25 @@ | |||||
}, | }, | ||||
// 户内成员列表 | // 户内成员列表 | ||||
showPopuphncylist(item){ | showPopuphncylist(item){ | ||||
this.showhncylist = true | |||||
let params = { | |||||
"nhdm":item.nhdm, | |||||
"deptId":this.item.deptId | |||||
} | |||||
listNhhncy(params).then((response) => { | |||||
if (response.code == 200) { | |||||
this.hncylist = response.rows | |||||
console.log(this.hncylist) | |||||
if(item.nhdm==null||item.nhdm==""){ | |||||
this.$toast({ | |||||
icon: 'error', // 找到自己需要的图标 | |||||
message: '请先保存户主信息', | |||||
duration:"1000" | |||||
}) | |||||
}else{ | |||||
this.showhncylist = true | |||||
let params = { | |||||
"nhdm":item.nhdm, | |||||
"deptId":this.item.deptId | |||||
} | } | ||||
}); | |||||
listNhhncy(params).then((response) => { | |||||
if (response.code == 200) { | |||||
this.hncylist = response.rows | |||||
} | |||||
}); | |||||
} | |||||
}, | }, | ||||
showPopupnh(item){ | showPopupnh(item){ | ||||
this.shownh = true | this.shownh = true | ||||
@@ -1914,7 +1930,7 @@ | |||||
}) | }) | ||||
}, | }, | ||||
getZjdList(){ | getZjdList(){ | ||||
if(this.active==1){ | |||||
/*if(this.active==1){ | |||||
let params = { | let params = { | ||||
"deptId" : this.item.deptId, | "deptId" : this.item.deptId, | ||||
"houseDataConfirmStatus" : "CONFIRMED", | "houseDataConfirmStatus" : "CONFIRMED", | ||||
@@ -1940,8 +1956,7 @@ | |||||
this.list2 = response.rows | this.list2 = response.rows | ||||
} | } | ||||
}); | }); | ||||
}else{ | |||||
console.log(1) | |||||
}else{*/ | |||||
let params = { | let params = { | ||||
"deptId" : this.item.deptId, | "deptId" : this.item.deptId, | ||||
"pageNum": 1, | "pageNum": 1, | ||||
@@ -1963,6 +1978,7 @@ | |||||
listZjdzd(params1).then((response) => { | listZjdzd(params1).then((response) => { | ||||
if (response.code == 200) { | if (response.code == 200) { | ||||
this.yhcNums = response.total | this.yhcNums = response.total | ||||
this.list1 = response.rows | |||||
} | } | ||||
}); | }); | ||||
let params2 = { | let params2 = { | ||||
@@ -1974,9 +1990,10 @@ | |||||
listZjdzd(params2).then((response) => { | listZjdzd(params2).then((response) => { | ||||
if (response.code == 200) { | if (response.code == 200) { | ||||
this.whcNums = response.total | this.whcNums = response.total | ||||
this.list2 = response.rows | |||||
} | } | ||||
}); | }); | ||||
} | |||||
/* }*/ | |||||
}, | }, | ||||
onConfirm(){}, | onConfirm(){}, | ||||
onSubmithncy(){ | onSubmithncy(){ | ||||
@@ -1990,7 +2007,8 @@ | |||||
onClose:function(){ | onClose:function(){ | ||||
_this.showhncy = false | _this.showhncy = false | ||||
let params = { | let params = { | ||||
"nhdm":_this.form5.nhdm | |||||
"nhdm":_this.form5.nhdm, | |||||
deptId:_this.form5.deptId | |||||
} | } | ||||
listNhhncy(params).then((response) => { | listNhhncy(params).then((response) => { | ||||
_this.hncylist = response.rows | _this.hncylist = response.rows | ||||
@@ -2007,12 +2025,11 @@ | |||||
duration:"1000", | duration:"1000", | ||||
onClose:function(){ | onClose:function(){ | ||||
_this.showhncy = false | _this.showhncy = false | ||||
console.log(_this.form5,this.form5) | |||||
let params = { | let params = { | ||||
"nhdm":_this.form5.nhdm | |||||
"nhdm":_this.form5.nhdm, | |||||
deptId:_this.form5.deptId | |||||
} | } | ||||
listNhhncy(params).then((response) => { | listNhhncy(params).then((response) => { | ||||
console.log(response.rows) | |||||
_this.hncylist = response.rows | _this.hncylist = response.rows | ||||
}) | }) | ||||
} | } | ||||