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 } }) },