修改样式
This commit is contained in:
@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user