@@ -68,9 +68,9 @@ export function delTask(id) { | |||||
}) | }) | ||||
} | } | ||||
// 查询附件上传配置列表 | // 查询附件上传配置列表 | ||||
export function listAttachmentConfig(query) { | |||||
export function sysConfig(query) { | |||||
return request({ | return request({ | ||||
url: '/system/attachmentConfig/list', | |||||
url: '/system/config/list', | |||||
method: 'get', | method: 'get', | ||||
params: query | params: query | ||||
}) | }) | ||||
@@ -3,7 +3,7 @@ import request from '@/utils/request' | |||||
// 查询数据调查-宅基地宗地列表 | // 查询数据调查-宅基地宗地列表 | ||||
export function listZjdzd(query) { | export function listZjdzd(query) { | ||||
return request({ | return request({ | ||||
url: '/houseSurvey/zjdzd/list', | |||||
url: '/houseSurvey/zjdzd/searchList', | |||||
method: 'get', | method: 'get', | ||||
params: query | params: query | ||||
}) | }) | ||||
@@ -110,6 +110,7 @@ export default { | |||||
}); | }); | ||||
//图层查询定位开始 ---------start | //图层查询定位开始 ---------start | ||||
if(this.message.substring(0,1) =="{"){ | if(this.message.substring(0,1) =="{"){ | ||||
//that.newHt ="1"; | |||||
// var theGeomMap =this.message.replace("Point", "MultiPolygon"); | // var theGeomMap =this.message.replace("Point", "MultiPolygon"); | ||||
// var pointLeft = theGeomMap.replace("[", "[[[["); | // var pointLeft = theGeomMap.replace("[", "[[[["); | ||||
// var pointRight = pointLeft.replace("]", "]]]]"); | // var pointRight = pointLeft.replace("]", "]]]]"); | ||||
@@ -151,11 +152,11 @@ export default { | |||||
// map.getView().fit([maxXMap, maxYMap, minXMap, minYMap]); | // map.getView().fit([maxXMap, maxYMap, minXMap, minYMap]); | ||||
// map.getView().setResolution(resolution); | // map.getView().setResolution(resolution); | ||||
} else if(this.message.substring(0,1) =="["){ | } else if(this.message.substring(0,1) =="["){ | ||||
//that.newHt ="1"; | |||||
var zbNew = JSON.stringify({"type": "MultiPolygon", "coordinates": [this.message.replaceAll("\"","")]}); | var zbNew = JSON.stringify({"type": "MultiPolygon", "coordinates": [this.message.replaceAll("\"","")]}); | ||||
var leftJoin = zbNew.replace("\"[","["); | var leftJoin = zbNew.replace("\"[","["); | ||||
var rightJoin = leftJoin.replace("\"]","]"); | var rightJoin = leftJoin.replace("\"]","]"); | ||||
console.log(rightJoin); | |||||
hc_landFuther = new ol.layer.Vector({ | |||||
hc_land = new ol.layer.Vector({ | |||||
title: "add Layer", | title: "add Layer", | ||||
source: new ol.source.Vector({ | source: new ol.source.Vector({ | ||||
projection: projection, | projection: projection, | ||||
@@ -175,11 +176,11 @@ export default { | |||||
}), | }), | ||||
}), | }), | ||||
}); | }); | ||||
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; | |||||
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]); //获取边界区域的中心位置 | var center = ol.extent.getCenter([maxXMap, maxYMap, minXMap, minYMap]); //获取边界区域的中心位置 | ||||
map.getView().animate({ | map.getView().animate({ | ||||
@@ -199,7 +200,6 @@ export default { | |||||
//开始绘制地图 | //开始绘制地图 | ||||
$("#"+this.drawingPolygonMap).click(function () { | $("#"+this.drawingPolygonMap).click(function () { | ||||
map.removeLayer(hc_land); | map.removeLayer(hc_land); | ||||
map.removeLayer(hc_landFuther); | |||||
map.removeLayer(vector_drawing); | map.removeLayer(vector_drawing); | ||||
//that.closeMoule = null; | //that.closeMoule = null; | ||||
map.removeInteraction(draw); | map.removeInteraction(draw); | ||||
@@ -239,14 +239,9 @@ export default { | |||||
//还原之前图层 | //还原之前图层 | ||||
$("#"+this.drawingResetMap).click(function () { | $("#"+this.drawingResetMap).click(function () { | ||||
if(that.closeMoule !=null) { | if(that.closeMoule !=null) { | ||||
if(that.message.substring(0,1) =="{"){ | |||||
map.addLayer(hc_landFuther); | |||||
} | |||||
if(that.message.substring(0,1) =="["){ | |||||
map.addLayer(hc_land); | map.addLayer(hc_land); | ||||
map.removeInteraction(draw); | map.removeInteraction(draw); | ||||
map.removeLayer(vector_drawing); | map.removeLayer(vector_drawing); | ||||
} | |||||
that.formSubmit(); | that.formSubmit(); | ||||
} | } | ||||
}); | }); | ||||
@@ -384,9 +384,10 @@ | |||||
autocomplete="off" | autocomplete="off" | ||||
input-align="right" | input-align="right" | ||||
v-model="form.jzxg" | v-model="form.jzxg" | ||||
name="建筑限高" | |||||
name="建筑限高(m)" | |||||
label="建筑限高(m)" | label="建筑限高(m)" | ||||
placeholder="建筑限高" | |||||
placeholder="填写000.00~999.99小数" | |||||
:rules="[{ validator:validator1, message: '请填写000.00~999.99小数,保留两位小数' }]" | |||||
type="number" | type="number" | ||||
/> | /> | ||||
<van-field | <van-field | ||||
@@ -462,6 +463,8 @@ | |||||
</div> | </div> | ||||
<div style="text-align:center;overflow:auto;"> | <div style="text-align:center;overflow:auto;"> | ||||
<van-button plain round color="#7AC943" size="mini" style="margin:0 auto;" @click="showPopupsyqr(item)">查看使用权人信息</van-button> | <van-button plain round color="#7AC943" size="mini" style="margin:0 auto;" @click="showPopupsyqr(item)">查看使用权人信息</van-button> | ||||
<van-button plain round color="#7AC943" size="mini" style="margin:0 auto;" @click="showPopuphncylist(item)">查看户内成员信息</van-button> | |||||
</div> | </div> | ||||
</div> | </div> | ||||
<template #right> | <template #right> | ||||
@@ -513,7 +516,7 @@ | |||||
</div> | </div> | ||||
<van-swipe-cell v-for="(item,index) in fwlist" :key="index" style="border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px auto;background:#fff;"> | <van-swipe-cell v-for="(item,index) in fwlist" :key="index" style="border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px auto;background:#fff;"> | ||||
<div style="padding:20px;"> | <div style="padding:20px;"> | ||||
<p style="color:#22B7F2;font-size:20px;line-height:30px;"><van-icon name="wap-home" color="#22b7f2" size="20" style="margin-right:10px;"/>自然幢号:{{item.zrzh}}</p> | |||||
<p style="color:#22B7F2;font-size:20px;line-height:30px;"><van-icon name="wap-home" color="#22b7f2" size="20" style="margin-right:10px;"/>第{{index+1}}号</p> | |||||
<div style="display:flex;line-height:20px"> | <div style="display:flex;line-height:20px"> | ||||
<p style="flex:1;text-align:left;">农民房屋幢号</p> | <p style="flex:1;text-align:left;">农民房屋幢号</p> | ||||
<p style="flex:1;text-align:right;">{{item.nmfwzh}}</p> | <p style="flex:1;text-align:right;">{{item.nmfwzh}}</p> | ||||
@@ -828,9 +831,9 @@ | |||||
label="备注" | label="备注" | ||||
placeholder="备注" | placeholder="备注" | ||||
/> | /> | ||||
<div style="text-align:center;overflow:auto;"> | |||||
<!-- <div style="text-align:center;overflow:auto;"> | |||||
<van-button plain round color="#7AC943" size="mini" style="margin:0 auto;" native-type="button" @click="showPopuphncylist(form1)">查看户内成员列表</van-button> | <van-button plain round color="#7AC943" size="mini" style="margin:0 auto;" native-type="button" @click="showPopuphncylist(form1)">查看户内成员列表</van-button> | ||||
</div> | |||||
</div>--> | |||||
<div style="margin: 16px;"> | <div style="margin: 16px;"> | ||||
<van-button round block color="#7AC943" native-type="submit">保存</van-button> | <van-button round block color="#7AC943" native-type="submit">保存</van-button> | ||||
</div> | </div> | ||||
@@ -2464,7 +2467,7 @@ | |||||
import {listFsss,addFsss,updateFsss,delFsss,getFsssZjdDmList} from "@/api/homesteadSurvey/fsss"; | import {listFsss,addFsss,updateFsss,delFsss,getFsssZjdDmList} from "@/api/homesteadSurvey/fsss"; | ||||
import { listTown, getTown } from "@/api/homesteadSurvey/town"; | import { listTown, getTown } from "@/api/homesteadSurvey/town"; | ||||
import { listVillage} from "@/api/homesteadSurvey/village"; | import { listVillage} from "@/api/homesteadSurvey/village"; | ||||
import { listAttachmentConfig} from "@/api/homesteadSurvey/index"; | |||||
import { sysConfig} from "@/api/homesteadSurvey/index"; | |||||
import { Notify, Dialog, Toast } from 'vant'; | import { Notify, Dialog, Toast } from 'vant'; | ||||
export default { | export default { | ||||
name: "homesteadAdd", | name: "homesteadAdd", | ||||
@@ -2639,6 +2642,9 @@ | |||||
jzqkOptions:[], | jzqkOptions:[], | ||||
// 土地等级字典 | // 土地等级字典 | ||||
tddjOptions:[], | tddjOptions:[], | ||||
// 图片上传路径 | |||||
baseUrl:"", | |||||
}; | }; | ||||
}, | }, | ||||
created(){ | created(){ | ||||
@@ -2777,16 +2783,9 @@ | |||||
methods: { | methods: { | ||||
getBaseUrl(){ | getBaseUrl(){ | ||||
let params={ | let params={ | ||||
parentId: null, | |||||
processKey: null, | |||||
nodeStatus: null, | |||||
fileType: null, | |||||
fileTypeName: null, | |||||
configLevel: null, | |||||
nodeStatusName: null, | |||||
businessType: null} | |||||
listAttachmentConfig(params).then(response => { | |||||
console.log(response) | |||||
configKey: "system.attachment.url"} | |||||
sysConfig(params).then(response => { | |||||
this.baseUrl = response.rows[0].configValue | |||||
}) | }) | ||||
}, | }, | ||||
// 验证 | // 验证 | ||||
@@ -2799,8 +2798,8 @@ | |||||
} | } | ||||
}, | }, | ||||
validator1(val){ | validator1(val){ | ||||
console.log(val.length) | |||||
if(val>1||val<0||val.length>4){ | |||||
console.log(val) | |||||
if(val>=1000||val<0||val.length>6){ | |||||
return false | return false | ||||
}else{ | }else{ | ||||
return true | return true | ||||
@@ -2812,6 +2811,7 @@ | |||||
"deptId" : this.item.deptId | "deptId" : this.item.deptId | ||||
} | } | ||||
listNh(params).then((response) => { | listNh(params).then((response) => { | ||||
console.log(response) | |||||
this.syqrnhdmlist = response.rows | this.syqrnhdmlist = response.rows | ||||
}); | }); | ||||
}, | }, | ||||
@@ -3349,7 +3349,7 @@ | |||||
if(this.form.zjdxctp!=null&&this.form.zjdxctp!=""&&this.form.zjdxctp.length>0){ | if(this.form.zjdxctp!=null&&this.form.zjdxctp!=""&&this.form.zjdxctp.length>0){ | ||||
let li = this.form.zjdxctp.split(","); | let li = this.form.zjdxctp.split(","); | ||||
li.map(res => { | li.map(res => { | ||||
this.fileListzjd.push({"url":location.protocol+"//"+location.host+process.env.VUE_APP_BASE_API+res,"baseUrl":res}) | |||||
this.fileListzjd.push({"url":this.baseUrl+res,"baseUrl":res}) | |||||
}) | }) | ||||
} | } | ||||
@@ -3443,7 +3443,6 @@ | |||||
} | } | ||||
listZrz(params).then(response => { | listZrz(params).then(response => { | ||||
this.zrzlist = response.rows; | this.zrzlist = response.rows; | ||||
this.fwlist = [] | |||||
}); | }); | ||||
listNmfw(params).then(r => { | listNmfw(params).then(r => { | ||||
this.fwlist = r.rows | this.fwlist = r.rows | ||||
@@ -4134,7 +4133,9 @@ | |||||
}, | }, | ||||
searchCommit(){ | searchCommit(){ | ||||
this.showesign = true | this.showesign = true | ||||
this.resultImg = location.protocol+"//"+location.host+process.env.VUE_APP_BASE_API+this.form.dzqm | |||||
if(this.form.dzqm!=null&&this.form.dzqm!=""){ | |||||
this.resultImg = this.baseUrl+this.form.dzqm | |||||
} | |||||
}, | }, | ||||
searchCommit1(){ | searchCommit1(){ | ||||
this.form.houseDataConfirmStatus = "CONFIRMED" | this.form.houseDataConfirmStatus = "CONFIRMED" | ||||
@@ -111,6 +111,7 @@ | |||||
</van-cell> | </van-cell> | ||||
</van-pull-refresh> | </van-pull-refresh> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
</template> | </template> | ||||
@@ -118,6 +119,7 @@ | |||||
import {addTask, complete, delTask, exportTask, getTask, listTask, publish, updateTask} from "@/api/homesteadSurvey/index"; | import {addTask, complete, delTask, exportTask, getTask, listTask, publish, updateTask} from "@/api/homesteadSurvey/index"; | ||||
import {getInfo} from "../../api/login"; | import {getInfo} from "../../api/login"; | ||||
import CircleProccess from "@/components/circleProccess.vue"; | import CircleProccess from "@/components/circleProccess.vue"; | ||||
import {updateUserPwd} from "../../api/onlineHome/my"; | |||||
export default { | export default { | ||||
name: "homesteadIndex", | name: "homesteadIndex", | ||||
components: { | components: { | ||||
@@ -125,6 +127,7 @@ | |||||
}, | }, | ||||
data() { | data() { | ||||
return { | return { | ||||
active: 1, | active: 1, | ||||
show: false, | show: false, | ||||
loading: false, | loading: false, | ||||
@@ -173,6 +176,7 @@ | |||||
}, | }, | ||||
methods: { | methods: { | ||||
onRefreshtask(){ | onRefreshtask(){ | ||||
this.isLoadingtask = false; | this.isLoadingtask = false; | ||||
let _this = this | let _this = this | ||||
@@ -151,8 +151,7 @@ | |||||
</div> | </div> | ||||
<div v-if="activeBtn==3"> | <div v-if="activeBtn==3"> | ||||
<van-form @submit="onSubmitsyqr"> | <van-form @submit="onSubmitsyqr"> | ||||
<div style="border-radius: 16px; | |||||
box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px;padding:5px;background:#fff;"> | |||||
<div style="border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px;padding:5px;background:#fff;"> | |||||
<van-field | <van-field | ||||
autocomplete="off" | autocomplete="off" | ||||
v-model="qlrform.qydm" | v-model="qlrform.qydm" | ||||
@@ -259,6 +258,7 @@ | |||||
placeholder="代表人联系电话" | placeholder="代表人联系电话" | ||||
type="number" | type="number" | ||||
input-align="right" | input-align="right" | ||||
required | |||||
:rules="[{ required: true, message: '代表人联系电话不能为空' }]" | :rules="[{ required: true, message: '代表人联系电话不能为空' }]" | ||||
/> | /> | ||||
<van-field | <van-field | ||||
@@ -425,8 +425,8 @@ | |||||
<van-button round block color="#7AC943" native-type="submit">保存</van-button> | <van-button round block color="#7AC943" native-type="submit">保存</van-button> | ||||
</div> | </div> | ||||
</van-form> | </van-form> | ||||
</div> | |||||
<div v-if="activeBtn==4"> | |||||
</div> | |||||
<div v-if="activeBtn==4" style="overflow:hidden"> | |||||
<!-- <van-search placeholder="请输入宅基地号查询" v-if="false"> | <!-- <van-search placeholder="请输入宅基地号查询" v-if="false"> | ||||
<template #action> | <template #action> | ||||
</template> | </template> | ||||
@@ -1140,7 +1140,6 @@ | |||||
</template> | </template> | ||||
<script> | <script> | ||||
import { currentLocation,} from "@/api/homestead/index"; | |||||
import {listZjdzd,getQueryLand,getZjdzd} from "@/api/homesteadSurvey/zjdzd"; | import {listZjdzd,getQueryLand,getZjdzd} from "@/api/homesteadSurvey/zjdzd"; | ||||
import {addNh, delNh, exportNh, getNh, listNh, updateNh} from "@/api/homesteadSurvey/nh"; | import {addNh, delNh, exportNh, getNh, listNh, updateNh} from "@/api/homesteadSurvey/nh"; | ||||
import {addNhhncy, delNhhncy, exportNhhncy, getNhhncy, listNhhncy, updateNhhncy} from "@/api/homesteadSurvey/nhhncy"; | import {addNhhncy, delNhhncy, exportNhhncy, getNhhncy, listNhhncy, updateNhhncy} from "@/api/homesteadSurvey/nhhncy"; | ||||
@@ -1213,7 +1212,6 @@ | |||||
// 户内成员列表 | // 户内成员列表 | ||||
hncylist:[], | hncylist:[], | ||||
currentRate:20, | currentRate:20, | ||||
geoJson:null, | |||||
// 使用权人 | // 使用权人 | ||||
nhform:[], | nhform:[], | ||||
// 户主列表 | // 户主列表 | ||||
@@ -1310,12 +1308,6 @@ | |||||
}; | }; | ||||
}, | }, | ||||
mounted(){ | mounted(){ | ||||
currentLocation().then((res) => { | |||||
if (res.code == 200) { | |||||
let content = res.data; | |||||
this.geoJson = content.geoJson; | |||||
} | |||||
}); | |||||
}, | }, | ||||
created(){ | created(){ | ||||
this.getDicts("zjlx").then(response => { | this.getDicts("zjlx").then(response => { | ||||
@@ -1655,6 +1647,7 @@ | |||||
} | } | ||||
); | ); | ||||
}else{ | }else{ | ||||
this.qlrform.deptId = this.item.deptId | |||||
addSuyqr(this.qlrform).then( | addSuyqr(this.qlrform).then( | ||||
response => { | response => { | ||||
let _this =this | let _this =this | ||||
@@ -1676,7 +1669,7 @@ | |||||
"suyqxz":'40', | "suyqxz":'40', | ||||
"suyqxzName":'集体土地所有权', | "suyqxzName":'集体土地所有权', | ||||
"dbrzjlx":'01', | "dbrzjlx":'01', | ||||
"dbrzjlxName":'代表人证件类型', | |||||
"dbrzjlxName":'身份证', | |||||
"sfclncjtjjzz":'农村宅基地使用权确权登记发证', | "sfclncjtjjzz":'农村宅基地使用权确权登记发证', | ||||
"sjly":'04', | "sjly":'04', | ||||
} | } | ||||
@@ -1897,6 +1890,7 @@ | |||||
} | } | ||||
}); | }); | ||||
}else{ | }else{ | ||||
console.log(1) | |||||
let params = { | let params = { | ||||
"deptId" : this.item.deptId, | "deptId" : this.item.deptId, | ||||
"pageNum": 1, | "pageNum": 1, | ||||
@@ -19,7 +19,7 @@ | |||||
</template> | </template> | ||||
</van-cell> | </van-cell> | ||||
<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="修改密码" @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> | <template #icon> | ||||
<van-icon :name="require('../../assets/images/housesteadSurvey/little2.png')" size="18" color="#fff" style="margin:10px;"/> | <van-icon :name="require('../../assets/images/housesteadSurvey/little2.png')" size="18" color="#fff" style="margin:10px;"/> | ||||
</template> | </template> | ||||
@@ -29,12 +29,65 @@ | |||||
<van-icon :name="require('../../assets/images/housesteadSurvey/little2.png')" size="18" color="#fff" style="margin:10px;"/> | <van-icon :name="require('../../assets/images/housesteadSurvey/little2.png')" size="18" color="#fff" style="margin:10px;"/> | ||||
</template> | </template> | ||||
</van-cell> | </van-cell> | ||||
<van-popup v-model:show="showPassword" position="bottom" style="width:100%;padding:20px;"> | |||||
<van-cell-group > | |||||
<van-field v-model="oldPassword" label="原密码" type="password" placeholder="请输入" /> | |||||
<van-field v-model="newPassword" label="新密码" type="password" placeholder="请输入" /> | |||||
<van-field v-model="confirmPassword" label="确认新密码" type="password" placeholder="请输入" /> | |||||
<van-row style="text-align: center;margin-top: 40px"> | |||||
<van-button round block color="#7AC943" @click="submit">保存</van-button> | |||||
</van-row> | |||||
</van-cell-group> | |||||
</van-popup> | |||||
</div> | </div> | ||||
</template> | </template> | ||||
<script> | <script> | ||||
import {updateUserPwd} from "../../api/onlineHome/my"; | |||||
export default { | export default { | ||||
name: "homesteadSettle" | |||||
name: "homesteadSettle", | |||||
data(){ | |||||
return{ | |||||
showPassword:false, | |||||
oldPassword: "", | |||||
newPassword: "", | |||||
confirmPassword: "", | |||||
}}, | |||||
methods:{ | |||||
submit() { | |||||
if(this.confirmPassword | |||||
!=this.newPassword){ | |||||
this.$toast({ | |||||
icon: 'error', // 找到自己需要的图标 | |||||
message: '两次密码不同,请重新输入', | |||||
duration:"1000", | |||||
onClose:function(){ | |||||
this.oldPassword="" | |||||
this.newPassword="" | |||||
this.confirmPassword="" | |||||
return false; | |||||
} | |||||
}) | |||||
}else{ | |||||
updateUserPwd(this.oldPassword, this.newPassword).then( | |||||
response => { | |||||
let _this =this | |||||
this.$toast({ | |||||
icon: 'success', // 找到自己需要的图标 | |||||
message: '修改成功', | |||||
duration:"1000", | |||||
onClose:function(){ | |||||
_this.showPassword = false | |||||
} | |||||
}) | |||||
} | |||||
); | |||||
} | |||||
} | |||||
} | |||||
} | } | ||||
</script> | </script> | ||||