CRM_25-12-23#story#7473,服务商系统,添加是否是主账号判断
This commit is contained in:
@@ -15,14 +15,14 @@
|
||||
<img v-show="[1,2].includes(type)" src="@/assets/unpass.png" />
|
||||
<img v-show="[3].includes(type)" src="@/assets/yelTip.png" />
|
||||
<img v-show="[4].includes(type)" src="@/assets/greTip.png" />
|
||||
<span v-if="type==1 || !type">请立即核对或修改以下信息:姓名/身份/电话/微信号/邮箱</span>
|
||||
<span v-if="type==1">请立即核对或修改以下信息:姓名/身份/电话/微信号/邮箱</span>
|
||||
<span v-else-if="type==2">“角色”无法修改,如需修改“角色”请联系区域经理。提交审批后请到【管理人员】模块进行查看。</span>
|
||||
<span v-else-if="type==3">当前信息正在确认中,如需调整请联系区域经理。</span>
|
||||
<span v-else-if="type==4">当前信息已确认,如需调整请联系区域经理。</span>
|
||||
</div>
|
||||
<van-loading v-show="personList.length<=0" class="loadingWrap" type="spinner" color="#1989fa" />
|
||||
<div class="contentWrap" v-show="personList.length>0"
|
||||
:style="{'height':[1,2].includes(type) ? 'calc(100% - 160px)' : 'calc(100% - 90px)'}">
|
||||
:style="{'height':([1,2].includes(type) && isMaster) ? 'calc(100% - 160px)' : 'calc(100% - 90px)'}">
|
||||
<div class="itemWrap" v-for="(item,index) in personList" :key="index">
|
||||
<div class="opaCol">人员{{(index+1)}}:</div>
|
||||
<div class="line"></div>
|
||||
@@ -65,7 +65,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btnWrap" v-if="[1,2].includes(type)">
|
||||
<div class="btnWrap" v-if="isMaster && [1,2].includes(type)">
|
||||
<div v-show="type==2" class="audit common" @click="auditHandle">提交审批</div>
|
||||
<div v-show="type==1" class="revise common" @click="reviseHandle">立即修改</div>
|
||||
<div v-show="type==1" class="confirm common" @click="confirmHandle">确认信息无误</div>
|
||||
@@ -97,6 +97,7 @@ export default {
|
||||
supplierId:'',
|
||||
wechatInfo:'',
|
||||
personInfoId:'',
|
||||
isMaster:false,
|
||||
}
|
||||
},
|
||||
async mounted() {
|
||||
@@ -148,9 +149,7 @@ export default {
|
||||
}else if(!result.data?.wechatConfirmStatus || result.data?.wechatConfirmStatus==1){
|
||||
this.type=1
|
||||
}
|
||||
if(!result.data.isMaster){
|
||||
this.type=''
|
||||
}
|
||||
this.isMaster=result.data.isMaster
|
||||
// this.type=1
|
||||
let res=await getConfirmPerson({supplierId:this.supplierId})
|
||||
if(res.data && res.data.length>0){
|
||||
|
||||
Reference in New Issue
Block a user