|
@@ -261,8 +261,8 @@
|
|
addressDetail: '', //地址详情
|
|
addressDetail: '', //地址详情
|
|
},
|
|
},
|
|
typename:[
|
|
typename:[
|
|
- {name:'医美',value:'1'},
|
|
|
|
- {name:'生美',value:'2'}
|
|
|
|
|
|
+ {name:'医美',value:1},
|
|
|
|
+ {name:'生美',value:2}
|
|
],
|
|
],
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -288,9 +288,14 @@
|
|
if(organizationUser.auditNoteList!=null){
|
|
if(organizationUser.auditNoteList!=null){
|
|
this.errorList =organizationUser.auditNoteList
|
|
this.errorList =organizationUser.auditNoteList
|
|
}
|
|
}
|
|
- this.contractEmail = organizationUser.contractEmail
|
|
|
|
|
|
+ this.contractEmail = organizationClub.contractEmail
|
|
|
|
+ console.log(this.contractEmail)
|
|
this.clubId = organizationUser.clubId
|
|
this.clubId = organizationUser.clubId
|
|
- this.clubName = this.$reg.checkData(organizationClub.name)
|
|
|
|
|
|
+ if(this.contractEmail){
|
|
|
|
+ this.clubName = this.$reg.checkData(organizationClub.name)
|
|
|
|
+ }else{
|
|
|
|
+ this.clubName = ''
|
|
|
|
+ }
|
|
this.shortName = this.$reg.checkData(organizationClub.shortName)
|
|
this.shortName = this.$reg.checkData(organizationClub.shortName)
|
|
if( organizationClub.provinceId==''||organizationClub.provinceId==null){
|
|
if( organizationClub.provinceId==''||organizationClub.provinceId==null){
|
|
this.addressData.provinceId = ''
|
|
this.addressData.provinceId = ''
|
|
@@ -307,7 +312,6 @@
|
|
}else{
|
|
}else{
|
|
this.addressData.townId = organizationClub.townId
|
|
this.addressData.townId = organizationClub.townId
|
|
}
|
|
}
|
|
- console.log('66666666666666')
|
|
|
|
this.addressData.address = organizationClub.provincialAddress ? organizationClub.provincialAddress:'请选择机构所在地区'
|
|
this.addressData.address = organizationClub.provincialAddress ? organizationClub.provincialAddress:'请选择机构所在地区'
|
|
this.addressData.addressDetail = this.$reg.checkData(organizationClub.address)
|
|
this.addressData.addressDetail = this.$reg.checkData(organizationClub.address)
|
|
this.socialCreditCode = this.$reg.checkData(organizationClub.socialCreditCode)
|
|
this.socialCreditCode = this.$reg.checkData(organizationClub.socialCreditCode)
|
|
@@ -319,11 +323,11 @@
|
|
this.department = this.$reg.checkData(organizationClub.department)
|
|
this.department = this.$reg.checkData(organizationClub.department)
|
|
//机构类型&&主营项目
|
|
//机构类型&&主营项目
|
|
switch(this.firstClubType){
|
|
switch(this.firstClubType){
|
|
- case '1':
|
|
|
|
|
|
+ case 1:
|
|
this.organizationTypeText = '医美'
|
|
this.organizationTypeText = '医美'
|
|
this.isOrganizationType = 1
|
|
this.isOrganizationType = 1
|
|
break;
|
|
break;
|
|
- case '2':
|
|
|
|
|
|
+ case 2:
|
|
this.organizationTypeText = '生美'
|
|
this.organizationTypeText = '生美'
|
|
this.isOrganizationType = 2
|
|
this.isOrganizationType = 2
|
|
break;
|
|
break;
|
|
@@ -336,7 +340,7 @@
|
|
this.mentuzCampList = this.mentuzCampNullList
|
|
this.mentuzCampList = this.mentuzCampNullList
|
|
this.medicaCampList = this.medicaCampNullList
|
|
this.medicaCampList = this.medicaCampNullList
|
|
}else{
|
|
}else{
|
|
- if(this.firstClubType == '1'){
|
|
|
|
|
|
+ if(this.firstClubType == 1){
|
|
this.mentuzCampList = this.setNewMainpro(organizationClub.mainProduct)
|
|
this.mentuzCampList = this.setNewMainpro(organizationClub.mainProduct)
|
|
this.medicaCampList = this.medicaCampNullList
|
|
this.medicaCampList = this.medicaCampNullList
|
|
}else{
|
|
}else{
|
|
@@ -347,9 +351,9 @@
|
|
}
|
|
}
|
|
//机构类型
|
|
//机构类型
|
|
switch(this.secondClubType){
|
|
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;
|
|
|
|
|
|
+ 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(error =>{
|
|
}).catch(error =>{
|
|
this.$util.msg(error.msg,2000)
|
|
this.$util.msg(error.msg,2000)
|
|
@@ -359,7 +363,7 @@
|
|
organizationUpdateInfo(){//提交审核
|
|
organizationUpdateInfo(){//提交审核
|
|
if(!this.isMainproCheck){
|
|
if(!this.isMainproCheck){
|
|
let mainproList = []
|
|
let mainproList = []
|
|
- if(this.firstClubType == '1'){
|
|
|
|
|
|
+ if(this.firstClubType == 1){
|
|
this.mentuzCampList.forEach(item =>{
|
|
this.mentuzCampList.forEach(item =>{
|
|
mainproList.push(item.name)
|
|
mainproList.push(item.name)
|
|
})
|
|
})
|
|
@@ -411,8 +415,7 @@
|
|
townId:this.addressData.townId,
|
|
townId:this.addressData.townId,
|
|
address:this.addressData.addressDetail,
|
|
address:this.addressData.addressDetail,
|
|
socialCreditCode:this.socialCreditCode,
|
|
socialCreditCode:this.socialCreditCode,
|
|
- // businessLicense:this.businessLicense,
|
|
|
|
- businessLicense:'https://static.caimei365.com/app/img/upload/club-zizhi.png',
|
|
|
|
|
|
+ businessLicense:this.businessLicense,
|
|
shopPhoto:this.shopPhoto,
|
|
shopPhoto:this.shopPhoto,
|
|
firstClubType:this.isOrganizationType, //机构类型分类 医美:1和生美:2
|
|
firstClubType:this.isOrganizationType, //机构类型分类 医美:1和生美:2
|
|
secondClubType:this.secondClubType, //机构类型二级分类 诊所:1,门诊:2,医院:3
|
|
secondClubType:this.secondClubType, //机构类型二级分类 诊所:1,门诊:2,医院:3
|
|
@@ -524,7 +527,7 @@
|
|
},
|
|
},
|
|
radioChange(item) {
|
|
radioChange(item) {
|
|
this.secondClubType = item.value;
|
|
this.secondClubType = item.value;
|
|
- if( this.secondClubType == '2' || this.secondClubType == '3'){
|
|
|
|
|
|
+ if( this.secondClubType == 2 || this.secondClubType == 3){
|
|
this.isDepartment = true
|
|
this.isDepartment = true
|
|
}else{
|
|
}else{
|
|
this.isDepartment = false
|
|
this.isDepartment = false
|