Commit dd7d7535 authored by wanghao's avatar wanghao

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

2 处理隐患不能上传照片调整。
parent c75e166f
...@@ -31,9 +31,9 @@ spring: ...@@ -31,9 +31,9 @@ spring:
servlet: servlet:
multipart: multipart:
# 单个文件大小 # 单个文件大小
max-file-size: 10MB max-file-size: 20MB
# 设置总上传的文件大小 # 设置总上传的文件大小
max-request-size: 20MB max-request-size: 100MB
# 服务模块 # 服务模块
devtools: devtools:
restart: restart:
......
...@@ -252,9 +252,8 @@ ...@@ -252,9 +252,8 @@
<el-row> <el-row>
<el-col :span="23"> <el-col :span="23">
<el-form-item label="上传照片" :disabled="true" v-if="form.hiddenTroubleDealStatus==3"> <el-form-item label="上传照片" v-if="form.hiddenTroubleDealStatus==3">
<FileUpload <FileUpload
:disabled="true"
listType="picture" listType="picture"
@resFun="getFileInfon" @resFun="getFileInfon"
@remove="listRemoven" @remove="listRemoven"
...@@ -569,7 +568,7 @@ ...@@ -569,7 +568,7 @@
v-for="item in enterprises" v-for="item in enterprises"
:key="item.enterpriseId" :key="item.enterpriseId"
:label="item.enterpriseName" :label="item.enterpriseName"
:value="parseInt(item.enterpriseId)" :value="item.enterpriseId"
></el-option> ></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
...@@ -752,7 +751,7 @@ ...@@ -752,7 +751,7 @@
if (response.rows.length>1){ if (response.rows.length>1){
this.enterprises = response.rows; this.enterprises = response.rows;
}else { }else {
this.form.beyondEnterpriseId=response.rows[0] this.form.beyondEnterpriseId=response.rows[0].enterpriseId
this.enterprises = response.rows; 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