[update] 修改bug80255

This commit is contained in:
lideqin
2024-01-16 15:35:03 +08:00
parent 7c014955ee
commit 931ddbdb4f
4 changed files with 9 additions and 7 deletions
@@ -101,7 +101,8 @@
<template v-slot:toDetailNew="text, record"> <template v-slot:toDetailNew="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" class="link-a" @click="handleGoDetailNew(record)">{{ text }}</a> <a v-if="text && ['3', '5'].includes(record.projectStatus)" class="link-a" @click="handleGoDetailNew(record)">{{ text }}</a>
<div v-else-if="text" 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>
</template> </template>
@@ -172,11 +172,12 @@
</a-tooltip> </a-tooltip>
</template> </template>
<!-- 新企标编号/新企标名称 --> <!-- 新企标编号/新企标名称 只有完成和逾期完成的才可以跳转 -->
<template v-slot:toDetailNew="{text, record}"> <template v-slot:toDetailNew="{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" class="link-a" @click="handleGoDetailNew(record)">{{ text }}</a> <a v-if="text && ['3', '5'].includes(record.projectStatus)" class="link-a" @click="handleGoDetailNew(record)">{{ text }}</a>
<div v-else-if="text" 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>
</template> </template>
@@ -97,14 +97,14 @@ export default {
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'originEnStandardNo', dataIndex: 'originEnStandardNo',
scopedSlots: { customRender: 'toDetail' } scopedSlots: { customRender: 'text' }
}, },
{ // 企标名称 { // 企标名称
title: this.$t('workCenter.enterpriseInitChangePlan.enterpriseStandardName'), title: this.$t('workCenter.enterpriseInitChangePlan.enterpriseStandardName'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'originEnStandardName', dataIndex: 'originEnStandardName',
scopedSlots: { customRender: 'toDetail' } scopedSlots: { customRender: 'text' }
}, },
{ // 主起草人 { // 主起草人
title: this.$t('workCenter.enterpriseInitChangePlan.principalDrafter'), title: this.$t('workCenter.enterpriseInitChangePlan.principalDrafter'),
@@ -96,14 +96,14 @@ export default {
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'originEnStandardNo', dataIndex: 'originEnStandardNo',
scopedSlots: { customRender: 'toDetail' } scopedSlots: { customRender: 'text' }
}, },
{ // 企标名称 { // 企标名称
title: this.$t('workCenter.enterpriseInitChangePlan.enterpriseStandardName'), title: this.$t('workCenter.enterpriseInitChangePlan.enterpriseStandardName'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'originEnStandardName', dataIndex: 'originEnStandardName',
scopedSlots: { customRender: 'toDetail' } scopedSlots: { customRender: 'text' }
}, },
{ // 主起草人 { // 主起草人
title: this.$t('workCenter.enterpriseInitChangePlan.principalDrafter'), title: this.$t('workCenter.enterpriseInitChangePlan.principalDrafter'),