From 21051d356bb8589ad088abb52492fd2a1909ed9e Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期六, 14 三月 2026 10:39:09 +0800
Subject: [PATCH] 测试完成

---
 src/views/sfstatistics/percentage/index.vue |   40 +++++++++++++++++++++++++++++++++++++++-
 1 files changed, 39 insertions(+), 1 deletions(-)

diff --git a/src/views/sfstatistics/percentage/index.vue b/src/views/sfstatistics/percentage/index.vue
index 745f8f0..b7a5a1b 100644
--- a/src/views/sfstatistics/percentage/index.vue
+++ b/src/views/sfstatistics/percentage/index.vue
@@ -1168,6 +1168,20 @@
                   </template>
                 </el-table-column>
                 <el-table-column
+                  label="浠诲姟鎵ц鏂瑰紡"
+                  align="center"
+                  key="preachform"
+                  prop="preachform"
+                  width="160"
+                  :show-overflow-tooltip="true"
+                >
+                  <template slot-scope="scope">
+                    <span v-for="item in scope.row.preachform"
+                      >{{ item }}銆�
+                    </span>
+                  </template>
+                </el-table-column>
+                <el-table-column
                   prop="visitTime"
                   align="center"
                   label="搴旈殢璁挎椂闂�"
@@ -1420,6 +1434,7 @@
       allDeptCodes: [],
       // 瀛樺偍鎵�鏈夌梾鍖轰唬鐮�
       allWardCodes: [],
+      checkboxlist: [],
       // 琛ㄥ崟鍙傛暟
       form: {},
       forms: {
@@ -1469,6 +1484,7 @@
   created() {
     this.getDeptTree();
     this.getList();
+    this.checkboxlist = store.getters.checkboxlist;
     this.orgname = localStorage.getItem("orgname");
   },
 
@@ -1487,12 +1503,14 @@
           ? this.allDeptCodes
           : this.queryParams.deptcodes,
       };
-
+      this.loading = true;
       // 绉婚櫎鍙兘瀛樺湪鐨�"all"鍊�
       delete params.leavehospitaldistrictcodes.all;
       delete params.deptcodes.all;
       getSfStatistics(params).then((response) => {
         console.log(response);
+        this.loading = false;
+
         // this.total = response.total;
         this.userList = this.customSort(response.data);
       });
@@ -1851,7 +1869,25 @@
       this.infotitleVisible = true;
       this.infotitle = title;
       this.infotitlelist = row; // 鍋囪row灏辨槸闇�瑕佸睍绀虹殑璇︾粏鏁扮粍
+      console.log(this.infotitlelist, "this.infotitlelist");
 
+      this.infotitlelist.forEach((item) => {
+        let idArray = null;
+
+        if (item.preachform) {
+          if (item.endtime) {
+            item.preachformson = item.preachform;
+            idArray = item.preachform.split(",");
+          }
+
+          item.preachform = idArray.map((value) => {
+            // 鏌ユ壘id瀵瑰簲鐨勫璞�
+            const item = this.checkboxlist.find((item) => item.value == value);
+            // 濡傛灉鎵惧埌瀵瑰簲鐨刬d锛岃繑鍥瀕abel鍊硷紝鍚﹀垯杩斿洖null
+            return item ? item.label : null;
+          });
+        }
+      });
       // 鍒濆鍖栧姞杞�
       this.loadIndex = 0;
       this.currentDisplayList = [];
@@ -1865,6 +1901,8 @@
 
       // 妯℃嫙寮傛鍔犺浇锛屽疄闄呭彲鑳芥槸鐩存帴鍒囩墖鏈湴鏁版嵁
       setTimeout(() => {
+        console.log(this.infotitlelist, "this.infotitlelist");
+
         const nextChunk = this.infotitlelist.slice(
           this.loadIndex,
           this.loadIndex + this.pageSize

--
Gitblit v1.9.3