fix 79609

This commit is contained in:
danshihao
2023-12-22 17:35:47 +08:00
parent 74e553ddf7
commit 81b1d7615b
2 changed files with 11 additions and 2 deletions
@@ -484,7 +484,7 @@ export default {
handleUncommitted () { handleUncommitted () {
if (this.loading) return if (this.loading) return
this.loading = true this.loading = true
this.getPageParams().then(res => { this.getPageParams(false).then(res => {
res.map.pass = true res.map.pass = true
res.notAttend = true res.notAttend = true
res.processApprovalRecord.commitText = '未参加' res.processApprovalRecord.commitText = '未参加'
@@ -103,11 +103,12 @@
<!-- 相关材料 --> <!-- 相关材料 -->
<div class="box-title-text form-flex-item" v-if="isAttendeesUploadMaterials"> <div class="box-title-text form-flex-item" v-if="isAttendeesUploadMaterials">
<div class="title-text"> <div class="title-text">
<span class="required">*</span>
<span class="title-text-text" :title="$t('workCenter.postMeetingManageProcess.relevantData')"> <span class="title-text-text" :title="$t('workCenter.postMeetingManageProcess.relevantData')">
{{ $t('workCenter.postMeetingManageProcess.relevantData') }} {{ $t('workCenter.postMeetingManageProcess.relevantData') }}
</span> </span>
</div> </div>
<a-form-model-item class="item-model" prop="relevantData"> <a-form-model-item class="item-model" prop="fileIds">
<a-button type="primary" class="button-text" @click="clickButtonToUpload" style="width: 100%;"> <a-button type="primary" class="button-text" @click="clickButtonToUpload" style="width: 100%;">
{{ {{
(formInline.fileIds === 'null' || formInline.fileIds === '' || formInline.fileIds === null || formInline.fileIds === undefined) (formInline.fileIds === 'null' || formInline.fileIds === '' || formInline.fileIds === null || formInline.fileIds === undefined)
@@ -180,6 +181,14 @@ export default {
message: this.$t('workCenter.postMeetingManageProcess.attendanceDate') + this.$t('cannotEmpty'), message: this.$t('workCenter.postMeetingManageProcess.attendanceDate') + this.$t('cannotEmpty'),
trigger: 'change' trigger: 'change'
} }
],
// 相关材料
fileIds: [
{
required: true,
message: this.$t('workCenter.postMeetingManageProcess.relevantData') + this.$t('cannotEmpty'),
trigger: 'change'
}
] ]
} }
} }