From 2d1cc07e5be9d226d23dc172031a3971ea43528f Mon Sep 17 00:00:00 2001
From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com>
Date: 星期五, 08 三月 2024 15:50:38 +0800
Subject: [PATCH] qxtj

---
 src/views/doctor/examination/index.vue |   19 +++++++++++++++----
 1 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/src/views/doctor/examination/index.vue b/src/views/doctor/examination/index.vue
index 71181a8..155f69a 100644
--- a/src/views/doctor/examination/index.vue
+++ b/src/views/doctor/examination/index.vue
@@ -146,12 +146,12 @@
               >
             </template>
           </el-table-column>
+          <!--   v-hasPermi="['reservation:reservation:edit']" -->
           <el-table-column label="鎿嶄綔" align="center" width="120px">
             <template slot-scope="scope">
               <el-button
                 size="mini"
-                type="text"
-                v-hasPermi="['reservation:reservation:edit']"
+                type="text"  
                 @click="tongbu(scope.row)"
                 >鍚屾</el-button
               >
@@ -159,7 +159,6 @@
                 :disabled="dis"
                 size="mini"
                 type="text"
-                v-hasPermi="['reservation:reservation:edit']"
                 v-show="
                   scope.row.confirmStatus == '299' ||
                   scope.row.confirmStatus == 288
@@ -170,7 +169,6 @@
               <el-button
                 size="mini"
                 type="text"
-                v-hasPermi="['reservation:reservation:edit']"
                 v-show="
                   scope.row.confirmStatus == '301' ||
                   scope.row.confirmStatus == 288
@@ -287,6 +285,9 @@
   cSWebGetPro,
   dataSynchronization,
 } from "@/api/doctor/examination";
+import { getNewDateList } from "@/api/hosp/order";
+import moment from "moment";
+
 export default {
   dicts: ["dict_tj_status"],
   data() {
@@ -353,6 +354,7 @@
   },
   created() {
     this.getList();
+    this.getdate();
     // this.getNowTime();
   },
   mounted() {
@@ -361,6 +363,14 @@
     });
   },
   methods: {
+    getdate() {
+      getNewDateList().then((res) => {
+        this.createTimeList = [
+          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();
@@ -510,6 +520,7 @@
           if (res.code == 200) {
             // this.$forceUpdate();
             this.getList();
+            this.xiangmuList = []
             this.$modal.msgSuccess("鎻愪氦鎴愬姛锛�");
           }
         });

--
Gitblit v1.8.0