Browse Source

宅基地调查

wulanhaote
yujk 3 years ago
parent
commit
e612860b0b
4 changed files with 43 additions and 14 deletions
  1. +8
    -0
      src/api/homesteadSurvey/index.js
  2. +33
    -12
      src/views/homesteadSurvey/add.vue
  3. +0
    -1
      src/views/homesteadSurvey/index.vue
  4. +2
    -1
      src/views/homesteadSurvey/list.vue

+ 8
- 0
src/api/homesteadSurvey/index.js View File

@@ -67,3 +67,11 @@ export function delTask(id) {
method: 'get' method: 'get'
}) })
} }
// 查询附件上传配置列表
export function listAttachmentConfig(query) {
return request({
url: '/system/attachmentConfig/list',
method: 'get',
params: query
})
}

+ 33
- 12
src/views/homesteadSurvey/add.vue View File

@@ -21,8 +21,8 @@
top:1.2rem"> top:1.2rem">
<van-row> <van-row>
<van-col span="4" :offset="1" style="text-align:center;" > <van-col span="4" :offset="1" style="text-align:center;" >
<div @click="active=1,mapClickLoading">
<van-icon :name="require('../../assets/images/housesteadSurvey/zjd'+(active==1?'A':'D')+'.png')" size="1rem" style="margin-top:0px;"/>
<div @click="active=1">
<van-icon :name="require('../../assets/images/housesteadSurvey/zjd'+(active==1?'A':'D')+'.png')" size="1rem" @click="mapClickLoading" style="margin-top:0px;"/>
<p :style="{color:(active==1?'rgb(34, 183, 242)':'#000')}">宅基地</p> <p :style="{color:(active==1?'rgb(34, 183, 242)':'#000')}">宅基地</p>
</div> </div>
</van-col> </van-col>
@@ -1312,7 +1312,7 @@
input-align="right" input-align="right"
v-model="nmfwform.mortgageMoney" v-model="nmfwform.mortgageMoney"
name="抵押金额" name="抵押金额"
label="抵押金额(元)"
label="抵押金额( 元)"
placeholder="抵押金额" placeholder="抵押金额"
type="number" type="number"
/> />
@@ -2303,6 +2303,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 { Notify, Dialog, Toast } from 'vant'; import { Notify, Dialog, Toast } from 'vant';
export default { export default {
name: "homesteadAdd", name: "homesteadAdd",
@@ -2578,13 +2579,28 @@
this.getDicts("tddj").then(response => { this.getDicts("tddj").then(response => {
this.tddjOptions = response.data; this.tddjOptions = response.data;
}); });
this.getnhdmlist()
this.getZjd()
this.getnhdmlist();
this.getZjd();
this.getBaseUrl();
}, },
mounted(){ mounted(){
this.mapClickLoading(); this.mapClickLoading();
}, },
methods: { methods: {
getBaseUrl(){
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)
})
},
// 验证 // 验证
validator(val){ validator(val){
console.log(val.length) console.log(val.length)
@@ -3135,7 +3151,8 @@
getZjd() { getZjd() {
if(this.item.zjddm){ if(this.item.zjddm){
let params = { let params = {
"zjddm":this.item.zjddm
"zjddm":this.item.zjddm,
deptId:this.item.deptId
} }
listZjdzd(params).then(response => { listZjdzd(params).then(response => {
this.form = response.rows[0]; this.form = response.rows[0];
@@ -3219,7 +3236,8 @@
getSyqrList() { getSyqrList() {
if(this.item.zjddm) { if(this.item.zjddm) {
let params = { let params = {
"zjddm":this.item.zjddm
"zjddm":this.item.zjddm,
deptId:this.item.deptId
} }
listShyqr(params).then(response => { listShyqr(params).then(response => {
this.syqrlist = response.rows; this.syqrlist = response.rows;
@@ -3230,7 +3248,8 @@
if(this.item.zjddm){ if(this.item.zjddm){
/* let _this = this*/ /* let _this = this*/
let params = { let params = {
"zjddm":this.item.zjddm
"zjddm":this.item.zjddm,
deptId:this.item.deptId
} }
listZrz(params).then(response => { listZrz(params).then(response => {
this.zrzlist = response.rows; this.zrzlist = response.rows;
@@ -3244,7 +3263,8 @@
getFsssList() { getFsssList() {
if(this.item.zjddm){ if(this.item.zjddm){
let params = { let params = {
"zjddm":this.item.zjddm
"zjddm":this.item.zjddm,
deptId:this.item.deptId
} }
listFsss(params).then(response => { listFsss(params).then(response => {
this.fssslist = response.rows; this.fssslist = response.rows;
@@ -3455,7 +3475,7 @@
this.form1={ this.form1={
zjddm:this.form.zjddm, zjddm:this.form.zjddm,
suyqrdm:this.form.suyqrdm, suyqrdm:this.form.suyqrdm,
deptId:this.form.deptId,
deptId:this.item.deptId,
gj:'1', gj:'1',
hklx:'1', hklx:'1',
xb:'1', xb:'1',
@@ -3704,7 +3724,8 @@
}else{ }else{
this.hncylist=[] this.hncylist=[]
let params = { let params = {
"nhdm":item.nhdm
"nhdm":item.nhdm,
deptId:this.item.deptId
} }
listNhhncy(params).then((response) => { listNhhncy(params).then((response) => {
this.hncylist = response.rows this.hncylist = response.rows
@@ -3935,6 +3956,7 @@
}, },
//地图加载js------start //地图加载js------start
mapClickLoading(){ mapClickLoading(){
console.log(1)
setTimeout(() => { setTimeout(() => {
this.$refs.drewingClickLoading.drawingPaceCountryDarw(); this.$refs.drewingClickLoading.drawingPaceCountryDarw();
}, 500); }, 500);
@@ -3950,7 +3972,6 @@
} else { } else {


} }
this.form.theGeom = data;
}, },
//地图加载js------end //地图加载js------end
} }


+ 0
- 1
src/views/homesteadSurvey/index.vue View File

@@ -166,7 +166,6 @@
false false
); );
getInfo().then(response => { getInfo().then(response => {
console.log(response)
this.nickName = response.user.nickName this.nickName = response.user.nickName
this.queryParams.taskExecutor = response.user.userName this.queryParams.taskExecutor = response.user.userName
this.getList(); this.getList();


+ 2
- 1
src/views/homesteadSurvey/list.vue View File

@@ -1746,7 +1746,8 @@
showPopuphncylist(item){ showPopuphncylist(item){
this.showhncylist = true this.showhncylist = true
let params = { let params = {
"nhdm":item.nhdm
"nhdm":item.nhdm,
"deptId":this.item.deptId
} }
listNhhncy(params).then((response) => { listNhhncy(params).then((response) => {
if (response.code == 200) { if (response.code == 200) {


Loading…
Cancel
Save