From ba4eee2e5ced6aef3e85a7c7b8317817b7ad3cae Mon Sep 17 00:00:00 2001 From: sinake <sinake1@qq.com> Date: 星期四, 14 八月 2025 10:05:53 +0800 Subject: [PATCH] Merge branch 'lishui-Smartor' of http://116.62.18.175:6699/r/~yxh/smartor-web --- src/store/getters.js | 72 +++++++++++++++++++++++++++++++++-- 1 files changed, 67 insertions(+), 5 deletions(-) diff --git a/src/store/getters.js b/src/store/getters.js index 7434737..0b065bd 100644 --- a/src/store/getters.js +++ b/src/store/getters.js @@ -8,11 +8,14 @@ token: (state) => state.user.token, avatar: (state) => state.user.avatar, name: (state) => state.user.name, + nickName: (state) => state.user.nickName, + Id: (state) => state.user.Id, introduction: (state) => state.user.introduction, roles: (state) => state.user.roles, permissions: (state) => state.user.permissions, belongWards: (state) => state.user.belongWards, belongDepts: (state) => state.user.belongDepts, + hisUserId: (state) => state.user.hisUserId, permission_routes: (state) => state.permission.routes, topbarRouters: (state) => state.permission.topbarRouters, defaultRoutes: (state) => state.permission.defaultRoutes, @@ -114,7 +117,7 @@ serviceState: (state) => [ { value: "1", - label: "琚鍙�", + label: "琛ㄥ崟宸查鍙�", raw: { cssClass: "", listClass: "", @@ -122,7 +125,7 @@ }, { value: "2", - label: "寰呮墽琛�", + label: "寰呴殢璁�", raw: { cssClass: "", listClass: "", @@ -395,7 +398,68 @@ cssClass: "", listClass: "", }, - } + }, + ], + + // 鏈嶅姟绫诲瀷 + checkboxlist: (state) => [ + { + value: "1", + label: "浜哄伐", + raw: { + cssClass: "", + listClass: "", + }, + }, + { + value: "2", + label: "绾歌川", + raw: { + cssClass: "", + listClass: "", + }, + }, + + { + value: "3", + label: "鐢佃瘽", + raw: { + cssClass: "", + listClass: "", + }, + }, + { + value: "4", + label: "鐭俊", + raw: { + cssClass: "", + listClass: "", + }, + }, + { + value: "5", + label: "寰俊鍏紬鍙�", + raw: { + cssClass: "", + listClass: "", + }, + }, + { + value: "6", + label: "寰俊灏忕▼搴�", + raw: { + cssClass: "", + listClass: "", + }, + }, + { + value: "8", + label: "鏅鸿兘鏈哄櫒浜�", + raw: { + cssClass: "", + listClass: "", + }, + }, ], // 璇█ languagelist: (state) => [ @@ -573,8 +637,6 @@ }, }, ], - - }; export default getters; -- Gitblit v1.9.3