庞东旭 il y a 3 ans
Parent
révision
edab018621
4 fichiers modifiés avec 788 ajouts et 155 suppressions
  1. +103
    -29
      src/components/Map/MapGisDrawing.vue
  2. +320
    -16
      src/views/homesteadSurvey/add.vue
  3. +362
    -107
      src/views/homesteadSurvey/list.vue
  4. +3
    -3
      src/views/homesteadSurvey/settle.vue

+ 103
- 29
src/components/Map/MapGisDrawing.vue Voir le fichier

@@ -272,37 +272,111 @@ export default {
isGroup: true,
name: "天地图文字标注--卫星影像图",
});

//加载地图
map = new ol.Map({
controls: ol.control.defaults({attribution: false, zoom: false, rotate: false}).extend([]), //隐藏放大缩小按钮
layers: [aerial, yingxzi],
projection: projection,
logo: 'false',
target: that.uuidMap,
view: new ol.View({
//center: ol.proj.fromLonLat(Zb),
//center: ol.proj.fromLonLat([115.452752, 31.789033]),
zoom: 16.9,
minZoom: 5, //地图缩小限制
maxZoom: 18, //地图放大限制
}),
});
//获取坐标是否存在
var Zb;
getQueryLand().then((response) => {
if (response.code == 200) {
let InsertCode = response.data;
if (InsertCode != null) {
var lat = InsertCode.lat;
var lng = InsertCode.lng;
if(lat !=null && lng !=null && lat !="" && lng !=""){
Zb = [lng,lat];
}else {
Zb =[115.452752, 31.789033];
}
//加载地图
map = new ol.Map({
controls: ol.control.defaults({attribution: false, zoom: false, rotate: false}).extend([]), //隐藏放大缩小按钮
layers: [aerial, yingxzi],
projection: projection,
logo: 'false',
target: that.uuidMap,
view: new ol.View({
center: ol.proj.fromLonLat(Zb),
//center: ol.proj.fromLonLat([115.452752, 31.789033]),
zoom: 16.9,
minZoom: 5, //地图缩小限制
maxZoom: 18, //地图放大限制
}),
});
}
}
//var Zb;
//村边界查询开始 ------------------------------start
var cql_filter = "dept_id='" + that.$cookies.get("item").deptId + "'";
var cunTc= new ol.layer.Tile({
source: new ol.source.TileWMS({
url: "http://116.255.223.226:8080/geoserver/zjd_dc/wms",
params: {
LAYERS: 'zjd_dc:t_house_survey_border_village',
TILED: true,
cql_filter: cql_filter,
SRID: 3857,
},
}),
});
//定位查询位置
let param_dw = {
srsName: "EPSG:3857",
service: "WFS",
version: "1.0.0",
request: "GetFeature",
typename: "zjd_dc:t_house_survey_border_village",
//featureNS: 'nsgk_hc',//命名空间 URI
cql_filter: cql_filter,
//featurePrefix: 'nationalwater',//工作区名称
//featureTypes: ['nationalwater:01fir'],//查询图层,可以是同一个工作区下多个图层,逗号隔开
outputFormat: "application/json",
//filter: ol.format.filter.equalTo(t,e,r)//前者是属性名,后者是对应值
};
let url_dw = "http://116.255.223.226:8080/geoserver/zjd_dc/wfs"; //wfsurl;
url_dw = url_dw + "?";
for (let key in param_dw) {
url_dw = url_dw + key + "=" + param_dw[key] + "&";
}
url_dw = url_dw.substr(0, url_dw.length - 1);
fetch(url_dw, {
method: "POST", // *GET, POST, PUT, DELETE, etc.
})
.then((res) => {
var geojsonmap = res.json();
return geojsonmap;
})
.then((data) => {
console.log(data);
let resolution = map.getView().getResolutionForExtent(data.bbox,map.getSize());
map.getView().fit(data.bbox);
map.getView().setResolution(resolution);
// var datamap = data.bbox;
// var center = ol.extent.getCenter(datamap);
// map.getView().animate({
// // 只设置需要的属性即可
// center: center, // 中心点
// rotation: undefined, // 缩放完成view视图旋转弧度
// });
})
.catch((error) => {
console.log("【异常】", error);
});
map.addLayer(cunTc);
//村边界查询开始 ------------------------------end
// getQueryLand().then((response) => {
// if (response.code == 200) {
// let InsertCode = response.data;
// if (InsertCode != null) {
// var lat = InsertCode.lat;
// var lng = InsertCode.lng;
// if(lat !=null && lng !=null && lat !="" && lng !=""){
// Zb = [lng,lat];
// }else {
// Zb =[115.452752, 31.789033];
// }
// //加载地图
// map = new ol.Map({
// controls: ol.control.defaults({attribution: false, zoom: false, rotate: false}).extend([]), //隐藏放大缩小按钮
// layers: [aerial, yingxzi],
// projection: projection,
// logo: 'false',
// target: that.uuidMap,
// view: new ol.View({
// center: ol.proj.fromLonLat(Zb),
// //center: ol.proj.fromLonLat([115.452752, 31.789033]),
// zoom: 16.9,
// minZoom: 5, //地图缩小限制
// maxZoom: 18, //地图放大限制
// }),
// });
// }
// }
// });

//图层查询定位结束 ---------end
//开始绘制地图


+ 320
- 16
src/views/homesteadSurvey/add.vue Voir le fichier

@@ -150,8 +150,6 @@
name="宗地代码"
label="宗地代码"
placeholder="宗地代码"
required
:rules="[{ required: true, message: '宗地代码不能为空' }]"
/>
<van-field
autocomplete="off"
@@ -616,14 +614,16 @@
required
:rules="[{ required: true, message: '宅基地代码不能为空' }]"
/>
<van-field
<!--<van-field
autocomplete="off"
input-align="right"
v-model="form1.nmfwdm"
name="农民房屋代码"
label="农民房屋代码"
placeholder="宅基地上有农民房屋时填写"
/>
readonly
@click="showsyqrnmfwdm = true"
/>-->
<van-field
autocomplete="off"
input-align="right"
@@ -867,7 +867,7 @@
required
:rules="[{ required: true, message: '宅基地代码不能为空' }]"
/>
<van-field
<!--<van-field
autocomplete="off"
input-align="right"
v-model="form3.nmfwzh"
@@ -875,7 +875,7 @@
label="农民房屋幢号"
placeholder="自动生成"
disabled
/>
/>-->
<van-field
autocomplete="off"
input-align="right"
@@ -1059,6 +1059,18 @@
placeholder="自动生成"
disabled
/>
<van-field
autocomplete="off"
input-align="right"
v-model="nmfwform.nhdm"
name="农户代码"
label="农户代码"
placeholder="选择农户代码"
@click="shownmfwnhdm = true"
readonly
required
:rules="[{ required: true, message: '农户代码不能为空' }]"
/>
<van-field
autocomplete="off"
input-align="right"
@@ -2452,6 +2464,26 @@
@cancel="showhncysjly = false"
/>
</van-popup>
<!--使用权人农民房屋代码列表-->
<van-popup v-model="showsyqrnmfwdm" position="bottom">
<van-picker
show-toolbar
:columns="fwlist"
value-key="nmfwdm"
@confirm="onConfirmsyqrnmfwdm"
@cancel="showsyqrnmfwdm = false"
/>
</van-popup>
<!--农民房屋农户代码列表-->
<van-popup v-model="shownmfwnhdm" position="bottom">
<van-picker
show-toolbar
:columns="syqrnhdmlist"
value-key="hzxm"
@confirm="onConfirmnmfwnhdm"
@cancel="shownmfwnhdm = false"
/>
</van-popup>
</div>
</template>

@@ -2482,6 +2514,8 @@
resultImg: "", // 最终画布生成的base64图片
isCrop: false, // 是否裁剪,在画布设定尺寸基础上裁掉四周空白部分
showdj:false,
shownmfwnhdm:false,
showsyqrnmfwdm:false,
showhncysjly:false,
showhzsjly:false,
showesign:false,
@@ -3016,6 +3050,11 @@
this.form5.zjdxctp = this.form5.zjdxctp.replaceAll(url,"")
this.form5.zjdxctp = this.form5.zjdxctp.replaceAll(url1,"")
},
// 使用权人农民房屋代码弹出框
onConfirmsyqrnmfwdm(value){
this.form1.nmfwdm = value.nmfwdm
this.showsyqrnmfwdm = false
},
// 使用权人农户代码弹出框
onConfirmsyqrnhdmlist(value){
this.form1.nhdm = value.nhdm
@@ -3029,6 +3068,11 @@
})
this.showsyqrnhdmlist = false
},
// 农名房屋农户代码弹出框
onConfirmnmfwnhdm(value){
this.nmfwform.nhdm = value.nhdm
this.shownmfwnhdm = false
},
// 户内成员数据来源弹出框
onConfirmhncysjly(value){
this.form5.sjlyName = value.dictLabel
@@ -3345,6 +3389,49 @@
}
listZjdzd(params).then(response => {
this.form = response.rows[0];
if(this.form.sffz==null||this.form.sffz==""){
this.form.sffz = "Y"
}
if(this.form.yt==null||this.form.yt==""){
this.form.yt = "072"
this.form.ytName="农村宅基地"
}
if(this.form.lyzk==null||this.form.lyzk==""){
this.form.lyzk = "1"
this.form.lyzkName="正常使用"
}
if(this.form.lzyx==null||this.form.lzyx==""){
this.form.lzyx = "0"
}
if(this.form.yctcyx==null||this.form.yctcyx==""){
this.form.yctcyx = "0"
}
if(this.form.bccjl==null||this.form.bccjl==""){
this.form.bccjl = "0"
}
if(this.form.zjdqdfs==null||this.form.zjdqdfs==""){
this.form.zjdqdfs = "01"
}
if(this.form.dj==null||this.form.dj==""){
this.form.dj = "1"
this.form.djName = "一类"
}
if(this.form.qllx==null||this.form.qllx==""){
this.form.qllx = "1"
this.form.qllxName = "集体土地所有权"
}
if(this.form.qlxz==null||this.form.qlxz==""){
this.form.qlxz = "200"
this.form.qlxzName = "集体土地"
}
if(this.form.qlsdfs==null||this.form.qlsdfs==""){
this.form.qlsdfs = "1"
this.form.qlsdfsName = "地上"
}
if(this.form.sjly==null||this.form.sjly==""){
this.form.sjly = "04"
this.form.sjlyName = "农村宅基地使用权确权登记发证"
}
this.fileListzjd = []
if(this.form.zjdxctp!=null&&this.form.zjdxctp!=""&&this.form.zjdxctp.length>0){
let li = this.form.zjdxctp.split(",");
@@ -3401,6 +3488,7 @@
yt:"072",
ytName:"农村宅基地",
lyzk:"1",
lyzkName:"正常使用",
lzyx:'0',
yctcyx:'0',
bccjl:'0',
@@ -3678,6 +3766,32 @@
}
}else{
this.form1 = item
if(this.form1.gj==null||this.form1.gj==""){
this.form1.gj = '1'
}
if(this.form1.hklx==null||this.form1.hklx==""){
this.form1.hklx = '1'
}
if(this.form1.xb==null||this.form1.xb==""){
this.form1.xb = '1'
}
if(this.form1.sfbncjtjjzzcy==null||this.form1.sfbncjtjjzzcy==""){
this.form1.sfbncjtjjzzcy = 'Y'
}
if(this.form1.sfsyqrzjgy==null||this.form1.sfsyqrzjgy==""){
this.form1.sfsyqrzjgy = 'Y'
}
if(this.form1.qlrlx==null||this.form1.qlrlx==""){
this.form1.qlrlx = 'Y'
this.form1.qlrlxName = '个人'
}
if(this.form1.gyfs==null||this.form1.gyfs==""){
this.form1.gyfs = '1'
this.form1.gyfsName = '单独所有'
}
if(this.form1.qlbl==null||this.form1.qlbl==""){
this.form1.qlbl = '1'
}
this.sjlyOptions.map(res => {
if(res.dictValue == this.form1.sjly){
this.form1.sjlyName = res.dictLabel
@@ -3727,6 +3841,53 @@
}
}else{
this.form5 = item
if(this.form5.nhdm==null||this.form5.nhdm==""){
this.form5.nhdm = this.nhform.nhdm
}
if(this.form5.deptId==null||this.form5.deptId==""){
this.form5.deptId = this.nhform.deptId
}
if(this.form5.zjlx==null||this.form5.zjlx==""){
this.form5.zjlx = "01"
this.form5.zjlxName = "身份证"
}
if(this.form5.yhzgx==null||this.form5.yhzgx==""){
this.form5.yhzgx = "14"
this.form5.yhzgxName = "妻"
}
if(this.form5.hyzk==null||this.form5.hyzk==""){
this.form5.hyzk = "02"
}
if(this.form5.hklx==null||this.form5.hklx==""){
this.form5.hklx = "1"
}
if(this.form5.occupation==null||this.form5.occupation==""){
this.form5.occupation = "1"
this.form5.occupationName = "务农"
}
if(this.form5.jzqk==null||this.form5.jzqk==""){
this.form5.jzqk = "3"
this.form5.jzqkName = "常年居住"
}
if(this.form5.sfbjtjjzzcy==null||this.form5.sfbjtjjzzcy==""){
this.form5.sfbjtjjzzcy = "Y"
}
if(this.form5.xb==null||this.form5.xb==""){
this.form5.xb = "0"
}
if(this.form5.sfbccm==null||this.form5.sfbccm==""){
this.form5.sfbccm = "Y"
}
if(this.form5.sfpkh==null||this.form5.sfpkh==""){
this.form5.sfpkh = "N"
}
if(this.form5.sfwbh==null||this.form5.sfwbh==""){
this.form5.sfwbh = "N"
}
if(this.form5.sjly==null||this.form5.sjly==""){
this.form5.sjly = "07"
this.form5.sjlyName = "农村集体产权制度改革"
}
this.jzhcssfyzfOptions.map(res => {
if(res.dictValue == item.jzhcssfyzf){
this.form5.jzhcssfyzfName = res.dictLabel
@@ -3774,9 +3935,9 @@
this.form3={
zjddm:this.item.zjddm,
deptId:this.item.deptId,
zcs:1,
dscs:1,
dxcs:0,
zcs:"1",
dscs:"1",
dxcs:"0",
fwjg:'02',
fwjgName:'钢和钢筋混凝土结构',
sjly:'04',
@@ -3785,6 +3946,23 @@
}
}else{
this.form3 = item
if(this.form3.zcs==null||this.form3.zcs==""){
this.form3.zcs = "1"
}
if(this.form3.dscs==null||this.form3.dscs==""){
this.form3.dscs = "1"
}
if(this.form3.dscs==null||this.form3.dscs==""){
this.form3.dscs = "0"
}
if(this.form3.fwjg==null||this.form3.fwjg==""){
this.form3.fwjg = "02"
this.form3.fwjgName = "钢和钢筋混凝土结构"
}
if(this.form3.sjly==null||this.form3.sjly==""){
this.form3.sjly = "04"
this.form3.sjlyName = "农村宅基地使用权确权登记发证"
}
if(this.form3.sjly!=null){
this.sjlyOptions.map(res => {
if(res.dictValue == this.form3.sjly){
@@ -3803,7 +3981,6 @@
}
this.showzrz = true;
this.active = 3;
console.log(item);
this.mapClickLoading();
}
},
@@ -3814,16 +3991,14 @@
this.showfw = true;
if(item==""){
this.nmfwform={
pzdw : '1',
sfkjgj : 'Y',
zrzh: this.item.zrzh,
deptId : this.item.deptId,
zjddm : this.item.zjddm,
nmfwzh : this.item.nmfwzh,
ch:1,
sjc:1,
myc:1,
sjcs:1,
ch:"1",
sjc:"1",
myc:"1",
sjcs:"1",
hx:'03',
hxName:'三居室',
hxjg:'01',
@@ -3854,6 +4029,96 @@
}
}else{
this.nmfwform = item
if(this.nmfwform.sfkjgj==null||this.nmfwform.sfkjgj==""){
this.nmfwform.sfkjgj = "N"
}
if(this.nmfwform.qsly==null||this.nmfwform.qsly==""){
this.nmfwform.qsly = "01"
this.nmfwform.qslyName = "申请"
}
if(this.nmfwform.yctcyx==null||this.nmfwform.yctcyx==""){
this.nmfwform.yctcyx = "0"
}
if(this.nmfwform.lzyx==null||this.nmfwform.lzyx==""){
this.nmfwform.lzyx = "0"
}
if(this.nmfwform.lyzk==null||this.nmfwform.lyzk==""){
this.nmfwform.lyzk = "1"
this.nmfwform.lyzkName = "正常使用"
}
if(this.nmfwform.fwlx==null||this.nmfwform.fwlx==""){
this.nmfwform.fwlx = "01"
this.nmfwform.fwlxName = "住宅"
}
if(this.nmfwform.sjly==null||this.nmfwform.sjly==""){
this.nmfwform.sjly = "04"
this.nmfwform.sjlyName = "农村宅基地使用权确权登记发证"
}
if(this.nmfwform.isMortgage==null||this.nmfwform.isMortgage==""){
this.nmfwform.isMortgage = "Y"
}
if(this.nmfwform.fwzt==null||this.nmfwform.fwzt==""){
this.nmfwform.fwzt = "01"
this.nmfwform.fwztName = "正常"
}
if(this.nmfwform.pzdw==null||this.nmfwform.pzdw==""){
this.nmfwform.pzdw = "1"
}
if(this.nmfwform.sfkjgj==null||this.nmfwform.sfkjgj==""){
this.nmfwform.sfkjgj = "N"
}
if(this.nmfwform.zrzh==null||this.nmfwform.zrzh==""){
this.nmfwform.zrzh = this.item.zrzh
}
if(this.nmfwform.deptId==null||this.nmfwform.deptId==""){
this.nmfwform.deptId = this.item.deptId
}
if(this.nmfwform.zjddm==null||this.nmfwform.zjddm==""){
this.nmfwform.zjddm = this.item.zjddm
}
if(this.nmfwform.nmfwzh==null||this.nmfwform.nmfwzh==""){
this.nmfwform.nmfwzh = this.item.nmfwzh
}
if(this.nmfwform.ch==null||this.nmfwform.ch==""){
this.nmfwform.ch = "1"
}
if(this.nmfwform.sjc==null||this.nmfwform.sjc==""){
this.nmfwform.sjc = "1"
}
if(this.nmfwform.myc==null||this.nmfwform.myc==""){
this.nmfwform.myc = "1"
}
if(this.nmfwform.sjcs==null||this.nmfwform.sjcs==""){
this.nmfwform.sjcs = "1"
}
if(this.nmfwform.hx==null||this.nmfwform.hx==""){
this.nmfwform.hx = "03"
this.nmfwform.hxName = "三居室"
}
if(this.nmfwform.hxjg==null||this.nmfwform.hxjg==""){
this.nmfwform.hxjg = "01"
this.nmfwform.hxjgName = "平层"
}
if(this.nmfwform.fwjg==null||this.nmfwform.fwjg==""){
this.nmfwform.fwjg = "02"
this.nmfwform.fwjgName = "钢和钢筋混凝土结构"
}
if(this.nmfwform.fwyt==null||this.nmfwform.fwyt==""){
this.nmfwform.fwyt = "10"
this.nmfwform.fwytName = "住宅"
}
if(this.nmfwform.sfjf==null||this.nmfwform.sfjf==""){
this.nmfwform.sfjf = "N"
}
if(this.nmfwform.sfcf==null||this.nmfwform.sfcf==""){
this.nmfwform.sfcf = "N"
}
if(this.nmfwform.sffz==null||this.nmfwform.sffz==""){
this.nmfwform.sffz = "Y"
}
if(this.nmfwform.isCommon==null||this.nmfwform.isCommon==""){
this.nmfwform.isCommon = "N"
}
this.sjlyOptions.map(res => {
if(res.dictValue == item.sjly){
this.nmfwform.sjlyName = res.dictLabel
@@ -3963,6 +4228,45 @@
}
}else{
this.form4=item
if(this.form4.fssslx==null||this.form4.fssslx==""){
this.form4.fssslx = "11"
this.form4.fssslxName = "畜厩"
}
if(this.form4.qsly==null||this.form4.qsly==""){
this.form4.qsly = "99"
this.form4.qslyName = "其他"
}
if(this.form4.fwzt==null||this.form4.fwzt==""){
this.form4.fwzt = "01"
this.form4.fwztName = "正常"
}
if(this.form4.sfsp==null||this.form4.sfsp==""){
this.form4.sfsp = "N"
}
if(this.form4.sffz==null||this.form4.sffz==""){
this.form4.sffz = "N"
}
if(this.form4.jglx==null||this.form4.jglx==""){
this.form4.jglx = "2"
this.form4.jglxName = "砖混"
}
if(this.form4.sfzzsy==null||this.form4.sfzzsy==""){
this.form4.sfzzsy = "Y"
}
if(this.form4.jzwqk==null||this.form4.jzwqk==""){
this.form4.jzwqk = "01"
this.form4.jzwqkName = "正常"
}
if(this.form4.tdzk==null||this.form4.tdzk==""){
this.form4.tdzk = "3"
this.form4.tdzkName = "其他"
}
if(this.form4.sfsgcf==null||this.form4.sfsgcf==""){
this.form4.sfsgcf = "N"
}
if(this.form4.theGeom==null||this.form4.theGeom==""){
this.form4.theGeom = this.form4.theGeom
}
this.fssslxOptions.map(res => {
if(res.dictValue == item.fssslx){
this.form4.fssslxName = res.dictLabel


+ 362
- 107
src/views/homesteadSurvey/list.vue Voir le fichier

@@ -284,8 +284,8 @@
<van-field name="radio" label="是否成立农村集体经济组织" required input-align="right" autocomplete="off">
<template #input>
<van-radio-group v-model="qlrform.sfclncjtjjzz" direction="horizontal">
<van-radio name="1">是</van-radio>
<van-radio name="2">否 </van-radio>
<van-radio name="Y">是</van-radio>
<van-radio name="N">否 </van-radio>
</van-radio-group>
</template>
</van-field>
@@ -433,6 +433,7 @@
</van-search>-->
<div id="mapWrapAll" style="width: 100%;height: 80vh"></div>
<div id="info" style="display: none"></div>
<div id="deleteHistory" style="display: none"></div>
<van-overlay :show="showSearch" @click="closeSearchBox" />
<!--搜索栏目-->
<div class="searchBar_wrap" :style="{bottom : bottomHeight}">
@@ -448,7 +449,8 @@
<div class="searchBox" style="display: none;">
<van-cell center v-for="(item,index) in mapDataAll">
<template #title>
<p><van-icon name="manager" /><span>{{item.syqr}}</span><span style="background: rgba(122, 201, 67, 0.4);color:#7ac943">{{item.houseDataConfirmStatus}}</span></p>
<p><van-icon name="manager" /><span>{{item.syqr}}</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>
</template>
<template #default>
<p style="border: 1px solid #7ac943;color:#7ac943;" @click="zjdSs(item)">查看详情</p>
@@ -498,7 +500,7 @@
</div>

<div style="padding: 10px 15px;">
<van-checkbox name="all" shape="square" v-model="checkAllFlag" @click="checkAllArray">全选</van-checkbox>
<van-checkbox name="all" shape="square" id="checkAll" v-model="checkAllFlag" @click="checkAllArray">全选</van-checkbox>
<div style="height: 15px;"></div>
<van-checkbox-group v-model="checked" @change="handleChecked" ref="checkboxGroup">
<van-checkbox name="fsssSx" shape="square" style="margin-bottom: 5px;" id="fsssSx">
@@ -555,9 +557,8 @@
v-model="nhform.nhdm"
name="农户代码"
label="农户代码"
placeholder="农户代码"
required
:rules="[{ required: true, message: '农户代码不能为空' }]"
placeholder="自动生成"
disabled
/>
<van-field
autocomplete="off"
@@ -1116,7 +1117,7 @@
<h1 style="font-size: 0.35rem;font-weight: 400;border-bottom: 1px solid #ccc; line-height: 0.8rem;"><i style="display: inline-block;width: 1%;height: 0.4rem;background: #7ac943;vertical-align: middle;margin-right: 1%;"></i>是否完成绘制</h1>

<div style="text-align: center;margin-top: 30PX">
<p style="font-size: 0.3rem;display: inline-block;background: #ccc;padding: 15PX 10%;border-radius: 30PX;color: #FFF;margin-right: 10%;" @click="showhzht = false,deleteHistory" >否</p>
<p style="font-size: 0.3rem;display: inline-block;background: #ccc;padding: 15PX 10%;border-radius: 30PX;color: #FFF;margin-right: 10%;" @click="deleteHistory">否</p>
<p style="font-size: 0.3rem;display: inline-block;background: #7ac943;padding: 15PX 10%;border-radius: 30PX;color: #FFF;" @click="showhzlx = true,showhzht = false">是</p>
</div>
</div>
@@ -1284,7 +1285,7 @@
selectionIconShow: false,
//搜索栏目-操作栏显隐
searchBarOperVisbile: false,
mapDataAll: "",
mapDataAll: [],
showSearch:false,
bottomHeight:'0px',
//搜索---end
@@ -1302,9 +1303,8 @@
dataForm: {
imageUrl: []
},
dataList: [["fsssSx"],["zjdSx"],["zrzSx"]],
//地图使用 --end
checkBoxAll:[]
dataList: [["fsssSx"],["zjdSx"],["zrzSx"]], //地图使用 --end
checkBoxAll:[],
};
},
mounted(){
@@ -1601,36 +1601,22 @@
);
}else{
this.nhform.deptId = this.item.deptId
let params = {
deptId:this.item.deptId,
nhdm:this.nhform.nhdm
}
listNh(params).then(res => {
if(res.total>0){
addNh(this.nhform).then(
response => {
this.totalR+=1
this.totalH+=1
let _this =this
this.$toast({
icon: 'error', // 找到自己需要的图标
message: '保存失败,系统中已存在此农户代码!',
duration:"1000"
})
}else{
addNh(this.nhform).then(
response => {
this.totalR+=1
this.totalH+=1
let _this =this
this.$toast({
icon: 'success', // 找到自己需要的图标
message: '保存成功',
duration:"1000",
onClose:function(){
_this.shownh = false
_this.getNh()
}
})
icon: 'success', // 找到自己需要的图标
message: '保存成功',
duration:"1000",
onClose:function(){
_this.shownh = false
_this.getNh()
}
);
})
}
})
);
}
},
// 所有权人保存
@@ -1665,17 +1651,34 @@
let params = {
"deptId" : this.item.deptId
}
this.qlrform={
this.qlrform ={
"deptId":this.item.deptId,
"suyqxz":'40',
"suyqxzName":'集体土地所有权',
"dbrzjlx":'01',
"dbrzjlxName":'身份证',
"sfclncjtjjzz":'农村宅基地使用权确权登记发证',
"sfclncjtjjzz":'Y',
"sjly":'04',
"sjlyName":"农村宅基地使用权确权登记发证"
}
listSuyqr(params).then((response) => {
if(response.rows.length>0){
this.qlrform = response.rows[0]
if(this.qlrform.suyqxz==null||this.qlrform.suyqxz==""){
this.qlrform.suyqxz = "40"
this.qlrform.suyqxzName = "集体土地所有权"
}
if(this.qlrform.dbrzjlx==null||this.qlrform.dbrzjlx==""){
this.qlrform.dbrzjlx = "01"
this.qlrform.dbrzjlxName = "身份证"
}
if(this.qlrform.sfclncjtjjzz==null||this.qlrform.sfclncjtjjzz==""){
this.qlrform.sfclncjtjjzz = "Y"
}
if(this.qlrform.sjly==null||this.qlrform.sjly==""){
this.qlrform.sjly = "04"
this.qlrform.sjlyName = "农村宅基地使用权确权登记发证"
}
this.zjlxOptions.map(res => {
if(res.dictValue == this.qlrform.dbrzjlx){
this.qlrform.dbrzjlxName = res.dictLabel
@@ -1782,6 +1785,53 @@
}else{
let _this = this
this.form5 = item
if(this.form5.nhdm==null||this.form5.nhdm==""){
this.form5.nhdm = this.nhform.nhdm
}
if(this.form5.deptId==null||this.form5.deptId==""){
this.form5.deptId = this.nhform.deptId
}
if(this.form5.zjlx==null||this.form5.zjlx==""){
this.form5.zjlx = "01"
this.form5.zjlxName = "身份证"
}
if(this.form5.yhzgx==null||this.form5.yhzgx==""){
this.form5.yhzgx = "14"
this.form5.yhzgxName = "妻"
}
if(this.form5.hyzk==null||this.form5.hyzk==""){
this.form5.hyzk = "02"
}
if(this.form5.hklx==null||this.form5.hklx==""){
this.form5.hklx = "1"
}
if(this.form5.occupation==null||this.form5.occupation==""){
this.form5.occupation = "1"
this.form5.occupationName = "务农"
}
if(this.form5.jzqk==null||this.form5.jzqk==""){
this.form5.jzqk = "3"
this.form5.jzqkName = "常年居住"
}
if(this.form5.sfbjtjjzzcy==null||this.form5.sfbjtjjzzcy==""){
this.form5.sfbjtjjzzcy = "Y"
}
if(this.form5.xb==null||this.form5.xb==""){
this.form5.xb = "0"
}
if(this.form5.sfbccm==null||this.form5.sfbccm==""){
this.form5.sfbccm = "Y"
}
if(this.form5.sfpkh==null||this.form5.sfpkh==""){
this.form5.sfpkh = "N"
}
if(this.form5.sfwbh==null||this.form5.sfwbh==""){
this.form5.sfwbh = "N"
}
if(this.form5.sjly==null||this.form5.sjly==""){
this.form5.sjly = "07"
this.form5.sjlyName = "农村集体产权制度改革"
}
this.jzhcssfyzfOptions.map(res => {
if(res.dictValue == item.jzhcssfyzf){
this.form5.jzhcssfyzfName = res.dictLabel
@@ -2016,6 +2066,8 @@
//加载地图编辑
var that = this;
var map;
//点击事件添加样式
var hc_land_on;
// document.getElementById("mapAll").innerHTML = '';
var hc_land;
var projection = new ol.proj.Projection({
@@ -2055,7 +2107,9 @@
zoom: 10,
minZoom: 5, //地图缩小限制
maxZoom: 18.3, //地图放大限制
pinchRotate: false, //禁止地图旋转
}),
interactions: ol.interaction.defaults({
pinchRotate: false // 移动端禁止地图旋转
}),
});

@@ -2531,9 +2585,9 @@
Zb =[115.452752, 31.789033];
}
//获取坐标点LocationManager
geoGps().then(response => {
});
// geoGps().then(response => {
//
// });
//矢量标注样式设置函数,设置image为图标ol.style.Icon
function createLabelStyle() {
return new ol.style.Style({
@@ -2654,7 +2708,8 @@
//删除之前绘制图层
$("#deleteHistory").on("click", function () {
console.log("否进入");
map.removeInteraction(draw_map);
map.removeLayer(drawing);
that.showhzht = false;
});
//开始绘制图层- -----end

@@ -2673,7 +2728,7 @@
$("#query").on("click", function () {
//数据库查询数据------------------------------------------------------start
var val = that.seachText;
that.mapDataAll ="";
that.mapDataAll =[];
if (val == "") {
that.$toast('请填写查询条件再查询');
} else {
@@ -2690,22 +2745,23 @@
"syqr" : val,
"pageSize":20,
}
console.log(params);
listZjdzd(params).then((response) => {
if(response.rows.length>=0){
that.mapDataAll = response.rows;
console.log(that.mapDataAll);
for(var hg=0; hg < that.mapDataAll.length ; hg++){
console.log(that.mapDataAll[hg].houseDataConfirmStatus)
for(var hg=0; hg < that.mapDataAll.length; hg++){
var mapNum = that.mapDataAll[hg].houseDataConfirmStatus;
if(mapNum == "UNCONFIRMED"){
that.mapDataAll[hg].houseDataConfirmStatus = "未核查";
that.mapDataAll[hg].paceType = "未核查";
} else if (mapNum == "CONFIRMED"){
that.mapDataAll[hg].houseDataConfirmStatus = "已核查";
that.mapDataAll[hg].paceType = "已核查";
}else{
that.mapDataAll[hg].houseDataConfirmStatus = "";
}
that.mapDataAll[hg].typeTc="宅基地";
if (that.mapDataAll[hg] !=null && that.mapDataAll[hg].theGeom != null && that.mapDataAll[hg].theGeom != "") {
that.mapDataAll[hg].createBy = 'mapTheGeomZjdId';
//that.mapDataAll[hg].createBy = 'mapTheGeomZjdId';
var hc_land = new ol.layer.Vector({
title: "add Layer",
source: new ol.source.Vector({
@@ -2731,7 +2787,27 @@
duration: 1000, // 缩放持续时间,默认不需要设置
});
}
console.log(that.mapDataAll[hg].zjddm);
// listFsss(paramsZrz).then((response) => {
// console.log(response);
// that.mapDataAll.push(response.rows);
// });
}
// var mapZrzFor = that.mapDataAll[0].length+1;
// console.log(mapZrzFor);
// for(var mapFor=0;mapZrzFor>mapFor;mapFor++){
// //查询自然幢
// let paramsZrz = {
// "deptId" : that.$cookies.get("item").deptId,
// "zjddm" : that.mapDataAll[0][mapFor].zjddm,
// "pageSize":20,
// }
// listZrz(paramsZrz).then((response) => {
// console.log(response);
// that.mapDataAll[0].
// that.mapDataAll[0].push(response.rows);
// });
// }
setTimeout(function () {
that.showSearch = true ;
$('.searchBox').css('display','block')
@@ -3008,30 +3084,38 @@
//按照查询 定位地图-----------------end

//筛选附属设施-----------------------------------start
// $("#fsssSx").click(function () {
// console.log(that.checked);
// // if(!event.target.checked){
// // map.addLayer(fsssTc);
// // }else {
// // map.removeLayer(fsssTc);
// // }
// });
// $("#zrzSx").click(function () {
// console.log(that.checked);
// // if(!event.target.checked){
// // map.addLayer(zrzTc);
// // }else {
// // map.removeLayer(zrzTc);
// // }
// });
// $("#zjdSx").click(function () {
// console.log(that.checked);
// // if(!event.target.checked){
// // map.addLayer(zjdTc);
// // }else {
// // map.removeLayer(zjdTc);
// // }
// });
$("#fsssSx").click(function () {
if(!that.fsssSx){
map.addLayer(fsssTc);
}else {
map.removeLayer(fsssTc);
}
});
$("#zrzSx").click(function () {
if(!that.zrzSx){
map.addLayer(zrzTc);
}else {
map.removeLayer(zrzTc);
}
});
$("#zjdSx").click(function () {
if(!that.zjdSx){
map.addLayer(zjdTc);
}else {
map.removeLayer(zjdTc);
}
});
$("#checkAll").click(function () {
if(!that.fsssSx && !that.zjdSx && !that.zrzSx){
map.addLayer(zjdTc);
map.addLayer(zrzTc);
map.addLayer(fsssTc);
}else {
map.removeLayer(zrzTc);
map.removeLayer(zjdTc);
map.removeLayer(fsssTc);
}
});
//筛选附属设施-----------------------------------end
// //获取类型开始 侧面-----------------------------------------------------------------start
//样式加载定义
@@ -3074,7 +3158,8 @@
//text: "标注点", //文本内容
fill: new ol.style.Fill({
//文本填充样式(即文字颜色)
color: "#FF6666",
color: "#FFFFFF",
width: 10,
}),
overflow: false //超出面的部分不显示
}),
@@ -3485,13 +3570,18 @@
that.mapZjdData ="";
that.mapZrzData ="";
that.mapFsssData ="";
that.mapZjdTeAll.active ="1";
//that.mapZjdTeAll.active ="1";
that.mapZjdTeAll.mapZjdAData ={};
that.mapZjdTeAll.mapZrzAData ={};
that.mapZjdTeAll.mapFsssAData ={};
that.mapZjdDataTure ="";
setTimeout(() => {
if ($("#info .featureInfo .featureInfo").text() == "t_house_survey_zjdzd") {

// that.mapZjdDataTure ="";
// that.mapZjdTeAll.mapZrzAData ={};
// that.mapZjdTeAll.mapFsssAData ={};
map.removeLayer(hc_land_on);
that.mapHasDateStatus = 2;
let obj = {};
let trs = $("#info .featureInfo").find("tr:eq(1)");
@@ -3638,13 +3728,45 @@
// }
// }
// });
getZjdzd(669).then((response) => {
console.log(obj.id);
getZjdzd(obj.id).then((response) => {
console.log(response);
that.mapZjdData = response.data;
that.mapZjdData.active = 1;
that.mapZjdTeAll.mapZjdAData =that.mapZjdData;
that.mapZjdDataTure = 1;
that.zjdHcDy = obj.zjddm;
var styleZjd = new ol.style.Style({
stroke: new ol.style.Stroke({
//边界样式
color: "#CCFF66",
width: 6,
}),
});
hc_land_on = 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.mapZjdData.theGeom + ", \"properties\":" + JSON.stringify(that.mapZjdData) + "}"),
}),
style: styleZjd
});
map.addLayer(hc_land_on);
var maxXMap = hc_land_on.values_.source.featuresRtree_.rbush_.data.maxX;
var maxYMap = hc_land_on.values_.source.featuresRtree_.rbush_.data.maxY;
var minXMap = hc_land_on.values_.source.featuresRtree_.rbush_.data.minX;
var minYMap = hc_land_on.values_.source.featuresRtree_.rbush_.data.minY;
//定位查询位置
var center = ol.extent.getCenter([maxXMap, maxYMap, minXMap, minYMap]); //获取边界区域的中心位置
map.getView().animate({
// 只设置需要的属性即可
center: center, // 中心点
zoom: 17.8, // 缩放级别
rotation: undefined, // 缩放完成view视图旋转弧度
duration: 1000, // 缩放持续时间,默认不需要设置
});
});
//let cloneObj = JSON.parse(JSON.stringify(obj));
if(obj.zdmj != ""){
@@ -3654,6 +3776,9 @@
}
//that.mapZjdData = cloneObj;
} else if($("#info .featureInfo .featureInfo").text() == "t_house_survey_zrz"){
//that.mapZjdTeAll.mapZjdAData ={};
that.mapZjdTeAll.mapFsssAData ={};
map.removeLayer(hc_land_on);
let obj = {};
that.mapHasDateStatus = 1;
let trs = $("#info .featureInfo").find("tr:eq(1)");
@@ -3661,7 +3786,7 @@
let zrzIdNum = zrzXq.replace("t_house_survey_zrz.", "");
obj.id = zrzIdNum; // 主键id
obj.deptName = trs.find("td").eq(3).text();//行政区划名称
obj.zjddm = trs.find("td").eq(5).text();//宅基地代码
obj.zjddm = trs.find("td").eq(4).text();//宅基地代码
// obj.nmfwzh = trs.find("td").eq(6).text();//农民房屋幢号
// obj.zrzh = trs.find("td").eq(7).text();//自然幢号
// obj.jgrq = trs.find("td").eq(8).text();//竣工日期
@@ -3704,15 +3829,55 @@
// });
//let cloneObj = JSON.parse(JSON.stringify(obj));
//that.mapZrzData = cloneObj;
getZjdzd(669).then((response) => {
that.mapZjdAData = response.data;
that.mapZjdAData.active = 1;
that.mapZjdTeAll.mapZjdAData = that.mapZjdAData;
getZrz(8).then((response) => {
let params = {
"deptId" : that.$cookies.get("item").deptId,
"zjddm" : obj.zjddm,
}
console.log(obj.zjddm);
console.log(params);
listZjdzd(params).then((response) => {
console.log(response);
that.mapZjdData = response.rows[0];
//that.mapZjdAData.active = 1;
that.mapZjdTeAll.mapZjdAData = that.mapZjdData;
console.log(that.mapZjdData);
getZrz(obj.id).then((response) => {
console.log(response);
that.mapZrzData = response.data;
that.mapZrzData.active = 3;
that.mapZjdTeAll.mapZrzAData =that.mapZrzData;
that.zjdHcDy = obj.zjddm;
var styleZjd = new ol.style.Style({
stroke: new ol.style.Stroke({
//边界样式
color: "#CCFF66",
width: 6,
}),
});
hc_land_on = 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.mapZrzData.theGeom + ", \"properties\":" + JSON.stringify(that.mapZrzData) + "}"),
}),
style: styleZjd
});
map.addLayer(hc_land_on);
var maxXMap = hc_land_on.values_.source.featuresRtree_.rbush_.data.maxX;
var maxYMap = hc_land_on.values_.source.featuresRtree_.rbush_.data.maxY;
var minXMap = hc_land_on.values_.source.featuresRtree_.rbush_.data.minX;
var minYMap = hc_land_on.values_.source.featuresRtree_.rbush_.data.minY;
//定位查询位置
var center = ol.extent.getCenter([maxXMap, maxYMap, minXMap, minYMap]); //获取边界区域的中心位置
map.getView().animate({
// 只设置需要的属性即可
center: center, // 中心点
zoom: 17.8, // 缩放级别
rotation: undefined, // 缩放完成view视图旋转弧度
duration: 1000, // 缩放持续时间,默认不需要设置
});
});
});
if(obj.scjzmj != ""){
@@ -3721,6 +3886,9 @@
that.textMjAllNum = "1";
}
} else if($("#info .featureInfo .featureInfo").text() == "t_house_survey_fsss"){
that.mapZjdTeAll.mapZrzAData ={};
//that.mapZjdTeAll.mapZjdAData ={};
map.removeLayer(hc_land_on);
let obj = {};
that.mapHasDateStatus = 0;
let trs = $("#info .featureInfo").find("tr:eq(1)");
@@ -3728,7 +3896,7 @@
let fsssIdNum = fsssXq.replace("t_house_survey_fsss.", "");
obj.id = fsssIdNum; // 主键id
obj.deptName = trs.find("td").eq(4).text();//行政区划名称
obj.zjddm = trs.find("td").eq(2).text();//宅基地代码
obj.zjddm = trs.find("td").eq(1).text();//宅基地代码
// obj.houseDataConfirmStatus = trs.find("td").eq(6).text(); //状态
// obj.fssslx = trs.find("td").eq(7).text(); //附属设施类型
obj.jzmj = trs.find("td").eq(8).text(); //建筑面积
@@ -3865,15 +4033,51 @@
// });
//let cloneObj = JSON.parse(JSON.stringify(obj));
//that.mapFsssData = cloneObj;
getZjdzd(669).then((response) => {
that.mapZjdData = response.data;
let params = {
"deptId" : that.$cookies.get("item").deptId,
"zjddm" : obj.zjddm,
"pageSize":20,
}
listZjdzd(params).then((response) => {
that.mapZjdData = response.rows[0];
that.mapZjdData.active = 1;
that.mapZjdTeAll.mapZjdAData = that.mapZjdData;
getfsss(12).then((response) => {
that.mapfsssData.active = 4;
getfsss(obj.id).then((response) => {
//that.mapfsssData.active = 4;
that.mapfsssData = response.data;
that.mapZjdTeAll.mapFsssAData = that.mapfsssData;
that.zjdHcDy = obj.zjddm;
var styleZjd = new ol.style.Style({
stroke: new ol.style.Stroke({
//边界样式
color: "#CCFF66",
width: 6,
}),
});
hc_land_on = 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.mapfsssData.theGeom + ", \"properties\":" + JSON.stringify(that.mapfsssData) + "}"),
}),
style: styleZjd
});
map.addLayer(hc_land_on);
var maxXMap = hc_land_on.values_.source.featuresRtree_.rbush_.data.maxX;
var maxYMap = hc_land_on.values_.source.featuresRtree_.rbush_.data.maxY;
var minXMap = hc_land_on.values_.source.featuresRtree_.rbush_.data.minX;
var minYMap = hc_land_on.values_.source.featuresRtree_.rbush_.data.minY;
//定位查询位置
var center = ol.extent.getCenter([maxXMap, maxYMap, minXMap, minYMap]); //获取边界区域的中心位置
map.getView().animate({
// 只设置需要的属性即可
center: center, // 中心点
zoom: 17.8, // 缩放级别
rotation: undefined, // 缩放完成view视图旋转弧度
duration: 1000, // 缩放持续时间,默认不需要设置
});
});
});
if(obj.jzmj != ""){
@@ -4320,6 +4524,8 @@
//宅基地点击地图核查
zjdHc(){
console.log(this.zjdHcDy);
console.log(this.mapZjdDataTure);
console.log(this.mapZjdData);
if(this.zjdHcDy != "" && this.zjdHcDy != "undefined"){
if(this.mapZjdData !=undefined && this.mapZjdData !="" && this.mapZjdDataTure !=""){
this.mapZjdTeAll.active =1;
@@ -4327,19 +4533,27 @@
this.$router.push({path:'/homesteadSurvey/add'});
}
if(this.mapZrzData !=undefined && this.mapZrzData !=""){
this.mapZjdTeAll.active =3;
this.$cookies.set("search",this.mapZjdTeAll);
this.$router.push({path:'/homesteadSurvey/add'});
if(this.mapZjdTeAll.mapZjdAData !=""){
this.mapZjdTeAll.active =3;
this.$cookies.set("search",this.mapZjdTeAll);
this.$router.push({path:'/homesteadSurvey/add'});
} else {
this.$toast("必须有宅基地数据才能进入自然幢核查");
}
}
if(this.mapFsssData !=undefined && this.mapFsssData !=""){
this.mapZjdTeAll.active =4;
this.$cookies.set("search",this.mapZjdTeAll);
this.$router.push({path:'/homesteadSurvey/add'});
if(this.mapZjdTeAll.mapZjdAData !="") {
this.mapZjdTeAll.active = 4;
this.$cookies.set("search", this.mapZjdTeAll);
this.$router.push({path: '/homesteadSurvey/add'});
} else {
this.$toast("必须有宅基地数据才能进入附属设施核查");
}
}
} else {
this.$dialog.alert({
title: '宅基地核查',
message: "请从地图选择图并点击核查",
message: "请从地图选择图并点击核查",
theme: 'round-button',
}).then(() => {
// on close
@@ -4353,13 +4567,43 @@
this.mapZjdTeAll.mapZrzAData ={};
this.mapZjdTeAll.mapFsssAData ={};
//this.mapZjdTeAll.active =1;
if(item.typeTc =="宅基地"){
getZjdzd(item.id).then((response) => {
this.mapZjdData = response.data;
this.mapZjdData.active = 1;
console.log(this.mapZjdData);
this.mapZjdTeAll.active = 1;
this.mapZjdTeAll.mapZjdAData = this.mapZjdData;
this.$cookies.set("search",this.mapZjdTeAll);
setTimeout(() => {
this.$router.push({path:'/homesteadSurvey/add'});
}, 500);
});
}else if(item.typeTc =="自然幢"){
//let =
getZjdzd(item.id).then((response) => {
this.mapZrzData = response.data;
console.log(this.mapZrzData);
this.mapZjdTeAll.active = 3;
this.mapZjdTeAll.mapZrzAData = this.mapZrzData;
this.$cookies.set("search",this.mapZjdTeAll);
setTimeout(() => {
this.$router.push({path:'/homesteadSurvey/add'});
}, 500);
});
}else if(item.typeTc =="附属设施"){
getfsss(item.id).then((response) => {
this.mapFsssData = response.data;
console.log(this.mapZjdData);
this.mapZjdTeAll.active = 4;
this.mapZjdTeAll.mapFsssAData = this.mapFsssData;
this.$cookies.set("search",this.mapZjdTeAll);
setTimeout(() => {
this.$router.push({path:'/homesteadSurvey/add'});
}, 500);
});
}else{
this.$toast("无数据请检查后进入核查页面");
}
},
//地图查询
toggleSearch() {
@@ -4395,6 +4639,7 @@
},
//单选
handleChecked(value) {
console.log(value);
// this.checkAllFlag = this.CheckedAllArr.length == this.dataList.length;
if (value.length<3){
this.checkAllFlag = false;
@@ -4420,9 +4665,6 @@
)
$('.searchBar_wrap').css({'animation':'test2 0.5s ease-in-out 0s 1 alternate forwards','-webkit-animation':'test2 0.5s ease-in-out 0s 1 alternate forwards'});
},
deleteHistory(){
console.log("进入aa");
},
zjdTz(){
console.log(this.htZjdZrzFsss);
this.mapZjdTeAll.active =1;
@@ -4433,18 +4675,31 @@
console.log(this.mapZjdTeAll);
},
zrzTz(){
this.mapZjdTeAll.active =3;
this.mapZjdTeAll.mapZrzAData.theGeom =JSON.stringify(this.htZjdZrzFsss);
this.mapZjdTeAll.mapZrzAData.deptId = this.$cookies.get("item").deptId;
this.$cookies.set("search",this.mapZjdTeAll);
this.$router.push({path:'/homesteadSurvey/add'});
if(this.mapZjdTeAll.mapZjdAData !=undefined && this.mapZjdTeAll.mapZjdAData !="" && this.mapZjdDataTure !=""){
this.mapZjdTeAll.active =3;
this.mapZjdTeAll.mapZrzAData.theGeom =JSON.stringify(this.htZjdZrzFsss);
this.mapZjdTeAll.mapZrzAData.deptId = this.$cookies.get("item").deptId;
this.$cookies.set("search",this.mapZjdTeAll);
this.$router.push({path:'/homesteadSurvey/add'});
}else {
this.$toast("请先在地图上选择宅基地后,再选择自然幢按钮");
}
},
fsssTz(){
if(this.mapZjdTeAll.mapZjdAData !=undefined && this.mapZjdTeAll.mapZjdAData !="" && this.mapZjdDataTure !=""){
this.mapZjdTeAll.active =4;
this.mapZjdTeAll.mapFsssAData.theGeom =JSON.stringify(this.htZjdZrzFsss);
this.mapZjdTeAll.mapFsssAData.deptId = this.$cookies.get("item").deptId;
this.$cookies.set("search",this.mapZjdTeAll);
this.$router.push({path:'/homesteadSurvey/add'});
}else {
this.$toast("请先在地图上选择宅基地后,再选择附属设施按钮");
}
},
//绘图重置清除之前图层
deleteHistory(){
console.log("进入重置");
$("#deleteHistory").trigger("click");
}

},


+ 3
- 3
src/views/homesteadSurvey/settle.vue Voir le fichier

@@ -13,18 +13,18 @@
</template>
</van-nav-bar>
</div>
<van-cell title="个人信息" is-link style="border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px;background:#fff;padding:20px;">
<!-- <van-cell title="个人信息" is-link style="border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px;background:#fff;padding:20px;">
<template #icon>
<van-icon :name="require('../../assets/images/housesteadSurvey/little1.png')" size="18" color="#fff" style="margin:10px;"/>
</template>

</van-cell>
</van-cell>-->
<van-cell title="修改密码" @click="showPassword=true" style="border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px;background:#fff;padding:20px;">
<template #icon>
<van-icon :name="require('../../assets/images/housesteadSurvey/little2.png')" size="18" color="#fff" style="margin:10px;"/>
</template>
</van-cell>
<van-cell title="切换账号" is-link to="/homesteadLogin" style="border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px;background:#fff;padding:20px;">
<van-cell title="退出软件" is-link to="/homesteadLogin" style="border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px;background:#fff;padding:20px;">
<template #icon>
<van-icon :name="require('../../assets/images/housesteadSurvey/little2.png')" size="18" color="#fff" style="margin:10px;"/>
</template>


Chargement…
Annuler
Enregistrer