Commit edd7e3c6 authored by 李晓兵's avatar 李晓兵

'修改首页'

parent 38b4b463
......@@ -16,40 +16,24 @@ export default {
],
moduleSeparateList: [
{
'moduleId': 1,
'moduleCode': 'PARTNER',
'moduleState': 'QueryHome',
'moduleName': '产品查询',
'moduleIcon': require('@/assets/homePage/product-select.png'),
'roleId': 1,
'roleCode': 'ADMIN',
'roleName': '管理员',
},
{
'moduleId': 2,
'moduleCode': 'PROJECT',
'moduleState': '',
'moduleName': '产品试算',
'moduleIcon': require('@/assets/homePage/product-trial.png'),
'roleId': 1,
'roleCode': 'ADMIN',
'roleName': '管理员',
},
{
'moduleId': 3,
'moduleCode': 'CONTRACT',
'moduleState': '',
'moduleName': '合同查询',
'moduleIcon': require('@/assets/homePage/contract-query.png'),
'roleId': 1,
'roleCode': 'ADMIN',
'roleName': '管理员',
},
{
'moduleId': 4,
'moduleCode': 'PERSONAL',
'moduleName': '还款计划',
'moduleState': 'ContractRepayment',
'moduleName': '合同还款',
'moduleIcon': require('@/assets/homePage/replay.png'),
'roleId': 1,
'roleCode': 'ADMIN',
'roleName': '管理员',
},
],
}
......@@ -31,7 +31,7 @@
:data="item" @clickFunction="goModuleFunction"/>
</div>
<!-- <div class="middle-box">
<!-- <div class="middle-box">
<header>常用应用</header>
<div class="function">
<function-item
......@@ -154,7 +154,7 @@ export default {
this.$router.push({
name: data.functionState,
})
/*if (data.functionState === 'NaturePersonReadOnly') {
/* if (data.functionState === 'NaturePersonReadOnly') {
if (this.user_bp_status !== 'APPROVING' && this.user_bp_class === 'NP') {
this.$router.push({
name: 'NaturePersonReadOnly',
......@@ -176,15 +176,12 @@ export default {
this.$router.push({
name: data.functionState,
})
}*/
} */
},
goModuleFunction (data) {
console.log('........', data)
if (data.moduleId === 1) {
this.$router.push({
name: 'QueryHome',
})
}
this.$router.push({
name: data.moduleState,
})
},
location () {
this.$router.push({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment