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
ceaabab4
Commit
ceaabab4
authored
Sep 02, 2020
by
郝聪敏
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/update_pdf' into 'master'
fix: 修改pdf展示方式 See merge request
!197
parents
c16848d0
0b01fc06
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
8 deletions
+18
-8
index.vue
src/views/Policy/PaymentRecord/index.vue
+6
-1
index.vue
src/views/Policy/VirtualDetail/index.vue
+9
-4
electronicInsurance.mixin.js
src/views/Policy/mixin/electronicInsurance.mixin.js
+3
-3
No files found.
src/views/Policy/PaymentRecord/index.vue
View file @
ceaabab4
...
@@ -137,7 +137,12 @@ export default {
...
@@ -137,7 +137,12 @@ export default {
:
refundRecord
?.
currentState
===
3
:
refundRecord
?.
currentState
===
3
?
"
退款成功
"
?
"
退款成功
"
:
"
-
"
,
:
"
-
"
,
recordDate
:
refundRecord
?.
payTime
||
"
-
"
,
recordDate
:
refundRecord
?.
currentState
===
2
?
refundRecord
?.
payTime
||
"
-
"
:
refundRecord
?.
currentState
===
3
?
refundRecord
?.
refundTime
||
"
-
"
:
"
-
"
,
amountText
:
`
${
refundRecord
?.
amount
}
元
`,
amountText
:
`
${
refundRecord
?.
amount
}
元
`,
payStatusText:
payStatusText:
refundRecord?.currentState === 2
refundRecord?.currentState === 2
...
...
src/views/Policy/VirtualDetail/index.vue
View file @
ceaabab4
<
template
>
<
template
>
<cr-image
width=
""
height=
""
fit=
"cover"
:src=
"url"
/>
<div>
<cr-image
width=
""
height=
""
fit=
"cover"
:src=
"item"
v-for=
"item in urls"
:key=
"item"
/>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
getElectronicInsurance
}
from
"
@/api/policy
"
;
export
default
{
export
default
{
name
:
"
PolicyVirtualDetail
"
,
name
:
"
PolicyVirtualDetail
"
,
data
()
{
data
()
{
return
{
return
{
url
:
""
url
s
:
""
};
};
},
},
created
()
{
async
created
()
{
this
.
url
=
this
.
$route
.
query
?.
url
;
const
policySecId
=
this
.
$route
.
query
?.
policySecId
;
({
urls
:
this
.
urls
}
=
await
getElectronicInsurance
({
policySecId
}));
}
}
};
};
</
script
>
</
script
>
...
...
src/views/Policy/mixin/electronicInsurance.mixin.js
View file @
ceaabab4
...
@@ -7,14 +7,14 @@ export default {
...
@@ -7,14 +7,14 @@ export default {
this
.
$notify
({
type
:
"
warning
"
,
message
:
"
保单不存在
"
});
this
.
$notify
({
type
:
"
warning
"
,
message
:
"
保单不存在
"
});
return
;
return
;
}
}
const
{
url
}
=
await
getElectronicInsurance
({
policySecId
});
const
{
url
s
}
=
await
getElectronicInsurance
({
policySecId
});
if
(
!
url
)
{
if
(
!
url
s
)
{
this
.
$notify
({
type
:
"
danger
"
,
message
:
"
保单地址返回异常
"
});
this
.
$notify
({
type
:
"
danger
"
,
message
:
"
保单地址返回异常
"
});
return
;
return
;
}
}
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
"
/policy/virtual-detail
"
,
path
:
"
/policy/virtual-detail
"
,
query
:
{
url
}
query
:
{
policySecId
}
});
});
}
}
}
}
...
...
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