Commit dd7d7535 authored by wanghao's avatar wanghao

1 系统限制上传最小文件调整。

2 处理隐患不能上传照片调整。
parent c75e166f
......@@ -31,9 +31,9 @@ spring:
servlet:
multipart:
# 单个文件大小
max-file-size: 10MB
max-file-size: 20MB
# 设置总上传的文件大小
max-request-size: 20MB
max-request-size: 100MB
# 服务模块
devtools:
restart:
......
......@@ -252,9 +252,8 @@
<el-row>
<el-col :span="23">
<el-form-item label="上传照片" :disabled="true" v-if="form.hiddenTroubleDealStatus==3">
<FileUpload
:disabled="true"
<el-form-item label="上传照片" v-if="form.hiddenTroubleDealStatus==3">
<FileUpload
listType="picture"
@resFun="getFileInfon"
@remove="listRemoven"
......@@ -569,7 +568,7 @@
v-for="item in enterprises"
:key="item.enterpriseId"
:label="item.enterpriseName"
:value="parseInt(item.enterpriseId)"
:value="item.enterpriseId"
></el-option>
</el-select>
</el-form-item>
......@@ -752,7 +751,7 @@
if (response.rows.length>1){
this.enterprises = response.rows;
}else {
this.form.beyondEnterpriseId=response.rows[0]
this.form.beyondEnterpriseId=response.rows[0].enterpriseId
this.enterprises = response.rows;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment