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