From cd0fe26b0a10bea1b97fb5a80cd7ee1297c80315 Mon Sep 17 00:00:00 2001 From: danshihao Date: Fri, 2 Aug 2024 10:51:09 +0800 Subject: [PATCH] =?UTF-8?q?[update=20=E9=AB=98=E7=BA=A7=E6=90=9C=E7=B4=A2]?= =?UTF-8?q?=20=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dashboard/search/AdvancedSearch.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/dashboard/search/AdvancedSearch.vue b/src/views/dashboard/search/AdvancedSearch.vue index 8fc346a..c3ca176 100644 --- a/src/views/dashboard/search/AdvancedSearch.vue +++ b/src/views/dashboard/search/AdvancedSearch.vue @@ -133,6 +133,7 @@ :tree-data="optionsData[item.dbFieldName]" :replaceFields="{key: 'id', value: 'id', title: 'name', children: 'childPartNameList'}" tree-checkable + tree-check-strictly show-search allowClear :filterTreeNode="filterTreeOption" @@ -615,16 +616,17 @@ export default { path = '/enterpriseStandardLibrary/enterpriseStandardDetail' } else if (this.currStandardType === '5') { // 全部的话,就判断是企标还是外部 - if (record.resource_type === StandardSource.FOREIGN.value) { + if (record.resource_type + '' === StandardSource.FOREIGN.value) { path = '/standardRegulationLibrary/foreignStandardDetailPage' - } else if (record.resource_type === StandardSource.ENTERPRISE.value) { + } else if (record.resource_type + '' === StandardSource.ENTERPRISE.value) { path = '/enterpriseStandardLibrary/enterpriseStandardDetail' } } this.$openPageNewSheet({ path: path, query: { - id: record.id + id: record.id, + standardNumber: record.standard_number } }) },