From 48644d0451fe9a215a80ec863451a8d483909e78 Mon Sep 17 00:00:00 2001
From: pengjun <158915633@qq.com>
Date: Mon, 10 Jun 2024 23:25:25 +0800
Subject: [PATCH] dj
---
src/components/webBooking/WebBooking.vue | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/src/components/webBooking/WebBooking.vue b/src/components/webBooking/WebBooking.vue
index 5507cef..eaa6492 100644
--- a/src/components/webBooking/WebBooking.vue
+++ b/src/components/webBooking/WebBooking.vue
@@ -32,7 +32,7 @@
- 读身份证
+ 读身份证
查询
@@ -40,7 +40,7 @@
-
@@ -158,10 +158,10 @@ export default {
picker.$emit('pick', date);
}
}, {
- text: '一周前',
+ text: '一周后',
onClick(picker) {
const date = new Date();
- date.setTime(date.getTime() - 3600 * 1000 * 24 * 7);
+ date.setTime(date.getTime() + 3600 * 1000 * 24 * 7);
picker.$emit('pick', date);
}
}]
@@ -204,11 +204,17 @@ export default {
},
//数据初始化
- dictInit() {
+ dictInit() {
+
return new Promise((resolve, reject) => {
let curDate = moment(new Date()).format('YYYY-MM-DD')
this.query.appointStartDate = curDate
- this.query.appointStopDate = curDate
+ this.query.appointStopDate = moment(Date.now() + 3600 * 1000 * 24 * 7).format('YYYY-MM-DD')
+ this.query.idNo = ''
+ this.query.mobilePhone = ''
+ this.tableData = []
+ this.tableDataDetails = []
+
// 获取接口列表,传07
postapi("/api/app/ThirdInterface/GetListByThirdInterfaceTypeAsync", { thirdInterfaceType: "07" })
.then(res => {