From 082898cfdf6fc3573904d46e4c7a7cd69acf6051 Mon Sep 17 00:00:00 2001
From: wwl <xchao828@163.com>
Date: 星期二, 10 十二月 2024 11:01:25 +0800
Subject: [PATCH] 1

---
 src/views/doctor/checkAll/index.vue |  118 ++++++++++++++++++++++++++++++++++++++++++++++++++++-------
 1 files changed, 104 insertions(+), 14 deletions(-)

diff --git a/src/views/doctor/checkAll/index.vue b/src/views/doctor/checkAll/index.vue
index 99c5e66..2168968 100644
--- a/src/views/doctor/checkAll/index.vue
+++ b/src/views/doctor/checkAll/index.vue
@@ -328,7 +328,11 @@
         <div class="btn3">
           <el-button @click="jianqian()" type="primary">妫�鍓嶉棶璇�</el-button>
         </div>
+        
         <div class="btn4">
+          <el-button @click="xiangmuqingkuang()" type="primary">椤圭洰鎯呭喌</el-button>
+        </div>
+        <div class="btn5">
           <el-button @click="yichangjieguo()" type="primary">寮傚父缁撴灉</el-button>
         </div>
       </div>
@@ -445,13 +449,22 @@
                     style="border: 1px solid #dfe6ec; border-collapse: collapse"
                     colspan="3"
                   >
-                    <textarea
+                  <el-input
+                      type="textarea"
+                      autosize
+                      placeholder="璇疯緭鍏ュ唴瀹�"
+                      v-model="changedate[index].remark"
+                      v-on:input="change"
+                      style="width: 100%"
+                    >
+                    </el-input>
+                    <!-- <textarea
                       placeholder="璇疯緭鍏ュ唴瀹�"
                       :autosize="{ minRows: 2 }"
                       style="width: 100%; height: 240px; resize: none"
                       v-model="changedate[index].remark"
                       v-on:input="change"
-                    ></textarea>
+                    ></textarea> -->
                   </td>
                 </tr>
               </table>
@@ -574,6 +587,12 @@
           </el-form>
           <div slot="footer" class="dialog-footers">
             <el-button
+              type="primary"
+              size="mini"
+              @click.stop="guanbi"
+              >鍙栨秷</el-button
+            >
+            <el-button
               v-if="tjproject == '0'"
               type="primary"
               size="mini"
@@ -591,8 +610,10 @@
             </div>
           </div>
         </div>
-        <div class="right">
-          <div v-for="(item, index) in yichangList" :key="index">
+        <div class="rightbox">
+          <div class="right">
+         <template v-if="status==0">
+          <div v-for="(item, index) in yichangList" :key="index" >
             <div
               style="
                 text-align: center;
@@ -628,6 +649,59 @@
               </el-table-column>
             </el-table>
           </div>
+          <div v-if="!yichangList.length">鏆傛棤寮傚父缁撴灉</div>
+         </template>
+       <template v-if="status==1">
+        <div v-for="(item, index) in statusList" :key="index">
+            <div
+              style="
+                text-align: center;
+                background-color: #aad8df;
+                margin-top: 10px;
+              "
+            >
+              {{ item.proName || "" }}
+            </div>
+            <el-table
+              :data="statusList"
+              border
+              style="width: 100%"
+              :header-cell-style="{ background: '#aad8df' }"
+            >
+              <el-table-column align="center" label="閮ㄩ棬" width="190" prop="deptName">
+              </el-table-column>
+              <el-table-column
+                align="center"
+                 prop="proName"
+                label="椤圭洰"
+                width="160"
+              >
+              </el-table-column>
+
+              <el-table-column
+            label="鐘舵��"
+            align="center"
+            prop="type"
+            :show-overflow-tooltip="true"
+            width="60"
+          >
+            <template slot-scope="scope">
+              <span v-if="scope.row.type == '0'">鏈</span>
+              <span v-if="scope.row.type == '1'">宸叉</span>
+              <span v-if="scope.row.type == '2'">寮冩</span>
+              <span v-if="scope.row.type == '3'">寤舵湡</span>
+            </template>
+          </el-table-column>
+          <el-table-column
+            label="妫�鏌ユ椂闂�"
+            align="center"
+            prop="bcupdateTime"
+            width="160"
+          />
+            </el-table>
+          </div>
+       </template>
+        </div>
         </div>
       </div>
 
@@ -1111,12 +1185,14 @@
 import { getCompany, queryCompany } from "@/api/team/tuanti";
 import { reportHistory, yichang } from "@/api/doctor/check";
 import { getPdf, revoke } from "@/api/hosp/order";
+import { cSWebGetPro} from "@/api/doctor/examination";
 import ViewPdf from "@/components/ViewPdf";
 import Historicalreport from "@/components/Historicalreport";
 import { getDicts } from "@/api/system/dict/data";
 import { getTjYxjcList } from "@/api/system/package";
 import { getNewDateList } from "@/api/hosp/order";
 import moment from "moment";
+
 export default {
   components: {
     ViewPdf,
@@ -1241,6 +1317,7 @@
       formobj: {},
       // 鏌ヨ鍙傛暟
       yichangList: [],
+      statusList: [],
       queryParam: {
         pageNum: 1,
         pageSize: 10,
@@ -1265,6 +1342,7 @@
         tjCategory: undefined,
         payType: undefined,
       },
+      status: 0 // 0灞曠ず寮傚父1灞曠ず椤圭洰鎯呭喌
     };
   },
 
@@ -1281,21 +1359,23 @@
     });
   },
   methods: {
+    // 椤圭洰鎯呭喌
+    xiangmuqingkuang () {
+      cSWebGetPro(this.tjNumber).then((res) => {
+        this.status = 1
+        this.statusList = res.data;
+      })
+    },
     guanbi(){
       this.drawer = false;
     },
     yichangjieguo() {
+      this.status = 0
       let _this = this
       yichang({
         tjNum: this.tjNumber,
       }).then((res) => {
         this.yichangList = res.data;
-        if (res.msg == '璇ヤ汉鍛樻棤寮傚父椤圭洰') {
-          _this.$message({
-                type: "info",
-                message: "璇ヤ汉鍛樻棤寮傚父椤圭洰",
-              });
-        }
       });
     },
     getdate() {
@@ -2124,7 +2204,8 @@
 .btn1,
 .btn2,
 .btn3,
-.btn4 {
+.btn4,
+.btn5 {
   position: fixed;
   right: 0;
   transform: translateY(-50%);
@@ -2174,7 +2255,10 @@
   top: 50%;
   animation-delay: 0.6s; /* 绗洓涓寜閽欢杩� 0.6 绉� */
 }
-
+.btn5 {
+  top: 60%;
+  animation-delay: 0.8s; /* 绗洓涓寜閽欢杩� 0.6 绉� */
+}
 .main {
   height: 700px;
   overflow: hidden;
@@ -2244,12 +2328,17 @@
   overflow: auto; // 纭繚鐖跺鍣ㄥ彲浠ユ粴鍔�
 }
 
-.right {
+.rightbox{
+  overflow-y: scroll;
   position: sticky;
-  top: 0px; // 纭繚璁剧疆姝g‘鐨勫崟浣�
+  top: 0px;
+  .right {
+  position: sticky;
+  top: 0px;
   background-color: #fff;
   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
   z-index: 10;
+}
 }
 
 .top {
@@ -2265,6 +2354,7 @@
     position: relative;
     top: 7px;
     right: 4px;
+    color: rgb(24,144,255);
   }
 }
 </style>

--
Gitblit v1.8.0