Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
glsx-oss-renewal
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 1a27cc4a
authored
Aug 02, 2022
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
订单管理
1 parent
61943411
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
257 additions
and
102 deletions
src/views/insurance/order/index.vue
src/views/integrate/certification/index.vue
src/views/insurance/order/index.vue
View file @
1a27cc4
<!-- -->
<!-- -->
<
template
>
<
template
>
<div>
<div>
订单管理列表
<div>
<el-form
:inline=
"true"
:model=
"searchForm"
>
<el-form-item
label=
"订单编号:"
>
<el-input
v-model=
"searchForm.orderNo"
size=
"small"
placeholder=
"请输入订单编码"
></el-input>
</el-form-item>
<el-form-item
label=
"客户姓名:"
>
<el-input
v-model=
"searchForm.name"
size=
"small"
placeholder=
"请输入客户姓名"
></el-input>
</el-form-item>
<el-form-item
label=
"手机号:"
>
<el-input
v-model=
"searchForm.phoneNum"
size=
"small"
placeholder=
"请输入手机号"
></el-input>
</el-form-item>
<el-form-item
label=
"车牌号:"
>
<el-input
v-model=
"searchForm.carNum"
size=
"small"
placeholder=
"请输入车牌号"
></el-input>
</el-form-item>
<el-form-item
label=
"所属商户:"
>
<el-input
v-model=
"searchForm.merchantName"
size=
"small"
placeholder=
"请输入商户名称"
></el-input>
</el-form-item>
<el-form-item
label=
"订单时间:"
>
<el-date-picker
v-model=
"searchForm.orderTime"
type=
"daterange"
size=
"small"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
>
</el-date-picker>
</el-form-item>
<el-form-item
label=
"业务归属机构:"
>
<el-input
v-model=
"searchForm.orgnization"
size=
"small"
placeholder=
"请输入业务归属机构"
></el-input>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
size=
"small"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
plain
size=
"small"
@
click=
"handleReset"
>
重置
</el-button>
</el-form-item>
</el-form>
</div>
<el-button
type=
"primary"
>
导出
</el-button>
<div>
<d2-table
ref=
"certificationTable"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:tableData=
"tableData"
>
<div
slot=
"authStatus"
slot-scope=
"scope"
>
<span
v-if=
"scope.scope.authStatus == 1"
>
已认证
</span>
<span
v-if=
"scope.scope.authStatus == 0"
>
未认证
</span>
</div>
<template
slot=
"auth-button"
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"handleViewDetail(scope.scope)"
>
查看详情
</el-button>
</
template
>
</d2-table>
</div>
</div>
</div>
</template>
</template>
...
@@ -9,6 +61,101 @@
...
@@ -9,6 +61,101 @@
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
searchForm
:
{
orderNo
:
''
,
name
:
''
,
phoneNum
:
''
,
carNum
:
''
,
merchantName
:
''
,
orderTime
:
''
,
orgnization
:
''
},
// 表格参数
tableParams
:
{
listName
:
'data'
,
tableOption
:
true
,
tableColumns
:
[
{
label
:
'订单编号'
,
prop
:
'orderNo'
},
{
label
:
'订单时间'
,
prop
:
'orderTime'
},
{
label
:
'客户姓名'
,
prop
:
'name'
},
{
label
:
'手机号'
,
prop
:
'phoneNum'
},
{
label
:
'车牌号'
,
prop
:
'carNum'
},
{
label
:
'总保费金额'
,
prop
:
'price'
},
{
label
:
'所属商户'
,
prop
:
'merchant'
},
{
label
:
'业务归属机构'
,
prop
:
'orgnization'
}
]
},
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageNum'
,
totalCount
:
'count'
},
tableData
:
[
{
id
:
'1'
,
orderNo
:
'xxxxxx'
,
orderTime
:
'2022-2-5'
,
name
:
'kyq'
,
phoneNum
:
'188585894'
,
carNum
:
'A12345'
,
price
:
'¥1000.00'
,
merchant
:
'我是商户名称1'
,
orgnization
:
'四川分公司'
},
{
id
:
'2'
,
orderNo
:
'xxxxxx'
,
orderTime
:
'2022-8-5'
,
name
:
'hezzzzz'
,
phoneNum
:
'188585894'
,
carNum
:
'A12345'
,
price
:
'¥1000.00'
,
merchant
:
'我是商户名称2'
,
orgnization
:
'四川分公司'
}
]
}
},
methods
:
{
// 搜索框搜索
handleSearch
()
{},
// 重置搜索框搜索
handleReset
()
{
this
.
searchForm
=
{
orderNo
:
''
,
name
:
''
,
phoneNum
:
''
,
carNum
:
''
,
merchantName
:
''
,
orderTime
:
''
,
orgnization
:
''
}
this
.
handleSearch
()
}
}
}
}
}
}
...
...
src/views/integrate/certification/index.vue
View file @
1a27cc4
...
@@ -3,17 +3,17 @@
...
@@ -3,17 +3,17 @@
<div>
<div>
<el-form
:inline=
"true"
:model=
"searchForm"
>
<el-form
:inline=
"true"
:model=
"searchForm"
>
<el-form-item
label=
"客户姓名:"
>
<el-form-item
label=
"客户姓名:"
>
<el-input
v-model=
"searchForm.
customerN
ame"
size=
"small"
placeholder=
"请输入客户姓名"
></el-input>
<el-input
v-model=
"searchForm.
n
ame"
size=
"small"
placeholder=
"请输入客户姓名"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"手机号:"
>
<el-form-item
label=
"手机号:"
>
<el-input
v-model=
"searchForm.
phoneNumber
"
size=
"small"
placeholder=
"请输入手机号"
></el-input>
<el-input
v-model=
"searchForm.
mobile
"
size=
"small"
placeholder=
"请输入手机号"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"车牌号:"
>
<el-form-item
label=
"车牌号:"
>
<el-input
v-model=
"searchForm.
carNumber
"
size=
"small"
placeholder=
"请输入车牌号"
></el-input>
<el-input
v-model=
"searchForm.
plateNo
"
size=
"small"
placeholder=
"请输入车牌号"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"状态:"
>
<el-form-item
label=
"状态:"
>
<el-select
v-model=
"searchForm.
s
tatus"
size=
"small"
placeholder=
"全部"
>
<el-select
v-model=
"searchForm.
authS
tatus"
size=
"small"
placeholder=
"全部"
>
<
!--
<el-option
v-for=
"item in options"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
--
>
<
el-option
v-for=
"item in statusOptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option
>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
...
@@ -29,12 +29,12 @@
...
@@ -29,12 +29,12 @@
:pageConf=
"pageConf"
:pageConf=
"pageConf"
:tableData=
"tableData"
:tableData=
"tableData"
>
>
<div
slot=
"
s
tatus"
slot-scope=
"scope"
>
<div
slot=
"
authS
tatus"
slot-scope=
"scope"
>
<span
v-if=
"scope.scope.
s
tatus == 1"
>
已认证
</span>
<span
v-if=
"scope.scope.
authS
tatus == 1"
>
已认证
</span>
<span
v-if=
"scope.scope.
s
tatus == 0"
>
未认证
</span>
<span
v-if=
"scope.scope.
authS
tatus == 0"
>
未认证
</span>
</div>
</div>
<template
slot=
"auth-button"
slot-scope=
"scope"
>
<template
slot=
"auth-button"
slot-scope=
"scope"
>
<el-button
v-if=
"scope.scope.
status == 1
"
type=
"text"
@
click=
"handleCertificate(scope.scope)"
>
认证
</el-button>
<el-button
v-if=
"scope.scope.
authStatus == 0
"
type=
"text"
@
click=
"handleCertificate(scope.scope)"
>
认证
</el-button>
<el-button
v-else
type=
"text"
@
click=
"handleConversion(scope.scope)"
>
积分兑换
</el-button>
<el-button
v-else
type=
"text"
@
click=
"handleConversion(scope.scope)"
>
积分兑换
</el-button>
</
template
>
</
template
>
</d2-table>
</d2-table>
...
@@ -56,12 +56,12 @@
...
@@ -56,12 +56,12 @@
<div
class=
"change-number"
>
兑换积分值:
</div>
<div
class=
"change-number"
>
兑换积分值:
</div>
</div>
</div>
<div
class=
"integral-right"
>
<div
class=
"integral-right"
>
<div>
{{conversionInfo.customerName}}
</div>
<div>
{{conversionInfo.phoneNumber}}
</div>
<div>
{{conversionInfo.carNumber}}
</div>
<div>
{{conversionInfo.bank}}
</div>
<div>
{{conversionInfo.cardNumber}}
</div>
<div>
{{conversionInfo.name}}
</div>
<div>
{{conversionInfo.name}}
</div>
<div>
{{conversionInfo.mobile}}
</div>
<div>
{{conversionInfo.plateNo}}
</div>
<div>
{{conversionInfo.bankName}}
</div>
<div>
{{conversionInfo.bankNo}}
</div>
<div>
{{conversionInfo.cardName}}
</div>
<div>
<div>
<el-input
size=
"small"
v-model=
"integralInput"
clearable
placeholder=
"请输入发放积分值"
oninput =
"value=value.replace(/^(0+)|[^\d]+/g,'')"
></el-input>
<el-input
size=
"small"
v-model=
"integralInput"
clearable
placeholder=
"请输入发放积分值"
oninput =
"value=value.replace(/^(0+)|[^\d]+/g,'')"
></el-input>
</div>
</div>
...
@@ -78,16 +78,26 @@
...
@@ -78,16 +78,26 @@
<
script
>
<
script
>
import
{
integrateApi
}
from
'@/api/integrate'
import
{
integrateApi
}
from
'@/api/integrate'
const
statusOptions
=
[
{
value
:
1
,
label
:
'已认证'
},
{
value
:
0
,
label
:
'未认证'
}
]
export
default
{
export
default
{
name
:
'Certification'
,
name
:
'Certification'
,
data
()
{
data
()
{
return
{
return
{
statusOptions
,
searchForm
:
{
searchForm
:
{
customerN
ame
:
''
,
n
ame
:
''
,
phoneNumber
:
''
,
mobile
:
''
,
carNumber
:
''
,
plateNo
:
''
,
s
tatus
:
''
authS
tatus
:
''
},
},
// 积分兑换弹框显示
// 积分兑换弹框显示
dialogVisible
:
false
,
dialogVisible
:
false
,
...
@@ -102,48 +112,48 @@ export default {
...
@@ -102,48 +112,48 @@ export default {
tableColumns
:
[
tableColumns
:
[
{
{
label
:
'客户姓名'
,
label
:
'客户姓名'
,
prop
:
'
customerN
ame'
prop
:
'
n
ame'
},
},
{
{
label
:
'手机号'
,
label
:
'手机号'
,
prop
:
'
phoneNumber
'
prop
:
'
mobile
'
},
},
{
{
label
:
'车牌号'
,
label
:
'车牌号'
,
prop
:
'
carNumber
'
prop
:
'
plateNo
'
},
},
{
{
label
:
'开户银行'
,
label
:
'开户银行'
,
prop
:
'bank'
prop
:
'bank
Name
'
},
},
{
{
label
:
'银行卡号'
,
label
:
'银行卡号'
,
prop
:
'
cardNumber
'
prop
:
'
bankNo
'
},
},
{
{
label
:
'持卡人'
,
label
:
'持卡人'
,
prop
:
'
n
ame'
prop
:
'
cardN
ame'
},
},
{
{
label
:
'申请时间'
,
label
:
'申请时间'
,
prop
:
'
tim
e'
prop
:
'
createdDat
e'
},
},
{
{
label
:
'关联订单'
,
label
:
'关联订单'
,
prop
:
'order'
prop
:
'order
CodeList
'
},
},
{
{
label
:
'状态'
,
label
:
'状态'
,
prop
:
'
s
tatus'
,
prop
:
'
authS
tatus'
,
addHtml
:
'
s
tatus'
addHtml
:
'
authS
tatus'
},
},
{
{
label
:
'认证人'
,
label
:
'认证人'
,
prop
:
'
person
'
prop
:
'
authUserName
'
},
},
{
{
label
:
'认证时间'
,
label
:
'认证时间'
,
prop
:
'
certiTim
e'
prop
:
'
authDat
e'
}
}
]
]
},
},
...
@@ -156,73 +166,73 @@ export default {
...
@@ -156,73 +166,73 @@ export default {
tableData
:
[
tableData
:
[
{
{
id
:
1
,
id
:
1
,
customerN
ame
:
'kyky'
,
n
ame
:
'kyky'
,
phoneNumber
:
'19515864585'
,
mobile
:
'19515864585'
,
carNumber
:
'111'
,
plateNo
:
'111'
,
bank
:
'招商银行'
,
bank
Name
:
'招商银行'
,
cardNumber
:
'4582569452'
,
bankNo
:
'4582569452'
,
n
ame
:
'kkk'
,
cardN
ame
:
'kkk'
,
tim
e
:
'2022-5-8'
,
createdDat
e
:
'2022-5-8'
,
order
:
'glsx'
,
order
CodeList
:
'glsx'
,
s
tatus
:
1
,
authS
tatus
:
1
,
person
:
'认证ren'
,
authUserName
:
'认证ren'
,
certiTim
e
:
'2022-8-1'
authDat
e
:
'2022-8-1'
},
},
{
{
id
:
2
,
id
:
2
,
customerN
ame
:
'kyky'
,
n
ame
:
'kyky'
,
phoneNumber
:
'19515864585'
,
mobile
:
'19515864585'
,
carNumber
:
'111'
,
plateNo
:
'111'
,
bank
:
'招商银行'
,
bank
Name
:
'招商银行'
,
cardNumber
:
'4582569452'
,
bankNo
:
'4582569452'
,
n
ame
:
'kkk'
,
cardN
ame
:
'kkk'
,
tim
e
:
'2022-5-8'
,
createdDat
e
:
'2022-5-8'
,
order
:
'glsx'
,
order
CodeList
:
'glsx'
,
s
tatus
:
1
,
authS
tatus
:
1
,
person
:
'认证ren'
,
authUserName
:
'认证ren'
,
certiTim
e
:
'2022-8-1'
authDat
e
:
'2022-8-1'
},
},
{
{
id
:
3
,
id
:
3
,
customerN
ame
:
'kyky'
,
n
ame
:
'kyky'
,
phoneNumber
:
'19515864585'
,
mobile
:
'19515864585'
,
carNumber
:
'111'
,
plateNo
:
'111'
,
bank
:
'招商银行'
,
bank
Name
:
'招商银行'
,
cardNumber
:
'4582569452'
,
bankNo
:
'4582569452'
,
n
ame
:
'kkk'
,
cardN
ame
:
'kkk'
,
tim
e
:
'2022-5-8'
,
createdDat
e
:
'2022-5-8'
,
order
:
'glsx'
,
order
CodeList
:
'glsx'
,
status
:
0
,
authStatus
:
1
,
person
:
'认证ren'
,
authUserName
:
'认证ren'
,
certiTim
e
:
'2022-8-1'
authDat
e
:
'2022-8-1'
},
},
{
{
id
:
4
,
id
:
4
,
customerN
ame
:
'kyky'
,
n
ame
:
'kyky'
,
phoneNumber
:
'19515864585'
,
mobile
:
'19515864585'
,
carNumber
:
'111'
,
plateNo
:
'111'
,
bank
:
'招商
银行'
,
bank
Name
:
'平安
银行'
,
cardNumber
:
'4582569452'
,
bankNo
:
'4582569452'
,
n
ame
:
'kkk'
,
cardN
ame
:
'kkk'
,
tim
e
:
'2022-5-8'
,
createdDat
e
:
'2022-5-8'
,
order
:
'glsx'
,
order
CodeList
:
'glsx'
,
s
tatus
:
0
,
authS
tatus
:
0
,
person
:
'认证ren'
,
authUserName
:
'认证ren'
,
certiTim
e
:
'2022-8-1'
authDat
e
:
'2022-8-1'
},
},
{
{
id
:
5
,
id
:
5
,
customerN
ame
:
'kyky'
,
n
ame
:
'kyky'
,
phoneNumber
:
'19515864585'
,
mobile
:
'19515864585'
,
carNumber
:
'111'
,
plateNo
:
'111'
,
bank
:
'招商银行'
,
bank
Name
:
'招商银行'
,
cardNumber
:
'4582569452'
,
bankNo
:
'4582569452'
,
n
ame
:
'kkk'
,
cardN
ame
:
'kkk'
,
tim
e
:
'2022-5-8'
,
createdDat
e
:
'2022-5-8'
,
order
:
'glsx'
,
order
CodeList
:
'glsx'
,
status
:
1
,
authStatus
:
0
,
person
:
'认证ren'
,
authUserName
:
'认证ren'
,
certiTim
e
:
'2022-8-1'
authDat
e
:
'2022-8-1'
}
}
]
]
// getListApi:functionApi.getListApi
// getListApi:functionApi.getListApi
...
@@ -234,25 +244,23 @@ export default {
...
@@ -234,25 +244,23 @@ export default {
},
},
methods
:
{
methods
:
{
listCustomizedAgentWithPage
()
{
// listCustomizedAgentWithPage() {
var
params
=
{
// var params = JSON.parse(JSON.stringify(this.searchForm))
pageNum
:
1
,
// params.pageNum = 1,
pageSize
:
10
// params.pageSize = 10
}
// integrateApi.listCustomizedAgentWithPage(params).then(res => {
integrateApi
.
listCustomizedAgentWithPage
(
params
).
then
(
res
=>
{
// console.log(res)
console
.
log
(
res
)
// })
})
// },
},
// 搜索框搜索
// 搜索框搜索
handleSearch
()
{
handleSearch
()
{},
this
.
$refs
.
accountTable
.
refreshTable
()
},
// 重置搜索框搜索
// 重置搜索框搜索
handleReset
()
{
handleReset
()
{
this
.
searchForm
=
{
this
.
searchForm
=
{
isBuyPermit
:
''
,
name
:
''
,
merchantId
:
''
,
mobile
:
''
,
merchantName
:
''
plateNo
:
''
,
authStatus
:
''
}
}
this
.
handleSearch
()
this
.
handleSearch
()
},
},
...
...
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