Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
glsx-oss-merchant-data
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a8ecc4c1
authored
Mar 26, 2019
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改
1 parent
b53c5906
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
6 deletions
src/views/customer/businessDetails/index.vue
src/views/customer/businessGroupDetail/index.vue
src/views/customer/businessList/index.vue
src/views/customer/businessDetails/index.vue
View file @
a8ecc4c
...
@@ -79,9 +79,31 @@
...
@@ -79,9 +79,31 @@
:width=
"diaWidth"
:width=
"diaWidth"
>
>
<span>
父商户信息:
</span>
<span>
父商户信息:
</span>
<gl-table
:table=
"parentLevelTableData"
></gl-table>
<gl-table
:table=
"parentLevelTableData"
>
<gl-table-column
align=
"center"
v-for=
"(i, index) in parentLevelTableData.column"
:key=
"index"
:label=
'i.label'
:prop=
'i.prop'
>
<
template
slot-scope=
"scope"
>
<template
v-if=
'i.prop === "merchantName"'
>
<a
href=
"#"
@
click=
"goBusinessDetail(scope.scope.row)"
>
{{
parentLevelTableData
.
data
[
scope
.
scope
.
$index
][
i
.
prop
]
}}
</a>
</
template
>
<
template
v-else
>
{{
parentLevelTableData
.
data
[
scope
.
scope
.
$index
][
i
.
prop
]
}}
</
template
>
</template>
</gl-table-column>
</gl-table>
<span>
子商户信息:
</span>
<span>
子商户信息:
</span>
<gl-table
:table=
"childLevelTableData"
></gl-table>
<gl-table
:table=
"childLevelTableData"
>
<gl-table-column
align=
"center"
v-for=
"(i, index) in childLevelTableData.column"
:key=
"index"
:label=
'i.label'
:prop=
'i.prop'
>
<
template
slot-scope=
"scope"
>
<template
v-if=
'i.prop === "merchantName"'
>
<a
href=
"#"
@
click=
"goBusinessDetail(scope.scope.row)"
>
{{
childLevelTableData
.
data
[
scope
.
scope
.
$index
][
i
.
prop
]
}}
</a>
</
template
>
<
template
v-else
>
{{
childLevelTableData
.
data
[
scope
.
scope
.
$index
][
i
.
prop
]
}}
</
template
>
</template>
</gl-table-column>
</gl-table>
<span
slot=
"footer"
>
<span
slot=
"footer"
>
<el-button
<el-button
type=
"primary"
type=
"primary"
...
@@ -280,8 +302,12 @@ export default {
...
@@ -280,8 +302,12 @@ export default {
this
.
$parent
.
to
([
'商户数据平台'
,
'商户数据平台'
,
'商户数据平台'
,
'业务管理'
,
'业务管理列表'
])
this
.
$parent
.
to
([
'商户数据平台'
,
'商户数据平台'
,
'商户数据平台'
,
'业务管理'
,
'业务管理列表'
])
},
},
goGroupDetail
(
row
)
{
goGroupDetail
(
row
)
{
console
.
log
(
row
.
merchantId
)
this
.
$root
.
to
([
'商户数据平台'
,
'商户数据平台'
,
'商户数据平台'
,
'商户分组'
,
'*商户分组详情'
],
{
merchantId
:
row
.
merchantId
})
this
.
$root
.
to
([
'商户数据平台'
,
'商户数据平台'
,
'商户数据平台'
,
'商户分组'
,
'*商户详情'
],
{
merchantId
:
row
.
merchantId
})
},
goBusinessDetail
(
row
)
{
this
.
handleDetailClose
()
this
.
activeName
=
'first'
this
.
merchantId
=
row
.
merchantId
},
},
// 切换tab
// 切换tab
handleClick
(
tab
,
event
)
{
handleClick
(
tab
,
event
)
{
...
@@ -389,7 +415,8 @@ export default {
...
@@ -389,7 +415,8 @@ export default {
margin
:
12px
;
margin
:
12px
;
}
}
.detail
a
{
.detail
a
{
color
:
#0000FF
;
/* color: #0000FF; */
text-decoration
:
underline
}
}
.detail-row
{
.detail-row
{
line-height
:
36px
;
line-height
:
36px
;
...
...
src/views/customer/businessGroupDetail/index.vue
View file @
a8ecc4c
...
@@ -140,6 +140,9 @@ export default {
...
@@ -140,6 +140,9 @@ export default {
CityArea
CityArea
},
},
watch
:
{
watch
:
{
'searchParams.merchantId'
(
val
)
{
this
.
getList
()
}
},
},
// mixins: [NoticeMixin],
// mixins: [NoticeMixin],
data
()
{
data
()
{
...
@@ -238,6 +241,9 @@ export default {
...
@@ -238,6 +241,9 @@ export default {
}
}
},
},
mounted
()
{
mounted
()
{
this
.
$root
.
eventBus
.
$on
(
'params'
,
(
params
)
=>
{
this
.
searchParams
.
merchantId
=
params
.
merchantId
})
this
.
getList
()
this
.
getList
()
this
.
getMerchantType
()
this
.
getMerchantType
()
this
.
eventBus
=
new
Vue
()
this
.
eventBus
=
new
Vue
()
...
...
src/views/customer/businessList/index.vue
View file @
a8ecc4c
...
@@ -134,7 +134,7 @@ export default {
...
@@ -134,7 +134,7 @@ export default {
label
:
'详情'
,
label
:
'详情'
,
type
:
'text'
,
type
:
'text'
,
callback
:
(
index
,
rows
)
=>
{
callback
:
(
index
,
rows
)
=>
{
this
.
$root
.
to
([
'商户数据平台'
,
'商户数据平台'
,
'商户数据平台'
,
'
业务管理
'
,
'*商户详情'
],
{
merchantId
:
rows
[
index
].
merchantId
})
this
.
$root
.
to
([
'商户数据平台'
,
'商户数据平台'
,
'商户数据平台'
,
'
商户列表
'
,
'*商户详情'
],
{
merchantId
:
rows
[
index
].
merchantId
})
}
}
}]
}]
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment