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
647b8ec3
Commit
647b8ec3
authored
Aug 20, 2020
by
郝聪敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改pdf数据显示异常问题
parent
1389ef3f
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
26 additions
and
13 deletions
+26
-13
Guarantee.vue
src/views/Policy/Detail/Types/Guarantee.vue
+11
-0
Refund.vue
src/views/Policy/Detail/Types/Refund.vue
+1
-2
index.less
src/views/Policy/Detail/index.less
+0
-3
InsuranceService.vue
src/views/Policy/Detail/modules/InsuranceService.vue
+1
-1
Phone.vue
src/views/Policy/Detail/modules/Phone.vue
+1
-1
SecurityContent.vue
src/views/Policy/Detail/modules/SecurityContent.vue
+7
-2
PayInfo.vue
src/views/Policy/Success/modules/PayInfo.vue
+2
-2
index.vue
src/views/Policy/VirtualDetail/index.vue
+3
-2
No files found.
src/views/Policy/Detail/Types/Guarantee.vue
View file @
647b8ec3
...
...
@@ -14,6 +14,7 @@
:autoRenewPolicy=
"data.autoRenewPolicy"
:policyNo=
"data.policyNo"
:orderNo=
"data.orderNo"
v-if=
"showInsuranceCard"
></insurance-card>
<security-content
:data=
"data"
:detail=
"planDetail"
></security-content>
<insurance-service
:detail=
"qaDetail"
></insurance-service>
...
...
@@ -75,6 +76,9 @@ export default {
showPayCost
()
{
return
[
"
2
"
,
"
4
"
].
includes
(
this
.
data
?.
cardConfig
?.
key
);
},
showInsuranceCard
()
{
return
this
.
data
?.
cardConfig
?.
key
!==
"
4
"
;
},
planDetail
()
{
const
{
type
,
...
...
@@ -131,6 +135,13 @@ export default {
},
EndDate
()
{
return
parseTime
(
this
.
data
.
policyEndDate
,
"
{y}.{m}.{d}
"
);
},
payInfo
()
{
return
{
payOrderNo
:
this
.
data
?.
payInfo
?.
payOrderNo
,
payType
:
this
.
data
?.
payInfo
?.
payOrderType
,
orderNo
:
this
.
data
?.
orderNo
};
}
},
methods
:
{
...
...
src/views/Policy/Detail/Types/Refund.vue
View file @
647b8ec3
...
...
@@ -5,7 +5,6 @@
v-if=
"showPayCost"
:statusKey=
"data.cardConfig.key"
:payCostConfig=
"data.cardConfig.payCostConfig"
:payInfo=
"payInfo"
></pay-cost>
<refund
v-else
...
...
@@ -57,7 +56,7 @@ export default {
return
this
.
data
.
cardConfig
.
key
===
"
8
"
?
"
到账时间
"
:
"
支付时间
"
;
},
showPayCost
()
{
return
[
"
4
"
,
"
14
"
,
"
13
"
].
includes
(
this
.
data
?.
cardConfig
?.
key
);
return
[
"
14
"
,
"
13
"
].
includes
(
this
.
data
?.
cardConfig
?.
key
);
}
}
};
...
...
src/views/Policy/Detail/index.less
View file @
647b8ec3
...
...
@@ -375,9 +375,6 @@
}
&-agreement {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
a {
font-size: 12px;
...
...
src/views/Policy/Detail/modules/InsuranceService.vue
View file @
647b8ec3
...
...
@@ -52,7 +52,7 @@ export default {
pupopData
()
{
const
{
currentPupopIndex
}
=
this
;
const
{
popupArray
}
=
this
.
detail
;
return
(
currentPupopIndex
&&
popupArray
[
currentPupopIndex
])
||
{};
return
popupArray
[
currentPupopIndex
]
||
{};
}
},
data
()
{
...
...
src/views/Policy/Detail/modules/Phone.vue
View file @
647b8ec3
...
...
@@ -6,7 +6,7 @@
</
template
>
<
script
>
import
setting
from
"
@/api/settings
"
;
console
.
log
(
setting
);
export
default
{
name
:
"
Phone
"
,
data
()
{
...
...
src/views/Policy/Detail/modules/SecurityContent.vue
View file @
647b8ec3
...
...
@@ -24,7 +24,7 @@
</div>
</div>
<Collapse
v-else
:collapse-data=
"detail.planCellInfo"
/>
<div
class=
"Pdb-content-operation"
>
<div
class=
"Pdb-content-operation"
v-if=
"isShowPdfBtn"
>
<cr-button
class=
"Pdbc-button"
@
click=
"showPdf"
>
电子保单
</cr-button>
</div>
<div
class=
"Pdb-content-user"
>
...
...
@@ -70,7 +70,12 @@ export default {
},
methods
:
{
showPdf
()
{
this
.
$router
.
push
({
path
:
"
/policy/virtual-detail
"
,
query
:
{
url
:
this
.
data
.
policyUrl
}
});
this
.
$router
.
push
({
path
:
"
/policy/virtual-detail
"
,
query
:
{
url
:
"
http://hathaway-mg.liangkebang.net/third/huagui/download?idStr=Z3BSb1djY1N0S2s9
"
}
});
}
},
computed
:
{
isShowPdfBtn
()
{
return
this
.
data
?.
cardConfig
?.
key
!==
"
4
"
;
}
}
};
...
...
src/views/Policy/Success/modules/PayInfo.vue
View file @
647b8ec3
...
...
@@ -53,13 +53,13 @@ export default {
...result,
permium: `
首月保费
$
{
this
.
policy
?.
downPayPrice
||
0
}
元,次月起
$
{
this
.
policy
?.
regularPrice
||
0
}
元
`,
note: `
注
:
微信将会在每月
$
{
this
.
policy
.
nextPayInfo
.
day
}
日在您的账户内扣除该保费。(您可以随时取消自动扣费)
`
note: `
注
:
微信将会在每月
$
{
this
.
policy
.
nextPayInfo
.
day
}
日在您的账户内扣除该保费。(您可以随时取消自动扣费)
`
};
} else {
result = {
...result,
permium: `
$
{
this
.
policy
?.
downPayPrice
||
0
}
元
/
年
`,
note: `
合同终止前,每年
$
{
this
.
policy
?.
nextPayInfo
?.
month
||
"
-
"
}
月
$
{
this
.
policy
note: `
注:
合同终止前,每年
$
{
this
.
policy
?.
nextPayInfo
?.
month
||
"
-
"
}
月
$
{
this
.
policy
?.
nextPayInfo
?.
day
||
"
-
"
}
日
$
{
this
.
policy
?.
company
||
"
-
"
}
保险公司将在您预留尾号为
$
{
this
.
policy
?.
bankCardNoLast4
||
"
-
"
}
的银行卡内扣除次年保费,请保证余额充足哦。
`
};
...
...
src/views/Policy/VirtualDetail/index.vue
View file @
647b8ec3
...
...
@@ -6,8 +6,9 @@
<
script
>
import
pdf
from
"
vue-pdf
"
;
import
CMapReaderFactory
from
"
vue-pdf/src/CMapReaderFactory.js
"
;
import
{
mapActions
}
from
"
vuex
"
;
let
CMAP_URL
=
"
https://unpkg.com/pdfjs-dist@2.0.943/cmaps/
"
;
export
default
{
name
:
"
PolicyVirtualDetail
"
,
components
:
{
...
...
@@ -33,7 +34,7 @@ export default {
this
.
pdfTask
();
},
pdfTask
()
{
this
.
pdfUrl
=
pdf
.
createLoadingTask
({
url
:
this
.
url
,
CMapReaderFactory
});
this
.
pdfUrl
=
pdf
.
createLoadingTask
({
url
:
this
.
url
,
cMapUrl
:
CMAP_URL
,
cMapPacked
:
true
});
this
.
pdfUrl
.
promise
.
then
(
pdf
=>
{
this
.
pdfNumPages
=
pdf
.
numPages
;
...
...
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