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 => {