修改样式

This commit is contained in:
lq
2025-09-25 14:31:39 +08:00
parent fe68319a23
commit 00a99b6512
3 changed files with 60 additions and 60 deletions

View File

@ -248,7 +248,6 @@ const processTableData = (apiData: any[]) => {
// 创建任务
const handleAddTask = () => {
console.log('handleAddTask');
drawerPopupRef.value?.showDrawer();
};
@ -505,6 +504,17 @@ const handleTaskAction = async (action: string, task: any, ...args: any[]) => {
message.success(res.message);
}
break;
case 'edit-task':
console.log('edit-task', args[0], typeof args[0]);
const accountInfo = {
id: args[0].id,
name: args[0].name,
platform: args[0].platform,
};
const selectedDate = task.execution_time;
const date = new Date(selectedDate);
drawerPopupRef.value.showDrawer(accountInfo, date);
break;
}
};