diff --git a/src/api/ebiz/insureAgain/insureAgain.js b/src/api/ebiz/insureAgain/insureAgain.js new file mode 100644 index 000000000..d321278ac --- /dev/null +++ b/src/api/ebiz/insureAgain/insureAgain.js @@ -0,0 +1,19 @@ +/* + * @Author: PangXingYue + * @Date: 2021-03-04 10:38:24 + * @LastEditTime: 2021-03-04 10:50:17 + * @LastEditors: PangXingYue + * @Description: + * @FilePath: \ebiz-h5\src\api\ebiz\insureAgain\insureAgain.js + */ +import request from '@/assets/js/utils/request' +import getUrl from '@/assets/js/utils/get-url' +// 订单列表 +export function orderList(data) { + return request({ + url: getUrl('/sale/order/orderList', 1), + method: 'post', + data + }) +} + diff --git a/src/views/ebiz/insureAgain/Order.vue b/src/components/ebiz/insureAgain/Order.vue similarity index 55% rename from src/views/ebiz/insureAgain/Order.vue rename to src/components/ebiz/insureAgain/Order.vue index fc33c9734..dbb1caf90 100644 --- a/src/views/ebiz/insureAgain/Order.vue +++ b/src/components/ebiz/insureAgain/Order.vue @@ -6,19 +6,29 @@

投保 - 李磊 + {{ order.appntDTO.name }}

-

+

被保 - 李磊 -

-

- 主险 - 国富人寿国富民惠医疗保险(2020版) -

+ {{ insured.name }} + +
+ + 主险 + + {{ main.riskName }} +
+
+ + 附加 + + {{ addtional.riskName }} +
+
+

首期总保费(元) - 10,000 + {{ order.firstPrem == 0 ? '0.00' : order.firstPrem | moneyFormat }}

@@ -36,6 +46,12 @@ export default { components: { [Tag.name]: Tag }, + props: { + order: { + type: Object, + default: () => {} + } + }, data() { return {} }, diff --git a/src/views/ebiz/insureAgain/ReadingAgreement.vue b/src/components/ebiz/insureAgain/ReadingAgreement.vue similarity index 100% rename from src/views/ebiz/insureAgain/ReadingAgreement.vue rename to src/components/ebiz/insureAgain/ReadingAgreement.vue diff --git a/src/router/ebiz/insureAgain.js b/src/router/ebiz/insureAgain.js index 66154a250..726dd6ae3 100644 --- a/src/router/ebiz/insureAgain.js +++ b/src/router/ebiz/insureAgain.js @@ -3,7 +3,6 @@ const InsureAgainDetail = () => import('@/views/ebiz/insureAgain/InsureAgainDeta const InsureAgainProgress = () => import('@/views/ebiz/insureAgain/InsureAgainProgress') const InsureAgainPayment = () => import('@/views/ebiz/insureAgain/Payment') const PaymentResult = () => import('@/views/ebiz/insureAgain/PaymentResult') -const ReadingAgreement = () => import('@/views/ebiz/insureAgain/ReadingAgreement') export default [ { @@ -21,7 +20,7 @@ export default [ name: 'InsureAgainDetail', component: InsureAgainDetail, meta: { - title: '可申请重新投保保单列表' + title: '可申请重新投保保单详情' } }, { @@ -51,10 +50,4 @@ export default [ title: '支付结果' } }, - { - // 协议阅读 - path: '/insureAgain/readingAgreement', - name: 'ReadingAgreement', - component: ReadingAgreement - } ] diff --git a/src/views/ebiz/insureAgain/Committed.vue b/src/views/ebiz/insureAgain/Committed.vue deleted file mode 100644 index e05589a79..000000000 --- a/src/views/ebiz/insureAgain/Committed.vue +++ /dev/null @@ -1,73 +0,0 @@ - - - - - diff --git a/src/views/ebiz/insureAgain/InfoCell.vue b/src/views/ebiz/insureAgain/InfoCell.vue index 06d9be5c9..7cb673b14 100644 --- a/src/views/ebiz/insureAgain/InfoCell.vue +++ b/src/views/ebiz/insureAgain/InfoCell.vue @@ -1,3 +1,11 @@ +