From 1073d84e9e9af6b9ac5c0136dfd2b828c676ef8a Mon Sep 17 00:00:00 2001 From: su1124 <1583764726@qq.com> Date: 星期四, 25 四月 2024 11:29:08 +0800 Subject: [PATCH] su --- src/views/doctor/bgsh/index.vue | 17 +++++++++++++++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/views/doctor/bgsh/index.vue b/src/views/doctor/bgsh/index.vue index 11f8f65..520fcb6 100644 --- a/src/views/doctor/bgsh/index.vue +++ b/src/views/doctor/bgsh/index.vue @@ -79,6 +79,8 @@ import { getcheckList, heXiaoByIds } from "@/api/doctor/checkAll"; import { getCompany, queryCompany } from "@/api/team/tuanti"; import ViewPdf from "@/components/ViewPdf"; +import { getNewDateList } from "@/api/hosp/order"; +import moment from "moment"; export default { components: { @@ -150,8 +152,9 @@ }, created() { - this.getNowTime(); - this.getList(); + // this.getNowTime(); + + this.getdate(); }, mounted() { @@ -160,6 +163,15 @@ }); }, methods: { + getdate() { + getNewDateList().then((res) => { + this.startTime = [ + moment(res.data).format("YYYY-MM-DD 00:00:00"), + moment(res.data).format("YYYY-MM-DD 23:59:00"), + ]; + this.getList(); + }); + }, // / 澶勭悊榛樿閫変腑褰撳墠鏃ユ湡 getNowTime() { var curDate = new Date().getTime(); @@ -298,6 +310,7 @@ }, // 閲嶇疆 resetQuery() { + this.startTime=[] this.resetForm("tableList"); this.submitForm(); }, -- Gitblit v1.8.0