From b3b9ebf97cfd058c94db3525623bc8946c5a752f Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期二, 14 十月 2025 09:29:39 +0800
Subject: [PATCH] 测试完成

---
 src/views/sfstatistics/percentage/satisfaction.vue |  158 +++++++++++++++++++++++++++++++++-------------------
 1 files changed, 101 insertions(+), 57 deletions(-)

diff --git a/src/views/sfstatistics/percentage/satisfaction.vue b/src/views/sfstatistics/percentage/satisfaction.vue
index b9ced80..75de5a7 100644
--- a/src/views/sfstatistics/percentage/satisfaction.vue
+++ b/src/views/sfstatistics/percentage/satisfaction.vue
@@ -131,8 +131,6 @@
               :data="userList"
               :border="true"
               @selection-change="handleSelectionChange"
-              @row-click="handleRowClick"
-              @expand-change="handleRowClick"
               :row-key="getRowKey"
               :expand-row-keys="expands"
             >
@@ -207,50 +205,49 @@
               <el-table-column
                 label="婊℃剰搴﹂鐩�婚噺"
                 align="center"
-                key="manual"
-                prop="manual"
+                key="joyAllCount"
+                prop="joyAllCount"
               >
               </el-table-column>
               <el-table-column
                 label="婊℃剰搴﹀~鎶ラ噺"
                 align="center"
-                key="sms"
-                prop="sms"
+                key="joyCount"
+                prop="joyCount"
               >
               </el-table-column>
               <el-table-column
                 label="瀹屾垚姣旂巼"
                 align="center"
-                  key="rate"
-                prop="rate"
+                key="joyTotal"
+                prop="joyTotal"
+              >
+                <template slot-scope="scope">
+                  <span class="button-zx"
+                      >{{
+                        (Number(scope.row.joyTotal) * 100).toFixed(2)
+                      }}%</span
+                    >
+                </template>
+              </el-table-column>
+              <el-table-column
+                label="鎿嶄綔"
+                align="center"
+                fixed="right"
+                width="300"
+                class-name="small-padding fixed-width"
               >
                 <template slot-scope="scope">
                   <el-button
                     size="medium"
                     type="text"
-                    @click="Seedetails(scope.row)"
+                    @click="getinfo(scope.row)"
                     ><span class="button-zx"
-                      >{{ (Number(scope.row.rate) * 100).toFixed(2) }}%</span
+                      ><i class="el-icon-s-order"></i>鏌ョ湅璇︽儏</span
                     ></el-button
                   >
                 </template>
               </el-table-column>
-              <el-table-column
-          label="鎿嶄綔"
-          align="center"
-          fixed="right"
-          width="300"
-          class-name="small-padding fixed-width"
-        >
-          <template slot-scope="scope">
-             <el-button size="medium" type="text" @click="Seedetails(scope.row)"
-              ><span class="button-zx"
-                ><i class="el-icon-s-order"></i>鏌ョ湅璇︽儏</span
-              ></el-button
-            >
-
-          </template>
-        </el-table-column>
             </el-table>
 
             <!-- <pagination
@@ -512,6 +509,34 @@
         </div>
       </div>
     </el-dialog>
+    <!-- 鍗曠瀹ょ粺璁¤鎯� -->
+     <el-dialog :visible.sync="topicVisible" width="45%">
+      <div class="topicdia">
+        <div class="top-text">{{ topicvalue.name }}</div>
+        <div class="top-mintext">闅忚瀹屾垚鏁皗{ topicvalue.number }}</div>
+        <div style="overflow-x: hidden; overflow-y: auto; max-height: 65vh">
+          <div class="ttaabbcc" v-for="item in topiclist" :key="item.name">
+            <div class="describe">
+              绗瑊{ item.number }}棰橈細 {{ item.name }}?<span
+                >[{{ item.type == 1 ? "鍗曢�夐" : "澶氶�夐" }}]</span
+              >
+            </div>
+            <div>
+              <el-table :data="tableData" style="width: 100%">
+                <el-table-column prop="date" label="闂閫夐」">
+                </el-table-column>
+                <el-table-column prop="name" label="閫夋嫨浜烘暟">
+                </el-table-column>
+                <el-table-column prop="address" label="姣斾緥"> </el-table-column>
+              </el-table>
+            </div>
+          </div>
+        </div>
+      </div>
+      <span slot="footer" class="dialog-footer">
+        <el-button @click="topicVisible = false">鍏� 闂�</el-button>
+      </span>
+    </el-dialog>
   </div>
 </template>
 
