fix 在表头上加一个*表示必填
This commit is contained in:
+26
-15
@@ -134,17 +134,11 @@
|
||||
<div class="table-text" v-else>{{ global.emptyLine }}</div>
|
||||
</template>
|
||||
|
||||
<!--责任单位-->
|
||||
<template v-slot:depart="{text, record, index}">
|
||||
<j-select-depart v-if="record.canAssignFlag + '' === '1'"
|
||||
multi
|
||||
:back-depart="true"
|
||||
:value="record.responsibleUnits"
|
||||
@change="value => handleDepartChange(value, record, index)" />
|
||||
<div class="table-text" v-else>{{ global.emptyLine }}</div>
|
||||
</template>
|
||||
|
||||
<!--责任单位负责人-->
|
||||
<template v-slot:customTitleResponsibleUnitLeaders>
|
||||
<span class="table-header-required">*</span>
|
||||
{{ $t('workCenter.projectComplianceEvaluationProcess.responsibleUnitHead') }}
|
||||
</template>
|
||||
<template v-slot:user="{text, record, index}">
|
||||
<user-selection v-if="record.canAssignFlag + '' === '1'"
|
||||
:name-str="record.responsibleUnitLeaders_dictText"
|
||||
@@ -157,6 +151,10 @@
|
||||
</template>
|
||||
|
||||
<!--模块负责人-->
|
||||
<template v-slot:customTitleModuleOwner>
|
||||
<span class="table-header-required">*</span>
|
||||
{{ $t('workCenter.standardConsultationProcess.moduleOwner') }}
|
||||
</template>
|
||||
<template v-slot:moduleOwner="{text, record, index}">
|
||||
<!--不涉及不需要选模块负责人,需要填写不涉及理由-->
|
||||
<user-selection :name-str="record.moduleOwners_dictText"
|
||||
@@ -170,6 +168,10 @@
|
||||
</template>
|
||||
|
||||
<!--设计工程师-->
|
||||
<template v-slot:customTitleDesignEngineers>
|
||||
<span class="table-header-required">*</span>
|
||||
{{ $t('workCenter.standardConsultationProcess.designEngineer') }}
|
||||
</template>
|
||||
<template v-slot:designEngineers="{text, record, index}">
|
||||
<!--不涉及不需要选模块负责人,需要填写不涉及理由-->
|
||||
<user-selection :name-str="record.designEngineers_dictText"
|
||||
@@ -220,6 +222,10 @@
|
||||
</template>
|
||||
|
||||
<!--评估反馈-->
|
||||
<template v-slot:customTitleEvaluationFeedback>
|
||||
<span class="table-header-required" v-if="!expandTableDisabled">*</span>
|
||||
{{ $t('workCenter.projectComplianceEvaluationProcess.evaluationFeedback') }}
|
||||
</template>
|
||||
<template v-slot:evaluationFeedback="{text, record, index}">
|
||||
<j-dict-select-tag
|
||||
v-if="!expandTableDisabled && record.canAssignFlag + '' === '1'"
|
||||
@@ -713,7 +719,8 @@ export default {
|
||||
return this.basicColumns.concat([
|
||||
// 责任单位负责人
|
||||
{
|
||||
title: this.$t('workCenter.projectComplianceEvaluationProcess.responsibleUnitHead'),
|
||||
// title: this.$t('workCenter.projectComplianceEvaluationProcess.responsibleUnitHead'),
|
||||
slots: { title: 'customTitleResponsibleUnitLeaders' },
|
||||
dataIndex: 'responsibleUnitLeaders',
|
||||
width: 350,
|
||||
scopedSlots: { customRender: 'user' }
|
||||
@@ -738,7 +745,8 @@ export default {
|
||||
},
|
||||
// 模块负责人
|
||||
{
|
||||
title: this.$t('workCenter.standardConsultationProcess.moduleOwner'),
|
||||
// title: this.$t('workCenter.standardConsultationProcess.moduleOwner'),
|
||||
slots: { title: 'customTitleModuleOwner' },
|
||||
dataIndex: 'moduleOwners',
|
||||
width: 200,
|
||||
scopedSlots: { customRender: 'moduleOwner' }
|
||||
@@ -757,7 +765,8 @@ export default {
|
||||
return this.basicColumns.concat([
|
||||
// 设计工程师
|
||||
{
|
||||
title: this.$t('workCenter.standardConsultationProcess.designEngineer'),
|
||||
// title: this.$t('workCenter.standardConsultationProcess.designEngineer'),
|
||||
slots: { title: 'customTitleDesignEngineers' },
|
||||
dataIndex: 'designEngineers',
|
||||
width: 350,
|
||||
scopedSlots: { customRender: 'designEngineers' }
|
||||
@@ -784,7 +793,8 @@ export default {
|
||||
},
|
||||
// 评估反馈
|
||||
{
|
||||
title: this.$t('workCenter.projectComplianceEvaluationProcess.evaluationFeedback'),
|
||||
// title: this.$t('workCenter.projectComplianceEvaluationProcess.evaluationFeedback'),
|
||||
slots: { title: 'customTitleEvaluationFeedback' },
|
||||
dataIndex: 'evaluationFeedback_dictText',
|
||||
width: 150,
|
||||
align: 'center',
|
||||
@@ -806,7 +816,8 @@ export default {
|
||||
},
|
||||
// 评估反馈
|
||||
{
|
||||
title: this.$t('projectLibrary.vehicleItemLibrary.evaluationResult'),
|
||||
// title: this.$t('projectLibrary.vehicleItemLibrary.evaluationResult'),
|
||||
slots: { title: 'customTitleEvaluationFeedback' },
|
||||
dataIndex: 'evaluationFeedback_dictText',
|
||||
width: 150,
|
||||
align: 'center',
|
||||
|
||||
Reference in New Issue
Block a user