commit
a31cfda3f9
@ -22,6 +22,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="table-box">
|
<div class="table-box">
|
||||||
<div style="margin-bottom: 10px;">
|
<div style="margin-bottom: 10px;">
|
||||||
|
{{ JSON.stringify(role) }}
|
||||||
<el-radio-group v-if="role.type == 'user'" v-model="searchData.radioType" class="radio-group"
|
<el-radio-group v-if="role.type == 'user'" v-model="searchData.radioType" class="radio-group"
|
||||||
size="mini" @change="handleRadioChange">
|
size="mini" @change="handleRadioChange">
|
||||||
<el-radio-button v-for="item in radioOptions" :key="item.value" :label="item.value">
|
<el-radio-button v-for="item in radioOptions" :key="item.value" :label="item.value">
|
||||||
@ -494,6 +495,9 @@ export default {
|
|||||||
console.log('请求参数:', requestData);
|
console.log('请求参数:', requestData);
|
||||||
requestData.manager_self=this.searchData.radioType=='4'||this.searchData.radioType=='3'?'single':null
|
requestData.manager_self=this.searchData.radioType=='4'||this.searchData.radioType=='3'?'single':null
|
||||||
requestData.publish_type = this.searchData.radioType=='1'||this.searchData.radioType=='3'?'2':'1'
|
requestData.publish_type = this.searchData.radioType=='1'||this.searchData.radioType=='3'?'2':'1'
|
||||||
|
if(this.role.lastType=='1'){
|
||||||
|
requestData.publish_type='1'
|
||||||
|
}
|
||||||
reqSearchByMangement(requestData).then(res => {
|
reqSearchByMangement(requestData).then(res => {
|
||||||
console.log(res);
|
console.log(res);
|
||||||
if (res.status) {
|
if (res.status) {
|
||||||
|
|||||||
@ -15,7 +15,8 @@ export default {
|
|||||||
role:{
|
role:{
|
||||||
role_type:'customer',
|
role_type:'customer',
|
||||||
audit_status:'',
|
audit_status:'',
|
||||||
publish_type:null
|
publish_type:null,
|
||||||
|
lastType:null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -30,6 +31,7 @@ export default {
|
|||||||
console.log("role",this.role);
|
console.log("role",this.role);
|
||||||
this.role.audit_status='pending,approved'
|
this.role.audit_status='pending,approved'
|
||||||
this.role.publish_type='1'
|
this.role.publish_type='1'
|
||||||
|
this.role.lastType='1'
|
||||||
},
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -15,7 +15,8 @@ export default {
|
|||||||
role:{
|
role:{
|
||||||
role_type:null,
|
role_type:null,
|
||||||
audit_status:null,
|
audit_status:null,
|
||||||
publish_type:null
|
publish_type:null,
|
||||||
|
lastType:null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -31,6 +32,7 @@ export default {
|
|||||||
console.log("role",this.role);
|
console.log("role",this.role);
|
||||||
this.role.audit_status='rejected'
|
this.role.audit_status='rejected'
|
||||||
this.role.publish_type='1'
|
this.role.publish_type='1'
|
||||||
|
this.role.lastType='1'
|
||||||
},
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -43,7 +43,7 @@
|
|||||||
</li>
|
</li>
|
||||||
<li class="contact-item">
|
<li class="contact-item">
|
||||||
<span class="mylabel">邮箱:</span>
|
<span class="mylabel">邮箱:</span>
|
||||||
<span class="value">{{ productDetailInfo.email }}</span>
|
<span class="value">{{ productDetailInfo.email?productDetailInfo.email:'--' }}</span>
|
||||||
</li>
|
</li>
|
||||||
<li class="contact-item">
|
<li class="contact-item">
|
||||||
<span class="mylabel">职务:</span>
|
<span class="mylabel">职务:</span>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user