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

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

diff --git a/src/views/sfstatistics/percentage/satisfaction.vue b/src/views/sfstatistics/percentage/satisfaction.vue
index 8a9b19e..3858b3b 100644
--- a/src/views/sfstatistics/percentage/satisfaction.vue
+++ b/src/views/sfstatistics/percentage/satisfaction.vue
@@ -186,6 +186,7 @@
                   </template> -->
               </el-table-column>
               <el-table-column
+              v-if="orgname == '鏅畞鐣叉棌鑷不鍘夸汉姘戝尰闄�'"
                 label="鍙婃椂鐜�"
                 align="center"
                 key="rate"
@@ -552,12 +553,7 @@
 </template>
 
 <script>
-import {
-  toamendtag,
-  addapitag,
-  deletetag,
-  changetagcategory,
-} from "@/api/system/label";
+
 import store from "@/store";
 import {
   getSfStatisticsJoy,
@@ -618,6 +614,8 @@
       idds: "", //鍒嗙被id
       // 鎬绘潯鏁�
       total: 0,
+      orgname: "",
+
       flatArrayhospit: [],
       flatArraydept: [],
       patienttotal: 0,
@@ -753,6 +751,8 @@
   },
   watch: {},
   created() {
+    this.orgname = localStorage.getItem("orgname");
+
     this.getDeptTree();
     this.getList();
   },
@@ -773,12 +773,14 @@
           ? this.allDeptCodes
           : this.queryParams.deptcodes,
       };
+      this.loading = true;
 
       // 绉婚櫎鍙兘瀛樺湪鐨�"all"鍊�
       delete params.leavehospitaldistrictcodes.all;
       delete params.deptcodes.all;
       getSfStatisticsJoy(params).then((response) => {
-        console.log(response);
+        this.loading = false;
+
         this.total = response.total;
         this.userList = response.data;
       });
@@ -921,27 +923,6 @@
         this.topiclist = response.data;
       });
     },
-    // 娣诲姞/淇敼鏍囩
-    Maintenancetag() {
-      if (this.lstamendtag) {
-        toamendtag(this.addDateRange(this.tagform)).then((response) => {
-          console.log(response);
-          this.getList();
-        });
-      } else {
-        addapitag(this.addDateRange(this.tagform)).then((response) => {
-          console.log(response);
-          this.getList();
-        });
-      }
-      this.tagform = {
-        isupload: "",
-        tagname: "",
-        tagcategoryid: "",
-        tagdescription: "",
-        tagid: "",
-      };
-    },
     routerErr(row) {
       console.log(row, "璺宠浆寮傚父");
       this.$router.push({
@@ -971,22 +952,7 @@
       };
       this.resetForm("form");
     },
-    // 鏍囩鐘舵�佷慨鏀�
-    handleStatusChange(row) {
-      console.log(row.isupload);
-      let text = row.isupload === "0" ? "鍚敤" : "鍋滅敤";
-      this.$modal
-        .confirm('纭瑕�"' + text + '""' + row.tagname + '"鏍囩鍚楋紵')
-        .then(function () {
-          return changetagcategory(row.tagid, row.isupload);
-        })
-        .then(() => {
-          this.$modal.msgSuccess(text + "鎴愬姛");
-        })
-        .catch(function () {
-          row.isupload = row.isupload === "0" ? "1" : "0";
-        });
-    },
+
     /** 鎼滅储鎸夐挳鎿嶄綔 */
     handleQuery() {
       this.queryParams.pageNum = 1;
@@ -1017,27 +983,7 @@
       this.multiple = !selection.length;
     },
 
-    /** 鍒犻櫎鎸夐挳鎿嶄綔 */
-    handleDelete(row) {
-      console.log(row, "鍒犻櫎寮圭獥");
-      const tagids = row.tagid || this.ids;
-      console.log(tagids);
-      const tagname = row.tagname;
-      this.$modal
-        .confirm(
-          tagname
-            ? '鏄惁纭鍒犻櫎鏍囩鍚嶇О涓�"' + tagname + '"鐨勬暟鎹」锛�'
-            : "鏄惁纭鍒犻櫎閫変腑鐨勬暟鎹」锛�"
-        )
-        .then(function () {
-          return deletetag(tagids);
-        })
-        .then(() => {
-          this.getList();
-          this.$modal.msgSuccess("鍒犻櫎鎴愬姛");
-        })
-        .catch(() => {});
-    },
+
     /** 瀵煎嚭鎸夐挳鎿嶄綔 */
     /** 瀵煎嚭鎸夐挳鎿嶄綔 */
     async handleExport() {

--
Gitblit v1.9.3