发布任务

This commit is contained in:
lq
2025-09-23 18:16:10 +08:00
parent 288d4ffddf
commit dac4d7a20b
4 changed files with 105 additions and 45 deletions

View File

@ -144,6 +144,7 @@ import iconWb from '@/assets/img/platform/icon-wb.png';
import iconGzh from '@/assets/img/platform/icon-gzh.png';
import iconWarn from '@/assets/img/media-account/icon-warn.png';
import { Checkbox, Button, Space, Pagination, notification } from 'ant-design-vue';
import { message } from 'ant-design-vue';
// 表格分页逻辑
const { pageInfo, onPageChange, onPageSizeChange } = useTableSelectionWithPagination({
onPageChange: () => handleSearch(),
@ -249,7 +250,10 @@ const handleAddTask = () => {
const handleCreateTask = async (value) => {
console.log('handleCreateTask', value);
const res = await createTask(value);
console.log('res', res);
if (res && res.code === 200) {
message.success('创建成功');
handleSearch();
}
};
// 添加对DrowPopup组件的引用