Browse Source

大托管

wulanhaote
庞东旭 2 years ago
parent
commit
eec8a5b3b3
1 changed files with 33 additions and 33 deletions
  1. +33
    -33
      src/views/agriculturalTrusteeship/login.vue

+ 33
- 33
src/views/agriculturalTrusteeship/login.vue View File

@@ -152,7 +152,7 @@
</van-field> </van-field>
<div style="height: 20PX"></div> <div style="height: 20PX"></div>
<van-uploader v-model="mainImgUploader" :after-read="afterReadEvidenceForm" :before-delete="deleteFileEvidenceForm" /> <van-uploader v-model="mainImgUploader" :after-read="afterReadEvidenceForm" :before-delete="deleteFileEvidenceForm" />
<MapGisTag ref="clickLoading" :showBtn="true" :message="serviceForm.theGeom" v-on:formSubmit="MapTag"></MapGisTag>
<!-- <MapGisTag ref="clickLoading" :showBtn="true" :message="serviceForm.theGeom" v-on:formSubmit="MapTag"></MapGisTag>-->


</template> </template>


@@ -332,7 +332,7 @@
<van-uploader v-model="mainImgUploader2" :after-read="afterReadEvidenceEntityForm" :before-delete="deleteFileEvidenceEntityForm" /> <van-uploader v-model="mainImgUploader2" :after-read="afterReadEvidenceEntityForm" :before-delete="deleteFileEvidenceEntityForm" />




<MapGisTag ref="clickLoading1" :showBtn="true" :message="entityForm.theGeom" v-on:formSubmit="MapTag1"></MapGisTag>
<!-- <MapGisTag ref="clickLoading1" :showBtn="true" :message="entityForm.theGeom" v-on:formSubmit="MapTag1"></MapGisTag>-->
</template> </template>
<p class="submit_btn" @click="$refs.formData.submit()">提交审核</p> <p class="submit_btn" @click="$refs.formData.submit()">提交审核</p>
</van-form> </van-form>
@@ -348,12 +348,12 @@
import {getCodeImg, getRegisterSmsCode, registerCheck, registerOn} from "@/api/login"; import {getCodeImg, getRegisterSmsCode, registerCheck, registerOn} from "@/api/login";
import {decrypt, encrypt} from "@/utils/jsencrypt"; import {decrypt, encrypt} from "@/utils/jsencrypt";
import {serviceLogin, entityLogin, commonUpload , serviceRegister , entityRegister , treeselect} from "@/api/agriculturalTrusteeship"; import {serviceLogin, entityLogin, commonUpload , serviceRegister , entityRegister , treeselect} from "@/api/agriculturalTrusteeship";
import MapGisTag from "@/components/Map/MapGisTagDTG";
// import MapGisTag from "@/components/Map/MapGisTagDTG";
export default { export default {
name: "agriculturalTrusteeshipLogin", name: "agriculturalTrusteeshipLogin",
components: {
MapGisTag
},
// components: {
// MapGisTag
// },
data() { data() {
return { return {
active:0, active:0,
@@ -446,28 +446,28 @@


}, },
methods: { methods: {
//获取自己返回值
/** 查找地图中定位点 */
MapTag: function (data) {
this.serviceForm.theGeom = data;
},
//每个查看修改,新增 方法下引用下面方法
mapClickLoading(){
setTimeout(() => {
this.$refs.clickLoading.pointPaceCountryDarw();
}, 500);
},
//获取自己返回值
/** 查找地图中定位点 */
MapTag1: function (data) {
this.entityForm.theGeom = data;
},
//每个查看修改,新增 方法下引用下面方法
mapClickLoading1(){
setTimeout(() => {
this.$refs.clickLoading1.pointPaceCountryDarw();
}, 500);
},
// //获取自己返回值
// /** 查找地图中定位点 */
// MapTag: function (data) {
// this.serviceForm.theGeom = data;
// },
// //每个查看修改,新增 方法下引用下面方法
// mapClickLoading(){
// setTimeout(() => {
// this.$refs.clickLoading.pointPaceCountryDarw();
// }, 500);
// },
// //获取自己返回值
// /** 查找地图中定位点 */
// MapTag1: function (data) {
// this.entityForm.theGeom = data;
// },
// //每个查看修改,新增 方法下引用下面方法
// mapClickLoading1(){
// setTimeout(() => {
// this.$refs.clickLoading1.pointPaceCountryDarw();
// }, 500);
// },
goLogin(){ goLogin(){
console.log(this.formData) console.log(this.formData)
if (this.loginType == 'bxjg' || this.loginType == 'dkjg' || this.loginType == 'ndjg' ){ if (this.loginType == 'bxjg' || this.loginType == 'dkjg' || this.loginType == 'ndjg' ){
@@ -512,11 +512,11 @@
this.top = '40px'; this.top = '40px';
this.transform = 'none'; this.transform = 'none';
this.left = '0'; this.left = '0';
if (this.loginType == 'bxjg' || this.loginType == 'dkjg' || this.loginType == 'ndjg'){
this.mapClickLoading()
}else if(this.loginType == 'fwzz'){
this.mapClickLoading1()
}
// if (this.loginType == 'bxjg' || this.loginType == 'dkjg' || this.loginType == 'ndjg'){
// this.mapClickLoading()
// }else if(this.loginType == 'fwzz'){
// this.mapClickLoading1()
// }
}else if( name == 'login'){ }else if( name == 'login'){
this.position = 'absolute'; this.position = 'absolute';
this.top = '50%'; this.top = '50%';


Loading…
Cancel
Save