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.
113 lines
2.6 KiB
113 lines
2.6 KiB
|
|
|
|
const state = { |
|
// 还款 |
|
loanStatus: 1,// 切换展示状态 |
|
id: '', |
|
hisidId: '', |
|
guaranteeAmount: '', |
|
hispaymentStatus: '', |
|
newOrOld:'',// 判断是否手动新增保后业务 |
|
// 催收 |
|
logStatus: 1, |
|
logId: '', |
|
logHisidId: '', |
|
logGuaranteeAmount: '', |
|
|
|
logbackStatus: '',//区分催收是提交还是查看 |
|
logbackId: '', |
|
loanbackStatus: '', |
|
RepaymentId: '', |
|
logRepaymentId: '', |
|
insuranceId: '', |
|
|
|
leftStatus: '0',//侧边栏 |
|
discernEdit:false,// 是否可编辑保后业务 |
|
entering:false,// 是否为录入业务 |
|
disabledAll:false,//禁用全部 |
|
liquidate:'1',// 控制清收统计页面切换 |
|
liquidateSearch:{}, |
|
|
|
} |
|
|
|
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 |
|
}, |
|
setNewOrOld(state,val){ |
|
state.newOrOld = val |
|
}, |
|
discernEdit(state,val){ |
|
state.discernEdit = val |
|
}, |
|
entering(state,val){ |
|
state.entering = val |
|
}, |
|
disabledAll(state,val){ |
|
state.disabledAll = val |
|
}, |
|
liquidate(state,val){ |
|
state.liquidate = val |
|
}, |
|
liquidateSearch(s,obj){ |
|
s.liquidateSearch = obj |
|
} |
|
|
|
} |
|
|
|
const actions = { |
|
|
|
} |
|
|
|
export default{ |
|
state, |
|
getters, |
|
mutations, |
|
actions |
|
} |