From 7672bba9fc11315da4c42cba74504b7fd417df0c Mon Sep 17 00:00:00 2001
From: su1124 <1583764726@qq.com>
Date: 星期五, 08 三月 2024 15:43:58 +0800
Subject: [PATCH] su

---
 src/views/doctor/bgsh/index.vue |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/src/views/doctor/bgsh/index.vue b/src/views/doctor/bgsh/index.vue
index 9c83d97..5d028f4 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.getNowTime();
     this.getList();
+    this.getdate();
   },
 
   mounted() {
@@ -160,6 +163,14 @@
     });
   },
   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"),
+        ];
+      });
+    },
     // / 澶勭悊榛樿閫変腑褰撳墠鏃ユ湡
     getNowTime() {
       var curDate = new Date().getTime();

--
Gitblit v1.8.0