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

'修改首页'

parent 38b4b463
...@@ -16,40 +16,24 @@ export default { ...@@ -16,40 +16,24 @@ export default {
], ],
moduleSeparateList: [ moduleSeparateList: [
{ {
'moduleId': 1, 'moduleState': 'QueryHome',
'moduleCode': 'PARTNER',
'moduleName': '产品查询', 'moduleName': '产品查询',
'moduleIcon': require('@/assets/homePage/product-select.png'), 'moduleIcon': require('@/assets/homePage/product-select.png'),
'roleId': 1,
'roleCode': 'ADMIN',
'roleName': '管理员',
}, },
{ {
'moduleId': 2, 'moduleState': '',
'moduleCode': 'PROJECT',
'moduleName': '产品试算', 'moduleName': '产品试算',
'moduleIcon': require('@/assets/homePage/product-trial.png'), 'moduleIcon': require('@/assets/homePage/product-trial.png'),
'roleId': 1,
'roleCode': 'ADMIN',
'roleName': '管理员',
}, },
{ {
'moduleId': 3, 'moduleState': '',
'moduleCode': 'CONTRACT',
'moduleName': '合同查询', 'moduleName': '合同查询',
'moduleIcon': require('@/assets/homePage/contract-query.png'), 'moduleIcon': require('@/assets/homePage/contract-query.png'),
'roleId': 1,
'roleCode': 'ADMIN',
'roleName': '管理员',
}, },
{ {
'moduleId': 4, 'moduleState': 'ContractRepayment',
'moduleCode': 'PERSONAL', 'moduleName': '合同还款',
'moduleName': '还款计划',
'moduleIcon': require('@/assets/homePage/replay.png'), 'moduleIcon': require('@/assets/homePage/replay.png'),
'roleId': 1,
'roleCode': 'ADMIN',
'roleName': '管理员',
}, },
], ],
} }
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
:data="item" @clickFunction="goModuleFunction"/> :data="item" @clickFunction="goModuleFunction"/>
</div> </div>
<!-- <div class="middle-box"> <!-- <div class="middle-box">
<header>常用应用</header> <header>常用应用</header>
<div class="function"> <div class="function">
<function-item <function-item
...@@ -154,7 +154,7 @@ export default { ...@@ -154,7 +154,7 @@ export default {
this.$router.push({ this.$router.push({
name: data.functionState, name: data.functionState,
}) })
/*if (data.functionState === 'NaturePersonReadOnly') { /* if (data.functionState === 'NaturePersonReadOnly') {
if (this.user_bp_status !== 'APPROVING' && this.user_bp_class === 'NP') { if (this.user_bp_status !== 'APPROVING' && this.user_bp_class === 'NP') {
this.$router.push({ this.$router.push({
name: 'NaturePersonReadOnly', name: 'NaturePersonReadOnly',
...@@ -176,15 +176,12 @@ export default { ...@@ -176,15 +176,12 @@ export default {
this.$router.push({ this.$router.push({
name: data.functionState, name: data.functionState,
}) })
}*/ } */
}, },
goModuleFunction (data) { goModuleFunction (data) {
console.log('........', data) this.$router.push({
if (data.moduleId === 1) { name: data.moduleState,
this.$router.push({ })
name: 'QueryHome',
})
}
}, },
location () { location () {
this.$router.push({ 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