[fix 87778] 高级搜索-点击标准跳转详情
This commit is contained in:
@@ -167,7 +167,7 @@
|
|||||||
<template v-slot:toDetail="{text, record}">
|
<template v-slot:toDetail="{text, record}">
|
||||||
<a-tooltip overlay-class-name="tooltip-style">
|
<a-tooltip overlay-class-name="tooltip-style">
|
||||||
<template slot="title">{{ text || text === 0 ? text : global.emptyLine }}</template>
|
<template slot="title">{{ text || text === 0 ? text : global.emptyLine }}</template>
|
||||||
<a v-if="text && ( record.detailFlag === undefined || record.detailFlag === true )" class="link-a" @click="filePreview(record)">{{ text }}</a>
|
<a v-if="text && ( record.detailFlag === undefined || record.detailFlag === true )" class="link-a" @click="handleGoDetail(record)">{{ text }}</a>
|
||||||
<div v-else-if="text && record.detailFlag === false" class="table-text">{{ text }}</div>
|
<div v-else-if="text && record.detailFlag === false" class="table-text">{{ text }}</div>
|
||||||
<div v-else class="table-text">{{ global.emptyLine }}</div>
|
<div v-else class="table-text">{{ global.emptyLine }}</div>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
@@ -199,7 +199,7 @@
|
|||||||
<template v-slot:toDetail="{text, record}">
|
<template v-slot:toDetail="{text, record}">
|
||||||
<a-tooltip overlay-class-name="tooltip-style">
|
<a-tooltip overlay-class-name="tooltip-style">
|
||||||
<template slot="title">{{ text || text === 0 ? text : global.emptyLine }}</template>
|
<template slot="title">{{ text || text === 0 ? text : global.emptyLine }}</template>
|
||||||
<a v-if="text && ( record.detailFlag === undefined || record.detailFlag === true )" class="link-a" @click="filePreview(record)">{{ text }}</a>
|
<a v-if="text && ( record.detailFlag === undefined || record.detailFlag === true )" class="link-a" @click="handleGoDetail(record)">{{ text }}</a>
|
||||||
<div v-else-if="text && record.detailFlag === false" class="table-text">{{ text }}</div>
|
<div v-else-if="text && record.detailFlag === false" class="table-text">{{ text }}</div>
|
||||||
<div v-else class="table-text">{{ global.emptyLine }}</div>
|
<div v-else class="table-text">{{ global.emptyLine }}</div>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
@@ -613,6 +613,13 @@ export default {
|
|||||||
path = '/standardRegulationLibrary/foreignStandardDetailPage'
|
path = '/standardRegulationLibrary/foreignStandardDetailPage'
|
||||||
} else if (this.currStandardType === '3') {
|
} else if (this.currStandardType === '3') {
|
||||||
path = '/enterpriseStandardLibrary/enterpriseStandardDetail'
|
path = '/enterpriseStandardLibrary/enterpriseStandardDetail'
|
||||||
|
} else if (this.currStandardType === '5') {
|
||||||
|
// 全部的话,就判断是企标还是外部
|
||||||
|
if (record.resource_type === StandardSource.FOREIGN.value) {
|
||||||
|
path = '/standardRegulationLibrary/foreignStandardDetailPage'
|
||||||
|
} else if (record.resource_type === StandardSource.ENTERPRISE.value) {
|
||||||
|
path = '/enterpriseStandardLibrary/enterpriseStandardDetail'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
this.$openPageNewSheet({
|
this.$openPageNewSheet({
|
||||||
path: path,
|
path: path,
|
||||||
|
|||||||
Reference in New Issue
Block a user