Compare commits
No commits in common. "793c8f6d007e10d4a39dae6a2b3faf5ca13800a7" and "2673cf505295febacad99ff1667b781361744272" have entirely different histories.
793c8f6d00
...
2673cf5052
@ -176,11 +176,7 @@ export default Vue.extend({
|
|||||||
reqEnterpriseAuditInfoSearch({
|
reqEnterpriseAuditInfoSearch({
|
||||||
url_link: window.location.href,
|
url_link: window.location.href,
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
const dataList = res && res.data && res.data.data
|
if (res.data.data[0].length !== 0 || !sessionStorage.getItem('juese').includes('客户')) {
|
||||||
const hasAuditInfo = Array.isArray(dataList) && dataList.length !== 0
|
|
||||||
const roles = sessionStorage.getItem('juese')
|
|
||||||
const isCustomer = roles ? roles.includes('客户') : true
|
|
||||||
if (hasAuditInfo || !isCustomer) {
|
|
||||||
this.publish_type = type
|
this.publish_type = type
|
||||||
this.sendProductVisible = true
|
this.sendProductVisible = true
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user