Browse Source

fix: 修复局长信箱多次延期申请,第二次会覆盖第一次的问题(修改为累计延期天数)

master
wxc 6 months ago
parent
commit
0fe91112b0
  1. 2
      src/components/Upload.vue
  2. 4
      src/views/work/components/templates/ExtensionDetail.vue

2
src/components/Upload.vue

@ -44,7 +44,7 @@ const props = defineProps({
},
tips: {
type: String,
default: "附件大小不超过1G,视频类型附件请上传核心视频。"
default: "上传的文件大小不能超过1G"
}
});

4
src/views/work/components/templates/ExtensionDetail.vue

@ -16,11 +16,11 @@
<div class="flex">
<div class="col" style="width: 25%;">
<label>延期时长</label>
<span>{{ mail.extensionDays }}</span>
<span>{{ mail.extension?.days }}</span>
</div>
<div class="col" style="width: 75%;">
<label>延期理由</label>
<span style="width: calc(100% - 74px)">{{ mail.extensionReason }}</span>
<span style="width: calc(100% - 74px)">{{ mail.extension?.extensionReason }}</span>
</div>
</div>
<div class="flex mt-20" v-if="getComment()">

Loading…
Cancel
Save