From 89f7fd55fe77cd7278dc0946302013c6e6b0a3ca Mon Sep 17 00:00:00 2001 From: deng <1559799626@qq.com> Date: Fri, 21 Jul 2023 10:31:20 +0800 Subject: [PATCH] dyl --- ant-design-vue-jeecg/src/api/manage.js | 33 +- .../views/newLayout/myTask/list/carryOut.vue | 1496 +++++++++++++++++ 2 files changed, 1525 insertions(+), 4 deletions(-) create mode 100644 ant-design-vue-jeecg/src/views/newLayout/myTask/list/carryOut.vue diff --git a/ant-design-vue-jeecg/src/api/manage.js b/ant-design-vue-jeecg/src/api/manage.js index 25da5c4..9a8de7e 100644 --- a/ant-design-vue-jeecg/src/api/manage.js +++ b/ant-design-vue-jeecg/src/api/manage.js @@ -7,8 +7,7 @@ const api = { role: '/mock/api/role', service: '/mock/api/service', permission: '/mock/api/permission', - permissionNoPager: '/mock/api/permission/no-pager', - myTaskData: 'task/task/list' + permissionNoPager: '/mock/api/permission/no-pager' } export default api @@ -215,11 +214,37 @@ export function getFileAccessHttpUrl(avatar, subStr) { } } -// 大禹项目管理系统中的个人任务管理 +// 个人任务管理接口 +const myTaskApi = { + myTaskData: 'task/task/list', + updateWorkStatus: 'task/task/updateWorkStatus', + delete: '/task/task/delete', + edit: '/task/task/edit', + decompose: '/task/task/fengjie' +} + +// 个人任务管理数据获取接口 export function getMyTaskData(parameter) { return axios({ - url: api.myTaskData, + url: myTaskApi.myTaskData, method: 'get', params: parameter }) } +// 个人任务管理删除数据 +export function delCardData(parameter) { + return axios({ + url: myTaskApi.delete, + method: 'delete', + params: parameter + }) +} + +// 个人任务管理编辑数据 +export function editCardData(parameter) { + return axios({ + url: myTaskApi.edit, + method: 'put', + data: parameter + }) +} diff --git a/ant-design-vue-jeecg/src/views/newLayout/myTask/list/carryOut.vue b/ant-design-vue-jeecg/src/views/newLayout/myTask/list/carryOut.vue new file mode 100644 index 0000000..e66c777 --- /dev/null +++ b/ant-design-vue-jeecg/src/views/newLayout/myTask/list/carryOut.vue @@ -0,0 +1,1496 @@ + + + + +