[update] 修改UAT问题:动态消息,周报月报可以上传多个资料文本文件,并且可以填写动态详情
This commit is contained in:
@@ -195,7 +195,7 @@ export default {
|
|||||||
UEDITOR_HOME_URL: '/ueditor/',
|
UEDITOR_HOME_URL: '/ueditor/',
|
||||||
editTableIndex: 1
|
editTableIndex: 1
|
||||||
},
|
},
|
||||||
fileNum: 0, // 动态分类为周报或月报时,控制只能上传一个
|
fileNum: 0, // 动态分类为周报或月报时,控制只能上传一个,2024-8-26变更,周报月报可以上传多个
|
||||||
fileType: CAN_UPLOAD_FILE_TYPE, // 动态分类为周报或月报时,控制只能上传pdf
|
fileType: CAN_UPLOAD_FILE_TYPE, // 动态分类为周报或月报时,控制只能上传pdf
|
||||||
validatorRules: {
|
validatorRules: {
|
||||||
// 动态标题
|
// 动态标题
|
||||||
@@ -250,10 +250,11 @@ export default {
|
|||||||
this.modal = res.result || {}
|
this.modal = res.result || {}
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
if (this.modal.dynamicClassification === DynamicCataloging.WEEKLY_NEWSPAPER.value || this.modal.dynamicClassification === DynamicCataloging.MONTHLY_MAGAZINE.value) {
|
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.fileType = 'pdf'
|
||||||
this.needWritePushRange = false
|
this.needWritePushRange = false
|
||||||
this.needWriteDynamicDetails = false
|
this.needWriteDynamicDetails = true
|
||||||
} else {
|
} else {
|
||||||
this.fileNum = 0
|
this.fileNum = 0
|
||||||
this.fileType = CAN_UPLOAD_FILE_TYPE
|
this.fileType = CAN_UPLOAD_FILE_TYPE
|
||||||
@@ -296,10 +297,11 @@ export default {
|
|||||||
},
|
},
|
||||||
handleCatalogingChange (value) {
|
handleCatalogingChange (value) {
|
||||||
if (value === DynamicCataloging.WEEKLY_NEWSPAPER.value || value === DynamicCataloging.MONTHLY_MAGAZINE.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.fileType = 'pdf'
|
||||||
this.needWritePushRange = false
|
this.needWritePushRange = false
|
||||||
this.needWriteDynamicDetails = false
|
this.needWriteDynamicDetails = true
|
||||||
this.form.setFieldsValue({ dataText: undefined })
|
this.form.setFieldsValue({ dataText: undefined })
|
||||||
} else {
|
} else {
|
||||||
this.fileNum = 0
|
this.fileNum = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user