|
@@ -209,7 +209,7 @@ const searchForm = ref({
|
|
|
//获取任务列表数据
|
|
|
const taskList = ref([])
|
|
|
const getTaskList = async (pageNo, pageSize) => {
|
|
|
- /*let task_type = taskType.value, res = {};
|
|
|
+ let task_type = taskType.value, res = {};
|
|
|
uni.showLoading({title: '获取数据中...', mask: true});
|
|
|
if (task_type === 1) {
|
|
|
const { data } = await mainApi.queryUserToDoTaskList({
|
|
@@ -239,9 +239,8 @@ const getTaskList = async (pageNo, pageSize) => {
|
|
|
})
|
|
|
res = getObjValue(data)
|
|
|
}
|
|
|
- uni.hideLoading();*/
|
|
|
- //pageRef.value?.complete(getArrValue(res?.records));
|
|
|
- pageRef.value?.complete([{id:1}, {id:2}]);
|
|
|
+ uni.hideLoading();
|
|
|
+ pageRef.value?.complete(getArrValue(res?.records));
|
|
|
if (isAllCheck.value) {
|
|
|
isAllCheck.value = itemCheckIndex.value === taskList.value.length
|
|
|
}
|