From d32b14ba2a443f3fa852c5811557328756452633 Mon Sep 17 00:00:00 2001 From: lideqin <694785430@qq.com> Date: Mon, 24 Jun 2024 14:59:09 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E5=85=A8=E5=B1=80=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E6=A0=87=E5=87=86=E8=AF=A6=E6=83=85=E9=A1=B5?= =?UTF-8?q?=E7=9A=84=E5=88=A4=E6=96=AD=E5=9B=BD=E6=A0=87=E6=94=B9=E6=88=90?= =?UTF-8?q?=E5=A4=96=E6=9D=A5=E6=A0=87=E5=87=86=EF=BC=8C=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E5=A4=96=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/selection/SplitStandardSelectionModal.vue | 2 -- src/components/selection/StandardSelectionModal.vue | 2 -- .../businessSupport/askForAdvice/AskForAdviceDetail.vue | 8 ++------ .../questionAnswerLibrary/page/AnswerPage.vue | 2 -- src/views/dashboard/modules/SearchAndWarningCard.vue | 8 ++------ src/views/dashboard/search/AdvancedSearch.vue | 2 -- src/views/dashboard/search/GeneralSearch.vue | 2 -- .../documentComparison/DocumentComparison.vue | 8 ++------ src/views/documentTool/documentSplit/DocumentSplit.vue | 8 ++------ .../standard/detail/EnterpriseStandardDetail.vue | 8 ++------ src/views/personalCenter/myCollection/MyCollection.vue | 2 -- 11 files changed, 10 insertions(+), 42 deletions(-) diff --git a/src/components/selection/SplitStandardSelectionModal.vue b/src/components/selection/SplitStandardSelectionModal.vue index 78140e5..7a91a13 100644 --- a/src/components/selection/SplitStandardSelectionModal.vue +++ b/src/components/selection/SplitStandardSelectionModal.vue @@ -332,8 +332,6 @@ export default { // 需要先判断是哪种标准 if (record.standardType === '1') { path = '/standardRegulationLibrary/foreignStandardDetailPage' - } else if (record.standardType === '2') { - path = '/standardRegulationLibrary/OverseasStandardDetail' } else if (record.standardType === '3') { path = '/enterpriseStandardLibrary/enterpriseStandardDetail' } diff --git a/src/components/selection/StandardSelectionModal.vue b/src/components/selection/StandardSelectionModal.vue index 2ff67f3..cdb1e6d 100644 --- a/src/components/selection/StandardSelectionModal.vue +++ b/src/components/selection/StandardSelectionModal.vue @@ -333,8 +333,6 @@ export default { // 需要先判断是哪种标准 if (record.source === '1') { path = '/standardRegulationLibrary/foreignStandardDetailPage' - } else if (record.source === '2') { - path = '/standardRegulationLibrary/OverseasStandardDetail' } else if (record.source === '3') { path = '/enterpriseStandardLibrary/enterpriseStandardDetail' } diff --git a/src/views/businessSupport/askForAdvice/AskForAdviceDetail.vue b/src/views/businessSupport/askForAdvice/AskForAdviceDetail.vue index 8a11179..d9a801c 100644 --- a/src/views/businessSupport/askForAdvice/AskForAdviceDetail.vue +++ b/src/views/businessSupport/askForAdvice/AskForAdviceDetail.vue @@ -285,14 +285,10 @@ export default { let path // 根据来源跳转不同的详情页 switch (source) { - // 国内 - case StandardSource.DOMESTIC.value: + // 外来标准 + case StandardSource.FOREIGN.value: path = '/standardRegulationLibrary/foreignStandardDetailPage' break - // 海外 - case StandardSource.OVERSEAS.value: - path = '/standardRegulationLibrary/OverseasStandardDetail' - break // 企标 case StandardSource.ENTERPRISE.value: path = '/enterpriseStandardLibrary/enterpriseStandardDetail' diff --git a/src/views/businessSupport/questionAnswerLibrary/page/AnswerPage.vue b/src/views/businessSupport/questionAnswerLibrary/page/AnswerPage.vue index 0668c31..5f411b5 100644 --- a/src/views/businessSupport/questionAnswerLibrary/page/AnswerPage.vue +++ b/src/views/businessSupport/questionAnswerLibrary/page/AnswerPage.vue @@ -236,8 +236,6 @@ export default { // 需要先判断是哪种标准 if (this.model.type === '1') { path = '/standardRegulationLibrary/foreignStandardDetailPage' - } else if (this.model.type === '2') { - path = '/standardRegulationLibrary/OverseasStandardDetail' } else if (this.model.type === '3') { path = '/enterpriseStandardLibrary/enterpriseStandardDetail' } diff --git a/src/views/dashboard/modules/SearchAndWarningCard.vue b/src/views/dashboard/modules/SearchAndWarningCard.vue index 0e40fc1..cc8bfeb 100644 --- a/src/views/dashboard/modules/SearchAndWarningCard.vue +++ b/src/views/dashboard/modules/SearchAndWarningCard.vue @@ -272,14 +272,10 @@ export default { let path // 根据来源跳转不同的详情页 switch (record.source + '') { - // 国内 - case StandardSource.DOMESTIC.value: + // 外来标准 + case StandardSource.FOREIGN.value: path = '/standardRegulationLibrary/foreignStandardDetailPage' break - // 海外 - case StandardSource.OVERSEAS.value: - path = '/standardRegulationLibrary/OverseasStandardDetail' - break // 企标 case StandardSource.ENTERPRISE.value: path = '/enterpriseStandardLibrary/enterpriseStandardDetail' diff --git a/src/views/dashboard/search/AdvancedSearch.vue b/src/views/dashboard/search/AdvancedSearch.vue index fbbacc8..3d47f86 100644 --- a/src/views/dashboard/search/AdvancedSearch.vue +++ b/src/views/dashboard/search/AdvancedSearch.vue @@ -309,8 +309,6 @@ export default { // 需要先判断是哪种标准 if (this.currStandardType === '1') { path = '/standardRegulationLibrary/foreignStandardDetailPage' - } else if (this.currStandardType === '2') { - path = '/standardRegulationLibrary/OverseasStandardDetail' } else if (this.currStandardType === '3') { path = '/enterpriseStandardLibrary/enterpriseStandardDetail' } diff --git a/src/views/dashboard/search/GeneralSearch.vue b/src/views/dashboard/search/GeneralSearch.vue index 5b8501f..551114b 100644 --- a/src/views/dashboard/search/GeneralSearch.vue +++ b/src/views/dashboard/search/GeneralSearch.vue @@ -536,8 +536,6 @@ export default { // 需要先判断是哪种标准 if (record.resourceType === '1') { path = '/standardRegulationLibrary/foreignStandardDetailPage' - } else if (record.resourceType === '2') { - path = '/standardRegulationLibrary/OverseasStandardDetail' } else if (record.resourceType === '3') { path = '/enterpriseStandardLibrary/enterpriseStandardDetail' } else if (record.resourceType === '4') { diff --git a/src/views/documentTool/documentComparison/DocumentComparison.vue b/src/views/documentTool/documentComparison/DocumentComparison.vue index 68f835a..fe6681b 100644 --- a/src/views/documentTool/documentComparison/DocumentComparison.vue +++ b/src/views/documentTool/documentComparison/DocumentComparison.vue @@ -358,14 +358,10 @@ export default { } // 根据来源跳转不同的详情页 switch (standardSource) { - // 国内 - case StandardSource.DOMESTIC.value: + // 外来标准 + case StandardSource.FOREIGN.value: path = '/standardRegulationLibrary/foreignStandardDetailPage' break - // 海外 - case StandardSource.OVERSEAS.value: - path = '/standardRegulationLibrary/OverseasStandardDetail' - break // 企标 case StandardSource.ENTERPRISE.value: path = '/enterpriseStandardLibrary/enterpriseStandardDetail' diff --git a/src/views/documentTool/documentSplit/DocumentSplit.vue b/src/views/documentTool/documentSplit/DocumentSplit.vue index de0fb38..ff82382 100644 --- a/src/views/documentTool/documentSplit/DocumentSplit.vue +++ b/src/views/documentTool/documentSplit/DocumentSplit.vue @@ -354,14 +354,10 @@ export default { let path // 根据来源跳转不同的详情页 switch (splitStandardSource) { - // 国内 - case StandardSource.DOMESTIC.value: + // 外来标准 + case StandardSource.FOREIGN.value: path = '/standardRegulationLibrary/foreignStandardDetailPage' break - // 海外 - case StandardSource.OVERSEAS.value: - path = '/standardRegulationLibrary/OverseasStandardDetail' - break // 企标 case StandardSource.ENTERPRISE.value: path = '/enterpriseStandardLibrary/enterpriseStandardDetail' diff --git a/src/views/enterpriseStandardLibrary/standard/detail/EnterpriseStandardDetail.vue b/src/views/enterpriseStandardLibrary/standard/detail/EnterpriseStandardDetail.vue index af70947..f04ba21 100644 --- a/src/views/enterpriseStandardLibrary/standard/detail/EnterpriseStandardDetail.vue +++ b/src/views/enterpriseStandardLibrary/standard/detail/EnterpriseStandardDetail.vue @@ -325,14 +325,10 @@ export default { let path // 根据来源跳转不同的详情页 switch (standardInfo.source) { - // 国内 - case StandardSource.DOMESTIC.value: + // 外来标准 + case StandardSource.FOREIGN.value: path = '/standardRegulationLibrary/foreignStandardDetailPage' break - // 海外 - case StandardSource.OVERSEAS.value: - path = '/standardRegulationLibrary/OverseasStandardDetail' - break // 企标 case StandardSource.ENTERPRISE.value: path = '/enterpriseStandardLibrary/enterpriseStandardDetail' diff --git a/src/views/personalCenter/myCollection/MyCollection.vue b/src/views/personalCenter/myCollection/MyCollection.vue index 0403df2..1a685ad 100644 --- a/src/views/personalCenter/myCollection/MyCollection.vue +++ b/src/views/personalCenter/myCollection/MyCollection.vue @@ -135,8 +135,6 @@ export default { // 需要先判断是哪种标准 if (record.source === '1') { path = '/standardRegulationLibrary/foreignStandardDetailPage' - } else if (record.source === '2') { - path = '/standardRegulationLibrary/OverseasStandardDetail' } else if (record.source === '3') { path = '/enterpriseStandardLibrary/enterpriseStandardDetail' }