You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

87 lines
1.9 KiB

4 years ago
const state = {
// 还款
loanStatus: 1,
id: '',
hisidId: '',
guaranteeAmount: '',
hispaymentStatus: '',
// 催收
logStatus: 1,
logId: '',
logHisidId: '',
logGuaranteeAmount: '',
logbackStatus: '',//区分催收是提交还是查看
logbackId: '',
loanbackStatus: '',
RepaymentId: '',
logRepaymentId: '',
insuranceId: '',
leftStatus: '0'//侧边栏
}
const getters = {
}
const mutations = {
leftSidebarData (state, payload) {
state.leftStatus = payload.leftStatus
},
loanStatusData (state, payload) {
state.loanStatus = payload.loanStatus
},
idData (state, payload) {
state.id = payload.id
},
RepaymentIdData (state, payload) {
state.RepaymentId = payload.RepaymentId
},
hisidIdData (state, payload) {
state.hisidId = payload.hisidId,
state.guaranteeAmount = payload.guaranteeAmount
},
hispaymentStatusData (state, payload) {
state.hispaymentStatus = payload.hispaymentStatus
},
loanbackStatusData (state, payload) {
state.loanbackStatus = payload.loanbackStatus
},
logStatusData (state, payload) {
state.logStatus = payload.logStatus
},
logbackStatusData (state, payload) {
state.logbackStatus = payload.logbackStatus
},
logIdData (state, payload) {
state.logId = payload.logId
},
logHisidIdData (state, payload) {
state.logHisidId = payload.logHisidId,
state.logGuaranteeAmount = payload.logGuaranteeAmount
},
logbackIdData (state, payload) {
state.logbackId = payload.logbackId
},
logRepaymentIdData (state, payload) {
state.logRepaymentId = payload.logRepaymentId
},
loginsuranceIdData (state, payload) {
state.insuranceId = payload.insuranceId
}
}
const actions = {
}
export default{
state,
getters,
mutations,
actions
}