From 49770fb4159285f2215e152de36c8d0fc203bc55 Mon Sep 17 00:00:00 2001 From: danshihao Date: Mon, 30 Sep 2024 16:14:26 +0800 Subject: [PATCH] =?UTF-8?q?[update=20=E4=B8=80=E8=88=AC=E6=A3=80=E7=B4=A2-?= =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E6=96=87=E6=9C=AC]=20=E6=9F=A5=E7=9C=8B?= =?UTF-8?q?=E4=BC=81=E6=A0=87=E6=96=87=E4=BB=B6=E5=8E=BB=E6=8E=89=E6=9D=83?= =?UTF-8?q?=E9=99=90=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dashboard/search/GeneralSearch.vue | 21 ++------------------ 1 file changed, 2 insertions(+), 19 deletions(-) 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) } }, /**