diff --git a/src/views/dashboard/search/GeneralSearch.vue b/src/views/dashboard/search/GeneralSearch.vue index f1752ef..fdefae1 100644 --- a/src/views/dashboard/search/GeneralSearch.vue +++ b/src/views/dashboard/search/GeneralSearch.vue @@ -154,8 +154,7 @@ import { } from '../../../api/standardRegulationLibraryApi' import { getEnterpriseStandardAddForm, - getEnterpriseStandardInfoById, - isCanLookDetail + getEnterpriseStandardInfoById } from '../../../api/enterpriseStandardLibraryApi' import Vue from 'vue' import { previewPdf } from '../../../utils/previewPdf' @@ -588,23 +587,7 @@ export default { this.goDetail(record) } else { this.adjustFunc(record.resourceType) - if (record.resourceType === '3') { // 企标打开需要权限验证 - console.log('record', record) - isCanLookDetail(record).then(res => { - console.log('res', res) - if (res.success) { - if (res.result) { - this.filePreview13(record) - } else { - this.$message.warn('您没有查看该文件的权限') - } - } else { - this.$message.warn(res.message) - } - }) - } else { - this.filePreview13(record) - } + this.filePreview13(record) } }, /**