| @@ -32,6 +32,15 @@ export function zjdzd(){ | |||||
| method:'get' | method:'get' | ||||
| }) | }) | ||||
| } | } | ||||
| //宅基地退出申请人信息 | |||||
| export function getExitProposerDetail() { | |||||
| return request({ | |||||
| url: '/house/mobile/exit/proposer', | |||||
| method: 'get' | |||||
| }) | |||||
| } | |||||
| // 查询权利人列表 | // 查询权利人列表 | ||||
| export function obligeeList(query) { | export function obligeeList(query) { | ||||
| return request({ | return request({ | ||||
| @@ -12,13 +12,13 @@ | |||||
| </van-nav-bar> | </van-nav-bar> | ||||
| <van-form ref="_Form"> | <van-form ref="_Form"> | ||||
| <div class="main_box"> | <div class="main_box"> | ||||
| <!-- <van-field v-model="circulation.sqrxm" label="申请人姓名" placeholder="申请人姓名" input-align="right" label-width="auto" :rules="[{ required: true }]" required/>--> | |||||
| <van-field v-model="circulation.sqrxm" label="申请人姓名" placeholder="申请人姓名" input-align="right" label-width="auto" :rules="[{ required: true }]" required @input="remoteTransfereeMethod" /> | |||||
| <van-field v-model="circulation.sqrxm" label="申请人姓名" placeholder="申请人姓名" input-align="right" label-width="auto" :rules="[{ required: true }]" required/> | |||||
| <!-- <van-field v-model="circulation.sqrxm" label="申请人姓名" placeholder="申请人姓名" input-align="right" label-width="auto" :rules="[{ required: true }]" required @input="remoteTransfereeMethod" /> | |||||
| <div id="dropList" v-show="showDropList" style="width: 92vw; position: absolute; z-index: 99; left: 50%; margin-left: -46vw; border: 1px solid #E2E0E0;" > | <div id="dropList" v-show="showDropList" style="width: 92vw; position: absolute; z-index: 99; left: 50%; margin-left: -46vw; border: 1px solid #E2E0E0;" > | ||||
| <van-cell id="vanCell" v-for="(item, index) in getObligeeOptions" :key="index" @click="shyqrdmxmChange(item)" style="position: relative; z-index: 999;"> | <van-cell id="vanCell" v-for="(item, index) in getObligeeOptions" :key="index" @click="shyqrdmxmChange(item)" style="position: relative; z-index: 999;"> | ||||
| {{item}} | {{item}} | ||||
| </van-cell> | </van-cell> | ||||
| </div> | |||||
| </div> --> | |||||
| <!--<van-field | <!--<van-field | ||||
| readonly | readonly | ||||
| clickable | clickable | ||||
| @@ -167,7 +167,7 @@ | |||||
| </template> | </template> | ||||
| <script> | <script> | ||||
| import { zjdzd, getByZjddm, getObligeeList, obligeeList } from "@/api/onlineHome/homestead/circulation"; | |||||
| import { zjdzd, getByZjddm, getObligeeList, obligeeList, getExitProposerDetail } from "@/api/onlineHome/homestead/circulation"; | |||||
| import { dyAdd, } from "@/api/onlineHome/homestead/paidExit"; | import { dyAdd, } from "@/api/onlineHome/homestead/paidExit"; | ||||
| import {Notify} from "vant"; | import {Notify} from "vant"; | ||||
| import MapGisObtain from "@/components/Map/MapGisObtain"; | import MapGisObtain from "@/components/Map/MapGisObtain"; | ||||
| @@ -245,6 +245,19 @@ | |||||
| if(this.zjdDictionaries.length > 0) | if(this.zjdDictionaries.length > 0) | ||||
| this.onConfirmZjddm(this.zjdDictionaries[0]); | this.onConfirmZjddm(this.zjdDictionaries[0]); | ||||
| });*/ | });*/ | ||||
| getExitProposerDetail().then(res => { | |||||
| if (res.data) { | |||||
| let data = res.data; | |||||
| this.$set(this.circulation, 'sqrxm', data.shyqrdbxm); | |||||
| this.$set(this.circulation, 'sqrzjhm', data.shyqrdbzjhm); | |||||
| this.$set(this.circulation, 'sqrzjlx', data.shyqrdbzjlx); | |||||
| if(data.shyqrdbzjlx) { | |||||
| let val = this.zjlxDictionaries.find((x) => x.value == data.shyqrdbzjlx); | |||||
| if(val) | |||||
| this.zjlx = val.text; | |||||
| } | |||||
| } | |||||
| }); | |||||
| }, | }, | ||||
| /*onConfirmZjddm(data){ | /*onConfirmZjddm(data){ | ||||
| console.log(data) | console.log(data) | ||||
| @@ -381,7 +394,7 @@ | |||||
| /** 查找地图中宅基地 */ | /** 查找地图中宅基地 */ | ||||
| closeMoule: function (data) { | closeMoule: function (data) { | ||||
| this.circulation.zjddm = data; | this.circulation.zjddm = data; | ||||
| getByZjddm({zjddm: data,}).then(qlrRes => { | |||||
| /*getByZjddm({zjddm: data,}).then(qlrRes => { | |||||
| let data = qlrRes.data; | let data = qlrRes.data; | ||||
| if (data) { | if (data) { | ||||
| this.$set(this.circulation, 'sqrzjhm', data.shyqrdbzjhm); | this.$set(this.circulation, 'sqrzjhm', data.shyqrdbzjhm); | ||||
| @@ -394,7 +407,7 @@ | |||||
| } | } | ||||
| } | } | ||||
| // this.$forceUpdate(); | // this.$forceUpdate(); | ||||
| }); | |||||
| });*/ | |||||
| }, | }, | ||||
| }, | }, | ||||
| } | } | ||||
| @@ -424,21 +437,21 @@ | |||||
| background-color: #1D6FE9; | background-color: #1D6FE9; | ||||
| } | } | ||||
| #dropList::-webkit-scrollbar { | |||||
| /*滚动条整体样式*/ | |||||
| width: 5px; /*高宽分别对应横竖滚动条的尺寸*/ | |||||
| height: 1px; | |||||
| } | |||||
| #dropList::-webkit-scrollbar-thumb { | |||||
| /*滚动条里面小方块*/ | |||||
| border-radius: 10px; | |||||
| background: #fff; | |||||
| box-shadow: inset 0 0 5px rgb(0, 122, 204); | |||||
| } | |||||
| #dropList::-webkit-scrollbar-track { | |||||
| border-radius: 10px; | |||||
| background: #fff; | |||||
| /*滚动条里面轨道*/ | |||||
| box-shadow: inset 0 0 5px rgba( 0, 0, 0, .1); | |||||
| } | |||||
| /*#dropList::-webkit-scrollbar {*/ | |||||
| /* !*滚动条整体样式*!*/ | |||||
| /* width: 5px; !*高宽分别对应横竖滚动条的尺寸*!*/ | |||||
| /* height: 1px;*/ | |||||
| /*}*/ | |||||
| /*#dropList::-webkit-scrollbar-thumb {*/ | |||||
| /* !*滚动条里面小方块*!*/ | |||||
| /* border-radius: 10px;*/ | |||||
| /* background: #fff;*/ | |||||
| /* box-shadow: inset 0 0 5px rgb(0, 122, 204);*/ | |||||
| /*}*/ | |||||
| /*#dropList::-webkit-scrollbar-track {*/ | |||||
| /* border-radius: 10px;*/ | |||||
| /* background: #fff;*/ | |||||
| /* !*滚动条里面轨道*!*/ | |||||
| /* box-shadow: inset 0 0 5px rgba( 0, 0, 0, .1);*/ | |||||
| /*}*/ | |||||
| </style> | </style> | ||||
| @@ -12,13 +12,13 @@ | |||||
| </van-nav-bar> | </van-nav-bar> | ||||
| <van-form ref="_Form"> | <van-form ref="_Form"> | ||||
| <div class="main_box"> | <div class="main_box"> | ||||
| <!-- <van-field v-model="circulation.sqrxm" label="申请人姓名" placeholder="申请人姓名" input-align="right" label-width="auto" :rules="[{ required: true }]" required/> --> | |||||
| <van-field v-model="circulation.sqrxm" label="申请人姓名" placeholder="申请人姓名" input-align="right" label-width="auto" :rules="[{ required: true }]" required @input="remoteTransfereeMethod" /> | |||||
| <van-field v-model="circulation.sqrxm" label="申请人姓名" placeholder="申请人姓名" input-align="right" label-width="auto" :rules="[{ required: true }]" required/> | |||||
| <!-- <van-field v-model="circulation.sqrxm" label="申请人姓名" placeholder="申请人姓名" input-align="right" label-width="auto" :rules="[{ required: true }]" required @input="remoteTransfereeMethod" /> | |||||
| <div id="dropList" v-show="showDropList" style="width: 92vw; position: absolute; z-index: 99; left: 50%; margin-left: -46vw; border: 1px solid #E2E0E0;" > | <div id="dropList" v-show="showDropList" style="width: 92vw; position: absolute; z-index: 99; left: 50%; margin-left: -46vw; border: 1px solid #E2E0E0;" > | ||||
| <van-cell id="vanCell" v-for="(item, index) in getObligeeOptions" :key="index" @click="shyqrdmxmChange(item)" style="position: relative; z-index: 999;"> | <van-cell id="vanCell" v-for="(item, index) in getObligeeOptions" :key="index" @click="shyqrdmxmChange(item)" style="position: relative; z-index: 999;"> | ||||
| {{item}} | {{item}} | ||||
| </van-cell> | </van-cell> | ||||
| </div> | |||||
| </div> --> | |||||
| <!-- <van-field | <!-- <van-field | ||||
| readonly | readonly | ||||
| clickable | clickable | ||||
| @@ -190,7 +190,7 @@ | |||||
| </template> | </template> | ||||
| <script> | <script> | ||||
| import { zjdzd, getByZjddm, getObligeeList, obligeeList } from "@/api/onlineHome/homestead/circulation"; | |||||
| import { zjdzd, getByZjddm, getObligeeList, obligeeList, getExitProposerDetail } from "@/api/onlineHome/homestead/circulation"; | |||||
| import { dyAdd, zyyctcApply } from "@/api/onlineHome/homestead/paidExit"; | import { dyAdd, zyyctcApply } from "@/api/onlineHome/homestead/paidExit"; | ||||
| import {Notify} from "vant"; | import {Notify} from "vant"; | ||||
| import MapGisObtain from "@/components/Map/MapGisObtain"; | import MapGisObtain from "@/components/Map/MapGisObtain"; | ||||
| @@ -274,6 +274,19 @@ export default { | |||||
| if(this.zjdDictionaries.length > 0) | if(this.zjdDictionaries.length > 0) | ||||
| this.onConfirmZjddm(this.zjdDictionaries[0]); | this.onConfirmZjddm(this.zjdDictionaries[0]); | ||||
| });*/ | });*/ | ||||
| getExitProposerDetail().then(res => { | |||||
| if (res.data) { | |||||
| let data = res.data; | |||||
| this.$set(this.circulation, 'sqrxm', data.shyqrdbxm); | |||||
| this.$set(this.circulation, 'sqrzjhm', data.shyqrdbzjhm); | |||||
| this.$set(this.circulation, 'sqrzjlx', data.shyqrdbzjlx); | |||||
| if(data.shyqrdbzjlx) { | |||||
| let val = this.zjlxDictionaries.find((x) => x.value == data.shyqrdbzjlx); | |||||
| if(val) | |||||
| this.zjlx = val.text; | |||||
| } | |||||
| } | |||||
| }); | |||||
| }, | }, | ||||
| /*onConfirmZjddm(data){ | /*onConfirmZjddm(data){ | ||||
| console.log(data) | console.log(data) | ||||
| @@ -424,7 +437,7 @@ export default { | |||||
| /** 查找地图中宅基地 */ | /** 查找地图中宅基地 */ | ||||
| closeMoule: function (data) { | closeMoule: function (data) { | ||||
| this.circulation.zjddm = data; | this.circulation.zjddm = data; | ||||
| getByZjddm({zjddm: data,}).then(qlrRes => { | |||||
| /*getByZjddm({zjddm: data,}).then(qlrRes => { | |||||
| let data = qlrRes.data; | let data = qlrRes.data; | ||||
| if (data) { | if (data) { | ||||
| this.$set(this.circulation, 'sqrzjhm', data.shyqrdbzjhm); | this.$set(this.circulation, 'sqrzjhm', data.shyqrdbzjhm); | ||||
| @@ -437,7 +450,7 @@ export default { | |||||
| } | } | ||||
| } | } | ||||
| // this.$forceUpdate(); | // this.$forceUpdate(); | ||||
| }); | |||||
| });*/ | |||||
| }, | }, | ||||
| }, | }, | ||||
| } | } | ||||
| @@ -467,21 +480,21 @@ export default { | |||||
| background-color: #1D6FE9; | background-color: #1D6FE9; | ||||
| } | } | ||||
| #dropList::-webkit-scrollbar { | |||||
| /*滚动条整体样式*/ | |||||
| width: 5px; /*高宽分别对应横竖滚动条的尺寸*/ | |||||
| height: 1px; | |||||
| } | |||||
| #dropList::-webkit-scrollbar-thumb { | |||||
| /*滚动条里面小方块*/ | |||||
| border-radius: 10px; | |||||
| background: #fff; | |||||
| box-shadow: inset 0 0 5px rgb(0, 122, 204); | |||||
| } | |||||
| #dropList::-webkit-scrollbar-track { | |||||
| border-radius: 10px; | |||||
| background: #fff; | |||||
| /*滚动条里面轨道*/ | |||||
| box-shadow: inset 0 0 5px rgba( 0, 0, 0, .1); | |||||
| } | |||||
| /*#dropList::-webkit-scrollbar {*/ | |||||
| /* !*滚动条整体样式*!*/ | |||||
| /* width: 5px; !*高宽分别对应横竖滚动条的尺寸*!*/ | |||||
| /* height: 1px;*/ | |||||
| /*}*/ | |||||
| /*#dropList::-webkit-scrollbar-thumb {*/ | |||||
| /* !*滚动条里面小方块*!*/ | |||||
| /* border-radius: 10px;*/ | |||||
| /* background: #fff;*/ | |||||
| /* box-shadow: inset 0 0 5px rgb(0, 122, 204);*/ | |||||
| /*}*/ | |||||
| /*#dropList::-webkit-scrollbar-track {*/ | |||||
| /* border-radius: 10px;*/ | |||||
| /* background: #fff;*/ | |||||
| /* !*滚动条里面轨道*!*/ | |||||
| /* box-shadow: inset 0 0 5px rgba( 0, 0, 0, .1);*/ | |||||
| /*}*/ | |||||
| </style> | </style> | ||||