更新镇管理公司任务

This commit is contained in:
weipengfei 2023-09-23 16:27:00 +08:00
parent 06d50a4a75
commit 2942a69cb1
2 changed files with 10 additions and 5 deletions

View File

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

View File

@ -5,8 +5,8 @@
<view>{{taskInfo.content||''}}</view> <view>{{taskInfo.content||''}}</view>
</view> </view>
<view class="card"> <view class="card">
<view class="c_title">{{`判断条件: ${taskInfo.title||''}`}}</view> <view class="c_title">判断条件:</view>
<view>{{taskInfo.content||''}}</view> <view>{{remark}}</view>
</view> </view>
</view> </view>
</template> </template>
@ -24,6 +24,7 @@
content: '', content: '',
extend: {} extend: {}
}, },
remark: ''
} }
}, },
onLoad(options) { onLoad(options) {
@ -40,7 +41,11 @@
let dict = await dictDataListsTypeValue({ let dict = await dictDataListsTypeValue({
type_value: 'town_task_type' type_value: 'town_task_type'
}) })
console.log(dict); dict.forEach((item)=>{
if(item.id==this.taskInfo.type){
this.remark = item.remark;
}
})
}, },
}, },
} }