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
1a5a3fa9
Commit
1a5a3fa9
authored
Aug 10, 2020
by
郭志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style: 语法检查
parent
aa88ae9c
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
27 additions
and
24 deletions
+27
-24
CustomerService.vue
src/views/Policy/Detail/modules/CustomerService.vue
+2
-2
PayCost.vue
src/views/Policy/Detail/modules/PayCost.vue
+5
-3
SecurityContent.vue
src/views/Policy/Detail/modules/SecurityContent.vue
+13
-13
StatusDesc.vue
src/views/Policy/Detail/modules/StatusDesc.vue
+4
-4
policyStatus.mixin.js
src/views/Policy/mixin/policyStatus.mixin.js
+1
-1
PolicyItem.vue
src/views/Policy/modules/PolicyItem.vue
+2
-1
No files found.
src/views/Policy/Detail/modules/CustomerService.vue
View file @
1a5a3fa9
...
@@ -18,8 +18,8 @@ export default {
...
@@ -18,8 +18,8 @@ export default {
},
},
methods
:
{
methods
:
{
goNext
(
type
)
{
goNext
(
type
)
{
if
(
type
===
'
home
'
)
{
if
(
type
===
"
home
"
)
{
this
.
$router
.
push
(
'
/home
'
)
this
.
$router
.
push
(
"
/home
"
);
}
}
}
}
}
}
...
...
src/views/Policy/Detail/modules/PayCost.vue
View file @
1a5a3fa9
<
template
>
<
template
>
<div
class=
"Pdb-payment"
>
<div
class=
"Pdb-payment"
>
<p
v-if=
"showTips"
class=
"Pdb-payment-title Pdb-payment-title_tips"
>
{{
payCostConfig
.
title
}}
</p>
<p
v-if=
"showTips"
class=
"Pdb-payment-title Pdb-payment-title_tips"
>
{{
payCostConfig
.
title
}}
</p>
<div
v-else
>
<div
v-else
>
<p
class=
"Pdb-payment-title"
>
保障将在XX天后失效,请立即缴费
</p>
<p
class=
"Pdb-payment-title"
>
保障将在XX天后失效,请立即缴费
</p>
<div
class=
"Pdb-payment-content"
>
<div
class=
"Pdb-payment-content"
>
...
@@ -18,7 +20,7 @@
...
@@ -18,7 +20,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
<cr-button
class=
"Pdb-payment-button"
>
{{
payCostConfig
.
button
}}
</cr-button>
<cr-button
class=
"Pdb-payment-button"
>
{{
payCostConfig
.
button
}}
</cr-button>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -27,7 +29,7 @@ export default {
...
@@ -27,7 +29,7 @@ export default {
props
:
{
props
:
{
statusKey
:
{
statusKey
:
{
type
:
String
,
type
:
String
,
default
:
'
2
'
default
:
"
2
"
},
},
payCostConfig
:
{
payCostConfig
:
{
type
:
Object
,
type
:
Object
,
...
...
src/views/Policy/Detail/modules/SecurityContent.vue
View file @
1a5a3fa9
...
@@ -31,11 +31,11 @@
...
@@ -31,11 +31,11 @@
</div>
</div>
<div
class=
"Pdbc-body-item"
>
<div
class=
"Pdbc-body-item"
>
<span>
生效日期
</span>
<span>
生效日期
</span>
<span>
{{
EffectiveDate
}}
</span>
<span>
{{
EffectiveDate
}}
</span>
</div>
</div>
<div
class=
"Pdbc-body-item"
>
<div
class=
"Pdbc-body-item"
>
<span>
终止日期
</span>
<span>
终止日期
</span>
<span>
{{
EndDate
}}
</span>
<span>
{{
EndDate
}}
</span>
</div>
</div>
</div>
</div>
<div
class=
"Pdb-content-operation"
>
<div
class=
"Pdb-content-operation"
>
...
@@ -44,15 +44,15 @@
...
@@ -44,15 +44,15 @@
<div
class=
"Pdb-content-user"
>
<div
class=
"Pdb-content-user"
>
<p
class=
"Pdbc-user-who"
>
投保人
</p>
<p
class=
"Pdbc-user-who"
>
投保人
</p>
<div
class=
"Pdbc-user-info"
>
<div
class=
"Pdbc-user-info"
>
<span>
{{
data
.
holderUserNameMask
}}
</span>
<span>
{{
data
.
holderUserNameMask
}}
</span>
<span>
身份证号
{{
data
.
holderIdNoMask
}}
</span>
<span>
身份证号
{{
data
.
holderIdNoMask
}}
</span>
</div>
</div>
</div>
</div>
<div
class=
"Pdb-content-user"
>
<div
class=
"Pdb-content-user"
>
<p
class=
"Pdbc-user-who"
>
被保人
</p>
<p
class=
"Pdbc-user-who"
>
被保人
</p>
<div
class=
"Pdbc-user-info"
>
<div
class=
"Pdbc-user-info"
>
<span>
{{
data
.
insuredUserNameMask
}}
</span>
<span>
{{
data
.
insuredUserNameMask
}}
</span>
<span>
身份证号
{{
data
.
insuredIdNoMask
}}
</span>
<span>
身份证号
{{
data
.
insuredIdNoMask
}}
</span>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -64,8 +64,10 @@ export default {
...
@@ -64,8 +64,10 @@ export default {
name
:
"
SecurityContent
"
,
name
:
"
SecurityContent
"
,
props
:
{
props
:
{
data
:
{
data
:
{
type
:
Object
,
type
:
Object
,
default
:
({})
default
()
{
return
{};
}
}
}
},
},
data
()
{
data
()
{
...
@@ -73,16 +75,14 @@ export default {
...
@@ -73,16 +75,14 @@ export default {
},
},
computed
:
{
computed
:
{
EffectiveDate
()
{
EffectiveDate
()
{
return
parseTime
(
this
.
data
.
policyEffectiveDate
,
"
{y}-{m}-{d}
"
)
return
parseTime
(
this
.
data
.
policyEffectiveDate
,
"
{y}-{m}-{d}
"
)
;
},
},
EndDate
()
{
EndDate
()
{
return
parseTime
(
this
.
data
.
policyEndDate
,
"
{y}-{m}-{d}
"
)
return
parseTime
(
this
.
data
.
policyEndDate
,
"
{y}-{m}-{d}
"
)
;
}
}
},
},
methods
:
{
methods
:
{
showPdf
()
{
showPdf
()
{}
}
}
}
};
};
</
script
>
</
script
>
...
...
src/views/Policy/Detail/modules/StatusDesc.vue
View file @
1a5a3fa9
...
@@ -14,15 +14,15 @@ export default {
...
@@ -14,15 +14,15 @@ export default {
props
:
{
props
:
{
firstTitle
:
{
firstTitle
:
{
type
:
String
,
type
:
String
,
default
:
''
default
:
""
},
},
secondTitle
:
{
secondTitle
:
{
type
:
String
,
type
:
String
,
default
:
''
default
:
""
},
},
recordText
:
{
recordText
:
{
type
:
String
,
type
:
String
,
default
:
''
default
:
""
}
}
},
},
data
()
{
data
()
{
...
@@ -30,7 +30,7 @@ export default {
...
@@ -30,7 +30,7 @@ export default {
},
},
computed
:
{
computed
:
{
secondTitleText
()
{
secondTitleText
()
{
return
this
.
firstTitle
?
`
${
this
.
secondTitle
}
...`
:
this
.
secondTitle
return
this
.
firstTitle
?
`
${
this
.
secondTitle
}
...`
:
this
.
secondTitle
;
}
}
}
}
};
};
...
...
src/views/Policy/mixin/policyStatus.mixin.js
View file @
1a5a3fa9
...
@@ -58,7 +58,7 @@ export default {
...
@@ -58,7 +58,7 @@ export default {
const prePath = ["/goods/inform", "/goods/detail", "/policy/add"];
const prePath = ["/goods/inform", "/goods/detail", "/policy/add"];
if (prePath.includes(from.path)) {
if (prePath.includes(from.path)) {
vm.isFromPay = true;
vm.isFromPay = true;
console.log(2, vm.isFromPay)
console.log(2, vm.isFromPay)
;
}
}
});
});
}
}
...
...
src/views/Policy/modules/PolicyItem.vue
View file @
1a5a3fa9
...
@@ -121,7 +121,8 @@ export default {
...
@@ -121,7 +121,8 @@ export default {
showStatusText
(
text
)
{
showStatusText
(
text
)
{
return
text
===
"
保障中
"
;
return
text
===
"
保障中
"
;
},
},
goNext
(
text
,
item
)
{
// goNext(text, item) {
goNext
()
{
// if (text === "为家人投保") {
// if (text === "为家人投保") {
// } else if (text === "电子保单") {
// } else if (text === "电子保单") {
// } else if (text === "开通自动续费") {
// } else if (text === "开通自动续费") {
...
...
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