From be30a62a2dddf9ba36e69ade654513cbd7aa0c52 Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期六, 14 九月 2024 11:56:31 +0800
Subject: [PATCH] 机构切换

---
 src/views/development/index.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/development/index.vue b/src/views/development/index.vue
index 26bd43e..a656e7f 100644
--- a/src/views/development/index.vue
+++ b/src/views/development/index.vue
@@ -133,7 +133,7 @@
       activeName: "all",
       total: 0,
       data: {
-        staffId: JSON.parse(localStorage.getItem("user")).staffs[0].id,
+        staffId: JSON.parse(localStorage.getItem("selectStaff")).id,
         keyword: "",
         pageIn: {
           //鍙�夛紝濡傛灉鏄垎椤垫煡璇紝闇�瑕佸姞涓娿��
@@ -182,7 +182,7 @@
       } else if (this.activeName == "other") {
         this.listLoading = true;
         let data = {
-          staffId: JSON.parse(localStorage.getItem("user")).staffs[0].id,
+          staffId: JSON.parse(localStorage.getItem("selectStaff")).id,
           keyword: this.data.keyword,
           pageIn: { ...this.data.pageIn },
         };

--
Gitblit v1.8.0