Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xugong
hls-xcmg-vue-app
Commits
edd7e3c6
Commit
edd7e3c6
authored
Oct 23, 2019
by
李晓兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'修改首页'
parent
38b4b463
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
30 deletions
+11
-30
functionState.js
src/pages/home/functionState.js
+5
-21
home-page.vue
src/pages/home/home-page.vue
+6
-9
No files found.
src/pages/home/functionState.js
View file @
edd7e3c6
...
...
@@ -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'
:
'管理员'
,
},
],
}
src/pages/home/home-page.vue
View file @
edd7e3c6
...
...
@@ -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
({
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment