[update] 修改跳转外来标准详情路径为/standardRegulationLibrary/foreignStandardDetailPage
This commit is contained in:
@@ -331,7 +331,7 @@ export default {
|
||||
let path = ''
|
||||
// 需要先判断是哪种标准
|
||||
if (record.standardType === '1') {
|
||||
path = '/standardRegulationLibrary/DomesticStandardDetail'
|
||||
path = '/standardRegulationLibrary/foreignStandardDetailPage'
|
||||
} else if (record.standardType === '2') {
|
||||
path = '/standardRegulationLibrary/OverseasStandardDetail'
|
||||
} else if (record.standardType === '3') {
|
||||
|
||||
@@ -332,7 +332,7 @@ export default {
|
||||
let path = ''
|
||||
// 需要先判断是哪种标准
|
||||
if (record.source === '1') {
|
||||
path = '/standardRegulationLibrary/DomesticStandardDetail'
|
||||
path = '/standardRegulationLibrary/foreignStandardDetailPage'
|
||||
} else if (record.source === '2') {
|
||||
path = '/standardRegulationLibrary/OverseasStandardDetail'
|
||||
} else if (record.source === '3') {
|
||||
|
||||
@@ -287,7 +287,7 @@ export default {
|
||||
switch (source) {
|
||||
// 国内
|
||||
case StandardSource.DOMESTIC.value:
|
||||
path = '/standardRegulationLibrary/DomesticStandardDetail'
|
||||
path = '/standardRegulationLibrary/foreignStandardDetailPage'
|
||||
break
|
||||
// 海外
|
||||
case StandardSource.OVERSEAS.value:
|
||||
|
||||
@@ -235,7 +235,7 @@ export default {
|
||||
let path = ''
|
||||
// 需要先判断是哪种标准
|
||||
if (this.model.type === '1') {
|
||||
path = '/standardRegulationLibrary/DomesticStandardDetail'
|
||||
path = '/standardRegulationLibrary/foreignStandardDetailPage'
|
||||
} else if (this.model.type === '2') {
|
||||
path = '/standardRegulationLibrary/OverseasStandardDetail'
|
||||
} else if (this.model.type === '3') {
|
||||
|
||||
@@ -274,7 +274,7 @@ export default {
|
||||
switch (record.source + '') {
|
||||
// 国内
|
||||
case StandardSource.DOMESTIC.value:
|
||||
path = '/standardRegulationLibrary/DomesticStandardDetail'
|
||||
path = '/standardRegulationLibrary/foreignStandardDetailPage'
|
||||
break
|
||||
// 海外
|
||||
case StandardSource.OVERSEAS.value:
|
||||
|
||||
@@ -308,7 +308,7 @@ export default {
|
||||
let path = ''
|
||||
// 需要先判断是哪种标准
|
||||
if (this.currStandardType === '1') {
|
||||
path = '/standardRegulationLibrary/DomesticStandardDetail'
|
||||
path = '/standardRegulationLibrary/foreignStandardDetailPage'
|
||||
} else if (this.currStandardType === '2') {
|
||||
path = '/standardRegulationLibrary/OverseasStandardDetail'
|
||||
} else if (this.currStandardType === '3') {
|
||||
|
||||
@@ -535,7 +535,7 @@ export default {
|
||||
let path = ''
|
||||
// 需要先判断是哪种标准
|
||||
if (record.resourceType === '1') {
|
||||
path = '/standardRegulationLibrary/DomesticStandardDetail'
|
||||
path = '/standardRegulationLibrary/foreignStandardDetailPage'
|
||||
} else if (record.resourceType === '2') {
|
||||
path = '/standardRegulationLibrary/OverseasStandardDetail'
|
||||
} else if (record.resourceType === '3') {
|
||||
|
||||
@@ -360,7 +360,7 @@ export default {
|
||||
switch (standardSource) {
|
||||
// 国内
|
||||
case StandardSource.DOMESTIC.value:
|
||||
path = '/standardRegulationLibrary/DomesticStandardDetail'
|
||||
path = '/standardRegulationLibrary/foreignStandardDetailPage'
|
||||
break
|
||||
// 海外
|
||||
case StandardSource.OVERSEAS.value:
|
||||
|
||||
@@ -356,7 +356,7 @@ export default {
|
||||
switch (splitStandardSource) {
|
||||
// 国内
|
||||
case StandardSource.DOMESTIC.value:
|
||||
path = '/standardRegulationLibrary/DomesticStandardDetail'
|
||||
path = '/standardRegulationLibrary/foreignStandardDetailPage'
|
||||
break
|
||||
// 海外
|
||||
case StandardSource.OVERSEAS.value:
|
||||
|
||||
@@ -327,7 +327,7 @@ export default {
|
||||
switch (standardInfo.source) {
|
||||
// 国内
|
||||
case StandardSource.DOMESTIC.value:
|
||||
path = '/standardRegulationLibrary/DomesticStandardDetail'
|
||||
path = '/standardRegulationLibrary/foreignStandardDetailPage'
|
||||
break
|
||||
// 海外
|
||||
case StandardSource.OVERSEAS.value:
|
||||
|
||||
@@ -134,7 +134,7 @@ export default {
|
||||
let path = ''
|
||||
// 需要先判断是哪种标准
|
||||
if (record.source === '1') {
|
||||
path = '/standardRegulationLibrary/DomesticStandardDetail'
|
||||
path = '/standardRegulationLibrary/foreignStandardDetailPage'
|
||||
} else if (record.source === '2') {
|
||||
path = '/standardRegulationLibrary/OverseasStandardDetail'
|
||||
} else if (record.source === '3') {
|
||||
|
||||
@@ -320,7 +320,7 @@ export default {
|
||||
let path = ''
|
||||
// 需要先判断是哪种标准
|
||||
if (record.source === StandardSource.FOREIGN.value) {
|
||||
path = '/standardRegulationLibrary/DomesticStandardDetail'
|
||||
path = '/standardRegulationLibrary/foreignStandardDetailPage'
|
||||
} else if (record.source === StandardSource.ENTERPRISE.value) {
|
||||
path = '/enterpriseStandardLibrary/enterpriseStandardDetail'
|
||||
}
|
||||
|
||||
+1
-1
@@ -163,7 +163,7 @@ export default {
|
||||
let path = ''
|
||||
// 需要先判断是哪种标准
|
||||
if (record.source === StandardSource.FOREIGN.value) {
|
||||
path = '/standardRegulationLibrary/DomesticStandardDetail'
|
||||
path = '/standardRegulationLibrary/foreignStandardDetailPage'
|
||||
} else if (record.source === StandardSource.ENTERPRISE.value) {
|
||||
path = '/enterpriseStandardLibrary/enterpriseStandardDetail'
|
||||
}
|
||||
|
||||
@@ -247,6 +247,7 @@ import {
|
||||
} from '../../../api/standardRegulationLibraryApi'
|
||||
import { mapGetters } from 'vuex'
|
||||
import { ConfigurableTableMixin } from '../../../mixins/ConfigurableTableMixin'
|
||||
import { postDownFile } from '../../../api/manage'
|
||||
|
||||
export default {
|
||||
name: 'ForeignStandardList',
|
||||
@@ -555,7 +556,7 @@ export default {
|
||||
*/
|
||||
toDetailPage ({ id }) {
|
||||
this.$openPageNewSheet({
|
||||
path: '/standardRegulationLibrary/ForeignStandardDetail',
|
||||
path: '/standardRegulationLibrary/foreignStandardDetailPage',
|
||||
query: {
|
||||
id
|
||||
}
|
||||
|
||||
+1
-1
@@ -290,7 +290,7 @@ export default {
|
||||
let path = ''
|
||||
// 需要先判断是哪种标准
|
||||
if (record.source === StandardSource.FOREIGN.value) {
|
||||
path = '/standardRegulationLibrary/DomesticStandardDetail'
|
||||
path = '/standardRegulationLibrary/foreignStandardDetailPage'
|
||||
} else if (record.source === StandardSource.ENTERPRISE.value) {
|
||||
path = '/enterpriseStandardLibrary/enterpriseStandardDetail'
|
||||
}
|
||||
|
||||
+1
-1
@@ -731,7 +731,7 @@ export default {
|
||||
let path = ''
|
||||
// 需要先判断是哪种标准
|
||||
if (record.source === StandardSource.FOREIGN.value) {
|
||||
path = '/standardRegulationLibrary/DomesticStandardDetail'
|
||||
path = '/standardRegulationLibrary/foreignStandardDetailPage'
|
||||
} else if (record.source === StandardSource.ENTERPRISE.value) {
|
||||
path = '/enterpriseStandardLibrary/enterpriseStandardDetail'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user