|
@@ -108,7 +108,7 @@
|
|
|
<view class="register-row clearfix">
|
|
|
<view class="register-from">
|
|
|
<view class="label">机构简称:</view>
|
|
|
- <input class="row-input" type="text" v-model="abbreviation" placeholder="请输入您的机构简称" maxlength="16"/>
|
|
|
+ <input class="row-input" type="text" v-model="abbreviation" placeholder="请输入您的机构简称" maxlength="10"/>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="register-row clearfix">
|
|
@@ -128,7 +128,7 @@
|
|
|
v-model="addressData.addressDetail"
|
|
|
placeholder="详细地址:如道路、门牌号、小区等"
|
|
|
placeholder-class="placeholder"
|
|
|
- maxlength="50"
|
|
|
+ maxlength="25"
|
|
|
@input="onTextareaInput"
|
|
|
:class="isShowInput ? '':''"
|
|
|
/>
|
|
@@ -399,6 +399,7 @@
|
|
|
this.tabCurrentIndex = 3
|
|
|
}).catch(res =>{
|
|
|
this.$util.msg(res.msg,2000);
|
|
|
+ this.getVerificationCode()
|
|
|
})
|
|
|
},
|
|
|
registerStepsSub(){
|
|
@@ -511,25 +512,24 @@
|
|
|
this.isEmialDisabled = false;
|
|
|
})
|
|
|
},
|
|
|
- getVerificationCode(){//图形验证
|
|
|
+ getVerificationCode(){//获取图形验证
|
|
|
getImageCode().then(res => {
|
|
|
this.imageCodeUrl = res.data.baseImage
|
|
|
this.imageCodetoken = res.data.token
|
|
|
})
|
|
|
},
|
|
|
- // 三级联动选择
|
|
|
- showMulLinkageThreePicker() {
|
|
|
+ showMulLinkageThreePicker() {//三级地址联动
|
|
|
this.isShowInput = true
|
|
|
this.$refs.mpvueCityPicker.show()
|
|
|
},
|
|
|
- onConfirm(e) {
|
|
|
+ onConfirm(e) {//获取选择的地址信息
|
|
|
console.log('地址',e);
|
|
|
this.addressData.address = e.name;
|
|
|
this.addressData.townID = e.townCode;
|
|
|
this.addressData.cityID = e.cityCode;
|
|
|
this.addressData.provinceID = e.provinceCode;
|
|
|
},
|
|
|
- onTextareaInput(e){
|
|
|
+ onTextareaInput(e){//地址详细信息
|
|
|
this.addressData.addressDetail = e.detail.value;
|
|
|
},
|
|
|
chooseBusinessImage() {//营业执照图片上传
|
|
@@ -547,16 +547,16 @@
|
|
|
this.uploadMedicalImage = JSON.parse(res.data).data
|
|
|
})
|
|
|
},
|
|
|
- viewBusinessImage(e) {
|
|
|
+ viewBusinessImage(e) {//预览营业执照图片
|
|
|
this.myPreviewImageFn(this.uploadBusinessImage)
|
|
|
},
|
|
|
- viewMentuzImage(e) {
|
|
|
+ viewMentuzImage(e) {//预览门头照图片
|
|
|
this.myPreviewImageFn(this.uploadMentuzImage)
|
|
|
},
|
|
|
- viewMedicalImage(e) {
|
|
|
+ viewMedicalImage(e) {//预览资质照图片
|
|
|
this.myPreviewImageFn(this.uploadMedicalImage)
|
|
|
},
|
|
|
- myPreviewImageFn(url){
|
|
|
+ myPreviewImageFn(url){//预览图片公共方法
|
|
|
this.isPreviewImage = true
|
|
|
let mentuzArray = []
|
|
|
mentuzArray.push(url)
|
|
@@ -565,22 +565,22 @@
|
|
|
current: 0
|
|
|
});
|
|
|
},
|
|
|
- delBusinessImage(){
|
|
|
+ delBusinessImage(){//删除营业执照图片
|
|
|
this.$util.modal('','确定删除营业执照图片吗?','确定','取消',true,() =>{
|
|
|
this.uploadBusinessImage = ''
|
|
|
})
|
|
|
},
|
|
|
- delMentuzImage(){
|
|
|
+ delMentuzImage(){//删除门头照图片
|
|
|
this.$util.modal('','确定删除门头照图片吗?','确定','取消',true,() =>{
|
|
|
this.uploadMentuzImage = ''
|
|
|
})
|
|
|
},
|
|
|
- delMedicalImage(){
|
|
|
+ delMedicalImage(){//删除资质图片
|
|
|
this.$util.modal('','确定删除资质图片吗?','确定','取消',true,() =>{
|
|
|
this.uploadMedicalImage = ''
|
|
|
})
|
|
|
},
|
|
|
- bindPickerChange() {
|
|
|
+ bindPickerChange() {//机构类型选择
|
|
|
let self = this
|
|
|
uni.showActionSheet({
|
|
|
title:'标题',
|