From f6f128455ba595d248dce9ac7b3f05d97c43bacc Mon Sep 17 00:00:00 2001 From: liujun Date: Tue, 12 Mar 2024 12:02:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E6=95=B0=E6=8D=AE=E5=92=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../safetyOperationRegulations/components/listEm.vue | 6 +++++- .../safetyProductionManagementSystem/components/list.vue | 6 +++++- .../safetyProductionManagementSystem/components/listEm.vue | 6 +++++- .../components/list.vue | 6 +++++- .../components/listEm.vue | 6 +++++- 5 files changed, 25 insertions(+), 5 deletions(-) diff --git a/src/views/threeSystems/safetyOperationRegulations/components/listEm.vue b/src/views/threeSystems/safetyOperationRegulations/components/listEm.vue index 7402c10..d2ceb25 100644 --- a/src/views/threeSystems/safetyOperationRegulations/components/listEm.vue +++ b/src/views/threeSystems/safetyOperationRegulations/components/listEm.vue @@ -341,7 +341,11 @@ export default { cancelButtonText: '取消', type: 'warning' }).then(() => { - window.open(config.fileUrl + e.PATH) + if (e.MIGRATION_FLAG === '1') { + window.open(config.fileUrl + e.PATH) + } else { + window.open(e.PATH) + } }).catch((e) => { console.log(e) }) diff --git a/src/views/threeSystems/safetyProductionManagementSystem/components/list.vue b/src/views/threeSystems/safetyProductionManagementSystem/components/list.vue index 2e3e88f..5414f7a 100644 --- a/src/views/threeSystems/safetyProductionManagementSystem/components/list.vue +++ b/src/views/threeSystems/safetyProductionManagementSystem/components/list.vue @@ -361,7 +361,11 @@ export default { cancelButtonText: '取消', type: 'warning' }).then(() => { - window.open(config.fileUrl + e.PATH) + if (e.MIGRATION_FLAG === '1') { + window.open(config.fileUrl + e.PATH) + } else { + window.open(e.PATH) + } }).catch((e) => { console.log(e) }) diff --git a/src/views/threeSystems/safetyProductionManagementSystem/components/listEm.vue b/src/views/threeSystems/safetyProductionManagementSystem/components/listEm.vue index 018cea2..b82b435 100644 --- a/src/views/threeSystems/safetyProductionManagementSystem/components/listEm.vue +++ b/src/views/threeSystems/safetyProductionManagementSystem/components/listEm.vue @@ -341,7 +341,11 @@ export default { cancelButtonText: '取消', type: 'warning' }).then(() => { - window.open(config.fileUrl + e.PATH) + if (e.MIGRATION_FLAG === '1') { + window.open(config.fileUrl + e.PATH) + } else { + window.open(e.PATH) + } }).catch((e) => { console.log(e) }) diff --git a/src/views/threeSystems/safetyProductionResponsibilitySystem/components/list.vue b/src/views/threeSystems/safetyProductionResponsibilitySystem/components/list.vue index 87be4fb..3968ddb 100644 --- a/src/views/threeSystems/safetyProductionResponsibilitySystem/components/list.vue +++ b/src/views/threeSystems/safetyProductionResponsibilitySystem/components/list.vue @@ -398,7 +398,11 @@ export default { cancelButtonText: '取消', type: 'warning' }).then(() => { - window.open(config.fileUrl + e.PATH) + if (e.MIGRATION_FLAG === '1') { + window.open(config.fileUrl + e.PATH) + } else { + window.open(e.PATH) + } }).catch((e) => { console.log(e) }) diff --git a/src/views/threeSystems/safetyProductionResponsibilitySystem/components/listEm.vue b/src/views/threeSystems/safetyProductionResponsibilitySystem/components/listEm.vue index a066aa9..2376d5f 100644 --- a/src/views/threeSystems/safetyProductionResponsibilitySystem/components/listEm.vue +++ b/src/views/threeSystems/safetyProductionResponsibilitySystem/components/listEm.vue @@ -342,7 +342,11 @@ export default { cancelButtonText: '取消', type: 'warning' }).then(() => { - window.open(config.fileUrl + e.PATH) + if (e.MIGRATION_FLAG === '1') { + window.open(config.fileUrl + e.PATH) + } else { + window.open(e.PATH) + } }).catch((e) => { console.log(e) })