| @@ -50,7 +50,7 @@ export function getZjdzd(id) { | |||||
| // 新增数据调查-宅基地宗地 | // 新增数据调查-宅基地宗地 | ||||
| export function addZjdzd(data) { | export function addZjdzd(data) { | ||||
| return request({ | return request({ | ||||
| url: '/houseSurvey/zjdzd/add', | |||||
| url: '/home/homesteadzjdzdxx/add', | |||||
| method: 'post', | method: 'post', | ||||
| data: data | data: data | ||||
| }) | }) | ||||
| @@ -144,7 +144,7 @@ export default { | |||||
| var cql_filter_guoyou = "ZLDWDM='" + res.data.orgCode + "0000000'"; | var cql_filter_guoyou = "ZLDWDM='" + res.data.orgCode + "0000000'"; | ||||
| var guoyouTc = new ol.layer.Image({ | var guoyouTc = new ol.layer.Image({ | ||||
| source: new ol.source.ImageWMS({ | source: new ol.source.ImageWMS({ | ||||
| url: that.mapGeoServerUrl + "/geoserver/zjd_gydl/wms", | |||||
| url: that.mapGeoServerUrl + "/wms", | |||||
| params: { | params: { | ||||
| LAYERS: 'zjd_gydl:DLTB', | LAYERS: 'zjd_gydl:DLTB', | ||||
| TILED: true, | TILED: true, | ||||
| @@ -162,7 +162,7 @@ export default { | |||||
| var cql_filter_all = "zjddm='" +this.zjddm + "'"; | var cql_filter_all = "zjddm='" +this.zjddm + "'"; | ||||
| zjdTc= new ol.layer.Image({ | zjdTc= new ol.layer.Image({ | ||||
| source: new ol.source.ImageWMS({ | source: new ol.source.ImageWMS({ | ||||
| url: that.mapGeoServerUrl +"/geoserver/nsgk_wulanhaote/wms", | |||||
| url: that.mapGeoServerUrl +"/wms", | |||||
| params: { | params: { | ||||
| LAYERS: 'nsgk_wulanhaote:t_homestead_zjdzdxx', | LAYERS: 'nsgk_wulanhaote:t_homestead_zjdzdxx', | ||||
| TILED: true, | TILED: true, | ||||
| @@ -177,7 +177,7 @@ export default { | |||||
| //自然幢图层查询开始 ------------------start | //自然幢图层查询开始 ------------------start | ||||
| zrzTc= new ol.layer.Image({ | zrzTc= new ol.layer.Image({ | ||||
| source: new ol.source.ImageWMS({ | source: new ol.source.ImageWMS({ | ||||
| url: that.mapGeoServerUrl+"/geoserver/nsgk_wulanhaote/wms", | |||||
| url: that.mapGeoServerUrl+"/wms", | |||||
| params: { | params: { | ||||
| LAYERS: 'nsgk_wulanhaote:t_homespace_zrz', | LAYERS: 'nsgk_wulanhaote:t_homespace_zrz', | ||||
| TILED: true, | TILED: true, | ||||
| @@ -193,7 +193,7 @@ export default { | |||||
| //附属设施图层查询开始 ------------------start | //附属设施图层查询开始 ------------------start | ||||
| fsssTc= new ol.layer.Image({ | fsssTc= new ol.layer.Image({ | ||||
| source: new ol.source.ImageWMS({ | source: new ol.source.ImageWMS({ | ||||
| url: that.mapGeoServerUrl+"/geoserver/nsgk_wulanhaote/wms", | |||||
| url: that.mapGeoServerUrl+"/wms", | |||||
| params: { | params: { | ||||
| LAYERS: 'nsgk_wulanhaote:t_homestead_fsss', | LAYERS: 'nsgk_wulanhaote:t_homestead_fsss', | ||||
| TILED: true, | TILED: true, | ||||
| @@ -588,9 +588,9 @@ export default { | |||||
| console.log(cql_filter); | console.log(cql_filter); | ||||
| var cunTc= new ol.layer.Image({ | var cunTc= new ol.layer.Image({ | ||||
| source: new ol.source.ImageWMS({ | source: new ol.source.ImageWMS({ | ||||
| url: that.mapGeoServerUrl +"/geoserver/zjd_dc/wms", | |||||
| url: that.mapGeoServerUrl +"/wms", | |||||
| params: { | params: { | ||||
| LAYERS: 'zjd_dc:t_house_survey_border_village', | |||||
| LAYERS: 'nsgk_wulanhaote:t_homespace_cjqy', | |||||
| TILED: true, | TILED: true, | ||||
| cql_filter: cql_filter, | cql_filter: cql_filter, | ||||
| SRID: 3857, | SRID: 3857, | ||||
| @@ -604,7 +604,7 @@ export default { | |||||
| service: "WFS", | service: "WFS", | ||||
| version: "1.0.0", | version: "1.0.0", | ||||
| request: "GetFeature", | request: "GetFeature", | ||||
| typename: "zjd_dc:t_house_survey_border_village", | |||||
| typename: "nsgk_wulanhaote:t_homespace_cjqy", | |||||
| //featureNS: 'nsgk_hc',//命名空间 URI | //featureNS: 'nsgk_hc',//命名空间 URI | ||||
| cql_filter: cql_filter, | cql_filter: cql_filter, | ||||
| //featurePrefix: 'nationalwater',//工作区名称 | //featurePrefix: 'nationalwater',//工作区名称 | ||||
| @@ -612,7 +612,7 @@ export default { | |||||
| outputFormat: "application/json", | outputFormat: "application/json", | ||||
| //filter: ol.format.filter.equalTo(t,e,r)//前者是属性名,后者是对应值 | //filter: ol.format.filter.equalTo(t,e,r)//前者是属性名,后者是对应值 | ||||
| }; | }; | ||||
| let url_dw = that.mapGeoServerUrl +"/geoserver/zjd_dc/wfs"; //wfsurl; | |||||
| let url_dw = that.mapGeoServerUrl +"/wfs"; //wfsurl; | |||||
| url_dw = url_dw + "?"; | url_dw = url_dw + "?"; | ||||
| for (let key in param_dw) { | for (let key in param_dw) { | ||||
| url_dw = url_dw + key + "=" + param_dw[key] + "&"; | url_dw = url_dw + key + "=" + param_dw[key] + "&"; | ||||
| @@ -649,9 +649,9 @@ export default { | |||||
| var cql_filter_guoyou = "ZLDWDM='" + res.data.orgCode + "0000000'"; | var cql_filter_guoyou = "ZLDWDM='" + res.data.orgCode + "0000000'"; | ||||
| var guoyouTc = new ol.layer.Image({ | var guoyouTc = new ol.layer.Image({ | ||||
| source: new ol.source.ImageWMS({ | source: new ol.source.ImageWMS({ | ||||
| url: that.mapGeoServerUrl + "/geoserver/zjd_gydl/wms", | |||||
| url: that.mapGeoServerUrl + "/wms", | |||||
| params: { | params: { | ||||
| LAYERS: 'zjd_gydl:DLTB', | |||||
| LAYERS: 'nsgk_wulanhaote:t_homestead_zjdzdxx', | |||||
| TILED: true, | TILED: true, | ||||
| cql_filter: cql_filter_guoyou, | cql_filter: cql_filter_guoyou, | ||||
| SRID: 3857, | SRID: 3857, | ||||
| @@ -666,9 +666,9 @@ export default { | |||||
| //var cql_filter_all = "dept_id='" + that.$cookies.get("item").deptId + "'"; | //var cql_filter_all = "dept_id='" + that.$cookies.get("item").deptId + "'"; | ||||
| var zjdTc= new ol.layer.Image({ | var zjdTc= new ol.layer.Image({ | ||||
| source: new ol.source.ImageWMS({ | source: new ol.source.ImageWMS({ | ||||
| url: that.mapGeoServerUrl+"/geoserver/zjd_dc/wms", | |||||
| url: that.mapGeoServerUrl+"/wms", | |||||
| params: { | params: { | ||||
| LAYERS: 'zjd_dc:t_house_survey_zjdzd', | |||||
| LAYERS: 'nsgk_wulanhaote:t_homestead_zjdzdxx', | |||||
| TILED: true, | TILED: true, | ||||
| cql_filter: cql_filter, | cql_filter: cql_filter, | ||||
| SRID: 3857, | SRID: 3857, | ||||
| @@ -71,7 +71,6 @@ | |||||
| label="坐落单位代码" | label="坐落单位代码" | ||||
| placeholder="坐落单位代码" | placeholder="坐落单位代码" | ||||
| input-align="right" | input-align="right" | ||||
| v-show="false" | |||||
| required | required | ||||
| :rules="[{ required: true}]" | :rules="[{ required: true}]" | ||||
| /> | /> | ||||
| @@ -81,7 +80,7 @@ | |||||
| v-model="form.zddm" | v-model="form.zddm" | ||||
| name="宗地代码" | name="宗地代码" | ||||
| label="宗地代码" | label="宗地代码" | ||||
| placeholder="自动生成" | |||||
| placeholder="宗地代码" | |||||
| /> | /> | ||||
| <van-field | <van-field | ||||
| autocomplete="off" | autocomplete="off" | ||||
| @@ -144,7 +143,7 @@ | |||||
| maxlength="15" | maxlength="15" | ||||
| /> | /> | ||||
| <field-select | <field-select | ||||
| v-model="form.dj" | |||||
| v-model="form.qllx" | |||||
| label="权利类型" | label="权利类型" | ||||
| value-key="dictLabel" | value-key="dictLabel" | ||||
| data-key="dictValue" | data-key="dictValue" | ||||
| @@ -153,11 +152,11 @@ | |||||
| :on-remote-response="'data'" | :on-remote-response="'data'" | ||||
| /> | /> | ||||
| <field-select | <field-select | ||||
| v-model="form.dj" | |||||
| label="权利类型方式" | |||||
| v-model="form.qlsdfs" | |||||
| label="权利设定方式" | |||||
| value-key="dictLabel" | value-key="dictLabel" | ||||
| data-key="dictValue" | data-key="dictValue" | ||||
| placeholder="选择权利类型方式" | |||||
| placeholder="选择权利设定方式" | |||||
| remote-url="/system/dict/data/type/right_setting_mode" | remote-url="/system/dict/data/type/right_setting_mode" | ||||
| :on-remote-response="'data'" | :on-remote-response="'data'" | ||||
| /> | /> | ||||
| @@ -269,6 +268,14 @@ | |||||
| :rules="[{ required: true}]" | :rules="[{ required: true}]" | ||||
| /> | /> | ||||
| <p class="title" style="position:relative;padding-left:10px;line-height:20px;font-size: 16px;margin-left: 3%;margin-bottom: 5px;">属性信息</p> | <p class="title" style="position:relative;padding-left:10px;line-height:20px;font-size: 16px;margin-left: 3%;margin-bottom: 5px;">属性信息</p> | ||||
| <van-field | |||||
| autocomplete="off" | |||||
| input-align="right" | |||||
| v-model="form.shyqrdbxm" | |||||
| name="权利人名称" | |||||
| label="权利人名称" | |||||
| placeholder="权利人名称" | |||||
| /> | |||||
| <field-select | <field-select | ||||
| v-model="form.zjdqdfs" | v-model="form.zjdqdfs" | ||||
| label="取得方式" | label="取得方式" | ||||
| @@ -399,6 +406,8 @@ | |||||
| placeholder="选择使用状态" | placeholder="选择使用状态" | ||||
| remote-url="/system/dict/data/type/land_status" | remote-url="/system/dict/data/type/land_status" | ||||
| :on-remote-response="'data'" | :on-remote-response="'data'" | ||||
| required | |||||
| :rules="[{ required: true}]" | |||||
| /> | /> | ||||
| <field-select | <field-select | ||||
| v-model="form.zjdlyzk" | v-model="form.zjdlyzk" | ||||
| @@ -409,6 +418,8 @@ | |||||
| remote-url="/system/dict/data/type/zjdlyzk" | remote-url="/system/dict/data/type/zjdlyzk" | ||||
| :on-remote-response="'data'" | :on-remote-response="'data'" | ||||
| @change="onZjdlyzkChanged" | @change="onZjdlyzkChanged" | ||||
| required | |||||
| :rules="[{ required: true}]" | |||||
| /> | /> | ||||
| <van-field | <van-field | ||||
| v-if="showXzyy" | v-if="showXzyy" | ||||
| @@ -445,6 +456,7 @@ | |||||
| </van-popup> | </van-popup> | ||||
| <field-select | <field-select | ||||
| v-model="form.landPhms" | v-model="form.landPhms" | ||||
| v-if="showXzyy" | |||||
| label="盘活利用模式" | label="盘活利用模式" | ||||
| value-key="dictLabel" | value-key="dictLabel" | ||||
| data-key="dictValue" | data-key="dictValue" | ||||
| @@ -722,9 +734,12 @@ | |||||
| <!-- <van-uploader v-model="fileListzjd" :after-read="beforeReadzjd" multiple @delete="deleteFilezjd" :max-count="20" accept="image/*"></van-uploader>--> | <!-- <van-uploader v-model="fileListzjd" :after-read="beforeReadzjd" multiple @delete="deleteFilezjd" :max-count="20" accept="image/*"></van-uploader>--> | ||||
| <!-- </template>--> | <!-- </template>--> | ||||
| <!-- </van-field>--> | <!-- </van-field>--> | ||||
| <MapGisDrawing ref="zjdProductResh" :message="form.theGeomJson" :zjddm="form.zjddm" ></MapGisDrawing> | |||||
| <common-map ref="pointDarwMap" style="height:200px;" | |||||
| :allowDraw="true" | |||||
| @drawReseted="onMapDrawReseted" | |||||
| @drawFinished="onMapDrawFinished" | |||||
| > | |||||
| </common-map> | |||||
| </div> | </div> | ||||
| <div style="margin: 16px;display: flex;justify-content: space-around;"> | <div style="margin: 16px;display: flex;justify-content: space-around;"> | ||||
| <van-button round color="#22B7F2" style="width:45%" @click="submitzjd">保存</van-button> | <van-button round color="#22B7F2" style="width:45%" @click="submitzjd">保存</van-button> | ||||
| @@ -739,7 +754,7 @@ import {listShyqr,addShyqr,updateShyqr,delShyqr,setSyqrInfo} from "@/api/homeste | |||||
| import {listZjdzd,getZjdzd,updateZjdzd,addZjdzd,uploadFile,getQueryLand,submitOnly} from "@/api/homesteadSurvey/zjdzd"; | import {listZjdzd,getZjdzd,updateZjdzd,addZjdzd,uploadFile,getQueryLand,submitOnly} from "@/api/homesteadSurvey/zjdzd"; | ||||
| import FieldSelect from "@/components/form/FieldSelect"; | import FieldSelect from "@/components/form/FieldSelect"; | ||||
| import FieldRadio from "@/components/form/FieldRadio"; | import FieldRadio from "@/components/form/FieldRadio"; | ||||
| import MapGisDrawing from "@/components/Map/MapGisDrawing"; | |||||
| import CommonMap from "@/components/house/CommonMap"; | |||||
| import {listZrz,addZrz,updateZrz,getZrzZjdDmList,delZrz,updateZrzStatus} from "@/api/homesteadSurvey/zrz"; | import {listZrz,addZrz,updateZrz,getZrzZjdDmList,delZrz,updateZrzStatus} from "@/api/homesteadSurvey/zrz"; | ||||
| import {listNmfw,addNmfw,updateNmfw,delNmfw} from "@/api/homesteadSurvey/nmfw"; | import {listNmfw,addNmfw,updateNmfw,delNmfw} from "@/api/homesteadSurvey/nmfw"; | ||||
| import {listSuyqr,addSuyqr,updateSuyqr} from "@/api/homesteadSurvey/suyqr"; | import {listSuyqr,addSuyqr,updateSuyqr} from "@/api/homesteadSurvey/suyqr"; | ||||
| @@ -753,7 +768,7 @@ import { Notify, Dialog, Toast } from 'vant'; | |||||
| import axios from "axios"; | import axios from "axios"; | ||||
| export default { | export default { | ||||
| name: "homesteadAdd", | name: "homesteadAdd", | ||||
| components: { MapGisDrawing,FieldSelect, FieldRadio}, | |||||
| components: { CommonMap,FieldSelect, FieldRadio}, | |||||
| data() { | data() { | ||||
| return { | return { | ||||
| active:1, | active:1, | ||||
| @@ -765,6 +780,11 @@ export default { | |||||
| nhdm :'777888999', | nhdm :'777888999', | ||||
| } | } | ||||
| ], | ], | ||||
| // 地图绘制 | |||||
| drawInsert: null, | |||||
| // 当前位置信息 | |||||
| tGeoOrganizationLat: null, | |||||
| tGeoOrganizationLng: null, | |||||
| showZjdqdsj:false, | showZjdqdsj:false, | ||||
| showCzmj:false, | showCzmj:false, | ||||
| showFzxx:false, | showFzxx:false, | ||||
| @@ -779,6 +799,7 @@ export default { | |||||
| created(){ | created(){ | ||||
| let data = this.$route.query.res; | let data = this.$route.query.res; | ||||
| this.form = JSON.parse(localStorage.getItem("zjdzdxxItem")); | this.form = JSON.parse(localStorage.getItem("zjdzdxxItem")); | ||||
| console.info( this.form); | |||||
| if(this.form.sfcz === "1"){ | if(this.form.sfcz === "1"){ | ||||
| this.showCzmj = true; | this.showCzmj = true; | ||||
| } | } | ||||
| @@ -790,21 +811,36 @@ export default { | |||||
| if(this.form.zjdlyzk !== "1"){ | if(this.form.zjdlyzk !== "1"){ | ||||
| this.showXzyy = true; | this.showXzyy = true; | ||||
| } | } | ||||
| this.onSubmitzjd(); | |||||
| this.$nextTick(() => { | |||||
| this.pointDarw(null); | |||||
| // this.pointDarwNature(null); | |||||
| this.$refs.pointDarwMap && this.$refs.pointDarwMap.update(); | |||||
| }) | |||||
| }, | }, | ||||
| mounted(){ | mounted(){ | ||||
| }, | }, | ||||
| methods: { | methods: { | ||||
| onSubmitzjd(){ | |||||
| setTimeout(() => { | |||||
| this.$refs.zjdProductResh.drawingPaceCountryDarw(); | |||||
| }, 500); | |||||
| }, | |||||
| submitzjd(){ | submitzjd(){ | ||||
| this.$refs.form.validate().then(() => { | this.$refs.form.validate().then(() => { | ||||
| if(this.form.id == null){ | |||||
| addZjdzd(this.form).then(response => { | |||||
| let _this =this; | |||||
| localStorage.setItem("zjdzdxxItem",JSON.stringify(this.form)); | |||||
| this.$toast({ | |||||
| icon: 'success', // 找到自己需要的图标 | |||||
| message: '保存成功', | |||||
| duration:"1000", | |||||
| onClose:function(){ | |||||
| _this.$router.push({path:'/homesteadSurvey/add2',query: {zjddm: _this.form.zjddm}}); | |||||
| } | |||||
| }) | |||||
| }); | |||||
| }else{ | |||||
| updateZjdzd(this.form).then(response => { | updateZjdzd(this.form).then(response => { | ||||
| let _this =this | |||||
| let _this =this; | |||||
| localStorage.setItem("zjdzdxxItem",JSON.stringify(this.form)); | |||||
| this.$toast({ | this.$toast({ | ||||
| icon: 'success', // 找到自己需要的图标 | icon: 'success', // 找到自己需要的图标 | ||||
| message: '保存成功', | message: '保存成功', | ||||
| @@ -814,6 +850,8 @@ export default { | |||||
| } | } | ||||
| }) | }) | ||||
| }); | }); | ||||
| } | |||||
| }).catch((e) => { | }).catch((e) => { | ||||
| Dialog({ type: 'danger', message: '请填写完整的表单项' }); | Dialog({ type: 'danger', message: '请填写完整的表单项' }); | ||||
| }); | }); | ||||
| @@ -858,12 +896,53 @@ export default { | |||||
| }, | }, | ||||
| /**宅基地利用状态处理*/ | /**宅基地利用状态处理*/ | ||||
| onZjdlyzkChanged(val){ | onZjdlyzkChanged(val){ | ||||
| console.info(val); | |||||
| if(val.dictValue === '1'){ | if(val.dictValue === '1'){ | ||||
| this.showXzyy = false; | this.showXzyy = false; | ||||
| }else{ | }else{ | ||||
| this.showXzyy = true; | this.showXzyy = true; | ||||
| } | } | ||||
| }, | }, | ||||
| // 绘制申请地图 | |||||
| pointDarw(data) { | |||||
| this.$nextTick(() => { | |||||
| let map = this.$refs.pointDarwMap; | |||||
| if(data == null) | |||||
| data = this.form.theGeomJson; | |||||
| this.setMapData(map, data); | |||||
| }); | |||||
| }, | |||||
| // 通用设置地图数据函数 | |||||
| setMapData(map, data) { | |||||
| //console.log(map, data ? true : false); | |||||
| if(!map) return; | |||||
| if(data) | |||||
| { | |||||
| map.setLayer('pointDarwLayer', data); | |||||
| } | |||||
| else { | |||||
| this.getLandCoord((lng, lat) => { | |||||
| map.setCoord(this.tGeoOrganizationLng, this.tGeoOrganizationLat); | |||||
| }); | |||||
| } | |||||
| }, | |||||
| // 当地图绘制完成时 | |||||
| onMapDrawFinished(data) { | |||||
| console.info(data); | |||||
| this.drawInsert = data; | |||||
| this.form.theGeomJson = JSON.stringify(this.drawInsert); | |||||
| }, | |||||
| // 当申请地图被重置时 | |||||
| onMapDrawReseted() { | |||||
| this.drawInsert = null; | |||||
| if(this.form.theGeomJson) | |||||
| { | |||||
| let lastData = JSON.parse(this.form.theGeomJson); | |||||
| if(lastData.hasOwnProperty('coordinates')) // 从后台获取的 | |||||
| this.drawInsert = lastData.coordinates; | |||||
| } | |||||
| }, | |||||
| goBack(){ | goBack(){ | ||||
| if(this.ztMap && this.enterMap ==1){ | if(this.ztMap && this.enterMap ==1){ | ||||
| if(this.form.id == null){ | if(this.form.id == null){ | ||||
| @@ -143,8 +143,7 @@ export default { | |||||
| this.$router.push({name:'zrzAdd',query:val}); | this.$router.push({name:'zrzAdd',query:val}); | ||||
| }, | }, | ||||
| showPopupAddzrz(){ | showPopupAddzrz(){ | ||||
| console.info(this.zrzlist[0].zjddm); | |||||
| this.$router.push({name:'zrzAdd',query:{zjddm:this.zrzlist[0].zjddm}}); | |||||
| this.$router.push({name:'zrzAdd',query:{zjddm:this.zjdzdxx.zjddm}}); | |||||
| }, | }, | ||||
| shownmfwlist(val){ | shownmfwlist(val){ | ||||
| this.$router.push({name:'nmfwList',query:val}); | this.$router.push({name:'nmfwList',query:val}); | ||||
| @@ -87,7 +87,7 @@ | |||||
| <p style="width:32%;border: 1px solid transparent;background: #22B7F2;padding: 5px 0;border-radius: 50px;"> | <p style="width:32%;border: 1px solid transparent;background: #22B7F2;padding: 5px 0;border-radius: 50px;"> | ||||
| <span style="font-size: 14px;color: #fff;margin-left: 5px;" @click="qmqr()">签名确认</span> | <span style="font-size: 14px;color: #fff;margin-left: 5px;" @click="qmqr()">签名确认</span> | ||||
| </p> | </p> | ||||
| <p style="width:32%;border: 1px solid #22B7F2;background: #ffffff;padding: 5px 0;border-radius: 50px;"> | |||||
| <p v-if = "showDcsh" style="width:32%;border: 1px solid #22B7F2;background: #ffffff;padding: 5px 0;border-radius: 50px;"> | |||||
| <span style="font-size: 14px;color: #22B7F2;margin-left: 5px;" @click="dcsh()">调查审核</span> | <span style="font-size: 14px;color: #22B7F2;margin-left: 5px;" @click="dcsh()">调查审核</span> | ||||
| </p> | </p> | ||||
| </div> | </div> | ||||
| @@ -149,6 +149,7 @@ export default { | |||||
| active:4, | active:4, | ||||
| dcshShow:false, | dcshShow:false, | ||||
| showesign:false, | showesign:false, | ||||
| showDcsh:false, | |||||
| examineData:[{dictLabel:"审批通过",dictValue:"5"},{dictLabel:"审批驳回",dictValue:"4"}], | examineData:[{dictLabel:"审批通过",dictValue:"5"},{dictLabel:"审批驳回",dictValue:"4"}], | ||||
| zjdzdxx:{surveyStatus:"5"}, | zjdzdxx:{surveyStatus:"5"}, | ||||
| fssslist:[], | fssslist:[], | ||||
| @@ -167,6 +168,11 @@ export default { | |||||
| if(this.zjdzdxx.surveySign != null){ | if(this.zjdzdxx.surveySign != null){ | ||||
| this.signature.resultImg = "http://localhost/api/"+this.zjdzdxx.surveySign; | this.signature.resultImg = "http://localhost/api/"+this.zjdzdxx.surveySign; | ||||
| } | } | ||||
| getZjdzd(this.zjdzdxx.id).then((response) => { | |||||
| if(response.data.surveyStatus !== "1"){ | |||||
| this.showDcsh = true; | |||||
| } | |||||
| }); | |||||
| this.getList(); | this.getList(); | ||||
| }, | }, | ||||
| mounted(){ | mounted(){ | ||||
| @@ -233,7 +233,7 @@ | |||||
| import {ref} from "vue"; | import {ref} from "vue"; | ||||
| import axios from "axios"; | import axios from "axios"; | ||||
| export default { | export default { | ||||
| name: "hncyList2", | |||||
| name: "hncyDetails", | |||||
| components: {FieldSelect, FieldRadio}, | components: {FieldSelect, FieldRadio}, | ||||
| data() { | data() { | ||||
| return { | return { | ||||
| @@ -115,6 +115,7 @@ | |||||
| :finished="finished3" | :finished="finished3" | ||||
| finished-text="没有更多了" | finished-text="没有更多了" | ||||
| :immediate-check="false" | :immediate-check="false" | ||||
| @load="onRefreshzjd" | |||||
| > | > | ||||
| <!-- @load="onRefreshzjd"--> | <!-- @load="onRefreshzjd"--> | ||||
| <van-cell v-for="(item,index) in list2" :key="index" size="small" :clickable="true" style="border-radius: 16px; | <van-cell v-for="(item,index) in list2" :key="index" size="small" :clickable="true" style="border-radius: 16px; | ||||
| @@ -233,7 +234,7 @@ | |||||
| // 户主列表 | // 户主列表 | ||||
| hzform:{}, | hzform:{}, | ||||
| // 权利人列表 | // 权利人列表 | ||||
| qlrform:[], | |||||
| qlrform:{}, | |||||
| // 权利人性质弹出框 | // 权利人性质弹出框 | ||||
| showsuyqxz:false, | showsuyqxz:false, | ||||
| // 代理人证件类型弹出框 | // 代理人证件类型弹出框 | ||||
| @@ -357,6 +358,7 @@ | |||||
| this.cybzOptions = this.dictTypeList.member_remark; | this.cybzOptions = this.dictTypeList.member_remark; | ||||
| }) | }) | ||||
| this.getList(); | this.getList(); | ||||
| this.getSyqr(); | |||||
| // this.getDicts("family_status").then(response => { | // this.getDicts("family_status").then(response => { | ||||
| // var arr = []; | // var arr = []; | ||||
| // response.data.forEach(function (item) { | // response.data.forEach(function (item) { | ||||
| @@ -416,10 +418,19 @@ | |||||
| }, | }, | ||||
| methods: { | methods: { | ||||
| getList(){ | getList(){ | ||||
| rhhcList({surveyStatus:"2,3,4,5"}).then(res => { | |||||
| let params = { | |||||
| "surveyStatus":"2,3,4,5", | |||||
| "pageNum": 1, | |||||
| "pageSize":10, | |||||
| } | |||||
| rhhcList(params).then(res => { | |||||
| this.list1 = res.data.zjdzdxxList; | this.list1 = res.data.zjdzdxxList; | ||||
| this.totalH = res.data.zjdzs; | this.totalH = res.data.zjdzs; | ||||
| this.totalR = res.data.shyqrs; | this.totalR = res.data.shyqrs; | ||||
| this.yhcNums = res.data.zjdzs; | |||||
| }); | |||||
| rhhcList({surveyStatus:"1"}).then(res => { | |||||
| this.whcNums = res.data.zjdzs; | |||||
| }); | }); | ||||
| }, | }, | ||||
| showUploadList(){ | showUploadList(){ | ||||
| @@ -774,61 +785,43 @@ | |||||
| return label | return label | ||||
| }, | }, | ||||
| onRefreshzjd(){ | onRefreshzjd(){ | ||||
| console.log("aaaaaaaaaaaaaaaaaaaaaaaaaaaaa") | |||||
| this.isLoadingzjd = false; | this.isLoadingzjd = false; | ||||
| let _this = this | let _this = this | ||||
| if(this.active==1&&this.loading2){ | |||||
| let params = { | |||||
| "deptId" : this.item.deptId, | |||||
| "houseDataConfirmStatus" : "CONFIRMED", | |||||
| "pageNum": this.countyhc+1, | |||||
| "pageSize":10, | |||||
| } | |||||
| listZjdzd(params).then((response) => { | |||||
| if(response.rows.length>0&&this.list1.length<response.total){ | |||||
| response.rows.map(res => { | |||||
| this.list1.push(res) | |||||
| }) | |||||
| this.countyhc++ | |||||
| this.loading2 = false | |||||
| }else{ | |||||
| this.loading2 = false | |||||
| this.finished2 = true | |||||
| } | |||||
| }); | |||||
| }else if(this.active==2&&this.loading3){ | |||||
| if(this.active==1&&this.loading3){ | |||||
| let params = { | let params = { | ||||
| "deptId" : this.item.deptId, | |||||
| "houseDataConfirmStatus" : "UNCONFIRMED", | |||||
| "pageNum": this.countwhc+1, | |||||
| "shyqrdbxm" : this.zjdvalue, | |||||
| "surveyStatus":"1", | |||||
| "pageNum": this.countyhc+1, | |||||
| "pageSize":10, | "pageSize":10, | ||||
| } | } | ||||
| listZjdzd(params).then((response) => { | |||||
| if(response.rows.length>0&&this.list2.length<response.total){ | |||||
| response.rows.map(res => { | |||||
| rhhcList(params).then((response) => { | |||||
| if(response.data.zjdzdxxList.length>0&&this.list2.length<response.data.zjdzs){ | |||||
| response.data.zjdzdxxList.map(res => { | |||||
| this.list2.push(res) | this.list2.push(res) | ||||
| }) | }) | ||||
| this.countwhc++ | |||||
| this.countyhc++ | |||||
| this.loading3 = false | this.loading3 = false | ||||
| }else{ | }else{ | ||||
| this.loading3 = false | |||||
| this.finished3 = true | this.finished3 = true | ||||
| } | } | ||||
| }); | |||||
| }else if(this.active==0&&this.loading1){ | |||||
| }); | |||||
| }else if(this.active==0&&this.loading2){ | |||||
| let params = { | let params = { | ||||
| "deptId" : this.item.deptId, | |||||
| "shyqrdbxm" : this.zjdvalue, | |||||
| "surveyStatus":"2,3,4,5", | |||||
| "pageNum": this.countqb+1, | "pageNum": this.countqb+1, | ||||
| "pageSize":10, | "pageSize":10, | ||||
| } | } | ||||
| listZjdzd(params).then((response) => { | |||||
| if(response.rows.length>0&&this.list.length<response.total){ | |||||
| response.rows.map(res => { | |||||
| _this.list.push(res) | |||||
| rhhcList(params).then((response) => { | |||||
| if(response.data.zjdzdxxList.length>0&&this.list1.length<response.data.zjdzs){ | |||||
| response.data.zjdzdxxList.map(res => { | |||||
| _this.list1.push(res) | |||||
| }) | }) | ||||
| this.countqb++ | this.countqb++ | ||||
| this.loading1 = false | |||||
| this.loading2 = false | |||||
| }else{ | }else{ | ||||
| this.finished1 = true | |||||
| this.finished2 = true | |||||
| } | } | ||||
| }); | }); | ||||
| } | } | ||||
| @@ -875,11 +868,17 @@ | |||||
| // _this.$router.push({name:'homesteadAdd'}); | // _this.$router.push({name:'homesteadAdd'}); | ||||
| // },1000) | // },1000) | ||||
| this.$router.push({path:'/homesteadSurvey/add',query: {res: item}}); | |||||
| getZjdzd(item.id).then((response) => { | |||||
| localStorage.setItem("zjdzdxxItem",JSON.stringify(response.data)); | |||||
| this.$router.push({path:'/homesteadSurvey/add'}); | |||||
| }); | |||||
| }, | }, | ||||
| // 入户核查搜索框新增。 | // 入户核查搜索框新增。 | ||||
| onClickzjd(){ | onClickzjd(){ | ||||
| this.$cookies.remove("search"); | this.$cookies.remove("search"); | ||||
| localStorage.setItem("zjdzdxxItem",JSON.stringify({suyqrdm:this.qlrform.suyqrdm,zjdlyzk:"1",landStatus:"1" | |||||
| ,houseOwnership:"2",landPhms:"10",isMore:"0",sffz:"0",sfcz:"0" | |||||
| ,zjdqdfs:"01",sjly:"01",qlsdfs:"1",qllx:"1",dj:"1",yt:"01"})); | |||||
| this.$router.push({name:'homesteadAdd'}); | this.$router.push({name:'homesteadAdd'}); | ||||
| }, | }, | ||||
| // 农户信息搜索框新增。 | // 农户信息搜索框新增。 | ||||
| @@ -1206,35 +1205,45 @@ | |||||
| let params = { | let params = { | ||||
| "shyqrdbxm" : this.zjdvalue, | "shyqrdbxm" : this.zjdvalue, | ||||
| "surveyStatus":"1", | "surveyStatus":"1", | ||||
| "pageNum": 1, | |||||
| "pageSize":10, | |||||
| } | } | ||||
| rhhcList(params).then((response) => { | rhhcList(params).then((response) => { | ||||
| console.info(this.list2.length); | |||||
| if (response.code == 200) { | if (response.code == 200) { | ||||
| this.list2 = response.data.zjdzdxxList; | |||||
| this.totalH = response.data.zjdzs; | |||||
| this.totalR = response.data.shyqrs; | |||||
| } | |||||
| }); | |||||
| }else if(this.active==2){ | |||||
| let params = { | |||||
| "deptId" : this.item.deptId, | |||||
| "houseDataConfirmStatus" : "UNCONFIRMED", | |||||
| "syqr" : this.zjdvalue | |||||
| } | |||||
| listZjdzd(params).then((response) => { | |||||
| if (response.code == 200) { | |||||
| this.list2 = response.rows | |||||
| if(response.data.zjdzdxxList.length>0&&response.data.zjdzdxxList.length<response.data.zjdzs){ | |||||
| this.list2 = response.data.zjdzdxxList; | |||||
| this.totalH = response.data.zjdzs; | |||||
| this.totalR = response.data.shyqrs; | |||||
| this.countyhc++ | |||||
| this.loading3 = false | |||||
| this.finished3 = false; | |||||
| }else{ | |||||
| this.loading3 = false | |||||
| this.finished3 = true | |||||
| } | |||||
| } | } | ||||
| }); | }); | ||||
| }else{ | }else{ | ||||
| let params = { | let params = { | ||||
| "shyqrdbxm" : this.zjdvalue, | "shyqrdbxm" : this.zjdvalue, | ||||
| "surveyStatus":"2,3,4,5", | "surveyStatus":"2,3,4,5", | ||||
| "pageNum": 1, | |||||
| "pageSize":10, | |||||
| } | } | ||||
| rhhcList(params).then((response) => { | rhhcList(params).then((response) => { | ||||
| if (response.code == 200) { | if (response.code == 200) { | ||||
| this.list1 = response.data.zjdzdxxList; | |||||
| this.totalH = response.data.zjdzs; | |||||
| this.totalR = response.data.shyqrs; | |||||
| if(response.data.zjdzdxxList.length>0&&response.data.zjdzdxxList.length<response.data.zjdzs){ | |||||
| this.list1 = response.data.zjdzdxxList; | |||||
| this.totalH = response.data.zjdzs; | |||||
| this.totalR = response.data.shyqrs; | |||||
| this.countyhc++ | |||||
| this.loading2 = false | |||||
| this.finished2 = false; | |||||
| }else{ | |||||
| this.loading2 = false | |||||
| this.finished2 = true | |||||
| } | |||||
| } | } | ||||
| }); | }); | ||||
| } | } | ||||
| @@ -1416,6 +1425,8 @@ | |||||
| let params = { | let params = { | ||||
| "shyqrdbxm" : this.zjdvalue, | "shyqrdbxm" : this.zjdvalue, | ||||
| "surveyStatus":"2,3,4,5", | "surveyStatus":"2,3,4,5", | ||||
| "pageNum": 1, | |||||
| "pageSize":10, | |||||
| } | } | ||||
| rhhcList(params).then((response) => { | rhhcList(params).then((response) => { | ||||
| if (response.code == 200) { | if (response.code == 200) { | ||||
| @@ -1429,6 +1440,8 @@ | |||||
| let params = { | let params = { | ||||
| "shyqrdbxm" : this.zjdvalue, | "shyqrdbxm" : this.zjdvalue, | ||||
| "surveyStatus":"1", | "surveyStatus":"1", | ||||
| "pageNum": 1, | |||||
| "pageSize":10, | |||||
| } | } | ||||
| rhhcList(params).then((response) => { | rhhcList(params).then((response) => { | ||||
| if (response.code == 200) { | if (response.code == 200) { | ||||
| @@ -806,37 +806,8 @@ | |||||
| }, | }, | ||||
| // 农户信息搜索框新增。 | // 农户信息搜索框新增。 | ||||
| onClicknh(){ | onClicknh(){ | ||||
| this.shownh = true; | |||||
| let params = { | |||||
| "deptId" : this.item.deptId | |||||
| } | |||||
| this.qlrform={} | |||||
| this.nhform={ | |||||
| "suyqrdm":null, | |||||
| "deptId":this.item.deptId, | |||||
| "hzzjlx":'01', | |||||
| "hzzjlxName":"身份证", | |||||
| "hyzk":'02', | |||||
| "occupation":'1', | |||||
| "occupationName":'务农', | |||||
| "jzqk":'3', | |||||
| "jzqkName":'常年居住', | |||||
| "jzhcssfyzf":'1', | |||||
| "jzhcssfyzfName":'无住房', | |||||
| "zqtczsfyzf":'Y', | |||||
| "sfbccm":'Y', | |||||
| "sfpkh":'N', | |||||
| "sfwbh":'N', | |||||
| "sjly":'07', | |||||
| "sjlyName":'农村集体产权制度改革', | |||||
| } | |||||
| listSuyqr(params).then((response) => { | |||||
| if(response.rows.length>0){ | |||||
| this.qlrform = response.rows[0] | |||||
| this.nhform.suyqrdm = this.qlrform.suyqrdm | |||||
| this.nhform.txdz = response.rows[0].suyqrmc | |||||
| } | |||||
| }); | |||||
| this.$cookies.remove("search"); | |||||
| this.$router.push({name:'hncyDetails',query:{item:{}}}); | |||||
| }, | }, | ||||
| // 返回 | // 返回 | ||||
| onClickLeft(){ | onClickLeft(){ | ||||
| @@ -1118,7 +1089,7 @@ | |||||
| onSearchnh(){ | onSearchnh(){ | ||||
| let params = { | let params = { | ||||
| "deptId" : this.item.deptId, | "deptId" : this.item.deptId, | ||||
| "yhzgx" : "01", | |||||
| "yhzgx" : "02", | |||||
| "nhValue" : this.nhvalue | "nhValue" : this.nhvalue | ||||
| } | } | ||||
| listNhhncy(params).then((response) => { | listNhhncy(params).then((response) => { | ||||
| @@ -65,17 +65,12 @@ | |||||
| :rules="[{ required: true }]" | :rules="[{ required: true }]" | ||||
| required | required | ||||
| /> | /> | ||||
| <van-field | |||||
| input-align="right" | |||||
| v-model="form.nhdm" | |||||
| name="农户代码" | |||||
| label="农户代码" | |||||
| maxlength="50" | |||||
| autocomplete="off" | |||||
| :rules="[{ required: true }]" | |||||
| required | |||||
| disabled | |||||
| /> | |||||
| <van-field v-model="form.nhdm" 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;" > | |||||
| <van-cell id="vanCell" v-for="(item, index) in nhdmDictionaries" :key="index" @click="shyqrdmxmChange(item)" style="position: relative; z-index: 999;"> | |||||
| {{item.hzxm}}-{{item.nhdm}} | |||||
| </van-cell> | |||||
| </div> | |||||
| <van-field | <van-field | ||||
| input-align="right" | input-align="right" | ||||
| v-model="form.sjcs" | v-model="form.sjcs" | ||||
| @@ -363,6 +358,8 @@ export default { | |||||
| ], | ], | ||||
| // 地图绘制 | // 地图绘制 | ||||
| drawInsert: null, | drawInsert: null, | ||||
| showDropList:false, | |||||
| nhdmDictionaries:[], | |||||
| // 当前位置信息 | // 当前位置信息 | ||||
| tGeoOrganizationLat: null, | tGeoOrganizationLat: null, | ||||
| tGeoOrganizationLng: null, | tGeoOrganizationLng: null, | ||||
| @@ -429,6 +426,51 @@ export default { | |||||
| Dialog({ type: 'danger', message: '请填写完整的表单项' }); | Dialog({ type: 'danger', message: '请填写完整的表单项' }); | ||||
| }); | }); | ||||
| }, | }, | ||||
| /** 模糊查询人员信息 */ | |||||
| remoteTransfereeMethod(query) { | |||||
| if (query !== "") { | |||||
| listNh({hzxm:query}).then((response) => { | |||||
| if (response.code == 200) { | |||||
| this.nhdmDictionaries = response.rows.map(function (item) { | |||||
| return { | |||||
| hzxm:item.hzxm, | |||||
| sqrxb:item.xb, | |||||
| hzzjhm:item.hzzjhm, | |||||
| nhdm:item.nhdm, | |||||
| hzzjlx:item.hzzjlx, | |||||
| lxdh:item.lxdh, | |||||
| deptId:item.deptId, | |||||
| deptName:item.deptName, | |||||
| } | |||||
| }) | |||||
| //设置模糊查询的下拉框和滚动条 | |||||
| if (this.nhdmDictionaries.length > 0) { | |||||
| this.showDropList = true; // div显示会阻挡下边的选择框和输入框,showDropList控制下拉框是否显示 | |||||
| //设置模糊查询的和滚动条 | |||||
| this.$nextTick(() => { | |||||
| if (this.nhdmDictionaries.length > 4) { | |||||
| let height = document.getElementById("vanCell").offsetHeight * 4; | |||||
| document.getElementById("dropList").style.height = height + "px"; | |||||
| document.getElementById("dropList").style.overflow = "scroll"; | |||||
| } else { | |||||
| document.getElementById("dropList").style.height = ""; | |||||
| document.getElementById("dropList").style.overflow = "visible"; | |||||
| } | |||||
| }); | |||||
| } else { | |||||
| this.showDropList = false; | |||||
| } | |||||
| } | |||||
| }); | |||||
| } else { | |||||
| this.nhdmDictionaries = []; | |||||
| this.showDropList = false; | |||||
| } | |||||
| }, | |||||
| shyqrdmxmChange(val){ | |||||
| this.$set(this.form, "nhdm", val.nhdm); | |||||
| this.showDropList = false; | |||||
| }, | |||||
| // 绘制申请地图 | // 绘制申请地图 | ||||
| pointDarw(data) { | pointDarw(data) { | ||||
| this.$nextTick(() => { | this.$nextTick(() => { | ||||
| @@ -141,7 +141,7 @@ export default { | |||||
| this.$router.push({name:'nmfwAdd',query:val}); | this.$router.push({name:'nmfwAdd',query:val}); | ||||
| }, | }, | ||||
| showPopupAddnmfw(){ | showPopupAddnmfw(){ | ||||
| this.$router.push({name:'nmfwAdd',query:{nhdm:this.nmfwlist[0].nhdm,nmfwzh:this.nmfwlist[0].nmfwzh}}); | |||||
| this.$router.push({name:'nmfwAdd',query:{nmfwzh:this.zrzData.nmfwzh}}); | |||||
| }, | }, | ||||
| showPopuphncy(val){ | showPopuphncy(val){ | ||||
| this.$router.push({name:'nhcyAdd',query:val}); | this.$router.push({name:'nhcyAdd',query:val}); | ||||
| @@ -54,27 +54,13 @@ | |||||
| placeholder="行政区划名称" | placeholder="行政区划名称" | ||||
| :rules="[{ required: true, message: '' }]" | :rules="[{ required: true, message: '' }]" | ||||
| />--> | />--> | ||||
| <van-field | |||||
| readonly | |||||
| clickable | |||||
| label="农户代码" | |||||
| placeholder="请选择" | |||||
| v-model="form.nhdm" | |||||
| @click="shownhdm = true" | |||||
| input-align="right" | |||||
| right-icon="arrow-down" | |||||
| :rules="[{ required: true }]" | |||||
| required | |||||
| /> | |||||
| <van-popup v-model="shownhdm" position="bottom"> | |||||
| <van-picker | |||||
| show-toolbar | |||||
| :columns="nhdmDictionaries" | |||||
| value-key="hzxm" | |||||
| @confirm="onConfirmnhdm" | |||||
| @cancel="shownhdm = false" | |||||
| /> | |||||
| </van-popup> | |||||
| <van-field v-model="form.nhdm" 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;" > | |||||
| <van-cell id="vanCell" v-for="(item, index) in nhdmDictionaries" :key="index" @click="shyqrdmxmChange(item)" style="position: relative; z-index: 999;"> | |||||
| {{item.hzxm}}-{{item.nhdm}} | |||||
| </van-cell> | |||||
| </div> | |||||
| <van-field | <van-field | ||||
| v-model="form.zjddm" | v-model="form.zjddm" | ||||
| label="宅基地代码" | label="宅基地代码" | ||||
| @@ -351,6 +337,7 @@ export default { | |||||
| } | } | ||||
| ], | ], | ||||
| shownhdm:false, | shownhdm:false, | ||||
| showDropList:false, | |||||
| shownmfwdm:false, | shownmfwdm:false, | ||||
| hzxm:null, | hzxm:null, | ||||
| landStatus:"1", | landStatus:"1", | ||||
| @@ -386,7 +373,7 @@ export default { | |||||
| listNmfw({zjddm:this.zjdzdxx.zjddm}).then(response => { | listNmfw({zjddm:this.zjdzdxx.zjddm}).then(response => { | ||||
| this.nmfwDictionaries = response.rows; | this.nmfwDictionaries = response.rows; | ||||
| }); | }); | ||||
| this.getList(); | |||||
| // this.getList(); | |||||
| }, | }, | ||||
| mounted(){ | mounted(){ | ||||
| @@ -397,6 +384,51 @@ export default { | |||||
| this.nhdmDictionaries = response.rows; | this.nhdmDictionaries = response.rows; | ||||
| }); | }); | ||||
| }, | }, | ||||
| /** 模糊查询人员信息 */ | |||||
| remoteTransfereeMethod(query) { | |||||
| if (query !== "") { | |||||
| listNh({hzxm:query}).then((response) => { | |||||
| if (response.code == 200) { | |||||
| this.nhdmDictionaries = response.rows.map(function (item) { | |||||
| return { | |||||
| hzxm:item.hzxm, | |||||
| sqrxb:item.xb, | |||||
| hzzjhm:item.hzzjhm, | |||||
| nhdm:item.nhdm, | |||||
| hzzjlx:item.hzzjlx, | |||||
| lxdh:item.lxdh, | |||||
| deptId:item.deptId, | |||||
| deptName:item.deptName, | |||||
| } | |||||
| }) | |||||
| //设置模糊查询的下拉框和滚动条 | |||||
| if (this.nhdmDictionaries.length > 0) { | |||||
| this.showDropList = true; // div显示会阻挡下边的选择框和输入框,showDropList控制下拉框是否显示 | |||||
| //设置模糊查询的和滚动条 | |||||
| this.$nextTick(() => { | |||||
| if (this.nhdmDictionaries.length > 4) { | |||||
| let height = document.getElementById("vanCell").offsetHeight * 4; | |||||
| document.getElementById("dropList").style.height = height + "px"; | |||||
| document.getElementById("dropList").style.overflow = "scroll"; | |||||
| } else { | |||||
| document.getElementById("dropList").style.height = ""; | |||||
| document.getElementById("dropList").style.overflow = "visible"; | |||||
| } | |||||
| }); | |||||
| } else { | |||||
| this.showDropList = false; | |||||
| } | |||||
| } | |||||
| }); | |||||
| } else { | |||||
| this.nhdmDictionaries = []; | |||||
| this.showDropList = false; | |||||
| } | |||||
| }, | |||||
| shyqrdmxmChange(val){ | |||||
| this.$set(this.form, "nhdm", val.nhdm); | |||||
| this.showDropList = false; | |||||
| }, | |||||
| submitzjd(){ | submitzjd(){ | ||||
| this.$refs.form.validate().then(() => { | this.$refs.form.validate().then(() => { | ||||
| if(this.form.id == null){ | if(this.form.id == null){ | ||||