diff --git a/client/.env.development b/client/.env.development index aacde3e..c5200d4 100644 --- a/client/.env.development +++ b/client/.env.development @@ -3,8 +3,8 @@ ENV = 'development' # base api #VUE_APP_BASE_API = 'http://10.0.11.127:8000/api' -#VUE_APP_BASE_API = 'http://127.0.0.1:8000/api' -VUE_APP_BASE_API = 'https://testsearch.ctc.ac.cn/api' +VUE_APP_BASE_API = 'http://127.0.0.1:8000/api' +#VUE_APP_BASE_API = 'https://testsearch.ctc.ac.cn/api' #VUE_APP_BASE_API = 'http://47.95.0.242:9101/api' diff --git a/client/src/api/task.js b/client/src/api/task.js index 7e6e14e..704d641 100644 --- a/client/src/api/task.js +++ b/client/src/api/task.js @@ -104,10 +104,17 @@ export function confirmTaskdept(id) { method: 'put' }) } +export function updateTaskdept(id,data) { + return request({ + url: `/supervision/taskdept/${id}/`, + method: 'put', + data + }) +} export function deleteTaskdept(id) { return request({ url: `/supervision/taskdept/${id}/`, method: 'delete' }) -} \ No newline at end of file +} diff --git a/client/src/views/supervision/mytask.vue b/client/src/views/supervision/mytask.vue index 490970b..df4c439 100644 --- a/client/src/views/supervision/mytask.vue +++ b/client/src/views/supervision/mytask.vue @@ -39,6 +39,16 @@ + + + + + + + diff --git a/client/src/views/supervision/taskdo.vue b/client/src/views/supervision/taskdo.vue index 2904aa3..226fba4 100644 --- a/client/src/views/supervision/taskdo.vue +++ b/client/src/views/supervision/taskdo.vue @@ -123,6 +123,12 @@ + + + 反馈 + + + + + + 上传文件 + + + + + +
+ 取消 + 确认 +
+
@@ -347,18 +387,21 @@ }