fix 在表头上加一个*表示必填

This commit is contained in:
赵霄
2024-03-04 13:33:02 +08:00
parent 3e2cde088b
commit 251611055e
9 changed files with 112 additions and 25 deletions
@@ -221,6 +221,14 @@
:all-disabled="disabledConsultationList"
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }">
<!--表头插槽 start-->
<!--意见-->
<template v-slot:customTitleOpinion>
<span class="table-header-required">*</span>
{{ $t('workCenter.esInspectionPlan.opinion') }}
</template>
<!--表头插槽 end-->
<!--修改前修改后修改理由弹框显示内容-->
<template v-slot:modalDetail="{text, record}">
<div class="table-text can-click" @click="showContent(text)" v-if="text">{{ text }}</div>
@@ -577,7 +585,8 @@ export default {
scopedSlots: { customRender: 'text' }
},
{ // 意见
title: this.$t('workCenter.esInspectionPlan.opinion'),
// title: this.$t('workCenter.esInspectionPlan.opinion'),
slots: { title: 'customTitleOpinion' },
width: 180,
align: 'center',
dataIndex: 'isAdopt_dictText',
@@ -735,7 +744,7 @@ export default {
dataIndex: 'designEngineerName',
scopedSlots: { customRender: 'text' }
},
{ // 意见
{ // 模块负责人意见
title: this.$t('workCenter.standardConsultationProcess.moduleOwner') + this.$t('workCenter.esInspectionPlan.opinion'),
width: 180,
align: 'center',