Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
mongo-ui
Commits
d733b441
Commit
d733b441
authored
Aug 31, 2020
by
郝聪敏
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/fix_user_ui' into 'master'
fix: 添加"以保司为准”处理逻辑 See merge request
!164
parents
4938875b
fdbdee80
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
7 deletions
+17
-7
index.vue
src/views/Policy/PaymentRecord/index.vue
+3
-1
constants.js
src/views/Policy/constants.js
+4
-4
policyStatus.mixin.js
src/views/Policy/mixin/policyStatus.mixin.js
+9
-1
index.less
src/views/User/index.less
+1
-1
No files found.
src/views/Policy/PaymentRecord/index.vue
View file @
d733b441
...
@@ -107,7 +107,9 @@ export default {
...
@@ -107,7 +107,9 @@ export default {
result = {
result = {
titelText: `
共缴纳
$
{
this
.
record
.
totalPaidAmount
}
元
`,
titelText: `
共缴纳
$
{
this
.
record
.
totalPaidAmount
}
元
`,
refundTimeText: "保障已终止",
refundTimeText: "保障已终止",
amount: `
$
{
this
.
record
?.
refundAmount
||
0
}
元
`,
amount: [0, "0"].includes(this.record?.refundAmount)
? "以保司为准"
: `
$
{
this
.
record
?.
refundAmount
||
0
}
元
`,
amountText: "应退金额",
amountText: "应退金额",
termText: `
$
{
this
.
record
.
paidTerm
}
/${this.record.totalTerm}期`
,
termText: `
$
{
this
.
record
.
paidTerm
}
/${this.record.totalTerm}期`
,
delayTerm
:
`
${
this
.
record
.
delayTerm
}
期`
delayTerm
:
`
${
this
.
record
.
delayTerm
}
期`
...
...
src/views/Policy/constants.js
View file @
d733b441
...
@@ -59,7 +59,7 @@ const statusMap = {
...
@@ -59,7 +59,7 @@ const statusMap = {
},
},
"
6
"
:
{
"
6
"
:
{
status
:
[
"
7-5
"
],
status
:
[
"
7-5
"
],
title
:
"
退款金额:${title}
元
"
,
title
:
"
退款金额:${title}
"
,
contend
:
"
支付时间:${start}
"
,
contend
:
"
支付时间:${start}
"
,
statusText
:
"
退款中
"
,
statusText
:
"
退款中
"
,
buttons
:
[
"
联系客服
"
],
buttons
:
[
"
联系客服
"
],
...
@@ -73,7 +73,7 @@ const statusMap = {
...
@@ -73,7 +73,7 @@ const statusMap = {
},
},
"
7
"
:
{
"
7
"
:
{
status
:
[
"
4-5
"
,
"
5-5
"
],
status
:
[
"
4-5
"
,
"
5-5
"
],
title
:
"
退款金额:${title}
元
"
,
title
:
"
退款金额:${title}
"
,
contend
:
"
支付时间:${start}
"
,
contend
:
"
支付时间:${start}
"
,
statusText
:
"
退款中
"
,
statusText
:
"
退款中
"
,
buttons
:
[
"
联系客服
"
],
buttons
:
[
"
联系客服
"
],
...
@@ -87,7 +87,7 @@ const statusMap = {
...
@@ -87,7 +87,7 @@ const statusMap = {
},
},
"
8
"
:
{
"
8
"
:
{
status
:
[
"
4-6
"
,
"
5-6
"
,
"
7-6
"
],
status
:
[
"
4-6
"
,
"
5-6
"
,
"
7-6
"
],
title
:
"
退款金额:${title}
元
"
,
title
:
"
退款金额:${title}
"
,
contend
:
"
支付时间:${start}
"
,
contend
:
"
支付时间:${start}
"
,
statusText
:
"
退款成功
"
,
statusText
:
"
退款成功
"
,
buttons
:
[
"
联系客服
"
],
buttons
:
[
"
联系客服
"
],
...
@@ -101,7 +101,7 @@ const statusMap = {
...
@@ -101,7 +101,7 @@ const statusMap = {
},
},
"
9
"
:
{
"
9
"
:
{
status
:
[
"
4-7
"
,
"
5-7
"
,
"
7-7
"
,
"
9-7
"
],
status
:
[
"
4-7
"
,
"
5-7
"
,
"
7-7
"
,
"
9-7
"
],
title
:
"
退款金额:${title}
元
"
,
title
:
"
退款金额:${title}
"
,
contend
:
"
支付时间:${start}
"
,
contend
:
"
支付时间:${start}
"
,
statusText
:
"
退款失败
"
,
statusText
:
"
退款失败
"
,
buttons
:
[
"
联系客服
"
]
buttons
:
[
"
联系客服
"
]
...
...
src/views/Policy/mixin/policyStatus.mixin.js
View file @
d733b441
...
@@ -15,7 +15,15 @@ export default {
...
@@ -15,7 +15,15 @@ export default {
}
}
if
([
"
6
"
,
"
7
"
,
"
8
"
,
"
9
"
].
includes
(
key
))
{
if
([
"
6
"
,
"
7
"
,
"
8
"
,
"
9
"
].
includes
(
key
))
{
value
.
title
=
value
.
title
.
replace
(
"
${title}
"
,
policy
?.
refundInfo
?.
amount
||
"
-
"
);
// policy?.refundInfo?.amount 为0时特殊处理
if
([
0
,
"
0
"
].
includes
(
policy
?.
refundInfo
?.
amount
))
{
value
.
title
=
value
.
title
.
replace
(
"
${title}
"
,
"
以保司为准
"
);
}
else
{
value
.
title
=
value
.
title
.
replace
(
"
${title}
"
,
policy
?.
refundInfo
?.
amount
?
`
${
policy
?.
refundInfo
?.
amount
}
元
` : "-"
);
}
value.contend = value.contend.replace(
value.contend = value.contend.replace(
"
${
start
}
",
"
${
start
}
",
parseTime(policy?.refundInfo?.payTime, "{y}-{m}-{d}")
parseTime(policy?.refundInfo?.payTime, "{y}-{m}-{d}")
...
...
src/views/User/index.less
View file @
d733b441
...
@@ -296,7 +296,7 @@
...
@@ -296,7 +296,7 @@
display: flex;
display: flex;
flex-direction: column;
flex-direction: column;
align-items: center;
align-items: center;
margin
: 0 130px 82.92px;
padding
: 0 130px 82.92px;
font-size: 0;
font-size: 0;
&-svg {
&-svg {
margin-bottom: 8px;
margin-bottom: 8px;
...
...
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