From 7680aef767b2f9ebcaef0ad445b17db0c1db2a24 Mon Sep 17 00:00:00 2001 From: lideqin <694785430@qq.com> Date: Mon, 26 Aug 2024 10:29:15 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E4=BF=AE=E6=94=B9UAT=E9=97=AE?= =?UTF-8?q?=E9=A2=98=EF=BC=9A=E5=8A=A8=E6=80=81=E6=B6=88=E6=81=AF=EF=BC=8C?= =?UTF-8?q?=E5=91=A8=E6=8A=A5=E6=9C=88=E6=8A=A5=E5=8F=AF=E4=BB=A5=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E5=A4=9A=E4=B8=AA=E8=B5=84=E6=96=99=E6=96=87=E6=9C=AC?= =?UTF-8?q?=E6=96=87=E4=BB=B6=EF=BC=8C=E5=B9=B6=E4=B8=94=E5=8F=AF=E4=BB=A5?= =?UTF-8?q?=E5=A1=AB=E5=86=99=E5=8A=A8=E6=80=81=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dynamicMessage/DynamicMessageFormPage.vue | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/views/standardRegulationLibrary/dynamicMessage/DynamicMessageFormPage.vue b/src/views/standardRegulationLibrary/dynamicMessage/DynamicMessageFormPage.vue index 486d4947..db2d55e9 100644 --- a/src/views/standardRegulationLibrary/dynamicMessage/DynamicMessageFormPage.vue +++ b/src/views/standardRegulationLibrary/dynamicMessage/DynamicMessageFormPage.vue @@ -195,7 +195,7 @@ export default { UEDITOR_HOME_URL: '/ueditor/', editTableIndex: 1 }, - fileNum: 0, // 动态分类为周报或月报时,控制只能上传一个 + fileNum: 0, // 动态分类为周报或月报时,控制只能上传一个,2024-8-26变更,周报月报可以上传多个 fileType: CAN_UPLOAD_FILE_TYPE, // 动态分类为周报或月报时,控制只能上传pdf validatorRules: { // 动态标题 @@ -250,10 +250,11 @@ export default { this.modal = res.result || {} this.$nextTick(() => { if (this.modal.dynamicClassification === DynamicCataloging.WEEKLY_NEWSPAPER.value || this.modal.dynamicClassification === DynamicCataloging.MONTHLY_MAGAZINE.value) { - this.fileNum = 1 + // 2024-8-26变更,周报月报可以上传多个,并且显示动态详情 + this.fileNum = 0 this.fileType = 'pdf' this.needWritePushRange = false - this.needWriteDynamicDetails = false + this.needWriteDynamicDetails = true } else { this.fileNum = 0 this.fileType = CAN_UPLOAD_FILE_TYPE @@ -296,10 +297,11 @@ export default { }, handleCatalogingChange (value) { if (value === DynamicCataloging.WEEKLY_NEWSPAPER.value || value === DynamicCataloging.MONTHLY_MAGAZINE.value) { - this.fileNum = 1 + // 2024-8-26变更,周报月报可以上传多个,并且显示动态详情 + this.fileNum = 0 this.fileType = 'pdf' this.needWritePushRange = false - this.needWriteDynamicDetails = false + this.needWriteDynamicDetails = true this.form.setFieldsValue({ dataText: undefined }) } else { this.fileNum = 0