Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
rs-cloud-platform-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
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
周健威
rs-cloud-platform-ui
Commits
dbb93f9c
Commit
dbb93f9c
authored
Jan 11, 2021
by
rencs
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_ren' into 'dev'
1.11 uploaderr See merge request
!45
parents
02b26e42
a01bd003
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
edit.vue
src/views/webSiteManagement/imageLibrary/edit.vue
+5
-0
index.vue
...nt/industryApplication/applicationList/addUpApp/index.vue
+5
-0
No files found.
src/views/webSiteManagement/imageLibrary/edit.vue
View file @
dbb93f9c
...
...
@@ -59,6 +59,7 @@
:action=
"BASE_API + '/api/datacenter/bg/gtdata/upload'"
:before-upload=
"showLoading"
:on-success=
"handleDataUpSuccess"
:on-error=
"uploadErr"
:headers=
"getHeaderWithToken"
:show-file-list=
"false"
v-loading
.
fullscreen
.
lock=
"fullscreenLoading"
...
...
@@ -410,6 +411,10 @@ export default {
showLoading
()
{
this
.
fullscreenLoading
=
true
;
},
uploadErr
()
{
this
.
fullscreenLoading
=
false
;
this
.
$message
.
error
(
"上传失败,请重试!"
);
},
handleDataUpSuccess
(
res
,
file
)
{
this
.
fullscreenLoading
=
false
;
this
.
ruleForm
.
imageInfoRelationList
.
push
({
...
...
src/views/webSiteManagement/industryApplication/applicationList/addUpApp/index.vue
View file @
dbb93f9c
...
...
@@ -162,6 +162,7 @@
:action=
"BASE_API + '/api/datacenter/bg/gtdata/upload'"
:before-upload=
"showLoading"
:on-success=
"handleDataUpSuccess"
:on-error=
"uploadErr"
:headers=
"getHeaderWithToken"
:show-file-list=
"false"
v-loading
.
fullscreen
.
lock=
"fullscreenLoading"
...
...
@@ -371,6 +372,10 @@ export default {
showLoading
()
{
this
.
fullscreenLoading
=
true
;
},
uploadErr
()
{
this
.
fullscreenLoading
=
false
;
this
.
$message
.
error
(
"上传失败,请重试!"
);
},
handleDataUpSuccess
(
res
,
file
)
{
this
.
fullscreenLoading
=
false
;
this
.
form
.
sourceFile
=
res
.
data
.
path
;
...
...
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