From 2942a69cb130b1acc7ce3402e84f85f571e2dd27 Mon Sep 17 00:00:00 2001
From: weipengfei <2187978347@qq.com>
Date: Sat, 23 Sep 2023 16:27:00 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=95=87=E7=AE=A1=E7=90=86?=
=?UTF-8?q?=E5=85=AC=E5=8F=B8=E4=BB=BB=E5=8A=A1?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/task.js | 4 ++--
subpkg/serviceTask/serviceTask.vue | 11 ++++++++---
2 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/api/task.js b/api/task.js
index 99b1534..4c23191 100644
--- a/api/task.js
+++ b/api/task.js
@@ -39,7 +39,7 @@ export const taskOtherTaskDetail = (data) => oahttp.get('/task/other_task_detail
/**
* 任务:提交其他任务
*/
-export const taskOtherTaskCommit = (data) => oahttp.post('/task/cimmit_other_task', data)
+export const taskOtherTaskCommit = (data) => oahttp.post('/task/commit_other_task', data)
/**
* 任务:服务任务详情
@@ -49,4 +49,4 @@ export const serviceTaskDetails = (data) => oahttp.get('/task/service_task_detai
/**
* 任务:提交督促小组服务团队学习任务
*/
-export const serviceTask4Commit = (data) => oahttp.post('/task/cimmit_service_task4', data)
+export const serviceTask4Commit = (data) => oahttp.post('/task/commit_service_task4', data)
diff --git a/subpkg/serviceTask/serviceTask.vue b/subpkg/serviceTask/serviceTask.vue
index a5ea41c..b82bd8a 100644
--- a/subpkg/serviceTask/serviceTask.vue
+++ b/subpkg/serviceTask/serviceTask.vue
@@ -5,8 +5,8 @@
{{taskInfo.content||''}}
- {{`判断条件: ${taskInfo.title||''}`}}
- {{taskInfo.content||''}}
+ 判断条件:
+ {{remark}}
@@ -24,6 +24,7 @@
content: '',
extend: {}
},
+ remark: ''
}
},
onLoad(options) {
@@ -40,7 +41,11 @@
let dict = await dictDataListsTypeValue({
type_value: 'town_task_type'
})
- console.log(dict);
+ dict.forEach((item)=>{
+ if(item.id==this.taskInfo.type){
+ this.remark = item.remark;
+ }
+ })
},
},
}