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 +1 -1
- package/packages/utils/store.js +9 -4
package/package.json
CHANGED
package/packages/utils/store.js
CHANGED
|
@@ -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
|
-
|
|
26
|
-
|
|
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
|
-
|
|
121
|
+
userId: state => state.userId,
|
|
122
|
+
staffId: state => state.staffId,
|
|
118
123
|
}
|
|
119
124
|
})
|