Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
7bd194d7
Commit
7bd194d7
authored
Jul 16, 2020
by
徐一鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
应用仓库删除
parent
35c560ac
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
src/pages/workbench/yygl/yyglList.vue
src/pages/workbench/yygl/yyglList.vue
+5
-3
No files found.
src/pages/workbench/yygl/yyglList.vue
View file @
7bd194d7
...
@@ -1142,7 +1142,7 @@ export default {
...
@@ -1142,7 +1142,7 @@ export default {
},
// 唤醒弹窗
},
// 唤醒弹窗
deleteAction
(
item
)
{
deleteAction
(
item
)
{
if
(
this
.
cardType
===
0
)
{
if
(
this
.
cardType
===
0
)
{
if
(
item
.
online_state
!=
2
)
{
if
(
item
.
online_state
==
0
||
(
item
.
online_state
==
2
&&
item
.
source
==
"
apply
"
)
)
{
this
.
dialogInfo
.
title
=
""
;
this
.
dialogInfo
.
title
=
""
;
this
.
dialogInfo
.
msg
=
"
是否删除该条应用?
"
;
this
.
dialogInfo
.
msg
=
"
是否删除该条应用?
"
;
this
.
dialogInfo
.
cancelText
=
""
;
this
.
dialogInfo
.
cancelText
=
""
;
...
@@ -1182,7 +1182,9 @@ export default {
...
@@ -1182,7 +1182,9 @@ export default {
this
.
dialogInfo
.
cancelText
=
""
;
this
.
dialogInfo
.
cancelText
=
""
;
this
.
dialogInfo
.
sunbmitText
=
""
;
this
.
dialogInfo
.
sunbmitText
=
""
;
this
.
dialogInfo
.
submit
=
()
=>
{
this
.
dialogInfo
.
submit
=
()
=>
{
if
(
item
.
up_deploy_status
===
3
)
{
console
.
log
(
`
${
item
.
app_name
}
不能被删除...`
);
/* if (item.up_deploy_status === 3) {
this.$message({
this.$message({
message: `${item.app_name}正在申请下架中.`,
message: `${item.app_name}正在申请下架中.`,
type: "warning",
type: "warning",
...
@@ -1210,7 +1212,7 @@ export default {
...
@@ -1210,7 +1212,7 @@ export default {
type: "warning",
type: "warning",
});
});
});
});
}
}
*/
};
};
}
}
}
else
if
(
this
.
cardType
===
1
)
{
}
else
if
(
this
.
cardType
===
1
)
{
...
...
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