1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//贷后检查数据存储
const state = {
//单条列表信息
postLoanInfObj: {},
//贷后详情
postLoanDetail: {}
};
const mutations = {
setPostLoanInfObj: (state:any, postLoanInfObj:any) => {
state.postLoanInfObj = postLoanInfObj;
},
setPostLoanDetail: (state:any, postLoanDetail:any) => {
state.postLoanDetail = postLoanDetail;
}
};
const actions = {
// setPostLoanInfObj: context => {
// context.conmit();
// },
// setPostLoanDetail: context => {
// context.conmit();
// }
};
const getters = {
getPostLoanInfObj: (state:any) => {
return state.postLoanInfObj;
},
getPostLoanDetail: (state:any) => {
return state.postLoanDetail;
}
};
export default {
namespaced: true,
state,
mutations,
actions,
getters
};