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