From f2a9d202775438089ef6a11e3934a86a2301aa5a Mon Sep 17 00:00:00 2001
From: lyfO_o <764716047@qq.com>
Date: 星期二, 29 三月 2022 14:15:16 +0800
Subject: [PATCH] 1.单位管理区分(承包商和系统管理,条件为单位名称唯一) 2.用户管理区分(承包商和系统管理)

---
 src/store/modules/user.js |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/src/store/modules/user.js b/src/store/modules/user.js
index 55f6f2f..80b9a36 100644
--- a/src/store/modules/user.js
+++ b/src/store/modules/user.js
@@ -19,7 +19,8 @@
     roles: [],
     setting: {
       articlePlatform: []
-    }
+    },
+      classifyOne:'',
   },
 
   mutations: {
@@ -62,9 +63,15 @@
     SET_PRINT: (state, printBar) => {
       state.printBar = printBar
     },
+      SET_ONE : (state , name) =>{
+          state.classifyOne = name
+      }
   },
 
   actions: {
+      getClassifyOne({ commit }, listQuery){
+          commit('SET_ONE', listQuery)
+      },
     // 用户名登录
     LoginByUsername({ commit }, userInfo) {
       const username = userInfo.username.trim()

--
Gitblit v1.9.2