CRM_25-12-23#story#7473,服务商系统,添加是否是主账号判断
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
<img v-show="[1,2].includes(type)" src="@/assets/unpass.png" />
|
<img v-show="[1,2].includes(type)" src="@/assets/unpass.png" />
|
||||||
<img v-show="[3].includes(type)" src="@/assets/yelTip.png" />
|
<img v-show="[3].includes(type)" src="@/assets/yelTip.png" />
|
||||||
<img v-show="[4].includes(type)" src="@/assets/greTip.png" />
|
<img v-show="[4].includes(type)" src="@/assets/greTip.png" />
|
||||||
<span v-if="type==1">请立即核对或修改以下信息:姓名/身份/电话/微信号/邮箱</span>
|
<span v-if="type==1 || !type">请立即核对或修改以下信息:姓名/身份/电话/微信号/邮箱</span>
|
||||||
<span v-else-if="type==2">“角色”无法修改,如需修改“角色”请联系区域经理。提交审批后请到【管理人员】模块进行查看。</span>
|
<span v-else-if="type==2">“角色”无法修改,如需修改“角色”请联系区域经理。提交审批后请到【管理人员】模块进行查看。</span>
|
||||||
<span v-else-if="type==3">当前信息正在确认中,如需调整请联系区域经理。</span>
|
<span v-else-if="type==3">当前信息正在确认中,如需调整请联系区域经理。</span>
|
||||||
<span v-else-if="type==4">当前信息已确认,如需调整请联系区域经理。</span>
|
<span v-else-if="type==4">当前信息已确认,如需调整请联系区域经理。</span>
|
||||||
@@ -109,7 +109,7 @@ export default {
|
|||||||
const urlParams = new URLSearchParams(window.location.search);
|
const urlParams = new URLSearchParams(window.location.search);
|
||||||
this.id=this.$route.query.id || urlParams.get('id');
|
this.id=this.$route.query.id || urlParams.get('id');
|
||||||
this.supplierId=this.$route.query.supplierId || urlParams.get('supplierId');
|
this.supplierId=this.$route.query.supplierId || urlParams.get('supplierId');
|
||||||
// this.supplierId=1128
|
this.supplierId=1128
|
||||||
console.log('1111',this.supplierId)
|
console.log('1111',this.supplierId)
|
||||||
await this.getPersonList()
|
await this.getPersonList()
|
||||||
},
|
},
|
||||||
@@ -148,6 +148,9 @@ export default {
|
|||||||
}else if(!result.data?.wechatConfirmStatus || result.data?.wechatConfirmStatus==1){
|
}else if(!result.data?.wechatConfirmStatus || result.data?.wechatConfirmStatus==1){
|
||||||
this.type=1
|
this.type=1
|
||||||
}
|
}
|
||||||
|
if(!result.data.isMaster){
|
||||||
|
this.type=''
|
||||||
|
}
|
||||||
// this.type=1
|
// this.type=1
|
||||||
let res=await getConfirmPerson({supplierId:this.supplierId})
|
let res=await getConfirmPerson({supplierId:this.supplierId})
|
||||||
if(res.data && res.data.length>0){
|
if(res.data && res.data.length>0){
|
||||||
|
|||||||
Reference in New Issue
Block a user