Browse Source

Merge branch 'refs/heads/xinyan' into test

xinyan 9 tháng trước cách đây
mục cha
commit
db0dc5574e
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      src/views/reportManage/TaskManage/index.vue

+ 3 - 1
src/views/reportManage/TaskManage/index.vue

@@ -6,7 +6,7 @@ import {
   exportTaskData,
   getCurrencyCodeSelect,
   getOperationSelect,
-  getTasks,
+  getTasks, postCreateTask,
   postDeleteTask,
   postSendMessage,
   postUpdateManyTask,
@@ -581,6 +581,7 @@ async function createTask() {
     user: taskRuleForm.operation,
     operater: taskRuleForm.operater,
   };
+  console.log('body',body);
   try {
     const resp = await postCreateTask(body);
     if (resp.code === 2000) {
@@ -589,6 +590,7 @@ async function createTask() {
       ElMessage({ message: '创建成功', type: 'success', });
     }
   } catch (error) {
+    console.log('error:', error);
     ElMessage({ message: '创建失败', type: 'error', });
   }
 }