From 7bd194d7478eced5cc46542965f623f96c016c15 Mon Sep 17 00:00:00 2001 From: xuyiming Date: Thu, 16 Jul 2020 14:42:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=94=E7=94=A8=E4=BB=93=E5=BA=93=E5=88=A0?= =?UTF-8?q?=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/workbench/yygl/yyglList.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/pages/workbench/yygl/yyglList.vue b/src/pages/workbench/yygl/yyglList.vue index 08b580f..bbee75f 100644 --- a/src/pages/workbench/yygl/yyglList.vue +++ b/src/pages/workbench/yygl/yyglList.vue @@ -1142,7 +1142,7 @@ export default { }, // 唤醒弹窗 deleteAction(item) { 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.msg = "是否删除该条应用?"; this.dialogInfo.cancelText = ""; @@ -1182,7 +1182,9 @@ export default { this.dialogInfo.cancelText = ""; this.dialogInfo.sunbmitText = ""; this.dialogInfo.submit = () => { - if (item.up_deploy_status === 3) { + console.log(`${item.app_name}不能被删除...`); + + /* if (item.up_deploy_status === 3) { this.$message({ message: `${item.app_name}正在申请下架中.`, type: "warning", @@ -1210,7 +1212,7 @@ export default { type: "warning", }); }); - } + } */ }; } } else if (this.cardType === 1) { -- 2.26.0