From 56789c985c7cd77f74a13d450758debebd2bfd85 Mon Sep 17 00:00:00 2001
From: Mr.Shi <1878285526@qq.com>
Date: 星期二, 12 九月 2023 18:20:38 +0800
Subject: [PATCH] 小程序
---
minipro_standard/pages/plannedProgress/plannedProgress.vue | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/minipro_standard/pages/plannedProgress/plannedProgress.vue b/minipro_standard/pages/plannedProgress/plannedProgress.vue
index 5eb0919..4db1f02 100644
--- a/minipro_standard/pages/plannedProgress/plannedProgress.vue
+++ b/minipro_standard/pages/plannedProgress/plannedProgress.vue
@@ -195,9 +195,11 @@
async onRefresh() {
if (this.isLoading) return;
this.isLoading = true;
- await this.getLists()
- await this.pageCounts()
- this.isLoading = false;
+ this.finished = false;
+ this.loading = false;
+ this.refreshing = false;
+ this.getLists();
+ // await this.pageCounts()
},
// 閲嶇疆
reset() {
@@ -263,7 +265,7 @@
procedureIdList: this.listData.procedureIds ? this.listData.procedureIds : [],
startDate: this.listData.startDate,
endDate: this.listData.endDate,
- statusList: this.listData.cateIds
+ // statusList: this.listData.cateIds
}).then(res => {
if (res.code === 200 && res.data) {
this.tagList[0].num = res.data.allNum.toString()
@@ -347,6 +349,7 @@
]
}).then(res => {
this.loading = false
+ this.isLoading = false;
this.listData.total = res.data.total
if (this.refreshing) {
this.lists = []
@@ -364,6 +367,7 @@
}).catch(err => {
this.loading = false
this.finished = true
+ this.isLoading = false;
if (this.refreshing) {
this.lists = []
this.refreshing = false;
--
Gitblit v1.9.3