Toggle navigation
Toggle navigation
This project
Loading...
Sign in
monitor_v3
/
hg-monitor-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
王涛
2021-12-06 15:27:27 +0800
Commit
0aea4ffa4c62826b50a9a079a1abcd25be70cb56
2 parents
f178c0d3
e0e18f4c
Merge branch 'master-v32-lushangqing' into 'master'
文档管理 上传文件大小限制为200M See merge request
!184
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
2 deletions
hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/document/index.js
hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/upload/index.html
hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/upload/index.js
hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/document/index.js
View file @
0aea4ff
...
...
@@ -154,8 +154,6 @@ export default {
historyNode
.
value
=
arr
;
}
breadcrumbList
.
value
.
push
({
data
:
item
});
console
.
log
(
"breadcrumbList"
,
breadcrumbList
.
value
)
currentNodeData
.
value
=
item
;
}
...
...
hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/upload/index.html
View file @
0aea4ff
...
...
@@ -24,7 +24,11 @@
</div>
</template>
</el-upload>
<div
class=
"text-tip"
style=
"position: absolute;bottom:30px;left: 20px;color:#f78989"
>
文件上传大小限制200M
</div>
</template>
</cm-dialog>
<!--页面嵌套方式-->
...
...
hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/upload/index.js
View file @
0aea4ff
...
...
@@ -121,6 +121,13 @@ export default {
docNo
:
props
.
docNo
}
/*文件大小限制更改为200M
* lu 20211206
*/
if
(
fileObj
.
size
>
209715200
){
proxy
.
$global
.
showMsg
(
'文件最大为200M'
,
'warning'
);
}
else
{
// 上传文件
proxy
.
$http
.
uploadFile
(
"/inspection-report/file/upload"
,
params
,
function
(
res
)
{
if
(
res
&&
res
.
code
==
0
)
{
...
...
@@ -132,6 +139,8 @@ export default {
})
}
}
let
fileChange
=
(
file
,
fileList
)
=>
{
console
.
log
(
file
,
fileList
);
}
...
...
Please
register
or
login
to post a comment