|
@@ -24,6 +24,7 @@ const store = new Vuex.Store({
|
|
|
menuList: [],
|
|
|
// 当前登录用户信息
|
|
|
cruUserInfo: {},
|
|
|
+ thisDetai: {},
|
|
|
//查询是否有未读消息
|
|
|
messageNumber: false,
|
|
|
//最近消息列表集合
|
|
@@ -44,7 +45,7 @@ const store = new Vuex.Store({
|
|
|
//公司部门
|
|
|
companyArray: [],
|
|
|
departmentArray: [],
|
|
|
- communityArray:[],
|
|
|
+ communityArray: [],
|
|
|
},
|
|
|
getters: {
|
|
|
getTheme(state) {
|
|
@@ -84,6 +85,9 @@ const store = new Vuex.Store({
|
|
|
getCruUserInfo(state) {
|
|
|
return state.cruUserInfo;
|
|
|
},
|
|
|
+ getThisDetai(state) {
|
|
|
+ return state.thisDetai
|
|
|
+ },
|
|
|
getAreaSelect(state) {
|
|
|
return state.areaSelect;
|
|
|
},
|
|
@@ -102,7 +106,7 @@ const store = new Vuex.Store({
|
|
|
getCommunityArray(state) {
|
|
|
return state.communityArray
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
mutations: {
|
|
|
setSearchPointInfo(state, data) {
|
|
@@ -132,6 +136,9 @@ const store = new Vuex.Store({
|
|
|
setcCruUserInfo(state, data) {
|
|
|
state.cruUserInfo = data;
|
|
|
},
|
|
|
+ setThisDetai(state, data) {
|
|
|
+ state.thisDetai = data;
|
|
|
+ },
|
|
|
setmessageNumber(state, data) {
|
|
|
state.messageNumber = data;
|
|
|
},
|
|
@@ -159,8 +166,8 @@ const store = new Vuex.Store({
|
|
|
setDepartmentArray(state, data) {
|
|
|
state.departmentArray = data
|
|
|
},
|
|
|
- setCommunityArray(state,data) {
|
|
|
- state.communityArray = data
|
|
|
+ setCommunityArray(state, data) {
|
|
|
+ state.communityArray = data
|
|
|
}
|
|
|
},
|
|
|
actions: {
|