mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-09 19:06:45 +08:00
撤回的状态
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
<a-space style="padding-right: 10px">
|
||||
<a-button @click="downloadInfo(record)" type="link">信息下载
|
||||
</a-button>
|
||||
<a-button @click="() => handleOper(record, record.pushProgress)" type="link">
|
||||
<a-button @click="() => handleOper(record, 'withdraw', record.pushProgress)" type="link">
|
||||
{{ state.status[record.pushProgress] }}
|
||||
</a-button>
|
||||
<a-button @click="handleOper(record, 'del')" type="link">删除
|
||||
@@ -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] });
|
||||
}
|
||||
// 信息下载
|
||||
|
||||
Reference in New Issue
Block a user