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 15e66deb
authored
Mar 26, 2019
by
wangql
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改代码
1 parent
b53c5906
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
11 deletions
src/api/businessGroup.js
src/api/businessGroupDetail.js
src/views/customer/businessDetails/index.vue
src/views/customer/businessGroup/index.vue
src/views/customer/businessGroupDetail/index.vue
src/api/businessGroup.js
View file @
15e66de
const
path
=
'
/
glsx.accounts.admin.merchant.group.'
const
path
=
'glsx.accounts.admin.merchant.group.'
const
businessPath
=
'
/
glsx.accounts.admin.merchant.'
const
businessPath
=
'glsx.accounts.admin.merchant.'
const
methods
=
{
const
methods
=
{
Search
:
`
${
path
}
dict`
,
Search
:
`
${
path
}
dict`
,
Create
:
`
${
path
}
create`
,
Create
:
`
${
path
}
create`
,
...
...
src/api/businessGroupDetail.js
View file @
15e66de
const
path
=
'
/
glsx.accounts.admin.merchant.'
const
path
=
'glsx.accounts.admin.merchant.'
const
methods
=
{
const
methods
=
{
Search
:
`
${
path
}
group.search`
,
Search
:
`
${
path
}
group.search`
,
MerchantType
:
`
${
path
}
dict.type`
MerchantType
:
`
${
path
}
dict.type`
...
...
src/views/customer/businessDetails/index.vue
View file @
15e66de
...
@@ -280,7 +280,6 @@ export default {
...
@@ -280,7 +280,6 @@ 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
})
},
},
// 切换tab
// 切换tab
...
...
src/views/customer/businessGroup/index.vue
View file @
15e66de
...
@@ -193,7 +193,7 @@ export default {
...
@@ -193,7 +193,7 @@ export default {
label
:
'详情'
,
label
:
'详情'
,
type
:
'text'
,
type
:
'text'
,
callback
:
(
index
,
row
)
=>
{
callback
:
(
index
,
row
)
=>
{
this
.
detail
(
row
)
this
.
$root
.
to
([
'商户数据平台'
,
'商户数据平台'
,
'商户数据平台'
,
'商户分组'
,
'*商户分组详情'
],
{
groupId
:
row
.
id
}
)
}
}
}
}
]
]
...
@@ -223,7 +223,7 @@ export default {
...
@@ -223,7 +223,7 @@ export default {
getList
()
{
getList
()
{
// const params = this.getParams()
// const params = this.getParams()
const
params
=
{}
const
params
=
{}
params
.
method
s
=
groupMethods
.
Search
params
.
method
=
groupMethods
.
Search
request
request
.
req
(
params
)
.
req
(
params
)
.
then
(
res
=>
{
.
then
(
res
=>
{
...
@@ -238,7 +238,7 @@ export default {
...
@@ -238,7 +238,7 @@ export default {
},
},
getBusinessList
()
{
getBusinessList
()
{
const
params
=
{}
const
params
=
{}
params
.
method
s
=
groupMethods
.
BusinessList
params
.
method
=
groupMethods
.
BusinessList
request
request
.
req
(
params
)
.
req
(
params
)
.
then
(
res
=>
{
.
then
(
res
=>
{
...
@@ -276,7 +276,7 @@ export default {
...
@@ -276,7 +276,7 @@ export default {
},
},
createGroup
(
pas
)
{
createGroup
(
pas
)
{
const
params
=
pas
const
params
=
pas
params
.
method
s
=
groupMethods
.
Create
params
.
method
=
groupMethods
.
Create
request
request
.
req
(
params
)
.
req
(
params
)
.
then
(
res
=>
{
.
then
(
res
=>
{
...
...
src/views/customer/businessGroupDetail/index.vue
View file @
15e66de
...
@@ -146,6 +146,7 @@ export default {
...
@@ -146,6 +146,7 @@ export default {
return
{
return
{
// searchCondition: {},
// searchCondition: {},
searchParams
:
{
searchParams
:
{
groupId
:
null
,
merchantName
:
''
,
merchantName
:
''
,
merchantId
:
null
,
merchantId
:
null
,
merchantType
:
null
,
merchantType
:
null
,
...
@@ -241,6 +242,9 @@ export default {
...
@@ -241,6 +242,9 @@ export default {
this
.
getList
()
this
.
getList
()
this
.
getMerchantType
()
this
.
getMerchantType
()
this
.
eventBus
=
new
Vue
()
this
.
eventBus
=
new
Vue
()
this
.
$root
.
eventBus
.
$on
(
'params'
,
(
params
)
=>
{
this
.
searchParams
.
groupId
=
params
.
groupId
})
},
},
methods
:
{
methods
:
{
loadingGetList
()
{
loadingGetList
()
{
...
@@ -263,7 +267,7 @@ export default {
...
@@ -263,7 +267,7 @@ export default {
this
.
searchParams
.
endTime
=
this
.
times
[
1
].
format
(
'yyyy-MM-dd HH:mm:ss'
)
this
.
searchParams
.
endTime
=
this
.
times
[
1
].
format
(
'yyyy-MM-dd HH:mm:ss'
)
}
}
const
params
=
this
.
getParams
()
const
params
=
this
.
getParams
()
params
.
method
s
=
groupDetailMethods
.
Search
params
.
method
=
groupDetailMethods
.
Search
console
.
log
(
params
)
console
.
log
(
params
)
request
request
.
req
(
params
)
.
req
(
params
)
...
@@ -288,7 +292,7 @@ export default {
...
@@ -288,7 +292,7 @@ export default {
// 获取商户类型
// 获取商户类型
getMerchantType
()
{
getMerchantType
()
{
const
params
=
{}
const
params
=
{}
params
.
method
s
=
groupDetailMethods
.
MerchantType
params
.
method
=
groupDetailMethods
.
MerchantType
request
request
.
req
(
params
)
.
req
(
params
)
.
then
(
res
=>
{
.
then
(
res
=>
{
...
@@ -335,7 +339,7 @@ export default {
...
@@ -335,7 +339,7 @@ export default {
}
}
},
},
merchantDetail
(
merchantId
)
{
merchantDetail
(
merchantId
)
{
console
.
log
(
merchantId
)
this
.
$root
.
to
([
'商户数据平台'
,
'商户数据平台'
,
'商户数据平台'
,
'商户分组'
,
'*商户详情'
],
{
merchantId
:
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