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 977a2105
authored
Mar 29, 2019
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of 192.168.3.233:glsx-web/glsx-oss-merchant-data
2 parents
9ae2078f
627a9fe2
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
32 additions
and
27 deletions
src/views/customer/businessDetails/index.vue
src/views/customer/businessGroup/index.vue
src/views/customer/businessGroupDetail/index.vue
src/views/customer/businessList/AddDialog.vue
src/views/customer/businessList/SearchDialog.vue
src/views/customer/businessList/index.vue
src/views/customer/businessManagement/index.vue
src/views/customer/businessDetails/index.vue
View file @
977a210
...
...
@@ -348,7 +348,8 @@ export default {
this
.
IdChange
[
0
]
=
0
}).
catch
(
err
=>
{
this
.
IdChange
[
0
]
=
0
notice
.
errorTips
(
err
)
console
.
log
(
err
)
notice
.
errorTips
(
'查询失败'
)
})
},
assignBasicInfo
()
{
...
...
@@ -375,10 +376,10 @@ export default {
this
.
staffTableData
.
data
=
res
.
merchantPersonals
this
.
IdChange
[
1
]
=
0
this
.
staffLoading
=
false
}).
catch
(
err
=>
{
}).
catch
(
()
=>
{
this
.
IdChange
[
1
]
=
0
this
.
staffLoading
=
false
notice
.
errorTips
(
err
)
notice
.
errorTips
(
'查询失败'
)
})
},
// 分组信息
...
...
@@ -389,10 +390,10 @@ export default {
this
.
groupTableData
.
data
=
res
.
merchantGroups
this
.
IdChange
[
2
]
=
0
this
.
groupLoading
=
false
}).
catch
(
err
=>
{
}).
catch
(
()
=>
{
this
.
IdChange
[
2
]
=
0
this
.
groupLoading
=
false
notice
.
errorTips
(
err
)
notice
.
errorTips
(
'查询失败'
)
})
},
// 分组信息-详情
...
...
@@ -403,8 +404,8 @@ export default {
request
.
req
(
params
).
then
(
res
=>
{
res
.
parentMerchantLevel
&&
(
this
.
parentLevelTableData
.
data
=
[
res
.
parentMerchantLevel
])
res
.
childMerchantLevels
&&
(
this
.
childLevelTableData
.
data
=
res
.
childMerchantLevels
)
}).
catch
(
err
=>
{
notice
.
errorTips
(
err
)
}).
catch
(
()
=>
{
notice
.
errorTips
(
'查询失败'
)
})
},
detailVisible
()
{
...
...
src/views/customer/businessGroup/index.vue
View file @
977a210
...
...
@@ -8,6 +8,7 @@
>
新增分组
</gl-button>
</div>
<gl-table
class=
"m-b10"
:table=
"tableData"
v-loading=
"tableLoading"
>
</gl-table>
...
...
@@ -18,7 +19,7 @@
:current-page=
"pageNum"
:page-sizes=
"[10,20,30,40]"
:page-size=
"pageSize"
layout=
"
sizes, total
, ->, prev, pager, next, jumper"
layout=
"
total, sizes
, ->, prev, pager, next, jumper"
:total=
"total"
></gl-pagination>
<gl-dialog
...
...
src/views/customer/businessGroupDetail/index.vue
View file @
977a210
...
...
@@ -36,7 +36,7 @@
:current-page=
"pageNum"
:page-sizes=
"[10,20,30,40]"
:page-size=
"pageSize"
layout=
"
sizes, total
, ->, prev, pager, next, jumper"
layout=
"
total, sizes
, ->, prev, pager, next, jumper"
:total=
"total"
>
</gl-pagination>
...
...
src/views/customer/businessList/AddDialog.vue
View file @
977a210
...
...
@@ -9,11 +9,11 @@
:close-on-click-modal=
"false"
>
<gl-form
label-width=
"
85
px"
label-width=
"
90
px"
:model=
"merchantForm"
:rules=
"rules"
>
<gl-form-item
label=
"商户名称
:
"
>
<gl-form-item
label=
"商户名称
"
prop=
"merchantName
"
>
<gl-input
v-model=
"merchantForm.merchantName"
placeholder=
"请输入商户名称"
...
...
@@ -24,7 +24,7 @@
></gl-input>
<span
v-show=
"errorBags.has('name')"
class=
"error"
>
{{
errorBags
.
first
(
'name'
)
}}
</span>
</gl-form-item>
<gl-form-item
label=
"商户地址
:
"
>
<gl-form-item
label=
"商户地址
"
prop=
"address
"
>
<city-area
ref=
"c"
:showCity=
"showCity"
...
...
@@ -45,7 +45,7 @@
</gl-input>
<span
v-show=
"errorBags.has('address')"
class=
"error"
>
{{
errorBags
.
first
(
'address'
)
}}
</span>
</gl-form-item>
<gl-form-item
label=
"商户渠道
:
"
>
<gl-form-item
label=
"商户渠道
"
prop=
"merchantChannel
"
>
<gl-select
v-model=
"merchantForm.merchantChannel"
placeholder=
"请选择"
...
...
@@ -62,7 +62,7 @@
</gl-select>
<span
v-show=
"errorBags.has('merchantChannel')"
class=
"error"
>
{{
errorBags
.
first
(
'merchantChannel'
)
}}
</span>
</gl-form-item>
<gl-form-item
label=
"联系人
:
"
>
<gl-form-item
label=
"联系人
"
prop=
"contactor
"
>
<gl-input
v-model=
"merchantForm.contactor"
placeholder=
"请输入联系人姓名"
...
...
@@ -73,7 +73,7 @@
></gl-input>
<span
v-show=
"errorBags.has('contactor')"
class=
"error"
>
{{
errorBags
.
first
(
'contactor'
)
}}
</span>
</gl-form-item>
<gl-form-item
label=
"手机号码
:
"
>
<gl-form-item
label=
"手机号码
"
prop=
"contactPhone
"
>
<gl-input
v-model=
"merchantForm.contactPhone"
placeholder=
"请输入联系人手机号码"
...
...
src/views/customer/businessList/SearchDialog.vue
View file @
977a210
...
...
@@ -10,9 +10,9 @@
>
<gl-form
:model=
"merchantSearch"
label-width=
"
85
px"
label-width=
"
90
px"
>
<gl-form-item
label=
"商户名称
:
"
>
<gl-form-item
label=
"商户名称"
>
<gl-input
v-model=
"merchantSearch.name"
placeholder=
"请输入商户名称"
...
...
@@ -20,7 +20,7 @@
></gl-input>
</gl-form-item>
<gl-col
:span=
"12"
>
<gl-form-item
label=
"商户号
:
"
>
<gl-form-item
label=
"商户号"
>
<gl-input
v-model=
"merchantSearch.merchantId"
placeholder=
"请输入商户号"
...
...
@@ -29,7 +29,7 @@
</gl-form-item>
</gl-col>
<gl-col
:span=
"12"
>
<gl-form-item
label=
"地区
:
"
>
<gl-form-item
label=
"地区"
>
<city-area
:showCity=
"showCity"
:eventBus=
"eventBus"
...
...
@@ -38,7 +38,7 @@
</gl-form-item>
</gl-col>
<gl-col
:span=
"12"
>
<gl-form-item
label=
"渠道
:
"
>
<gl-form-item
label=
"渠道"
>
<gl-select
style=
"width: 100%;"
v-model=
"merchantSearch.merchantChannel"
...
...
@@ -55,7 +55,7 @@
</gl-form-item>
</gl-col>
<gl-col
:span=
"12"
>
<gl-form-item
label=
"状态
:
"
>
<gl-form-item
label=
"状态"
>
<gl-select
style=
"width: 100%;"
v-model=
"merchantSearch.merchantStatus"
...
...
@@ -71,7 +71,7 @@
</gl-form-item>
</gl-col>
<gl-col>
<gl-form-item
label=
"注册时间
:
"
>
<gl-form-item
label=
"注册时间"
>
<gl-col
:span=
"11"
>
<gl-date-picker
v-model=
"merchantSearch.times"
...
...
src/views/customer/businessList/index.vue
View file @
977a210
...
...
@@ -20,7 +20,7 @@
:current-page
.
sync=
"pageNum"
:page-sizes=
"[10, 20, 30, 40]"
:page-size=
"pageSize"
layout=
"
sizes, total
, ->, prev, pager, next, jumper"
layout=
"
total, sizes
, ->, prev, pager, next, jumper"
:total=
"totalCount"
>
</gl-pagination>
...
...
@@ -175,7 +175,8 @@ export default {
resetSearch
(
this
.
merchantSearch
)
this
.
tableLoading
=
false
}).
catch
(
err
=>
{
notice
.
errorTips
(
err
)
console
.
log
(
err
)
notice
.
errorTips
(
'查询失败'
)
resetSearch
(
this
.
merchantSearch
)
this
.
tableLoading
=
false
})
...
...
@@ -190,7 +191,7 @@ export default {
this
.
loadingGetList
()
}).
catch
(
err
=>
{
console
.
log
(
err
)
notice
.
errorTips
(
err
)
notice
.
errorTips
(
'新增失败'
)
})
},
// 接口请求-end
...
...
src/views/customer/businessManagement/index.vue
View file @
977a210
...
...
@@ -149,8 +149,9 @@ export default {
this
.
tableData
.
data
=
res
.
merchantDictList
this
.
tableLoading
=
false
}).
catch
(
err
=>
{
console
.
log
(
err
)
this
.
tableLoading
=
false
notice
.
errorTips
(
err
)
notice
.
errorTips
(
'查询失败'
)
})
},
businessCreate
()
{
...
...
@@ -161,7 +162,8 @@ export default {
this
.
showDialog
()
this
.
loadingGetList
()
}).
catch
(
err
=>
{
notice
.
errorTips
(
err
)
console
.
log
(
err
)
notice
.
errorTips
(
'新增失败'
)
})
}
}
...
...
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