From a99e82da2b087d7019cdce015c25befc620b9d61 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期二, 10 十一月 2026 14:14:16 +0800
Subject: [PATCH] 测试完成
---
src/views/Satisfaction/sfstatistics/components/FollowupStatistics.vue | 26 +++++++++++---------------
1 files changed, 11 insertions(+), 15 deletions(-)
diff --git a/src/views/Satisfaction/sfstatistics/components/FollowupStatistics.vue b/src/views/Satisfaction/sfstatistics/components/FollowupStatistics.vue
index 92cd112..1e51627 100644
--- a/src/views/Satisfaction/sfstatistics/components/FollowupStatistics.vue
+++ b/src/views/Satisfaction/sfstatistics/components/FollowupStatistics.vue
@@ -567,6 +567,7 @@
this.options = (this.$store.getters.tasktypes || []).map((o) =>
labelFix[o.label] ? { ...o, label: labelFix[o.label] } : o
);
+ console.log(11, this.options);
// 鑾峰彇绉戝鍒楄〃
this.flatArraydept = (this.$store.getters.belongDepts || []).map(
@@ -671,7 +672,10 @@
}
},
sortChineseNumber(aRow, bRow) {
- return this.compareWardNames(this.getWardName(aRow), this.getWardName(bRow));
+ return this.compareWardNames(
+ this.getWardName(aRow),
+ this.getWardName(bRow)
+ );
},
sortHospitalWard(aRow, bRow) {
return this.compareWardNames(
@@ -984,9 +988,7 @@
// 鐥呭尯缁熻锛堝惈缁熻绫诲瀷涓虹┖鐨勬儏鍐碉級
if (this.queryParams.statisticaltype != 2) {
const rawSelected = this.queryParams.leavehospitaldistrictcodes || [];
- const selected = rawSelected.filter(
- (code) => code && code !== "all"
- );
+ const selected = rawSelected.filter((code) => code && code !== "all");
const useAll = !rawSelected.length || rawSelected.includes("all");
if (!useAll && selected.length) {
@@ -1142,8 +1144,7 @@
buildCompletedMeta() {
return {
- dimension:
- this.queryParams.statisticaltype == 2 ? "dept" : "ward",
+ dimension: this.queryParams.statisticaltype == 2 ? "dept" : "ward",
scope: this.satisfactionScope,
dateRange: [...(this.queryParams.dateRange || [])],
};
@@ -1151,24 +1152,20 @@
// 鎸夊綋鍓嶇粺璁$被鍨嬪垎缁勶細鐥呭尯缁熻 -> 鐥呭尯锛岀瀹ょ粺璁� -> 绉戝
groupCompletedRows(rows) {
- const dimension =
- this.queryParams.statisticaltype == 2 ? "dept" : "ward";
+ const dimension = this.queryParams.statisticaltype == 2 ? "dept" : "ward";
const groupMap = new Map();
(rows || []).forEach((row) => {
const name =
dimension === "ward" ? this.wardNameOf(row) : this.deptNameOf(row);
const code =
- dimension === "ward"
- ? this.wardCodeOf(row)
- : this.deptCodeOf(row);
+ dimension === "ward" ? this.wardCodeOf(row) : this.deptCodeOf(row);
const key = String(code || name || "unknown");
if (!groupMap.has(key)) {
groupMap.set(key, {
key,
- label:
- name || (dimension === "ward" ? "鏈垎鐥呭尯" : "鏈垎绉戝"),
+ label: name || (dimension === "ward" ? "鏈垎鐥呭尯" : "鏈垎绉戝"),
rows: [],
});
}
@@ -1193,8 +1190,7 @@
const orderMap = new Map();
(list || []).forEach((item, index) => {
- const code =
- dimension === "ward" ? item.districtCode : item.deptCode;
+ const code = dimension === "ward" ? item.districtCode : item.deptCode;
if (code) orderMap.set(String(code), index);
});
--
Gitblit v1.9.3