From 574b449a39019a59dc90ecc19dda9f63d3aa9636 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期三, 18 十一月 2026 15:35:47 +0800
Subject: [PATCH] 测试完成
---
src/views/followvisit/discharge/index.vue | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/src/views/followvisit/discharge/index.vue b/src/views/followvisit/discharge/index.vue
index 811bafd..d31fa1d 100644
--- a/src/views/followvisit/discharge/index.vue
+++ b/src/views/followvisit/discharge/index.vue
@@ -1225,12 +1225,15 @@
export default {
name: "Discharge",
- dicts: ["sys_normal_disable", "sys_user_sex", "sys_yujing", "sys_suggest"],
+ // 椤甸潰鍙敤鍒� sys_suggest锛屽幓鎺夋湭浣跨敤鐨勫瓧鍏稿彲灏戝彂 3 涓姹�
+ dicts: ["sys_suggest"],
components: { Treeselect, StatisticsCards },
data() {
return {
// 閬僵灞�
loading: true,
+ // 棣栨鎸傝浇鏃� created 宸茬粡鏌ヨ繃锛岃烦杩囩揣鎺ョ潃瑙﹀彂鐨� activated锛岄伩鍏嶉噸澶嶈姹�
+ activatedOnce: false,
// 閫変腑鏁扮粍
ids: [],
// 闈炲崟涓鐢�
@@ -1652,6 +1655,11 @@
this.taskQueryReady = true;
},
activated() {
+ // 棣栨鎸傝浇鏃� created 宸茬粡璇锋眰杩囷紝閬垮厤閲嶅璇锋眰
+ if (!this.activatedOnce) {
+ this.activatedOnce = true;
+ return;
+ }
// 浠庡埆鐨勬爣绛鹃〉鍒囧洖鏉ユ椂锛屼互琛ㄥ崟鏉′欢涓哄噯锛屼涪寮冨崱鐗囧甫鏉ョ殑涓�娆℃�х瓫閫�
this.cardFilter = null;
this.errtype = this.$route.query.errtype;
@@ -1751,13 +1759,10 @@
if (item.endtime) {
item.endDay = this.daysBetween(item.endtime);
}
- console.log(item, "3");
if (item.preachform) {
item.preachformson = item.preachform;
idArray = item.preachform.split(",");
- console.log(this.checkboxlist);
- console.log(idArray);
item.preachform = idArray.map((value) => {
const item = this.checkboxlist.find(
--
Gitblit v1.9.3