diff --git a/src/config/index.js b/src/config/index.js
index 21b75b18e..7139e3589 100644
--- a/src/config/index.js
+++ b/src/config/index.js
@@ -11,7 +11,7 @@ let apiDomain, imgDomain, assetsUrl, mainUrl, payUrl, zssqUrl ,REQ_PWD, CACHE_EN
console.log('环境:', process.env.VUE_APP_FLAG)
switch (process.env.VUE_APP_FLAG) {
case 'dev':
- apiDomain = 'http://139.199.50.151:7000/api/v2' // 国富api ///api/v1
+ apiDomain = 'http://139.199.50.151:7000/api/v1' // 国富api ///api/v1
imgDomain = 'http://211.159.248.123:7012/updown' // dev
// 静态服务资源
assetsUrl = 'http://139.199.50.151:8000/app/'
@@ -22,7 +22,7 @@ switch (process.env.VUE_APP_FLAG) {
zssqUrl = 'http://139.199.50.151/html/test/index.html#/'
REQ_PWD = '41424344454631323334353637383930'
CACHE_ENCRYP = '41424344454631323334353637383930'
- API_VERSION = 'v2'
+ API_VERSION = 'v1'
break
case 'uat':
apiDomain = 'http://115.159.235.59:7000/api/v1' // 国富api
diff --git a/src/router/ebiz/insureAgain.js b/src/router/ebiz/insureAgain.js
index 726dd6ae3..46dd21d1d 100644
--- a/src/router/ebiz/insureAgain.js
+++ b/src/router/ebiz/insureAgain.js
@@ -1,5 +1,6 @@
const InsureAgain = () => import('@/views/ebiz/insureAgain')
-const InsureAgainDetail = () => import('@/views/ebiz/insureAgain/InsureAgainDetail')
+const uncommitInsureDetail = () => import('@/views/ebiz/insureAgain/uncommitInsureDetail')
+const commitInsureDetail = () => import('@/views/ebiz/insureAgain/commitInsureDetail')
const InsureAgainProgress = () => import('@/views/ebiz/insureAgain/InsureAgainProgress')
const InsureAgainPayment = () => import('@/views/ebiz/insureAgain/Payment')
const PaymentResult = () => import('@/views/ebiz/insureAgain/PaymentResult')
@@ -15,14 +16,23 @@ export default [
}
},
{
- // 重新投保首页
- path: '/insureAgain/insureAgainDetail',
- name: 'InsureAgainDetail',
- component: InsureAgainDetail,
+ // 重新投保详情页
+ path: '/insureAgain/uncommitInsureDetail',
+ name: 'uncommitInsureDetail',
+ component: uncommitInsureDetail,
meta: {
title: '可申请重新投保保单详情'
}
},
+ {
+ // 重新投保详情页
+ path: '/insureAgain/commitInsureDetail',
+ name: 'commitInsureDetail',
+ component: commitInsureDetail,
+ meta: {
+ title: '重新投保保单详情'
+ }
+ },
{
// 投保流程首页
path: '/insureAgain/progress',
diff --git a/src/views/ebiz/insureAgain/DropdownBox.vue b/src/views/ebiz/insureAgain/DropdownBox.vue
deleted file mode 100644
index 52c4aa118..000000000
--- a/src/views/ebiz/insureAgain/DropdownBox.vue
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
-
-
-
- {{ title }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/ebiz/insureAgain/InfoCell.vue b/src/views/ebiz/insureAgain/InfoCell.vue
deleted file mode 100644
index 7cb673b14..000000000
--- a/src/views/ebiz/insureAgain/InfoCell.vue
+++ /dev/null
@@ -1,63 +0,0 @@
-
-
-
-
-
- {{ label }}
-
-
-
-
- {{ value }}
-
-
-
-
-
-
-
-
diff --git a/src/views/ebiz/insureAgain/InsureAgainDetail.vue b/src/views/ebiz/insureAgain/InsureAgainDetail.vue
deleted file mode 100644
index 3905ad3d3..000000000
--- a/src/views/ebiz/insureAgain/InsureAgainDetail.vue
+++ /dev/null
@@ -1,71 +0,0 @@
-
-
-
-
- 投保人信息
-
-
-
-
-
-
-
-
- 投保人信息
-
-
-
-
-
-
-
-
-
- 被保险人信息
-
-
-
-
-
-
-
-
-
- 受益人信息
-
-
-
-
-
-
-
-
-
-
- 险种类型
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/ebiz/insureAgain/InsureInformation.vue b/src/views/ebiz/insureAgain/InsureInformation.vue
index 0e3bcec7a..54cea3d1b 100644
--- a/src/views/ebiz/insureAgain/InsureInformation.vue
+++ b/src/views/ebiz/insureAgain/InsureInformation.vue
@@ -4,61 +4,61 @@
投保人信息
-
-
-
-
+ zjp
+
+
+
男
女
-
+
-
-
-
+
+
+
有
无
-
-
+
+
被保险人信息
-
-
-
-
+
+
+
+
男
女
-
+
-
+
有
无
-
-
+
+
受益人信息
-
-
-
-
-
+
+
+
+
+
男
女
@@ -72,10 +72,10 @@
-
-
-
-
+
+
+
+
@@ -85,9 +85,9 @@
男
女
-
-
-
+
+
+
下一步
@@ -96,8 +96,8 @@
-
-
diff --git a/src/views/ebiz/insureAgain/index.vue b/src/views/ebiz/insureAgain/index.vue
index df8789ccd..e52d29ab2 100644
--- a/src/views/ebiz/insureAgain/index.vue
+++ b/src/views/ebiz/insureAgain/index.vue
@@ -9,7 +9,7 @@
-
+
@@ -26,9 +26,15 @@
{{ order.stateName }}
+
- 查看详情
- 重新投保
+
+ 查看详情
+ 重新投保
+
+
+ 查看投保单
+
@@ -72,7 +78,7 @@ import Order from '@/components/ebiz/insureAgain/Order'
import ReadingAgreement from '@/components/ebiz/insureAgain/ReadingAgreement'
export default {
name: 'InsureAgain',
- components: {
+ components: {
Order,
ReadingAgreement,
[Search.name]: Search,
@@ -99,6 +105,16 @@ export default {
radio: ''
}
},
+ created() {
+ let pageInfo = {
+ pageNum: this.currentPage,
+ pageSize: this.pageSize,
+ orderType: this.active,
+ name: this.searchName,
+ desensitizType: this.active === 'uncommit' ? 1 : 0
+ }
+ this.getOrderList(pageInfo)
+ },
mounted() {
setTimeout(() => {
// eslint-disable-next-line no-undef
@@ -197,15 +213,27 @@ export default {
}, 100)
this.isAgreementShow = true
},
- insureAgainDetail(order) {
- localStorage.orderNo = order.orderInfoDTO.orderNo
+ uncommitInsureDetail(order) {
+ // localStorage.orderNo = order.orderInfoDTO.orderNo
this.$jump({
flag: 'h5',
extra: {
- url: location.origin + '/#/insureAgain/insureAgainDetail'
+ url: location.origin + '/#/insureAgain/uncommitInsureDetail'
},
routerInfo: {
- path: '/insureAgain/insureAgainDetail'
+ path: '/insureAgain/uncommitInsureDetail'
+ }
+ })
+ },
+ commitInsureDetail(order) {
+ // localStorage.orderNo = order.orderInfoDTO.orderNo
+ this.$jump({
+ flag: 'h5',
+ extra: {
+ url: location.origin + '/#/insureAgain/commitInsureDetail'
+ },
+ routerInfo: {
+ path: '/insureAgain/commitInsureDetail'
}
})
},