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 {
...
@@ -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'
:
'管理员'
,
},
},
],
],
}
}
src/pages/home/home-page.vue
View file @
edd7e3c6
...
@@ -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
({
...
...
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