diff --git a/src/pages/workbench/yygl/yyglList.vue b/src/pages/workbench/yygl/yyglList.vue index 08b580f8ef2c332e4eadbb2f4efd5cc77a7a98f8..bbee75f4da498a2ff58b0a8fd542f366f31babff 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) {