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
d5389122
Commit
d5389122
authored
Jan 12, 2021
by
rencs
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_ren' into 'dev'
1.12 删除big See merge request
!53
parents
adfd1b46
0556b38a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
list.vue
src/views/webSiteManagement/imageLibrary/list.vue
+15
-0
No files found.
src/views/webSiteManagement/imageLibrary/list.vue
View file @
d5389122
...
@@ -243,6 +243,19 @@ export default {
...
@@ -243,6 +243,19 @@ export default {
}
}
});
});
},
},
//删除
updateDel
()
{
update
({
id
:
this
.
editForm
.
id
,
isDel
:
this
.
editForm
.
isDel
}).
then
(
(
res
)
=>
{
if
(
res
.
status
==
200
)
{
this
.
dialogVisible
=
false
;
this
.
getList
();
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
}
);
},
//上下架
//上下架
updateStatus
()
{
updateStatus
()
{
updateStatus
({
id
:
this
.
editForm
.
id
,
status
:
this
.
editForm
.
status
}).
then
(
updateStatus
({
id
:
this
.
editForm
.
id
,
status
:
this
.
editForm
.
status
}).
then
(
...
@@ -279,6 +292,8 @@ export default {
...
@@ -279,6 +292,8 @@ export default {
this
.
editForm
=
row
;
this
.
editForm
=
row
;
if
(
key
==
"isDel"
)
{
if
(
key
==
"isDel"
)
{
this
.
editForm
[
key
]
=
row
[
key
]
==
0
?
1
:
0
;
this
.
editForm
[
key
]
=
row
[
key
]
==
0
?
1
:
0
;
this
.
updateDel
();
return
;
}
else
{
}
else
{
this
.
editForm
[
key
]
=
row
[
key
]
==
1
?
2
:
1
;
this
.
editForm
[
key
]
=
row
[
key
]
==
1
?
2
:
1
;
this
.
updateStatus
();
this
.
updateStatus
();
...
...
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