update 表格必填项框前应该加*

This commit is contained in:
danshihao
2024-03-04 14:23:49 +08:00
parent 6c3486a3a1
commit 79c7510a68
2 changed files with 18 additions and 3 deletions
@@ -25,6 +25,10 @@
</template> </template>
<!-- 实际稽查完成日期 --> <!-- 实际稽查完成日期 -->
<span slot="customTitleActualInspectionCompletionDate">
<span class="table-header-required">*</span>
{{ this.$t('workCenter.esInspectionProcess.actualInspectionCompletionDate') }}
</span>
<template v-slot:actualInspectionCompletionDate="{text, record}"> <template v-slot:actualInspectionCompletionDate="{text, record}">
<div class="table-form" v-if="isInputInspectionReport"> <div class="table-form" v-if="isInputInspectionReport">
<a-date-picker :placeholder="$t('pleaseSelect')+$t('date')" <a-date-picker :placeholder="$t('pleaseSelect')+$t('date')"
@@ -40,6 +44,10 @@
</template> </template>
<!-- 实际稽查人 --> <!-- 实际稽查人 -->
<span slot="customTitleActualInspector">
<span class="table-header-required">*</span>
{{ this.$t('workCenter.esInspectionProcess.actualInspector') }}
</span>
<template v-slot:actualInspector="{text, record}"> <template v-slot:actualInspector="{text, record}">
<div class="table-form" v-if="isInputInspectionReport"> <div class="table-form" v-if="isInputInspectionReport">
<user-selection :placeholder="$t('pleaseSelect')+$t('workCenter.esInspectionProcess.actualInspector')" :show-btn="false" <user-selection :placeholder="$t('pleaseSelect')+$t('workCenter.esInspectionProcess.actualInspector')" :show-btn="false"
@@ -183,7 +191,7 @@ export default {
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ // 实际稽查完成日期 { // 实际稽查完成日期
title: this.$t('workCenter.esInspectionProcess.actualInspectionCompletionDate'), // title: this.$t('workCenter.esInspectionProcess.actualInspectionCompletionDate'),
align: 'center', align: 'center',
width: 200, width: 200,
dataIndex: 'completeDate', dataIndex: 'completeDate',
@@ -192,10 +200,11 @@ export default {
EsInspectionProcess.directorLeaderApprovalTwo.value, EsInspectionProcess.directorLeaderApprovalTwo.value,
EsInspectionProcess.relevantPersonnelCountersign.value EsInspectionProcess.relevantPersonnelCountersign.value
], ],
slots: { title: 'customTitleActualInspectionCompletionDate' },
scopedSlots: { customRender: 'actualInspectionCompletionDate' } scopedSlots: { customRender: 'actualInspectionCompletionDate' }
}, },
{ // 实际稽查人 { // 实际稽查人
title: this.$t('workCenter.esInspectionProcess.actualInspector'), // title: this.$t('workCenter.esInspectionProcess.actualInspector'),
align: 'center', align: 'center',
width: 200, width: 200,
dataIndex: 'actualInspectUser_dictText', dataIndex: 'actualInspectUser_dictText',
@@ -204,6 +213,7 @@ export default {
EsInspectionProcess.directorLeaderApprovalTwo.value, EsInspectionProcess.directorLeaderApprovalTwo.value,
EsInspectionProcess.relevantPersonnelCountersign.value EsInspectionProcess.relevantPersonnelCountersign.value
], ],
slots: { title: 'customTitleActualInspector' },
scopedSlots: { customRender: 'actualInspector' } scopedSlots: { customRender: 'actualInspector' }
}, },
{ {
@@ -25,6 +25,10 @@
</template> </template>
<!-- 稽查联络人 --> <!-- 稽查联络人 -->
<span slot="customTitleInspectionContactPerson">
<span class="table-header-required">*</span>
{{ this.$t('workCenter.incExtensionRequest.inspectionContactPerson') }}
</span>
<template v-slot:inspectionContactPerson="{text, record}"> <template v-slot:inspectionContactPerson="{text, record}">
<div class="table-form" v-if="isInitiate"> <div class="table-form" v-if="isInitiate">
<user-select-by-contact <user-select-by-contact
@@ -159,13 +163,14 @@ export default {
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ // 稽查联络人 { // 稽查联络人
title: this.$t('workCenter.incExtensionRequest.inspectionContactPerson'), // title: this.$t('workCenter.incExtensionRequest.inspectionContactPerson'),
showCodeList: [ showCodeList: [
InspectionExtensionRequestProcess.initiate.value InspectionExtensionRequestProcess.initiate.value
], ],
align: 'center', align: 'center',
width: 200, width: 200,
dataIndex: 'liaisons', dataIndex: 'liaisons',
slots: { title: 'customTitleInspectionContactPerson' },
scopedSlots: { customRender: 'inspectionContactPerson' } scopedSlots: { customRender: 'inspectionContactPerson' }
}, },
{ {