From 0303c170c6ff96ad5b2da77e54d6f9c8fd461470 Mon Sep 17 00:00:00 2001 From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com> Date: 星期二, 26 三月 2024 10:47:32 +0800 Subject: [PATCH] qxtj --- src/views/doctor/bgsh/index.vue | 19 ++++++++++++++++--- 1 files changed, 16 insertions(+), 3 deletions(-) diff --git a/src/views/doctor/bgsh/index.vue b/src/views/doctor/bgsh/index.vue index 9c83d97..520fcb6 100644 --- a/src/views/doctor/bgsh/index.vue +++ b/src/views/doctor/bgsh/index.vue @@ -29,7 +29,7 @@ <el-row :gutter="10" class="mb8" style="margin-left:14px ;"> <el-col :span="1.5"> - <el-button type="primary" size="mini" @click="radioChange" v-hasPermi="['system:notice:add']">鏍告敹</el-button> + <el-button type="primary" size="mini" @click="radioChange" >鏍告敹</el-button> </el-col> </el-row> @@ -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