[update] 修改跳转外来标准详情路径为/standardRegulationLibrary/foreignStandardDetailPage

This commit is contained in:
lideqin
2024-06-24 14:50:35 +08:00
parent aee5d6c573
commit 7c80ec024b
16 changed files with 17 additions and 16 deletions
@@ -331,7 +331,7 @@ export default {
let path = '' let path = ''
// 需要先判断是哪种标准 // 需要先判断是哪种标准
if (record.standardType === '1') { if (record.standardType === '1') {
path = '/standardRegulationLibrary/DomesticStandardDetail' path = '/standardRegulationLibrary/foreignStandardDetailPage'
} else if (record.standardType === '2') { } else if (record.standardType === '2') {
path = '/standardRegulationLibrary/OverseasStandardDetail' path = '/standardRegulationLibrary/OverseasStandardDetail'
} else if (record.standardType === '3') { } else if (record.standardType === '3') {
@@ -332,7 +332,7 @@ export default {
let path = '' let path = ''
// 需要先判断是哪种标准 // 需要先判断是哪种标准
if (record.source === '1') { if (record.source === '1') {
path = '/standardRegulationLibrary/DomesticStandardDetail' path = '/standardRegulationLibrary/foreignStandardDetailPage'
} else if (record.source === '2') { } else if (record.source === '2') {
path = '/standardRegulationLibrary/OverseasStandardDetail' path = '/standardRegulationLibrary/OverseasStandardDetail'
} else if (record.source === '3') { } else if (record.source === '3') {
@@ -287,7 +287,7 @@ export default {
switch (source) { switch (source) {
// 国内 // 国内
case StandardSource.DOMESTIC.value: case StandardSource.DOMESTIC.value:
path = '/standardRegulationLibrary/DomesticStandardDetail' path = '/standardRegulationLibrary/foreignStandardDetailPage'
break break
// 海外 // 海外
case StandardSource.OVERSEAS.value: case StandardSource.OVERSEAS.value:
@@ -235,7 +235,7 @@ export default {
let path = '' let path = ''
// 需要先判断是哪种标准 // 需要先判断是哪种标准
if (this.model.type === '1') { if (this.model.type === '1') {
path = '/standardRegulationLibrary/DomesticStandardDetail' path = '/standardRegulationLibrary/foreignStandardDetailPage'
} else if (this.model.type === '2') { } else if (this.model.type === '2') {
path = '/standardRegulationLibrary/OverseasStandardDetail' path = '/standardRegulationLibrary/OverseasStandardDetail'
} else if (this.model.type === '3') { } else if (this.model.type === '3') {
@@ -274,7 +274,7 @@ export default {
switch (record.source + '') { switch (record.source + '') {
// 国内 // 国内
case StandardSource.DOMESTIC.value: case StandardSource.DOMESTIC.value:
path = '/standardRegulationLibrary/DomesticStandardDetail' path = '/standardRegulationLibrary/foreignStandardDetailPage'
break break
// 海外 // 海外
case StandardSource.OVERSEAS.value: case StandardSource.OVERSEAS.value:
@@ -308,7 +308,7 @@ export default {
let path = '' let path = ''
// 需要先判断是哪种标准 // 需要先判断是哪种标准
if (this.currStandardType === '1') { if (this.currStandardType === '1') {
path = '/standardRegulationLibrary/DomesticStandardDetail' path = '/standardRegulationLibrary/foreignStandardDetailPage'
} else if (this.currStandardType === '2') { } else if (this.currStandardType === '2') {
path = '/standardRegulationLibrary/OverseasStandardDetail' path = '/standardRegulationLibrary/OverseasStandardDetail'
} else if (this.currStandardType === '3') { } else if (this.currStandardType === '3') {
+1 -1
View File
@@ -535,7 +535,7 @@ export default {
let path = '' let path = ''
// 需要先判断是哪种标准 // 需要先判断是哪种标准
if (record.resourceType === '1') { if (record.resourceType === '1') {
path = '/standardRegulationLibrary/DomesticStandardDetail' path = '/standardRegulationLibrary/foreignStandardDetailPage'
} else if (record.resourceType === '2') { } else if (record.resourceType === '2') {
path = '/standardRegulationLibrary/OverseasStandardDetail' path = '/standardRegulationLibrary/OverseasStandardDetail'
} else if (record.resourceType === '3') { } else if (record.resourceType === '3') {
@@ -360,7 +360,7 @@ export default {
switch (standardSource) { switch (standardSource) {
// 国内 // 国内
case StandardSource.DOMESTIC.value: case StandardSource.DOMESTIC.value:
path = '/standardRegulationLibrary/DomesticStandardDetail' path = '/standardRegulationLibrary/foreignStandardDetailPage'
break break
// 海外 // 海外
case StandardSource.OVERSEAS.value: case StandardSource.OVERSEAS.value:
@@ -356,7 +356,7 @@ export default {
switch (splitStandardSource) { switch (splitStandardSource) {
// 国内 // 国内
case StandardSource.DOMESTIC.value: case StandardSource.DOMESTIC.value:
path = '/standardRegulationLibrary/DomesticStandardDetail' path = '/standardRegulationLibrary/foreignStandardDetailPage'
break break
// 海外 // 海外
case StandardSource.OVERSEAS.value: case StandardSource.OVERSEAS.value:
@@ -327,7 +327,7 @@ export default {
switch (standardInfo.source) { switch (standardInfo.source) {
// 国内 // 国内
case StandardSource.DOMESTIC.value: case StandardSource.DOMESTIC.value:
path = '/standardRegulationLibrary/DomesticStandardDetail' path = '/standardRegulationLibrary/foreignStandardDetailPage'
break break
// 海外 // 海外
case StandardSource.OVERSEAS.value: case StandardSource.OVERSEAS.value:
@@ -134,7 +134,7 @@ export default {
let path = '' let path = ''
// 需要先判断是哪种标准 // 需要先判断是哪种标准
if (record.source === '1') { if (record.source === '1') {
path = '/standardRegulationLibrary/DomesticStandardDetail' path = '/standardRegulationLibrary/foreignStandardDetailPage'
} else if (record.source === '2') { } else if (record.source === '2') {
path = '/standardRegulationLibrary/OverseasStandardDetail' path = '/standardRegulationLibrary/OverseasStandardDetail'
} else if (record.source === '3') { } else if (record.source === '3') {
@@ -320,7 +320,7 @@ export default {
let path = '' let path = ''
// 需要先判断是哪种标准 // 需要先判断是哪种标准
if (record.source === StandardSource.FOREIGN.value) { if (record.source === StandardSource.FOREIGN.value) {
path = '/standardRegulationLibrary/DomesticStandardDetail' path = '/standardRegulationLibrary/foreignStandardDetailPage'
} else if (record.source === StandardSource.ENTERPRISE.value) { } else if (record.source === StandardSource.ENTERPRISE.value) {
path = '/enterpriseStandardLibrary/enterpriseStandardDetail' path = '/enterpriseStandardLibrary/enterpriseStandardDetail'
} }
@@ -163,7 +163,7 @@ export default {
let path = '' let path = ''
// 需要先判断是哪种标准 // 需要先判断是哪种标准
if (record.source === StandardSource.FOREIGN.value) { if (record.source === StandardSource.FOREIGN.value) {
path = '/standardRegulationLibrary/DomesticStandardDetail' path = '/standardRegulationLibrary/foreignStandardDetailPage'
} else if (record.source === StandardSource.ENTERPRISE.value) { } else if (record.source === StandardSource.ENTERPRISE.value) {
path = '/enterpriseStandardLibrary/enterpriseStandardDetail' path = '/enterpriseStandardLibrary/enterpriseStandardDetail'
} }
@@ -247,6 +247,7 @@ import {
} from '../../../api/standardRegulationLibraryApi' } from '../../../api/standardRegulationLibraryApi'
import { mapGetters } from 'vuex' import { mapGetters } from 'vuex'
import { ConfigurableTableMixin } from '../../../mixins/ConfigurableTableMixin' import { ConfigurableTableMixin } from '../../../mixins/ConfigurableTableMixin'
import { postDownFile } from '../../../api/manage'
export default { export default {
name: 'ForeignStandardList', name: 'ForeignStandardList',
@@ -555,7 +556,7 @@ export default {
*/ */
toDetailPage ({ id }) { toDetailPage ({ id }) {
this.$openPageNewSheet({ this.$openPageNewSheet({
path: '/standardRegulationLibrary/ForeignStandardDetail', path: '/standardRegulationLibrary/foreignStandardDetailPage',
query: { query: {
id id
} }
@@ -290,7 +290,7 @@ export default {
let path = '' let path = ''
// 需要先判断是哪种标准 // 需要先判断是哪种标准
if (record.source === StandardSource.FOREIGN.value) { if (record.source === StandardSource.FOREIGN.value) {
path = '/standardRegulationLibrary/DomesticStandardDetail' path = '/standardRegulationLibrary/foreignStandardDetailPage'
} else if (record.source === StandardSource.ENTERPRISE.value) { } else if (record.source === StandardSource.ENTERPRISE.value) {
path = '/enterpriseStandardLibrary/enterpriseStandardDetail' path = '/enterpriseStandardLibrary/enterpriseStandardDetail'
} }
@@ -731,7 +731,7 @@ export default {
let path = '' let path = ''
// 需要先判断是哪种标准 // 需要先判断是哪种标准
if (record.source === StandardSource.FOREIGN.value) { if (record.source === StandardSource.FOREIGN.value) {
path = '/standardRegulationLibrary/DomesticStandardDetail' path = '/standardRegulationLibrary/foreignStandardDetailPage'
} else if (record.source === StandardSource.ENTERPRISE.value) { } else if (record.source === StandardSource.ENTERPRISE.value) {
path = '/enterpriseStandardLibrary/enterpriseStandardDetail' path = '/enterpriseStandardLibrary/enterpriseStandardDetail'
} }