doway-coms 1.1.82 → 1.1.84

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doway-coms",
3
- "version": "1.1.82",
3
+ "version": "1.1.84",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -17,14 +17,22 @@ export default new Vuex.Store({
17
17
  controlSize: 'small',
18
18
  newId: 0,//明细新增id
19
19
  userId: '',
20
+ userName: '',
21
+ staffId: '',
20
22
  },
21
23
  mutations: {
22
24
  SET_TOKEN: (state, token) => {
23
25
  state.token = token
24
26
  },
25
- SET_USERID: (state, userId) => {
26
- state.userId = userId
27
- },
27
+ SET_USERID: (state, userId) => {
28
+ state.userId = userId
29
+ },
30
+ SET_USERNAME: (state, userName) => {
31
+ state.userName = userName
32
+ },
33
+ SET_STAFFID: (state, staffId) => {
34
+ state.staffId = staffId
35
+ },
28
36
  SET_INDUSTRY_VERSION:(state,industryVersion)=>{
29
37
  state.industryVersion = industryVersion
30
38
  },
@@ -114,6 +122,8 @@ export default new Vuex.Store({
114
122
  state.newId = state.newId + 1
115
123
  return state.newId
116
124
  },
117
- userId: state => state.userId,
125
+ userId: state => state.userId,
126
+ userName: state => state.userName,
127
+ staffId: state => state.staffId,
118
128
  }
119
129
  })