Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mingPayPc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fengzhaoyu
mingPayPc
Commits
35bc1f6e
Commit
35bc1f6e
authored
5 years ago
by
liang ce
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改zbug
parent
3e004a7c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
12 deletions
+17
-12
config.js
src/api/config.js
+2
-2
AccountManagement.vue
src/components/pages/PaymentManagement/AccountManagement.vue
+12
-7
AllowancePayment.vue
src/components/pages/PaymentManagement/AllowancePayment.vue
+1
-1
RechargeRecord.vue
src/components/pages/PaymentManagement/RechargeRecord.vue
+1
-1
RecordsOfConsumption.vue
...mponents/pages/PaymentManagement/RecordsOfConsumption.vue
+1
-1
No files found.
src/api/config.js
View file @
35bc1f6e
...
...
@@ -10,7 +10,7 @@ const config = {
url
:
MINGPAY_CONSTANT
.
MINGPAY_CONSTANT_URL
,
agentId
:
MINGPAY_CONSTANT
.
MINGPAY_CONSTANT_AGENTID
})
return
axios
.
post
(
`http://1
92.168.1.193
:8300/v1/auth/getJsAuthenticationParameter?
${
senddate
}
`
).
then
((
res
)
=>
{
return
axios
.
post
(
`http://1
39.196.213.18
:8300/v1/auth/getJsAuthenticationParameter?
${
senddate
}
`
).
then
((
res
)
=>
{
let
agentId
=
res
.
data
.
data
.
agentId
let
timeStamp
=
res
.
data
.
data
.
timeStamp
let
nonceStr
=
res
.
data
.
data
.
nonceStr
...
...
@@ -56,7 +56,7 @@ const config = {
code
:
info
.
code
,
corpId
:
'ding9a93ca550f036ffe35c2f4657eb6378f'
})
return
axios
.
post
(
`http://1
92.168.1.193
:8300/v1/auth/token?
${
senddate
}
`
).
then
((
res
)
=>
{
return
axios
.
post
(
`http://1
39.196.213.18
:8300/v1/auth/token?
${
senddate
}
`
).
then
((
res
)
=>
{
console
.
log
(
res
)
if
(
res
.
data
.
resultCode
===
'0'
)
{
sessionStorage
.
setItem
(
'token'
,
res
.
data
.
data
.
accessToken
.
access_token
)
...
...
This diff is collapsed.
Click to expand it.
src/components/pages/PaymentManagement/AccountManagement.vue
View file @
35bc1f6e
...
...
@@ -3,12 +3,12 @@
<div
class=
"searchBox"
>
<a-input
placeholder=
"选择成员"
@
click=
"choosePeople"
style=
"width: 120px"
/>
<a-input
placeholder=
"输入卡号"
v-model=
"searchSource.cardNum"
style=
"width: 120px"
/>
<a-select
defaultValue=
"卡片状态"
style=
"width: 120px;margin-right: 20px;"
notFoundContent=
"asdasd
"
:allowClear=
"true"
@
change=
"selectHandleChangeCard"
>
<a-select
placeholder=
"卡片状态"
style=
"width: 120px;margin-right: 20px;
"
:allowClear=
"true"
@
change=
"selectHandleChangeCard"
>
<a-select-option
value=
"ACTIVE"
>
已绑卡
</a-select-option>
<a-select-option
value=
"NOT_EXIST"
>
未绑卡
</a-select-option>
<a-select-option
value=
"UNACTIVE"
>
已冻结
</a-select-option>
</a-select>
<a-select
defaultValue
=
"账户状态"
style=
"width: 120px;margin-right: 20px;"
:allowClear=
"true"
@
change=
"selectHandleChangeAccount"
>
<a-select
placeholder
=
"账户状态"
style=
"width: 120px;margin-right: 20px;"
:allowClear=
"true"
@
change=
"selectHandleChangeAccount"
>
<a-select-option
value=
"ACTIVE"
>
使用中
</a-select-option>
<a-select-option
value=
"LOG_OFF"
>
已冻结并结现
</a-select-option>
</a-select>
...
...
@@ -27,10 +27,11 @@
{{
departmentNameListToStr
(
departmentNameList
)
}}
</span>
<span
slot=
"realityBalance"
>
余额
</span>
<span
slot=
"cardNo"
slot-scope=
"cardNo
, record
"
>
<span
slot=
"cardNo"
slot-scope=
"cardNo"
>
{{
cardNo
?
cardNo
:
'未绑卡'
}}
<br/>
{{
cardNo
?
record
.
cardStatus
===
'UNACTIVE'
?
'已冻结'
:
'使用中'
:
''
}}
</span>
<span
slot=
"cardStatus"
slot-scope=
"cardStatus, record"
>
{{
record
.
cardNo
?
cardStatus
===
'UNACTIVE'
?
'已冻结'
:
'使用中'
:
''
}}
</span>
<span
slot=
"status"
slot-scope=
"status"
>
<!--
{{
status
===
MINGPAY_ACCOUNT_STATUS
.
ACTIVE
?
'使用中'
:
'已注销并结现'
}}
-->
...
...
@@ -123,10 +124,14 @@ export default {
title
:
'余额'
,
dataIndex
:
'realityBalance'
},
{
title
:
'实体卡
状态
'
,
title
:
'实体卡
卡号
'
,
dataIndex
:
'cardNo'
,
scopedSlots
:
{
customRender
:
'cardNo'
}
},
{
title
:
'实体卡状态'
,
dataIndex
:
'cardStatus'
,
scopedSlots
:
{
customRender
:
'cardStatus'
}
},
{
title
:
'账户状态'
,
dataIndex
:
'status'
,
scopedSlots
:
{
customRender
:
'status'
}
...
...
@@ -330,7 +335,7 @@ export default {
$http
.
get
(
`/v1/account/
${
url
}
?
${
accountOperationData
}
`
).
then
((
res
)
=>
{
if
(
res
.
data
.
message
===
'SUCCESS'
)
{
this
.
queryAccountList
()
this
.
$message
.
success
(
'
操作成功
'
)
this
.
$message
.
success
(
'
充值已提交,审批中请耐心等待
'
)
}
}).
catch
(()
=>
{
this
.
$message
.
error
(
'修改失败'
)
...
...
This diff is collapsed.
Click to expand it.
src/components/pages/PaymentManagement/AllowancePayment.vue
View file @
35bc1f6e
<
template
>
<div
class=
"AllowancePayment"
>
<div
class=
"searchBox"
>
<a-select
defaultValue=
"津贴类型
"
style=
"width: 120px;margin-right: 20px;"
@
change=
"selectHandType"
>
<a-select
placeholder=
"津贴类型"
:allowClear=
"true
"
style=
"width: 120px;margin-right: 20px;"
@
change=
"selectHandType"
>
<a-select-option
value=
"travel"
>
交通补助
</a-select-option>
<a-select-option
value=
"meal"
>
餐补
</a-select-option>
</a-select>
...
...
This diff is collapsed.
Click to expand it.
src/components/pages/PaymentManagement/RechargeRecord.vue
View file @
35bc1f6e
...
...
@@ -3,7 +3,7 @@
<div
class=
"searchBox"
>
<a-input
placeholder=
"选择成员"
@
click=
"choosePeople"
/>
<!--
<a-input
placeholder=
"经办人"
/>
-->
<a-select
defaultValue=
"状态
"
style=
"width: 120px;margin-right: 20px;"
@
change=
"selectHandlestatus"
>
<a-select
placeholder=
"状态"
:allowClear=
"true
"
style=
"width: 120px;margin-right: 20px;"
@
change=
"selectHandlestatus"
>
<!--
<a-select-option
value=
"WAITING_PAYMENT"
>
等待支付
</a-select-option>
-->
<a-select-option
value=
"SUCCESS"
>
已完成
</a-select-option>
<a-select-option
value=
"WAITING_PERMIT"
>
审批中
</a-select-option>
...
...
This diff is collapsed.
Click to expand it.
src/components/pages/PaymentManagement/RecordsOfConsumption.vue
View file @
35bc1f6e
...
...
@@ -2,7 +2,7 @@
<div
class=
"RecordsOfConsumption"
>
<div
class=
"searchBox"
>
<a-input
placeholder=
"消费人"
@
click=
"choosePeople"
style=
"width: 120px"
/>
<a-select
defaultValue=
"状态
"
style=
"width: 120px;margin-right: 20px;"
@
change=
"selectHandRecords"
>
<a-select
placeholder=
"状态"
:allowClear=
"true
"
style=
"width: 120px;margin-right: 20px;"
@
change=
"selectHandRecords"
>
<a-select-option
value=
"SUCCESS"
>
已消费
</a-select-option>
<a-select-option
value=
"WAITING_PERMIT"
>
退款审核中
</a-select-option>
<a-select-option
value=
"REFUND_SUCCESS"
>
已退款
</a-select-option>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment