Compare commits

..

No commits in common. "793c8f6d007e10d4a39dae6a2b3faf5ca13800a7" and "2673cf505295febacad99ff1667b781361744272" have entirely different histories.

View File

@ -176,11 +176,7 @@ export default Vue.extend({
reqEnterpriseAuditInfoSearch({
url_link: window.location.href,
}).then(res => {
const dataList = res && res.data && res.data.data
const hasAuditInfo = Array.isArray(dataList) && dataList.length !== 0
const roles = sessionStorage.getItem('juese')
const isCustomer = roles ? roles.includes('客户') : true
if (hasAuditInfo || !isCustomer) {
if (res.data.data[0].length !== 0 || !sessionStorage.getItem('juese').includes('客户')) {
this.publish_type = type
this.sendProductVisible = true
} else {