[update] 全局修改跳转标准详情页的判断国标改成外来标准,删除外标
This commit is contained in:
@@ -285,14 +285,10 @@ export default {
|
||||
let path
|
||||
// 根据来源跳转不同的详情页
|
||||
switch (source) {
|
||||
// 国内
|
||||
case StandardSource.DOMESTIC.value:
|
||||
// 外来标准
|
||||
case StandardSource.FOREIGN.value:
|
||||
path = '/standardRegulationLibrary/foreignStandardDetailPage'
|
||||
break
|
||||
// 海外
|
||||
case StandardSource.OVERSEAS.value:
|
||||
path = '/standardRegulationLibrary/OverseasStandardDetail'
|
||||
break
|
||||
// 企标
|
||||
case StandardSource.ENTERPRISE.value:
|
||||
path = '/enterpriseStandardLibrary/enterpriseStandardDetail'
|
||||
|
||||
@@ -236,8 +236,6 @@ export default {
|
||||
// 需要先判断是哪种标准
|
||||
if (this.model.type === '1') {
|
||||
path = '/standardRegulationLibrary/foreignStandardDetailPage'
|
||||
} else if (this.model.type === '2') {
|
||||
path = '/standardRegulationLibrary/OverseasStandardDetail'
|
||||
} else if (this.model.type === '3') {
|
||||
path = '/enterpriseStandardLibrary/enterpriseStandardDetail'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user