doway-coms 1.1.82 → 1.1.83

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.83",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -17,14 +17,18 @@ export default new Vuex.Store({
17
17
  controlSize: 'small',
18
18
  newId: 0,//明细新增id
19
19
  userId: '',
20
+ staffId: '',
20
21
  },
21
22
  mutations: {
22
23
  SET_TOKEN: (state, token) => {
23
24
  state.token = token
24
25
  },
25
- SET_USERID: (state, userId) => {
26
- state.userId = userId
27
- },
26
+ SET_USERID: (state, userId) => {
27
+ state.userId = userId
28
+ },
29
+ SET_STAFFID: (state, staffId) => {
30
+ state.staffId = staffId
31
+ },
28
32
  SET_INDUSTRY_VERSION:(state,industryVersion)=>{
29
33
  state.industryVersion = industryVersion
30
34
  },
@@ -114,6 +118,7 @@ export default new Vuex.Store({
114
118
  state.newId = state.newId + 1
115
119
  return state.newId
116
120
  },
117
- userId: state => state.userId,
121
+ userId: state => state.userId,
122
+ staffId: state => state.staffId,
118
123
  }
119
124
  })