政策课题模块

This commit is contained in:
zyn
2023-10-17 17:32:29 +08:00
parent 04d62065a8
commit a57f930011
7 changed files with 1284 additions and 6 deletions
+7 -2
View File
@@ -201,6 +201,11 @@ export default {
},
rules: {
type: Array
},
// 单位 M
size: {
type: Number,
default: 200
}
},
watch: {
@@ -322,8 +327,8 @@ export default {
return false
}
// 判断文件上传大小
if (file.size / 1024 / 1024 > 200) {// eslint-disable-line
this.$message.error('文件' + file.name + '大小不超过200M')
if (file.size / 1024 / 1024 > this.size) {// eslint-disable-line
this.$message.error('文件' + file.name + `大小不超过${ this.size }M`)
return false
}
return true
+5
View File
@@ -253,6 +253,11 @@
title: '内外部会议',
path: '/meeting',
menuId: 'e5681c5ccbef386fcf50e217afdd3ff4'
},
{
title: '政策课题',
path: '/policyTopics',
menuId: '627f66cd6746234edd4722e20d8c01bb'
}
]
},