标准化活动日历

This commit is contained in:
shenyanpei
2021-11-11 16:49:38 +08:00
parent 7976e39476
commit 16a01b7d27
+4 -1
View File
@@ -68,7 +68,7 @@
<span>会议附件 : <span>会议附件 :
<span v-if="item.files.length === '0'">{{ '-' }}</span> <span v-if="item.files.length === '0'">{{ '-' }}</span>
<span v-for="res in item.files" :key="res.id" style="color: #409EFF;" @click="previews(res.id)"> <span v-for="res in item.files" :key="res.id" style="color: #409EFF;" @click="previews(res.id)">
{{ res.name }} {{ res.name }} {{ ';'}}
</span> </span>
</span> </span>
</div> </div>
@@ -114,6 +114,9 @@ export default {
let yy = new Date().getFullYear(); let yy = new Date().getFullYear();
let mm = new Date().getMonth() + 1; let mm = new Date().getMonth() + 1;
let dd = new Date().getDate(); let dd = new Date().getDate();
if (mm<10) {
mm = this.padding0(mm, 2)
}
this.nowDate = yy + '-' + mm + '-' + dd this.nowDate = yy + '-' + mm + '-' + dd
this.formData.year = yy + '年' this.formData.year = yy + '年'
this.formData.month = mm + '月' this.formData.month = mm + '月'