Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zh-baseversion-project
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王浩
zh-baseversion-project
Commits
dd7d7535
Commit
dd7d7535
authored
Jul 23, 2024
by
wanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 系统限制上传最小文件调整。
2 处理隐患不能上传照片调整。
parent
c75e166f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
application.yml
zh-baseversion-admin/src/main/resources/application.yml
+2
-2
index.vue
zh-baseversion-web/src/views/system/info/index.vue
+4
-5
No files found.
zh-baseversion-admin/src/main/resources/application.yml
View file @
dd7d7535
...
...
@@ -31,9 +31,9 @@ spring:
servlet
:
multipart
:
# 单个文件大小
max-file-size
:
1
0MB
max-file-size
:
2
0MB
# 设置总上传的文件大小
max-request-size
:
2
0MB
max-request-size
:
10
0MB
# 服务模块
devtools
:
restart
:
...
...
zh-baseversion-web/src/views/system/info/index.vue
View file @
dd7d7535
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment