From ade06cfe7a782f9272fa5d4820c589f7b8608935 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期五, 10 四月 2026 14:35:57 +0800
Subject: [PATCH] 维护
---
src/views/project/components/orgselect/index.vue | 19 ++++++++++++++++++-
1 files changed, 18 insertions(+), 1 deletions(-)
diff --git a/src/views/project/components/orgselect/index.vue b/src/views/project/components/orgselect/index.vue
index f33b57f..6ae9a76 100644
--- a/src/views/project/components/orgselect/index.vue
+++ b/src/views/project/components/orgselect/index.vue
@@ -115,6 +115,7 @@
console.error("'lazy-load'蹇呴』鍜�'filterable'鍚屾椂浣跨敤锛�");
return false;
}
+ console.log(456789);
if (this.lazyLoad) {
this.focusEvents.func = () => {
@@ -130,7 +131,6 @@
renderSelecter() {
this.pageData.PageSize = 100;
this.myValue = this.value;
-
this.getdataList();
},
@@ -144,6 +144,23 @@
}; //鎼滅储鏉′欢
let userType = { userType: "1" };
+ if (this.orgType == 4) {
+ let arr = this.$store.state.user.organization;
+ this.dataList.push(...arr);
+ if (this.isAll) {
+ let all = {
+ organizationid: "",
+ organizationname: "鍏ㄩ儴"
+ };
+ this.dataList.unshift(all);
+ }
+ console.log(this.dataList,'this.dataList');
+
+ this.tempList = this.dataList.map(item => item);
+ this.focusEvents.loaded = true;
+ this.isLoading = false;
+ return;
+ }
listOrganization(searchData)
.then(response => {
--
Gitblit v1.9.3