From 17efc8b0fb7d3fa66eb8e22f32b81e3e14bcd7f6 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期二, 06 一月 2026 17:37:57 +0800
Subject: [PATCH] 测试完成

---
 src/views/sfstatistics/percentage/satisfaction.vue |   39 ++++++++++++++++++++++++++++-----------
 1 files changed, 28 insertions(+), 11 deletions(-)

diff --git a/src/views/sfstatistics/percentage/satisfaction.vue b/src/views/sfstatistics/percentage/satisfaction.vue
index 75de5a7..21bf1be 100644
--- a/src/views/sfstatistics/percentage/satisfaction.vue
+++ b/src/views/sfstatistics/percentage/satisfaction.vue
@@ -61,7 +61,7 @@
                 </el-select>
               </el-form-item>
 
-              <el-form-item label="缁熻棰樼洰" prop="userName">
+              <el-form-item label="鏈嶅姟绫诲瀷" prop="userName">
                 <el-select
                   v-model="queryParams.serviceType"
                   multiple
@@ -224,10 +224,8 @@
               >
                 <template slot-scope="scope">
                   <span class="button-zx"
-                      >{{
-                        (Number(scope.row.joyTotal) * 100).toFixed(2)
-                      }}%</span
-                    >
+                    >{{ (Number(scope.row.joyTotal) * 100).toFixed(2) }}%</span
+                  >
                 </template>
               </el-table-column>
               <el-table-column
@@ -250,13 +248,13 @@
               </el-table-column>
             </el-table>
 
-            <!-- <pagination
+            <pagination
               v-show="total > 0"
               :total="total"
               :page.sync="queryParams.pageNum"
               :limit.sync="queryParams.pageSize"
               @pagination="getList"
-            /> -->
+            />
           </el-col>
         </el-row>
       </div>
@@ -510,7 +508,7 @@
       </div>
     </el-dialog>
     <!-- 鍗曠瀹ょ粺璁¤鎯� -->
-     <el-dialog :visible.sync="topicVisible" width="45%">
+    <el-dialog :visible.sync="topicVisible" width="45%">
       <div class="topicdia">
         <div class="top-text">{{ topicvalue.name }}</div>
         <div class="top-mintext">闅忚瀹屾垚鏁皗{ topicvalue.number }}</div>
@@ -549,8 +547,8 @@
 } from "@/api/system/label";
 import store from "@/store";
 import {
-  getSfStatisticsJoydetails,
   getSfStatisticsJoy,
+  getSfStatisticsJoyInfo,
   selectTimelyRate,
 } from "@/api/system/user";
 
@@ -641,7 +639,7 @@
           type: 1,
         },
       ],
-        tableData: [
+      tableData: [
         {
           date: "濂�",
           name: 12,
@@ -752,6 +750,7 @@
     getList() {
       // 澶勭悊鏌ヨ鍙傛暟
       const params = {
+        configKey: "joyCount",
         ...this.queryParams,
         // 濡傛灉閫夋嫨浜�"鍏ㄩ儴"锛屽垯浼犳墍鏈夌梾鍖�/绉戝浠g爜
         leavehospitaldistrictcodes:
@@ -768,7 +767,7 @@
       delete params.deptcodes.all;
       getSfStatisticsJoy(params).then((response) => {
         console.log(response);
-        // this.total = response.total;
+        this.total = response.total;
         this.userList = response.data;
       });
     },
@@ -887,7 +886,25 @@
     // 璋冭捣璇︽儏
     getinfo(row) {
       this.topicVisible = true;
+      // 澶勭悊鏌ヨ鍙傛暟
+      const params = {
+        configKey: "joyCount",
+        ...this.queryParams,
+      };
+      if (this.queryParams.statisticaltype == 1) {
+        params.leavehospitaldistrictcodes = [row.leavehospitaldistrictcode];
+      } else {
+        params.deptcodes = [row.deptcode];
+      }
 
+      // 绉婚櫎鍙兘瀛樺湪鐨�"all"鍊�
+      delete params.leavehospitaldistrictcodes.all;
+      delete params.deptcodes.all;
+      getSfStatisticsJoyInfo(params).then((response) => {
+        console.log(response);
+        this.total = response.total;
+        this.userList = response.data;
+      });
     },
     // 娣诲姞/淇敼鏍囩
     Maintenancetag() {

--
Gitblit v1.9.3