|
@@ -10,7 +10,7 @@
|
|
<view class="error-main-list">
|
|
<view class="error-main-list">
|
|
<view class="item" v-for="(item, index) in errorList" :key="index">
|
|
<view class="item" v-for="(item, index) in errorList" :key="index">
|
|
<text class="num">{{ index+1 }}.</text>
|
|
<text class="num">{{ index+1 }}.</text>
|
|
- <text>{{ item.text }}</text>
|
|
|
|
|
|
+ <text>{{ item }}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -55,7 +55,7 @@
|
|
<view class="register-from code">
|
|
<view class="register-from code">
|
|
<input class="row-input" type="text" v-model="newMobileCode" placeholder="请输入新手机号的验证码" maxlength="6"/>
|
|
<input class="row-input" type="text" v-model="newMobileCode" placeholder="请输入新手机号的验证码" maxlength="6"/>
|
|
</view>
|
|
</view>
|
|
- <view class="register-from btn" :class="[isMobileDisabled ? 'disabled' : '']" @click.stop="getNewMobileCodeFn">
|
|
|
|
|
|
+ <view class="register-from btn" :class="[isNewMobileDisabled ? 'disabled' : '']" @click.stop="getNewMobileCodeFn">
|
|
<button class="row-input" type="button" :disabled="isNewMobileDisabled">{{ newMobileCodeText }}</button>
|
|
<button class="row-input" type="button" :disabled="isNewMobileDisabled">{{ newMobileCodeText }}</button>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -139,7 +139,7 @@
|
|
-->
|
|
-->
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="register-row clearfix" v-if="isOrganizationType == 0">
|
|
|
|
|
|
+ <view class="register-row clearfix" v-if="isOrganizationType == 1">
|
|
<view class="register-from radio">
|
|
<view class="register-from radio">
|
|
<radio-group @change="radioChange">
|
|
<radio-group @change="radioChange">
|
|
<label class="row-input" v-for="(item, index) in beautyList" :key="item.value">
|
|
<label class="row-input" v-for="(item, index) in beautyList" :key="item.value">
|
|
@@ -155,7 +155,7 @@
|
|
<input class="row-input keshi" type="text" v-model="clubContact" placeholder="请填写经营的科室,至少三个,用逗号隔开" maxlength="16"/>
|
|
<input class="row-input keshi" type="text" v-model="clubContact" placeholder="请填写经营的科室,至少三个,用逗号隔开" maxlength="16"/>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="register-row clearfix" v-if="isOrganizationType == 0">
|
|
|
|
|
|
+ <view class="register-row clearfix" v-if="isOrganizationType == 1">
|
|
<view class="register-picture">
|
|
<view class="register-picture">
|
|
<view class="label zz">医疗执业许可证:</view>
|
|
<view class="label zz">医疗执业许可证:</view>
|
|
<view class="upload-picture">
|
|
<view class="upload-picture">
|
|
@@ -169,7 +169,7 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="register-row clearfix" v-if="isOrganizationType == 0">
|
|
|
|
|
|
+ <view class="register-row clearfix" v-if="isOrganizationType == 1">
|
|
<view class="register-from group">
|
|
<view class="register-from group">
|
|
<view class="label">主营内容:</view>
|
|
<view class="label">主营内容:</view>
|
|
<checkbox-group class="content-class" @change="chooseMaleLike" >
|
|
<checkbox-group class="content-class" @change="chooseMaleLike" >
|
|
@@ -198,7 +198,7 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="register-row clearfix" v-if="isOrganizationType == 1">
|
|
|
|
|
|
+ <view class="register-row clearfix" v-if="isOrganizationType == 2">
|
|
<view class="register-from group">
|
|
<view class="register-from group">
|
|
<view class="label">主营内容:</view>
|
|
<view class="label">主营内容:</view>
|
|
<checkbox-group class="content-class" @change="chooseMaleLikes">
|
|
<checkbox-group class="content-class" @change="chooseMaleLikes">
|
|
@@ -238,7 +238,7 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="register-row ">
|
|
<view class="register-row ">
|
|
- <view class="register-btn sub">提交审核</view>
|
|
|
|
|
|
+ <view class="register-btn sub" @click.stop="organizationUpdateInfo">提交审核</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<mpvue-city-picker :themeColor="themeColor"
|
|
<mpvue-city-picker :themeColor="themeColor"
|
|
@@ -252,10 +252,10 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
- import { mapMutations } from 'vuex';
|
|
|
|
|
|
+import { mapMutations } from 'vuex';
|
|
import mpvueCityPicker from '@/components/mpvue-citypicker/mpvueCityPicker.vue'
|
|
import mpvueCityPicker from '@/components/mpvue-citypicker/mpvueCityPicker.vue'
|
|
- import { organizationRegister , organizationModifyUpdate ,organizationUpdateModifyInfo } from "@/api/use.js"
|
|
|
|
- import { getImageCode, getMobileCode, uploadFileImage } from "@/api/utils.js"
|
|
|
|
|
|
+ import { organizationUpdateModifyInfo , organizationModifyUpdate } from "@/api/use.js"
|
|
|
|
+ import { getClubMobileCode,getClubNewMobileCode,uploadFileImage } from "@/api/utils.js"
|
|
var self;
|
|
var self;
|
|
export default{
|
|
export default{
|
|
components:{
|
|
components:{
|
|
@@ -263,19 +263,19 @@
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return{
|
|
return{
|
|
- errorList:[
|
|
|
|
- {text:'图片模糊'},
|
|
|
|
- {text:'营业执照错误'},
|
|
|
|
- {text:'手机号码错误图片模糊图片模糊图片模糊图片模糊图片模糊图片模糊图片模糊图片模糊图片模糊图片模糊图片模糊'}
|
|
|
|
- ],
|
|
|
|
- isOpenError:false, //审核不通过提示信息显隐
|
|
|
|
|
|
+ isOpenError:false,
|
|
|
|
+ errorList:[],
|
|
isShowCheckPhone:false, //是否显示修改手机
|
|
isShowCheckPhone:false, //是否显示修改手机
|
|
tabCurrentIndex:3,
|
|
tabCurrentIndex:3,
|
|
isPreviewImage:false, //预览图片开关
|
|
isPreviewImage:false, //预览图片开关
|
|
isMobileDisabled: false, //手机验证码按钮控制
|
|
isMobileDisabled: false, //手机验证码按钮控制
|
|
isNewMobileDisabled: false, //手机验证码按钮控制
|
|
isNewMobileDisabled: false, //手机验证码按钮控制
|
|
|
|
+ userID:'', //用户ID
|
|
|
|
+ clubID:'', //会所ID
|
|
count: '', //倒计时
|
|
count: '', //倒计时
|
|
|
|
+ newCount: '', //倒计时
|
|
codeTime: null,
|
|
codeTime: null,
|
|
|
|
+ codeTimeNew: null,
|
|
clubName:'', //机构名称
|
|
clubName:'', //机构名称
|
|
abbreviation:'', //机构简称
|
|
abbreviation:'', //机构简称
|
|
clubContact:'', //联系人
|
|
clubContact:'', //联系人
|
|
@@ -297,67 +297,131 @@
|
|
isDepartment:false, //是否显示科室
|
|
isDepartment:false, //是否显示科室
|
|
secondClubType:'', //机构类型二级分类
|
|
secondClubType:'', //机构类型二级分类
|
|
mainpro:'', //主营内容
|
|
mainpro:'', //主营内容
|
|
- isOrganizationType:3,
|
|
|
|
|
|
+ clubTelePhone:'', //固定电话
|
|
|
|
+ clubFax:'', //传真
|
|
|
|
+ companyPprofile:'', //公司简介
|
|
|
|
+ firstClubType:'', //机构类型
|
|
|
|
+ isOrganizationType:0,
|
|
organizationTypeText:'请选择机构类型',
|
|
organizationTypeText:'请选择机构类型',
|
|
beautyList:[{value:'1',name:'诊所'},{value:'2',name:'门诊'},{value:'3',name:'医院'}],
|
|
beautyList:[{value:'1',name:'诊所'},{value:'2',name:'门诊'},{value:'3',name:'医院'}],
|
|
- mentuzCampList:[{value:'1',name:'整形'},{value:'2',name:'轻医美'},{value:'3',name:'皮肤科'}],
|
|
|
|
- medicaCampList:[
|
|
|
|
- {value:'1',name:'美容'},
|
|
|
|
- {value:'2',name:'美体'},
|
|
|
|
- {value:'3',name:'美发'},
|
|
|
|
- {value:'4',name:'皮肤管理'},
|
|
|
|
- {value:'5',name:'光电'},
|
|
|
|
- {value:'6',name:'综合类'},
|
|
|
|
- {value:'7',name:'中医养生'},
|
|
|
|
- {value:'8',name:'spa'}
|
|
|
|
- ],
|
|
|
|
|
|
+ mentuzCampList:[],
|
|
|
|
+ medicaCampList:[],
|
|
typtIndex:0,
|
|
typtIndex:0,
|
|
organizationType:0,
|
|
organizationType:0,
|
|
current:0,
|
|
current:0,
|
|
isShowAustomItem:false, //是否显示其他添加
|
|
isShowAustomItem:false, //是否显示其他添加
|
|
customItemValue:'', //自定义项目
|
|
customItemValue:'', //自定义项目
|
|
|
|
+ isMainproCheck:false,
|
|
addressData:{
|
|
addressData:{
|
|
address:'请选择机构所在地区',
|
|
address:'请选择机构所在地区',
|
|
townID:'', //区ID
|
|
townID:'', //区ID
|
|
- cityID:'', //区ID
|
|
|
|
- provinceID:'', //区ID
|
|
|
|
- addressDetail: '', //地址
|
|
|
|
|
|
+ cityID:'', //市ID
|
|
|
|
+ provinceID:'', //省ID
|
|
|
|
+ addressDetail: '', //地址详情
|
|
},
|
|
},
|
|
}
|
|
}
|
|
},
|
|
},
|
|
onLoad(option) {
|
|
onLoad(option) {
|
|
console.log(option)
|
|
console.log(option)
|
|
- this.organizationModifyInfo()
|
|
|
|
|
|
+ this.organizationInfo()
|
|
},
|
|
},
|
|
methods:{
|
|
methods:{
|
|
- organizationModifyInfo(){
|
|
|
|
- organizationUpdateModifyInfo({userID:this.userID}).then(response =>{
|
|
|
|
- console.log(response)
|
|
|
|
|
|
+ organizationInfo(){
|
|
|
|
+ this.$api.getStorage().then((resolve) =>{
|
|
|
|
+ this.userID = resolve.userID
|
|
|
|
+ organizationUpdateModifyInfo({userID:10283}).then(response =>{
|
|
|
|
+ let organizationClub = response.data.club
|
|
|
|
+ let organizationUser = response.data.user
|
|
|
|
+ this.errorList =organizationUser.auditNoteList
|
|
|
|
+ this.email = organizationUser.email
|
|
|
|
+ this.clubID = organizationUser.clubID
|
|
|
|
+ this.clubName = organizationClub.name
|
|
|
|
+ this.clubContact = organizationClub.linkMan
|
|
|
|
+ this.mobile = organizationUser.bindMobile
|
|
|
|
+ this.abbreviation = organizationClub.sname
|
|
|
|
+ if( organizationClub.provinceID == null ){
|
|
|
|
+ this.addressData.provinceID = ''
|
|
|
|
+ }else{
|
|
|
|
+ this.addressData.provinceID = organizationClub.provinceID
|
|
|
|
+ }
|
|
|
|
+ if( organizationClub.cityID == null ){
|
|
|
|
+ this.addressData.cityID = ''
|
|
|
|
+ }else{
|
|
|
|
+ this.addressData.cityID = organizationClub.cityID
|
|
|
|
+ }
|
|
|
|
+ if( organizationClub.townID == null ){
|
|
|
|
+ this.addressData.townID = ''
|
|
|
|
+ }else{
|
|
|
|
+ this.addressData.townID = organizationClub.townID
|
|
|
|
+ }
|
|
|
|
+ this.addressData.address = organizationClub.provincialAddress
|
|
|
|
+ this.addressData.addressDetail = organizationClub.address
|
|
|
|
+ this.socialCreditCode = organizationClub.socialCreditCode
|
|
|
|
+ this.firstClubType = organizationClub.firstClubType
|
|
|
|
+ this.secondClubType = organizationClub.secondClubType
|
|
|
|
+ this.uploadBusinessImage = organizationClub.businessLicenseImage
|
|
|
|
+ this.uploadMentuzImage = organizationClub.headpic
|
|
|
|
+ this.uploadMedicalImage = organizationClub.medicalPracticeLicenseImg
|
|
|
|
+ this.department = organizationClub.department
|
|
|
|
+ this.clubTelePhone = organizationClub. contractPhone
|
|
|
|
+ this.clubFax = organizationClub.fax
|
|
|
|
+ this.companyPprofile = organizationClub.info
|
|
|
|
+ //机构类型&&主营项目
|
|
|
|
+ switch(this.firstClubType){
|
|
|
|
+ case '1':
|
|
|
|
+ this.organizationTypeText = '医美'
|
|
|
|
+ this.isOrganizationType = 1
|
|
|
|
+ break;
|
|
|
|
+ case '2':
|
|
|
|
+ this.organizationTypeText = '生美'
|
|
|
|
+ this.isOrganizationType = 2
|
|
|
|
+ break;
|
|
|
|
+ case null:
|
|
|
|
+ this.organizationTypeText = '请选择机构类型'
|
|
|
|
+ this.isOrganizationType = 0
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ if(organizationClub.mainpro!=null){
|
|
|
|
+ if(this.firstClubType == '1'){
|
|
|
|
+ this.mentuzCampList = this.setNewMainpro(organizationClub.mainpro)
|
|
|
|
+ }else{
|
|
|
|
+ this.medicaCampList = this.setNewMainpro(organizationClub.mainpro)
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ //机构类型
|
|
|
|
+ switch(this.secondClubType){
|
|
|
|
+ case '1':this.current = 0;break;
|
|
|
|
+ case '2':this.current = 1;this.isDepartment=true;break;
|
|
|
|
+ case '3':this.current = 2;this.isDepartment=true;break;
|
|
|
|
+ }
|
|
|
|
+ })
|
|
}).catch(response =>{
|
|
}).catch(response =>{
|
|
- this.$util.msg(res.msg,2000);
|
|
|
|
|
|
+ this.$util.msg(response.msg,2000)
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- registerStepsTwo(){
|
|
|
|
- let params ={
|
|
|
|
- name:this.clubName,
|
|
|
|
- linkMan:this.clubContact,
|
|
|
|
- bindMobile:this.registerMobile,
|
|
|
|
- activationCode:this.mobileCode,
|
|
|
|
- whichStep:2,
|
|
|
|
|
|
+ organizationUpdateInfo(){//提交审核
|
|
|
|
+ if(!this.isMainproCheck){
|
|
|
|
+ let mainproList = []
|
|
|
|
+ if(this.firstClubType == '1'){
|
|
|
|
+ this.mentuzCampList.forEach(item =>{
|
|
|
|
+ mainproList.push(item.name)
|
|
|
|
+ })
|
|
|
|
+ }else{
|
|
|
|
+ this.medicaCampList.forEach(item =>{
|
|
|
|
+ mainproList.push(item.name)
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ this.mainpro = mainproList.join('/')
|
|
}
|
|
}
|
|
- organizationVerifyRegisterTwo(params).then(res =>{
|
|
|
|
- console.log(res)
|
|
|
|
- this.tabCurrentIndex = 3
|
|
|
|
- }).catch(res =>{
|
|
|
|
- this.$util.msg(res.msg,2000);
|
|
|
|
- })
|
|
|
|
- },
|
|
|
|
- registerStepsSub(){
|
|
|
|
let params ={
|
|
let params ={
|
|
|
|
+ userID:this.userID,
|
|
|
|
+ clubID:this.clubID, //会所ID
|
|
name:this.clubName,
|
|
name:this.clubName,
|
|
linkMan:this.clubContact,
|
|
linkMan:this.clubContact,
|
|
- bindMobile:this.registerMobile,
|
|
|
|
- activationCode:this.mobileCode,
|
|
|
|
|
|
+ contractMobile2:this.mobile,
|
|
|
|
+ contractMobile:this.newMobile,
|
|
|
|
+ mobileCode:this.mobileCode,
|
|
|
|
+ newMobileCode:this.newMobileCode,
|
|
sname:this.abbreviation,
|
|
sname:this.abbreviation,
|
|
provinceID:this.addressData.provinceID,
|
|
provinceID:this.addressData.provinceID,
|
|
cityID:this.addressData.cityID,
|
|
cityID:this.addressData.cityID,
|
|
@@ -367,29 +431,28 @@
|
|
businessLicenseImage:this.uploadBusinessImage,
|
|
businessLicenseImage:this.uploadBusinessImage,
|
|
headpic:this.uploadMentuzImage,
|
|
headpic:this.uploadMentuzImage,
|
|
firstClubType:this.isOrganizationType, //机构类型分类 医美:0和生美:1
|
|
firstClubType:this.isOrganizationType, //机构类型分类 医美:0和生美:1
|
|
- secondClubType:this.secondClubType, //机构类型二级分类 诊所:1,门诊:2,医院:3
|
|
|
|
- department:this.department, //科室
|
|
|
|
|
|
+ secondClubType:this.secondClubType, //机构类型二级分类 诊所:1,门诊:2,医院:3
|
|
|
|
+ department:this.department, //科室
|
|
medicalPracticeLicenseImg:this.uploadMedicalImage,//资质图片
|
|
medicalPracticeLicenseImg:this.uploadMedicalImage,//资质图片
|
|
isAgreed:this.isAgreed, //是否勾选协议
|
|
isAgreed:this.isAgreed, //是否勾选协议
|
|
mainpro:this.mainpro,
|
|
mainpro:this.mainpro,
|
|
- whichStep:3
|
|
|
|
|
|
+ fax:this.clubFax,
|
|
|
|
+ contractPhone:this.clubTelePhone,
|
|
|
|
+ info : this.companyPprofile
|
|
}
|
|
}
|
|
- organizationRegister(params).then(res =>{
|
|
|
|
- this.$util.msg('您的机构账号已提交审核',2000);
|
|
|
|
- this.$api.switchTabTo('/pages/tabBar/home/home')
|
|
|
|
- }).catch(res =>{
|
|
|
|
- this.$util.msg(res.msg,2000);
|
|
|
|
|
|
+ console.log(params)
|
|
|
|
+ organizationModifyUpdate(params).then(response =>{
|
|
|
|
+ this.$util.msg(response.msg,2000);
|
|
|
|
+ setTimeout(()=>{
|
|
|
|
+ this.$api.switchTabTo('/pages/tabBar/home/home')
|
|
|
|
+ },2000)
|
|
|
|
+ }).catch(response =>{
|
|
|
|
+ this.$util.msg(response.msg,2000);
|
|
})
|
|
})
|
|
},
|
|
},
|
|
getMobileCodeFn(){
|
|
getMobileCodeFn(){
|
|
- let params = {
|
|
|
|
- mobile:this.registerMobile,
|
|
|
|
- activateCodeType:2,
|
|
|
|
- platformType:2,
|
|
|
|
- imgCode:this.imageCode,
|
|
|
|
- token:this.imageCodetoken,
|
|
|
|
- }
|
|
|
|
- getMobileCode(params).then(res =>{
|
|
|
|
|
|
+ let params = { mobile : this.mobile }
|
|
|
|
+ getClubMobileCode(params).then(response =>{
|
|
this.$util.msg('验证短信已发送',2000);
|
|
this.$util.msg('验证短信已发送',2000);
|
|
const TIME_COUNT = 60;
|
|
const TIME_COUNT = 60;
|
|
if (!this.codeTime) {
|
|
if (!this.codeTime) {
|
|
@@ -406,45 +469,33 @@
|
|
this.mobileCodeText = '获取验证码'
|
|
this.mobileCodeText = '获取验证码'
|
|
}
|
|
}
|
|
},1000)
|
|
},1000)
|
|
- }
|
|
|
|
- }).catch( res =>{
|
|
|
|
- this.$util.msg(res.msg,2000);
|
|
|
|
|
|
+ }
|
|
|
|
+ }).catch( response =>{
|
|
|
|
+ this.$util.msg(response.msg,2000);
|
|
})
|
|
})
|
|
},
|
|
},
|
|
getNewMobileCodeFn(){
|
|
getNewMobileCodeFn(){
|
|
- let params = {
|
|
|
|
- mobile:this.registerMobile,
|
|
|
|
- activateCodeType:2,
|
|
|
|
- platformType:2,
|
|
|
|
- imgCode:this.imageCode,
|
|
|
|
- token:this.imageCodetoken,
|
|
|
|
- }
|
|
|
|
- getMobileCode(params).then(res =>{
|
|
|
|
|
|
+ let params = { newMobile : this.newMobile }
|
|
|
|
+ getClubNewMobileCode(params).then(response =>{
|
|
this.$util.msg('验证短信已发送',2000);
|
|
this.$util.msg('验证短信已发送',2000);
|
|
const TIME_COUNT = 60;
|
|
const TIME_COUNT = 60;
|
|
- if (!this.codeTime) {
|
|
|
|
- this.count = TIME_COUNT;
|
|
|
|
|
|
+ if (!this.codeTimeNew) {
|
|
|
|
+ this.newCount = TIME_COUNT;
|
|
this.isNewMobileDisabled = true;
|
|
this.isNewMobileDisabled = true;
|
|
- this.codeTime = setInterval(() => {
|
|
|
|
- if (this.count > 1 && this.count <= TIME_COUNT) {
|
|
|
|
- this.count--
|
|
|
|
- this.newMobileCodeText = this.count +'s重新发送'
|
|
|
|
|
|
+ this.codeTimeNew = setInterval(() => {
|
|
|
|
+ if (this.newCount > 1 && this.newCount <= TIME_COUNT) {
|
|
|
|
+ this.newCount
|
|
|
|
+ this.newMobileCodeText = this.newCount +'s重新发送'
|
|
} else {
|
|
} else {
|
|
this.isNewMobileDisabled = false;
|
|
this.isNewMobileDisabled = false;
|
|
- clearInterval(this.codeTime)
|
|
|
|
- this.codeTime = null
|
|
|
|
|
|
+ clearInterval(this.codeTimeNew)
|
|
|
|
+ this.codeTimeNew = null
|
|
this.newMobileCodeText = '获取验证码'
|
|
this.newMobileCodeText = '获取验证码'
|
|
}
|
|
}
|
|
},1000)
|
|
},1000)
|
|
}
|
|
}
|
|
}).catch( res =>{
|
|
}).catch( res =>{
|
|
- this.$util.msg(res.msg,2000);
|
|
|
|
- })
|
|
|
|
- },
|
|
|
|
- getVerificationCode(){//图形验证
|
|
|
|
- getImageCode().then(res => {
|
|
|
|
- this.imageCodeUrl = res.data.baseImage
|
|
|
|
- this.imageCodetoken = res.data.token
|
|
|
|
|
|
+ this.$util.msg(response.msg,2000);
|
|
})
|
|
})
|
|
},
|
|
},
|
|
// 三级联动选择
|
|
// 三级联动选择
|
|
@@ -516,7 +567,7 @@
|
|
title:'标题',
|
|
title:'标题',
|
|
itemList: ['医美', '生美'],
|
|
itemList: ['医美', '生美'],
|
|
success: (e) => {
|
|
success: (e) => {
|
|
- self.isOrganizationType = e.tapIndex
|
|
|
|
|
|
+ self.isOrganizationType = e.tapIndex+1
|
|
switch(e.tapIndex){
|
|
switch(e.tapIndex){
|
|
case 0:
|
|
case 0:
|
|
this.organizationTypeText = '医美'
|
|
this.organizationTypeText = '医美'
|
|
@@ -549,10 +600,12 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
chooseMaleLike(e){
|
|
chooseMaleLike(e){
|
|
|
|
+ this.isMainproCheck = true
|
|
this.mainpro = this.checkLikes(e,this.mentuzCampList)
|
|
this.mainpro = this.checkLikes(e,this.mentuzCampList)
|
|
console.log(this.mainpro)
|
|
console.log(this.mainpro)
|
|
},
|
|
},
|
|
chooseMaleLikes(e){
|
|
chooseMaleLikes(e){
|
|
|
|
+ this.isMainproCheck = true
|
|
this.mainpro = this.checkLikes(e,this.medicaCampList)
|
|
this.mainpro = this.checkLikes(e,this.medicaCampList)
|
|
console.log(this.mainpro)
|
|
console.log(this.mainpro)
|
|
},
|
|
},
|
|
@@ -569,7 +622,7 @@
|
|
this.$set(item,'checked',false)
|
|
this.$set(item,'checked',false)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- return arr.toString()
|
|
|
|
|
|
+ return arr.join('/')
|
|
},
|
|
},
|
|
agreeCheck() {
|
|
agreeCheck() {
|
|
this.isCheck = !this.isCheck
|
|
this.isCheck = !this.isCheck
|
|
@@ -587,12 +640,20 @@
|
|
showAustomItem() {
|
|
showAustomItem() {
|
|
this.isShowAustomItem = !this.isShowAustomItem
|
|
this.isShowAustomItem = !this.isShowAustomItem
|
|
},
|
|
},
|
|
|
|
+ setNewMainpro(arr){//回显处理主营内容
|
|
|
|
+ let _ARRAY = []
|
|
|
|
+ arr.split('/').forEach((item,index) =>{
|
|
|
|
+ let _OBJ = {value:index,name:item,checked:true}
|
|
|
|
+ _ARRAY.push(_OBJ)
|
|
|
|
+ })
|
|
|
|
+ return _ARRAY
|
|
|
|
+ },
|
|
addCustomItem(){
|
|
addCustomItem(){
|
|
if(this.isOrganizationType == 0){
|
|
if(this.isOrganizationType == 0){
|
|
- let item = {value:`${this.mentuzCampList.length+1}`,name:this.customItemValue}
|
|
|
|
|
|
+ let item = {value:`${this.mentuzCampList.length+1}`,name:this.customItemValue,checked:true}
|
|
this.mentuzCampList.push(item)
|
|
this.mentuzCampList.push(item)
|
|
}else{
|
|
}else{
|
|
- let item = {value:`${this.medicaCampList.length+1}`,name:this.customItemValue}
|
|
|
|
|
|
+ let item = {value:`${this.medicaCampList.length+1}`,name:this.customItemValue,checked:true}
|
|
this.medicaCampList.push(item)
|
|
this.medicaCampList.push(item)
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -640,6 +701,7 @@
|
|
height: 90rpx;
|
|
height: 90rpx;
|
|
line-height: 90rpx;
|
|
line-height: 90rpx;
|
|
background: #FF0000;
|
|
background: #FF0000;
|
|
|
|
+ border-bottom: 1px solid #F7F7F7;
|
|
&.error-top--none{
|
|
&.error-top--none{
|
|
background:#FFFFFF;
|
|
background:#FFFFFF;
|
|
.name{
|
|
.name{
|
|
@@ -674,6 +736,7 @@
|
|
.icon-xiangxiajiantou-active{
|
|
.icon-xiangxiajiantou-active{
|
|
transform: rotate(180deg);
|
|
transform: rotate(180deg);
|
|
color: #333333;
|
|
color: #333333;
|
|
|
|
+
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.animation{
|
|
.animation{
|
|
@@ -686,7 +749,6 @@
|
|
width: 702rpx;
|
|
width: 702rpx;
|
|
height: auto;
|
|
height: auto;
|
|
padding: 24rpx;
|
|
padding: 24rpx;
|
|
- border-top: 1px solid #F7F7F7;
|
|
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
background: #FFFFFF;
|
|
background: #FFFFFF;
|
|
.error-main-list{
|
|
.error-main-list{
|
|
@@ -705,7 +767,7 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.error-main--hide {
|
|
.error-main--hide {
|
|
- padding: 0 0;
|
|
|
|
|
|
+ padding: 0 24rpx;
|
|
height: 0px;
|
|
height: 0px;
|
|
line-height: 0px;
|
|
line-height: 0px;
|
|
}
|
|
}
|
|
@@ -888,6 +950,7 @@
|
|
display: flex;
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
flex-flow: row wrap;
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
|
|
+ align-items: center;
|
|
&.btn{
|
|
&.btn{
|
|
margin: 0 auto;
|
|
margin: 0 auto;
|
|
margin-left: 126rpx;
|
|
margin-left: 126rpx;
|
|
@@ -917,12 +980,12 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.item {
|
|
.item {
|
|
- width: 156rpx;
|
|
|
|
|
|
+ width: 155rpx;
|
|
height: 60rpx;
|
|
height: 60rpx;
|
|
font-size:$font-size-28;
|
|
font-size:$font-size-28;
|
|
line-height: 60rpx;
|
|
line-height: 60rpx;
|
|
border-radius:10rpx;
|
|
border-radius:10rpx;
|
|
- margin-bottom: 20rpx;
|
|
|
|
|
|
+ margin: 10rpx;
|
|
text-align: center;
|
|
text-align: center;
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
border: 1rpx solid #EFEFEF;
|
|
border: 1rpx solid #EFEFEF;
|