[update] 修改bug87794
This commit is contained in:
+19
@@ -35,6 +35,16 @@
|
||||
:pagination="false"
|
||||
:loading="loading">
|
||||
|
||||
<!-- 标准号、标准名称 -->
|
||||
<template v-slot:toDetail="{text, record}">
|
||||
<a-tooltip overlay-class-name="tooltip-style">
|
||||
<template slot="title">{{ text || text === 0 ? text : global.emptyLine }}</template>
|
||||
<a v-if="text && record.standardId" class="link-a" @click="detailClick(record)">{{ text }}</a>
|
||||
<div v-else-if="text" class="table-text">{{ text || text === 0 ? text : global.emptyLine }}</div>
|
||||
<div v-else class="table-text">{{ global.emptyLine }}</div>
|
||||
</a-tooltip>
|
||||
</template>
|
||||
|
||||
<!-- 分解单来源是添加标准的标准的话,显示下拉框,否则显示上传的分解单或者空 -->
|
||||
<template v-slot:splitFileSource="{record}" class="action-span-cell">
|
||||
<!-- 通过添加标准新增的 -->
|
||||
@@ -527,6 +537,15 @@ export default {
|
||||
})
|
||||
return data
|
||||
},
|
||||
// 跳转详情
|
||||
detailClick (record) {
|
||||
this.$openPageNewSheet({
|
||||
path: '/standardRegulationLibrary/foreignStandardDetailPage',
|
||||
query: {
|
||||
id: record.standardId
|
||||
}
|
||||
})
|
||||
},
|
||||
/**
|
||||
* 获取分解单来源下拉
|
||||
* @param standardId - 标准id
|
||||
|
||||
Reference in New Issue
Block a user