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