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 7b55dc63
authored
Mar 29, 2019
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改配置
1 parent
0a5d3b8d
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
11 deletions
src/base.js
src/views/customer/businessDetails/index.vue
src/views/customer/businessGroup/index.vue
src/views/customer/businessGroupDetail/addBusiness.vue
src/views/customer/businessGroupDetail/index.vue
src/views/customer/businessList/index.vue
src/base.js
View file @
7b55dc6
...
...
@@ -105,7 +105,7 @@ var mixin = {
// }
}
}
const
URL
=
'
http://192.168.3.171:7300
/mock/5be17454f31545347559d499/config'
const
URL
=
'
http://oss-config.test.glsx.com.cn
/mock/5be17454f31545347559d499/config'
const
getConfig
=
(
url
=
URL
+
'/business_data_config'
)
=>
{
return
new
Promise
(
resolve
=>
{
const
xhr
=
new
XMLHttpRequest
()
...
...
src/views/customer/businessDetails/index.vue
View file @
7b55dc6
...
...
@@ -312,10 +312,10 @@ export default {
},
methods
:
{
back
()
{
this
.
$parent
.
to
([
'商户数据平台'
,
'商户数据
平台'
,
'商户数据平台'
,
'商户列表'
,
'商户
列表'
])
this
.
$parent
.
to
([
'商户数据平台'
,
'商户数据
管理'
,
'商户数据'
,
'商户列表管理'
,
'商户数据
列表'
])
},
goGroupDetail
(
row
)
{
this
.
$root
.
to
([
'商户数据平台'
,
'商户数据
平台'
,
'商户数据平台'
,
'商户分组
'
,
'*商户分组详情'
],
{
groupId
:
row
.
id
})
this
.
$root
.
to
([
'商户数据平台'
,
'商户数据
管理'
,
'商户数据'
,
'商户分组管理
'
,
'*商户分组详情'
],
{
groupId
:
row
.
id
})
},
goBusinessDetail
(
row
)
{
this
.
detailVisible
()
...
...
src/views/customer/businessGroup/index.vue
View file @
7b55dc6
...
...
@@ -144,7 +144,7 @@ export default {
label
:
'详情'
,
type
:
'text'
,
callback
:
(
index
,
row
)
=>
{
this
.
$root
.
to
([
'商户数据平台'
,
'商户数据
平台'
,
'商户数据平台'
,
'商户分组
'
,
'*商户分组详情'
],
{
groupId
:
row
[
index
].
id
})
this
.
$root
.
to
([
'商户数据平台'
,
'商户数据
管理'
,
'商户数据'
,
'商户分组管理
'
,
'*商户分组详情'
],
{
groupId
:
row
[
index
].
id
})
}
}
]
...
...
@@ -154,7 +154,6 @@ export default {
},
mounted
()
{
this
.
loadingGetList
()
this
.
getBusinessList
()
},
methods
:
{
loadingGetList
()
{
...
...
@@ -174,7 +173,7 @@ export default {
request
.
req
(
params
)
.
then
(
res
=>
{
this
.
total
=
res
.
pagination
.
totalCount
res
.
pagination
&&
(
this
.
total
=
res
.
pagination
.
totalCount
)
this
.
tableData
.
data
=
res
.
groupDicts
this
.
tableLoading
=
false
})
...
...
@@ -206,6 +205,7 @@ export default {
},
dialog
()
{
this
.
dialogVisible
=
!
this
.
dialogVisible
this
.
getBusinessList
()
},
// 新增分组
handleSubmit
(
formName
)
{
...
...
src/views/customer/businessGroupDetail/addBusiness.vue
View file @
7b55dc6
...
...
@@ -144,8 +144,8 @@ export default {
// item[j] = ''
//
}
//
}
item
[
merchantId
]
=
''
item
[
merchantType
]
=
''
item
[
'merchantId'
]
=
''
item
[
'merchantType'
]
=
''
}
)
}
}
...
...
@@ -265,6 +265,7 @@ export default {
}
}
list
=
arr
.
filter
(
item
=>
!
index
.
includes
(
item
.
merchantId
))
// list = [...arr].filter(item => [...this.addList].every(obj => obj.merchantId !== item.merchantId))
this
.
businessChildList
=
index
.
length
?
list
:
arr
}
).
catch
(
err
=>
{
notice
.
errorTips
(
err
)
...
...
src/views/customer/businessGroupDetail/index.vue
View file @
7b55dc6
...
...
@@ -309,7 +309,7 @@ export default {
}
},
merchantDetail
(
merchantId
)
{
this
.
$root
.
to
([
'商户数据平台'
,
'商户数据
平台'
,
'商户数据平台'
,
'商户列表
'
,
'*商户详情'
],
{
merchantId
:
merchantId
})
this
.
$root
.
to
([
'商户数据平台'
,
'商户数据
管理'
,
'商户数据'
,
'商户列表管理
'
,
'*商户详情'
],
{
merchantId
:
merchantId
})
}
}
}
...
...
src/views/customer/businessList/index.vue
View file @
7b55dc6
...
...
@@ -135,7 +135,7 @@ export default {
label
:
'详情'
,
type
:
'text'
,
callback
:
(
index
,
rows
)
=>
{
this
.
$root
.
to
([
'商户数据平台'
,
'商户数据
平台'
,
'商户数据平台'
,
'商户列表
'
,
'*商户详情'
],
{
merchantId
:
rows
[
index
].
merchantId
})
this
.
$root
.
to
([
'商户数据平台'
,
'商户数据
管理'
,
'商户数据'
,
'商户列表管理
'
,
'*商户详情'
],
{
merchantId
:
rows
[
index
].
merchantId
})
}
}]
},
...
...
@@ -171,7 +171,7 @@ export default {
params
.
method
=
bizMethods
.
Search
request
.
req
(
params
).
then
(
res
=>
{
this
.
ListTableData
.
data
=
res
.
merchants
this
.
totalCount
=
res
.
pagination
.
totalCount
res
.
pagination
&&
(
this
.
totalCount
=
res
.
pagination
.
totalCount
)
resetSearch
(
this
.
merchantSearch
)
this
.
tableLoading
=
false
}).
catch
(
err
=>
{
...
...
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