@@ -523,7 +548,11 @@
   changetagcategory,
 } from "@/api/system/label";
 import store from "@/store";
-import { getSfStatistics, selectTimelyRate } from "@/api/system/user";
+import {
+  getSfStatisticsJoydetails,
+  getSfStatisticsJoy,
+  selectTimelyRate,
+} from "@/api/system/user";
 
 import Treeselect from "@riophae/vue-treeselect";
 import "@riophae/vue-treeselect/dist/vue-treeselect.css";
@@ -595,6 +624,40 @@
         pn: 1,
         ps: 10,
       },
+      topiclist: [
+        {
+          name: "鎮ㄧ殑韬綋搴峰鎯呭喌濡備綍",
+          number: 1,
+          type: 1,
+        },
+        {
+          name: "鎮ㄧ殑楗鎯呭喌濡備綍",
+          number: 2,
+          type: 2,
+        },
+        {
+          name: "鎮ㄧ殑鎭㈠鎯呭喌濡備綍",
+          number: 3,
+          type: 1,
+        },
+      ],
+        tableData: [
+        {
+          date: "濂�",
+          name: 12,
+          address: "50%",
+        },
+        {
+          date: "涓�鑸�",
+          name: 2,
+          address: "6.2%",
+        },
+        {
+          date: "宸�",
+          name: 0,
+          address: "0%",
+        },
+      ],
       amendtag: false, //鏄惁淇敼绫诲埆
       lstamendtag: false, //鏄惁淇敼鏍囩
       scavisible: false, //鍒犻櫎寮规
@@ -635,6 +698,11 @@
       dialogFormVisible: false, //娣诲姞銆佷慨鏀圭被鍒脊妗�
       lstamendtagVisible: false, //娣诲姞銆佷慨鏀规爣绛惧脊妗�
       goQRCodeVisible: false, //浜岀淮鐮佸脊妗�
+      topicVisible: false, //鎺у埗鍗曢寮规
+      topicvalue: {
+        name: "楠ㄧ闅忚妯℃澘",
+        number: 222,
+      },
       sidecolumnval: "", //绫诲埆鎼滅储
       propss: { multiple: true },
       SeedetailsVisible: false,
@@ -698,7 +766,7 @@
       // 绉婚櫎鍙兘瀛樺湪鐨�"all"鍊�
       delete params.leavehospitaldistrictcodes.all;
       delete params.deptcodes.all;
-      getSfStatistics(params).then((response) => {
+      getSfStatisticsJoy(params).then((response) => {
         console.log(response);
         // this.total = response.total;
         this.userList = response.data;
@@ -708,35 +776,6 @@
       return row.statisticaltype === 1
         ? row.leavehospitaldistrictcode
         : row.deptcode;
-    },
-
-    // 澶勭悊琛岀偣鍑诲睍寮�
-    handleRowClick(row) {
-      console.log(row, "row");
-
-      // 濡傛灉宸茬粡灞曞紑鍒欐敹璧�
-      if (this.expands.includes(this.getRowKey(row))) {
-        this.expands = [];
-        return;
-      }
-      // 澶勭悊鏌ヨ鍙傛暟
-      const params = {
-        ...this.queryParams,
-        // 濡傛灉閫夋嫨浜�"鍏ㄩ儴"锛屽垯浼犳墍鏈夌梾鍖�/绉戝浠g爜
-        leavehospitaldistrictcodes: [row.leavehospitaldistrictcode],
-        drcode: "1",
-      };
-      // 濡傛灉璇ヨ杩樻病鏈夊姞杞藉尰鐢熸暟鎹紝鍒欏姞杞�
-      if (!row.doctorStats) {
-        this.loading = true;
-        getSfStatistics(params).then((res) => {
-          this.$set(row, "doctorStats", res.data);
-          this.expands = [this.getRowKey(row)];
-          this.loading = false;
-        });
-      } else {
-        this.expands = [this.getRowKey(row)];
-      }
     },
     /** 淇敼鏍囩 */
     handleUpdate(row) {
@@ -845,6 +884,11 @@
         });
       }, 300);
     },
+    // 璋冭捣璇︽儏
+    getinfo(row) {
+      this.topicVisible = true;
+
+    },
     // 娣诲姞/淇敼鏍囩
     Maintenancetag() {
       if (this.lstamendtag) {

--
Gitblit v1.9.3