发布任务
This commit is contained in:
@ -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组件的引用
|
||||
|
||||
Reference in New Issue
Block a user