diff --git a/src/views/case/CaseRecommended.vue b/src/views/case/CaseRecommended.vue index ae2b8772..1176c874 100644 --- a/src/views/case/CaseRecommended.vue +++ b/src/views/case/CaseRecommended.vue @@ -42,7 +42,7 @@ 信息下载 - + {{ state.status[record.pushProgress] }} 删除 @@ -237,16 +237,18 @@ const handle = (record) => ({ }); const handleMsg = { - withdraw: "你确认要撤回此次推送吗?", del: "你确定要删除这条案例吗?", - 1: "你确认要撤回此次推送吗?", - 2: "你确认要撤回此次推送吗?", - 3: "你确认要撤回此次推送吗?", - 4: "您确定要重新推送此案例吗?", - 5: "您确定要重新推送此案例吗?", + withdraw1: "你确认要撤回此次推送吗?", + withdraw2: "你确认要撤回此次推送吗?", + withdraw3: "你确认要撤回此次推送吗?", + withdraw4: "您确定要重新推送此案例吗?", + withdraw5: "您确定要重新推送此案例吗?", }; -function handleOper(record, type) { +function handleOper(record, type, status = '') { + if (status) { + type = type + status + } dialog({ content: handleMsg[type], ok: handle(record)[type] }); } // 信息下载