From 7612f0798e36b69b6ff5d1261bab9d26636e7444 Mon Sep 17 00:00:00 2001 From: liujun Date: Tue, 12 Mar 2024 12:02:57 +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/list.vue | 6 +++++- .../safetyOperationRegulations/components/listEm.vue | 6 +++++- .../safetyProductionManagementSystem/components/list.vue | 6 +++++- .../safetyProductionManagementSystem/components/listEm.vue | 6 +++++- .../components/list.vue | 6 +++++- .../components/listEm.vue | 6 +++++- 6 files changed, 30 insertions(+), 6 deletions(-) diff --git a/src/views/threeSystems/safetyOperationRegulations/components/list.vue b/src/views/threeSystems/safetyOperationRegulations/components/list.vue index e3a71bb..d1eff1c 100644 --- a/src/views/threeSystems/safetyOperationRegulations/components/list.vue +++ b/src/views/threeSystems/safetyOperationRegulations/components/list.vue @@ -329,7 +329,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/safetyOperationRegulations/components/listEm.vue b/src/views/threeSystems/safetyOperationRegulations/components/listEm.vue index b9d32b5..358130a 100644 --- a/src/views/threeSystems/safetyOperationRegulations/components/listEm.vue +++ b/src/views/threeSystems/safetyOperationRegulations/components/listEm.vue @@ -334,7 +334,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 586477b..61ab174 100644 --- a/src/views/threeSystems/safetyProductionManagementSystem/components/list.vue +++ b/src/views/threeSystems/safetyProductionManagementSystem/components/list.vue @@ -328,7 +328,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 a00b378..573c7d1 100644 --- a/src/views/threeSystems/safetyProductionManagementSystem/components/listEm.vue +++ b/src/views/threeSystems/safetyProductionManagementSystem/components/listEm.vue @@ -334,7 +334,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 32b6ea2..5906225 100644 --- a/src/views/threeSystems/safetyProductionResponsibilitySystem/components/list.vue +++ b/src/views/threeSystems/safetyProductionResponsibilitySystem/components/list.vue @@ -328,7 +328,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 aaed3a0..3da56a2 100644 --- a/src/views/threeSystems/safetyProductionResponsibilitySystem/components/listEm.vue +++ b/src/views/threeSystems/safetyProductionResponsibilitySystem/components/listEm.vue @@ -334,7 +334,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) })