From 2ceb99a629b70a3d63154656b534dcc603af78e7 Mon Sep 17 00:00:00 2001
From: zhaowei <zhaowei>
Date: 星期五, 14 二月 2025 13:55:45 +0800
Subject: [PATCH] 1、调整产品和设备结构树权限配置分配用户时,admin只有在分配后或者有权限时才会被禁用

---
 src/store/modules/Production.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/store/modules/Production.js b/src/store/modules/Production.js
index 883a3f5..f848422 100644
--- a/src/store/modules/Production.js
+++ b/src/store/modules/Production.js
@@ -21,9 +21,9 @@
 
   actions: {
     // 浜х嚎鏍�
-      QueryProduction({ commit }) {
+      QueryProduction({ commit },type='MDC') {
       return new Promise((resolve, reject) => {
-        getAction("/mdc/mdcEquipment/queryTreeListByProduction").then(response => {
+        getAction("/mdc/mdcEquipment/queryTreeListByProduction",{type}).then(response => {
           if(response.success){
             const result = response.result
             Vue.ls.set(SYS_PRODUCTION, result)

--
Gitblit v1.9.3