From 5f5425c1be29b82205f19b7779cda67cfcc3a6e5 Mon Sep 17 00:00:00 2001
From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com>
Date: 星期三, 19 六月 2024 17:53:26 +0800
Subject: [PATCH] qxtj

---
 src/views/doctor/bgsh/index.vue |   21 +++++++++++++++++----
 1 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/src/views/doctor/bgsh/index.vue b/src/views/doctor/bgsh/index.vue
index 9c83d97..1a3692f 100644
--- a/src/views/doctor/bgsh/index.vue
+++ b/src/views/doctor/bgsh/index.vue
@@ -21,7 +21,7 @@
         </el-select>
       </el-form-item>
       <el-form-item>
-        <el-button type="primary" size="mini" @click="submitForm">鎼滅储</el-button>
+        <el-button type="primary" size="mini" @click="submitForm"  style="margin-right:15px;">鎼滅储</el-button>
         <el-button size="mini" @click="resetQuery">閲嶇疆</el-button>
       </el-form-item>
     </el-form>
@@ -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