From ef52f4540d9c34e83a63706211ae28a8940404fe Mon Sep 17 00:00:00 2001
From: lkk <364857242@qq.com>
Date: 星期二, 24 六月 2025 16:41:51 +0800
Subject: [PATCH] 1

---
 src/views/doctor/checkAll/index.vue |   32 ++++++++++++++++++++++++--------
 1 files changed, 24 insertions(+), 8 deletions(-)

diff --git a/src/views/doctor/checkAll/index.vue b/src/views/doctor/checkAll/index.vue
index 226b7b3..b301dcd 100644
--- a/src/views/doctor/checkAll/index.vue
+++ b/src/views/doctor/checkAll/index.vue
@@ -108,8 +108,9 @@
         </el-table-column>
         <el-table-column label="鍑虹敓鏃ユ湡" align="center" prop="cusBrithday" :show-overflow-tooltip="true" width="110px" />
         <el-table-column label="鐢佃瘽" align="center" prop="cusPhone" :show-overflow-tooltip="true" width="130px" />
-        <el-table-column label="瀹℃牳鏃堕棿" align="center" prop="shsj" :show-overflow-tooltip="true" width="180px" />
-        <el-table-column label="瀹屾垚鏃堕棿" align="center" prop="finishTime" :show-overflow-tooltip="true" width="160px" />
+        <el-table-column label="瀹℃牳鏃堕棿" align="center" prop="shsj" :show-overflow-tooltip="true" width="180px" v-if="tjStatus == 1" />
+        <el-table-column label="浣撴鏃堕棿" align="center" prop="tjTime" :show-overflow-tooltip="true" width="180px" v-if="tjStatus == 0" />
+        <!-- <el-table-column label="瀹屾垚鏃堕棿" align="center" prop="finishTime" :show-overflow-tooltip="true" width="160px" /> -->
         <el-table-column label="鐘舵��" align="center" prop="tjStatus" :show-overflow-tooltip="true" width="120px"
           v-if="tjStatus == 0">
           <template slot-scope="scope" v-if="tjStatus == 0">
@@ -449,6 +450,11 @@
                       </template>
                     </el-table-column>
                     <el-table-column label="妫�鏌ユ椂闂�" align="center" prop="bcupdateTime" width="160" />
+                    <el-table-column label="鎿嶄綔" align="center" width="130px">
+                      <template slot-scope="scope">
+                        <el-button type="primary" size="mini" @click="huifu" v-if="scope.row.type == '2'">鎭㈠</el-button>
+                      </template>
+                    </el-table-column>
                   </el-table>
                 </div>
               </template>
@@ -836,7 +842,7 @@
 import { getCompany, queryCompany } from "@/api/team/tuanti";
 import { reportHistory, yichang, shanchu } from "@/api/doctor/check";
 import { getPdf, revoke } from "@/api/hosp/order";
-import { cSWebGetPro } from "@/api/doctor/examination";
+import { cSWebGetPro,huifu,} from "@/api/doctor/examination";
 import ViewPdf from "@/components/ViewPdf";
 import Historicalreport from "@/components/Historicalreport";
 import { getDicts } from "@/api/system/dict/data";
@@ -1851,6 +1857,16 @@
       });
     },
 
+    huifu(row){
+      const tjNUm = this.tjNumber;
+      const proId = row.proId;
+        huifu(tjNUm, proId).then((res) => {
+          if (res.code == 200) {
+           this.xiangmuqingkuang()
+          }
+        });
+    },
+
     resetQuery() {
       this.startTime = [];
       this.queryParams = {
@@ -1896,14 +1912,14 @@
         this.handleClick(val);
       }
     },
-qingkong() {
+    qingkong() {
       this.tableAll = {}
       this.changedate = []
       this.yichangList = []
       this.statusList = []
       this.xmChange = []
-      this.fcList =[]
-      this.formobj ={}
+      this.fcList = []
+      this.formobj = {}
     },
 
     handleClick(row) {
@@ -1931,7 +1947,7 @@
                   this.isLoading = true
                   this.drawer = true;
                   getupdateCheckType(this.tjNumber).then((response) => {
-                     this.isLoading = false
+                    this.isLoading = false
                     this.changedate = response.data;
                     if (this.changedate) {
                       this.changedate.forEach((item) => {
@@ -1980,7 +1996,7 @@
                       this.isLoading = true
                       this.drawer = true;
                       getupdateCheckType(this.tjNumber).then((response) => {
-                         this.isLoading = false
+                        this.isLoading = false
                         this.changedate = response.data;
                         if (this.changedate) {
                           for (let i = 0; i < this.changedate.length; i++) {

--
Gitblit v1.8.0