diff --git a/pages/index/addClock.vue b/pages/index/addClock.vue
index 50a3d77..7586ee9 100644
--- a/pages/index/addClock.vue
+++ b/pages/index/addClock.vue
@@ -13,7 +13,7 @@
@@ -26,15 +26,16 @@
+
+
+
+ 本期{{orderType=='2'?'已加钟':'已充值'}}订单
+
+ 加钟{{isSfwc}}订单数量: {{listData.length}}
+
-
-
-
- 本期{{orderType=='2'?'已加钟':'已充值'}}订单
-
- 加钟订单数量: {{listData.length}}
-
+
{{item.status=='3'?'已完成':'待评价'}}
@@ -73,14 +74,7 @@
-
-
-
-
- 本期{{orderType=='2'?'已加钟':'已充值'}}订单
-
- 加钟订单数量: {{listData.length}}
-
+
{{item.status=='3'?'已完成':'待评价'}}
@@ -148,6 +142,7 @@
],
isSfwc:'1',
homePageCountData:'',
+ earnings:'0',
}
},
@@ -184,6 +179,7 @@
})
},
tabClick(isSfwc,index){
+ console.log('isSfwc--->',isSfwc);
this.tapNum=index;
this.isSfwc=isSfwc;
this.page=0;
@@ -241,6 +237,7 @@
if (res.code == 0) {
if (that.page == 1) that.listData = []; //如果是第一页需手动制空列表
that.listData = [...that.listData, ...res.data.list]; //追加新数据
+ that.earnings = res.earnings;
} else {
that.$queue.showToast(res.msg);
}
@@ -253,7 +250,7 @@
},
wangqi(){//往期 跳页
uni.navigateTo({
- url:'/pages/index/previousAdditions'
+ url:'/pages/index/previousAdditions?type=2'
})
},
}
diff --git a/pages/index/previousAdditions.vue b/pages/index/previousAdditions.vue
index f1ba07b..6f83780 100644
--- a/pages/index/previousAdditions.vue
+++ b/pages/index/previousAdditions.vue
@@ -1,173 +1,553 @@
-
-
-
- 序号 |
- 开始日期 |
- 结束日期 |
- 金额 |
- 操作 |
-
-
- 01 |
- 2024.01.01 |
- 2024.01.01 |
- ¥653.40 |
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ {{item.name}}
+
+
+
+
+
+
+
+
+ 本期{{orderType=='2'?'已加钟':'已充值'}}订单
+
+ 加钟订单数量: {{listData.length}}
+
+
+
+
+
+ {{item.status=='3'?'已完成':'待评价'}}
+
+ 预约时间:
+ {{item.serveTime}}
+
+
+
+
+
+
+
+
+
+ {{item.status=='3'?'已完成':'待评价'}}
+
+ 预约时间:
+ {{item.serveTime}}
+
+
+
+
+
+
+
+
+
\ No newline at end of file