Compare commits
2 Commits
793c8f6d00
...
dbe007f81b
| Author | SHA1 | Date | |
|---|---|---|---|
| dbe007f81b | |||
| c05ed767b3 |
@ -178,7 +178,7 @@ export default Vue.extend({
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
const dataList = res && res.data && res.data.data
|
const dataList = res && res.data && res.data.data
|
||||||
const hasAuditInfo = Array.isArray(dataList) && dataList.length !== 0
|
const hasAuditInfo = Array.isArray(dataList) && dataList.length !== 0
|
||||||
const roles = sessionStorage.getItem('juese')
|
const roles = sessionStorage.getItem('jueseNew')
|
||||||
const isCustomer = roles ? roles.includes('客户') : true
|
const isCustomer = roles ? roles.includes('客户') : true
|
||||||
if (hasAuditInfo || !isCustomer) {
|
if (hasAuditInfo || !isCustomer) {
|
||||||
this.publish_type = type
|
this.publish_type = type
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user