From 0d7443623155fa14136d9a18ebd30dd203e4bb82 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期四, 21 十二月 2023 16:37:17 +0800
Subject: [PATCH] 指标完成

---
 src/store/getters.js |  139 +++++++++++++++++++++++++++++++++++++--------
 1 files changed, 113 insertions(+), 26 deletions(-)

diff --git a/src/store/getters.js b/src/store/getters.js
index 884cd73..2c9ecce 100644
--- a/src/store/getters.js
+++ b/src/store/getters.js
@@ -1,31 +1,118 @@
 const getters = {
-  sidebar: state => state.app.sidebar,
-  size: state => state.app.size,
-  device: state => state.app.device,
-  dict: state => state.dict.dict,
-  visitedViews: state => state.tagsView.visitedViews,
-  cachedViews: state => state.tagsView.cachedViews,
-  token: state => state.user.token,
-  avatar: state => state.user.avatar,
-  name: state => state.user.name,
-  introduction: state => state.user.introduction,
-  roles: state => state.user.roles,
-  permissions: state => state.user.permissions,
-  permission_routes: state => state.permission.routes,
-  topbarRouters:state => state.permission.topbarRouters,
-  defaultRoutes:state => state.permission.defaultRoutes,
-  sidebarRouters:state => state.permission.sidebarRouters,
-  mode:state =>[{
-    value: 1,
-    label: "璋冩煡琛�",
+  sidebar: (state) => state.app.sidebar,
+  size: (state) => state.app.size,
+  device: (state) => state.app.device,
+  dict: (state) => state.dict.dict,
+  visitedViews: (state) => state.tagsView.visitedViews,
+  cachedViews: (state) => state.tagsView.cachedViews,
+  token: (state) => state.user.token,
+  avatar: (state) => state.user.avatar,
+  name: (state) => state.user.name,
+  introduction: (state) => state.user.introduction,
+  roles: (state) => state.user.roles,
+  permissions: (state) => state.user.permissions,
+  permission_routes: (state) => state.permission.routes,
+  topbarRouters: (state) => state.permission.topbarRouters,
+  defaultRoutes: (state) => state.permission.defaultRoutes,
+  sidebarRouters: (state) => state.permission.sidebarRouters,
+  // 閫傜敤鏂瑰紡
+  mode: (state) => [
+    {
+      value: "1",
+      label: "璋冩煡琛�",
+      raw: {
+        cssClass: "",
+        listClass: "",
+      },
+    },
+    {
+      value: "2",
+      label: "鏅鸿兘璇煶",
+      raw: {
+        cssClass: "",
+        listClass: "",
+      },
+    },
+    {
+      value: "3",
+      label: "浜哄伐",
+      raw: {
+        cssClass: "",
+        listClass: "",
+      },
+    },
+  ],
+  // 鍊肩被鍨�
+  valuetype: (state) => [
+    {
+      value: "1",
+      label: "閫夐」",
+      raw: {
+        cssClass: "",
+        listClass: "",
+      },
+    },
+    {
+      value: "2",
+      label: "鏂囨湰",
+      raw: {
+        cssClass: "",
+        listClass: "",
+      },
+    },
+    {
+      value: "3",
+      label: "鏁板��",
+      raw: {
+        cssClass: "",
+        listClass: "",
+      },
+    },
+  ],
+  // 鏄惁鍙敤
+  usable: (state) => [
+    {
+      value: '0',
+      label: "鍙敤",
+      raw: {
+        cssClass: "",
+        listClass: "",
+      },
+    },
+    {
+      value: '1',
+      label: "鍋滅敤",
+      raw: {
+        cssClass: "",
+        listClass: "",
+      },
+    },
+  ],
+ // 璇█
+ languagelist: (state) => [
+  {
+    value: "1",
+    label: "鏅�氳瘽",
+    raw: {
+      cssClass: "",
+      listClass: "",
+    },
   },
   {
-    value: 2,
-    label: "鏅鸿兘璇煶",
+    value: "2",
+    label: "绮よ",
+    raw: {
+      cssClass: "",
+      listClass: "",
+    },
   },
   {
-    value: 3,
-    label: "閫傜敤鏂瑰紡",
-  },],
-}
-export default getters
+    value: "3",
+    label: "鑻辫",
+    raw: {
+      cssClass: "",
+      listClass: "",
+    },
+  },
+],};
+export default getters;

--
Gitblit v1.9.3