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 @@ + + + + +