Compare commits

...

50 Commits

Author SHA1 Message Date
liu.xiaofeng@ebiz-digits.com
bd61c5b8c0 微信支付结果页面 更换微信公众号二维码图片2 2023-09-26 16:50:30 +08:00
liu.xiaofeng@ebiz-digits.com
9aaa7ad106 增加20S禁止重复提交的操作逻辑 修改提示语位置 2023-09-26 16:30:44 +08:00
liu.xiaofeng@ebiz-digits.com
0de31877e7 增加20S禁止重复提交的操作逻辑 2023-09-26 16:30:40 +08:00
liu.xiaofeng@ebiz-digits.com
7c2fcb7993 修改核保前置弹窗返回按钮展示内容 2023-09-26 16:30:37 +08:00
liu.xiaofeng@ebiz-digits.com
01c5e3acc3 上传附件点击下一步按钮方法修改 2023-09-26 16:30:34 +08:00
liu.xiaofeng@ebiz-digits.com
23278094ea 关于金掌桂规则前置需求 提示语样式修改 2023-09-26 16:30:31 +08:00
liu.xiaofeng@ebiz-digits.com
f4fdc05f95 微信支付结果页面 更换微信公众号二维码图片 2023-09-26 16:25:49 +08:00
liu.xiaofeng@ebiz-digits.com
49df5e8176 微信支付结果页面 二维码地址修改 2023-09-26 16:05:30 +08:00
liu.xiaofeng@ebiz-digits.com
33350a4a5b feature GFRS-3716 支付结果页面调整页面布局样式 2023-09-25 17:24:04 +08:00
liu.xiaofeng@ebiz-digits.com
0ae0de8e51 feature GFRS-3716 调用支付获取参数接口 增加运行环境逻辑判断的代码 2023-09-25 17:23:59 +08:00
liu.xiaofeng@ebiz-digits.com
3d2bca3228 feature GFRS-3716 支付成功页面增加温馨提示以及二维码的展示内容 2023-09-25 17:23:55 +08:00
liu.xiaofeng@ebiz-digits.com
5d04db24a7 feature GFRS-3716 修改分享内容金额 2023-09-25 17:23:52 +08:00
liu.xiaofeng@ebiz-digits.com
7684831fdc feature GFRS-3716 修改分享内容 2023-09-25 17:23:49 +08:00
liu.xiaofeng@ebiz-digits.com
47c68db32d feature GFRS-3716 获取支付参数接口入参字段修改2 2023-09-25 17:23:46 +08:00
liu.xiaofeng@ebiz-digits.com
e6e5c7b375 feature GFRS-3716 获取支付参数接口入参字段修改 2023-09-25 17:23:43 +08:00
liu.xiaofeng@ebiz-digits.com
3167d58990 修改获取用户信息相关代码逻辑 2023-09-25 17:23:38 +08:00
liu.xiaofeng@ebiz-digits.com
09d6f63ab9 添加获取微信授权的code相关代码逻辑 2023-09-25 17:23:34 +08:00
liu.xiaofeng@ebiz-digits.com
e782eb1065 修改上传附件的字段值subBusinessType 2023-09-21 11:07:27 +08:00
liu.xiaofeng@ebiz-digits.com
7c2fca39bf 根据出生日期以及证件起始日期计算证件截止日期
根据出生日期以及证件截止日期计算证件起始日期
2023-09-20 16:55:43 +08:00
liu.xiaofeng@ebiz-digits.com
af041ddd0c 修改自动计算证件开始日期以及截止日期的计算逻辑 2023-09-20 16:42:31 +08:00
liu.xiaofeng@ebiz-digits.com
85ff38ec6f feature GFRS-3718 利益展示责任项单位增加元 2023-09-12 09:29:38 +08:00
liu.xiaofeng@ebiz-digits.com
151f793f99 点击加载事件恢复 2023-09-07 11:25:30 +08:00
liu.xiaofeng@ebiz-digits.com
a024a67995 去除模块化打包模式 个别手机类型不支持 2023-09-07 11:23:22 +08:00
liu.xiaofeng@ebiz-digits.com
e5ae68f225 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	src/views/ebiz/sale/SignatureConfirmation.vue
2023-09-07 09:11:14 +08:00
liu.xiaofeng@ebiz-digits.com
0a4018b445 release 20230904-4 自动计算证件有效期代码逻辑修改
(cherry picked from commit b6bbcd302e)
2023-09-06 21:52:00 +08:00
liu.xiaofeng@ebiz-digits.com
1b59db041b release 20230904-4 自动计算证件有效期代码逻辑修改
(cherry picked from commit 5f79a28079)
2023-09-06 21:51:56 +08:00
liu.xiaofeng@ebiz-digits.com
e718c684c8 电子投保流程被保人以及受益人证件有效期校验规则修改 2023-09-06 21:51:46 +08:00
liu.xiaofeng@ebiz-digits.com
30d9c008d1 电子投保流程投保人证件有效期校验规则修改 2023-09-06 21:51:43 +08:00
liu.xiaofeng@ebiz-digits.com
e6a4957e74 自动计算证件有效期组件添加 根据证件截止日期计算证件起始日期的方法 2023-09-06 21:51:28 +08:00
liu.xiaofeng@ebiz-digits.com
344c367c08 证件类型是居民身份证的,客户填写或修改证件起始日期或证件止期时,另一项自动计算带出(增加组件) 2023-09-06 21:51:21 +08:00
liu.xiaofeng@ebiz-digits.com
cf9de9636d 【20230803-1】上传附件修改入参方式 2023-09-06 21:44:32 +08:00
liu.xiaofeng@ebiz-digits.com
31e3cb6241 【20230803-1】上传图片接口增加图片类型和订单号相关入参字段1 2023-09-06 21:38:17 +08:00
liu.xiaofeng@ebiz-digits.com
b4ddba6018 上传图片接口增加图片类型和订单号相关入参字段 2023-09-06 21:38:11 +08:00
liu.xiaofeng@ebiz-digits.com
5422bc9145 上传附件代码逻辑重新编写 2023-09-06 21:38:05 +08:00
liu.xiaofeng@ebiz-digits.com
29224df8f6 上传图片接口:上传图片时,上传类型、订单号,按照请求在upload中快速定位日志。 2023-09-06 21:38:01 +08:00
liu.xiaofeng@ebiz-digits.com
d5da63c544 图片上传被保人信息集合回显数据结构调整 2023-09-06 21:37:58 +08:00
liu.xiaofeng@ebiz-digits.com
167a004b21 图片上传成功后图片回显地址使用服务器返回的图片链接地址 2023-09-06 21:37:55 +08:00
liu.xiaofeng@ebiz-digits.com
ff9bffcd15 签字确认页面增加订单号信息缺失,跳转订单系统重新获取 代码逻辑 2023-09-06 21:37:44 +08:00
liu.xiaofeng@ebiz-digits.com
b3b450d511 获取订单详情接口增加异常提示 卡单流程的订单编辑功能本地存储orderNo信息 2023-09-06 21:37:40 +08:00
liu.xiaofeng@ebiz-digits.com
f41e28b630 分享链接订单详情查询逻辑修改 2023-09-06 21:37:36 +08:00
liu.xiaofeng@ebiz-digits.com
b7ed7a049c 投保流程证件上传页面点击下一步提示订单不可修改状态 2023-09-06 21:32:56 +08:00
liu.xiaofeng@ebiz-digits.com
a6e2347dd8 hotfix 20230906 人脸失败次数调整为2次 2023-09-06 21:30:36 +08:00
liu.xiaofeng@ebiz-digits.com
f134accf04 hotfix 【20230904】首页更换推荐产品
(cherry picked from commit c40a141141)
2023-09-06 17:41:19 +08:00
liu.xiaofeng@ebiz-digits.com
c6e2f069c5 hotfix 【20230904】首页更换推荐产品
(cherry picked from commit 131ccdb3be)
2023-09-06 17:41:14 +08:00
liu.xiaofeng@ebiz-digits.com
b772d68d76 Merge branch 'release/【20230829】配置2款一年期产品' 2023-09-06 17:31:48 +08:00
liu.xiaofeng@ebiz-digits.com
dbf2f7842e feature【GFRS-3784】一年期产品设置基础责任不可取消勾选代码逻辑 2023-08-29 17:31:00 +08:00
liu.xiaofeng@ebiz-digits.com
bd4018f7f4 feature【GFRS-3784】修改保额根据不同被保人信息以及输入的保额数值给出不同的提示语 2023-08-29 17:30:56 +08:00
liu.xiaofeng@ebiz-digits.com
cb45c0b691 【GFRS-3784】一年期产品的责任根据被保人信息动态设置是否可选代码逻辑 2023-08-29 17:30:54 +08:00
liu.xiaofeng@ebiz-digits.com
cdb37af241 【GFRS-3784】利益展示页面展示的字段增加单位”元“相关字段的映射 2023-08-29 17:30:50 +08:00
liu.xiaofeng@ebiz-digits.com
f68982f5cb 【GFRS-3784】保费试算页面 责任步进器 增加判断 产品GFRS_M0077 隐藏输入框
【GFRS-3784】保费试算页面 责任步进器 增加判断 产品GFRS_M0077 根据被保人年龄以及性别设置默认选中得责任判断逻辑
2023-08-29 17:30:45 +08:00
56 changed files with 1372 additions and 1172 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

View File

@@ -1,167 +1,88 @@
import utilsAge from '@/assets/js/utils/age'
export default {
//计算身份证起始日期
getStartDate: function(age, endDate) {
getStartDate: function(birthday, endDate) {
let startDate = '' //证件起始日期
let thisDate = new Date() //当年日期
let thisyear = thisDate.getFullYear() //当前年份
let startage = ''
let endage = utilsAge.getAge(birthday, new Date(endDate))
if (age < 16) {
/**
* @Author: LiuXiaoFeng
* @Description: 16周岁以下的证件有效期为5年
* @Date: 2023/7/4
**/
startDate = String(Number(endDate.slice(0,4)) - 5) + endDate.slice(4,11)
} else if (age >= 16 && age <= 21) {
/**
* @Author: LiuXiaoFeng
* @Description: 16周岁~21周岁的证件有效期为10年或5年
* @Date: 2023/7/4
**/
if (age - (10 - (endDate.slice(0,4) - thisyear)) < 16 ) {
/**
* @Author: LiuXiaoFeng
* @Description: 如果证件有效期为10年 根据证件截止日期 判断10年前的年龄 如果小于16周岁 那么证件有效期就是5年
* @Date: 2023/7/5
**/
startDate = String(Number(endDate.slice(0,4)) - 5) + endDate.slice(4,11)
} else {
startDate = String(Number(endDate.slice(0,4)) - 10) + endDate.slice(4,11)
}
} else if(age >= 22 && age <= 25) {
/**
* @Author: LiuXiaoFeng
* @Description: 22周岁~25周岁的证件有效期为10年
* @Date: 2023/7/4
**/
startDate = String(Number(endDate.slice(0,4)) - 10) + endDate.slice(4,11)
} else if (age >= 26 && age <= 35) {
/**
* @Author: LiuXiaoFeng
* @Description: 26周岁~35周岁的证件有效期为20年或10年
* @Date: 2023/7/4
**/
if (age - (20 - (endDate.slice(0,4) - thisyear)) < 26 ) {
/**
* @Author: LiuXiaoFeng
* @Description: 如果证件有效期为20年 根据证件截止日期 判断20年前的年龄 如果小于26周岁 那么证件有效期就是10年
* @Date: 2023/7/5
**/
startDate = String(Number(endDate.slice(0,4)) - 10) + endDate.slice(4,11)
} else {
startDate = String(Number(endDate.slice(0,4)) - 20) + endDate.slice(4,11)
}
} else if (age >= 36 && age <= 45) {
/**
* @Author: LiuXiaoFeng
* @Description: 36周岁~45周岁的证件有效期为20年
* @Date: 2023/7/4
**/
startDate = String(Number(endDate.slice(0,4)) + 20) + endDate.slice(4,11)
} else if (age >= 46 && age <= 65) {
/**
* @Author: LiuXiaoFeng
* @Description: 46周岁~65周岁的证件有效期为20年或长期
* @Date: 2023/7/4
**/
if (age - (20 - (endDate.slice(0,4) - thisyear)) < 46 ) {
/**
* @Author: LiuXiaoFeng
* @Description: 如果证件有效期为20年 根据证件截止日期 判断20年前的年龄 如果小于46周岁 那么证件有效期就是20年
* @Date: 2023/7/5
**/
startDate = String(Number(endDate.slice(0,4)) - 20) + endDate.slice(4,11)
}
} else if (age > 65) {
/**
* @Author: LiuXiaoFeng
* @Description: 65周岁以上的证件有效期为长期
* @Date: 2023/7/4
**/
/**
* @Author: LiuXiaoFeng
* @Description: 未满16周岁的公民申领的居民身份证有效期为5年
* @Date: 2023/7/4
**/
if (endage - 5 < 16) {
return startDate = String(Number(endDate.slice(0,4)) - 5) + endDate.slice(4,11)
}
/**
* @Author: LiuXiaoFeng
* @Description: 年满16周岁至25周岁的公民申领的居民身份证有效期为10年
* @Date: 2023/7/4
**/
else if (endage - 5 >= 16 && endage - 10 <= 25) {
startDate = String(Number(endDate.slice(0,4)) - 10) + endDate.slice(4,11)
startage = utilsAge.getAge(birthday, new Date(startDate))
if(startage >= 16 && startage <= 25){
return startDate
}
}
/**
* @Author: LiuXiaoFeng
* @Description: 年满26周岁至45周岁的公民申领的居民身份证有效期为20年
* @Date: 2023/7/4
**/
else if(endage - 10 >= 26 && endage - 20 <= 45) {
startDate = String(Number(endDate.slice(0,4)) - 20) + endDate.slice(4,11)
startage = utilsAge.getAge(birthday, new Date(startDate))
if(startage >= 26 && startage <= 45){
return startDate
}
}
/**
* @Author: LiuXiaoFeng
* @Description: 年满46周岁的公民申领居民身份证有效期为长期
* @Date: 2023/7/4
**/
else if (endage - 20 >= 46) {
return startDate
}
return startDate
},
//计算身份证截止日期
getEndDate: function(age, startDate) {
getEndDate: function(birthday, startDate) {
let endDate = '' //证件截止日期
let thisDate = new Date() //当年日期
let thisyear = thisDate.getFullYear() //当前年份
if (age < 16) {
/**
* @Author: LiuXiaoFeng
* @Description: 16周岁以下的证件有效期为5年
* @Date: 2023/7/4
**/
endDate = String(Number(startDate.slice(0,4)) + 5) + startDate.slice(4,11)
} else if (age >= 16 && age <= 21) {
/**
* @Author: LiuXiaoFeng
* @Description: 16周岁~21周岁的证件有效期为10年或5年
* @Date: 2023/7/4
**/
if (age - (thisyear - startDate.slice(0,4)) < 16 ) {
/**
* @Author: LiuXiaoFeng
* @Description: 根据证件起始日期计算办证时年龄 如果办证时年龄小于16周岁 那么证件有效期就是5
* @Date: 2023/7/5
**/
endDate = String(Number(startDate.slice(0,4)) + 5) + startDate.slice(4,11)
} else {
endDate = String(Number(startDate.slice(0,4)) + 10) + startDate.slice(4,11)
}
} else if(age >= 22 && age <= 25) {
/**
* @Author: LiuXiaoFeng
* @Description: 22周岁~25周岁的证件有效期为10年
* @Date: 2023/7/4
**/
endDate = String(Number(startDate.slice(0,4)) + 10) + startDate.slice(4,11)
} else if (age >= 26 && age <= 35) {
/**
* @Author: LiuXiaoFeng
* @Description: 26周岁~35周岁的证件有效期为20年或10年
* @Date: 2023/7/4
**/
if (age - (thisyear - startDate.slice(0,4)) < 26 ) {
/**
* @Author: LiuXiaoFeng
* @Description: 根据证件起始日期计算办证时年龄 如果办证时年龄小于26周岁 那么证件有效期就是10年
* @Date: 2023/7/5
**/
endDate = String(Number(startDate.slice(0,4)) + 10) + startDate.slice(4,11)
} else {
endDate = String(Number(startDate.slice(0,4)) + 20) + startDate.slice(4,11)
}
} else if (age >= 36 && age <= 45) {
/**
* @Author: LiuXiaoFeng
* @Description: 36周岁~45周岁的证件有效期为20年
* @Date: 2023/7/4
**/
endDate = String(Number(startDate.slice(0,4)) + 20) + startDate.slice(4,11)
} else if (age >= 46 && age <= 65) {
/**
* @Author: LiuXiaoFeng
* @Description: 46周岁~65周岁的证件有效期为20年或长期
* @Date: 2023/7/4
**/
if (age - (thisyear - startDate.slice(0,4)) < 46 ) {
/**
* @Author: LiuXiaoFeng
* @Description: 根据证件起始日期计算办证时年龄 如果办证时年龄小于46周岁 那么证件有效期就是20年
* @Date: 2023/7/5
**/
endDate = String(Number(startDate.slice(0,4)) + 20) + startDate.slice(4,11)
}
} else if (age > 65) {
/**
* @Author: LiuXiaoFeng
* @Description: 65周岁以上的证件有效期为长期
* @Date: 2023/7/4
**/
let startage = utilsAge.getAge(birthday, new Date(startDate))
/**
* @Author: LiuXiaoFeng
* @Description: 未满16周岁的公民申领的居民身份证有效期为5年
* @Date: 2023/7/4
**/
if (startage < 16) {
return endDate = String(Number(startDate.slice(0, 4)) + 5) + startDate.slice(4, 11)
}
/**
* @Author: LiuXiaoFeng
* @Description: 年满16周岁至25周岁的公民申领的居民身份证有效期为10年
* @Date: 2023/7/4
**/
else if (startage >= 16 && startage <= 25) {
return endDate = String(Number(startDate.slice(0, 4)) + 10) + startDate.slice(4, 11)
}
/**
* @Author: LiuXiaoFeng
* @Description: 年满26周岁至45周岁的公民申领的居民身份证有效期为20
* @Date: 2023/7/4
**/
else if (startage >= 26 && startage <= 45) {
return endDate = String(Number(startDate.slice(0, 4)) + 20) + startDate.slice(4, 11)
}
/**
* @Author: LiuXiaoFeng
* @Description: 年满46周岁的公民申领居民身份证有效期为长期
* @Date: 2023/7/4
**/
else if (startage > 65) {
return endDate
}
return endDate
}
}

View File

@@ -3793,6 +3793,30 @@ export default {
{
code: "riskAC_M",
label: "元"
},
{
code: "CardiovascularCerebrovascularDiseasesInsurance",
label: "元"
},
{
code: "childrenSpecificDiseaseInsurance",
label: "元"
},
{
code: "maleSpecificDiseaseInsurance",
label: "元"
},
{
code: "femaleSpecificDiseaseInsurance",
label: "元"
},
{
code: "supplementarySpecificDiseaseInsurance",
label: "元"
},
{
code: "deductible",
label: "免赔额"
}
],
// 卡单与短期险重新投保选择职业类别时,两个模块职业类型数据的排序不同,创建这个数据字典,用于在选择职业类别时,作为一个参数传入组件,

View File

@@ -1,41 +1,41 @@
// 入司申请填写基本信息
const signContract = () => import(/* webpackChunkName: 'agentEenter' */ '@/views/ebiz/agentEenter/SignContract')
const letterOfKnow = () => import(/* webpackChunkName: 'agentEenter' */ '@/views/ebiz/agentEenter/LetterOfKnow')
const healthNotice = () => import(/* webpackChunkName: 'agentEenter' */ '@/views/ebiz/agentEenter/HealthNotice')
const letterOfCommitment = () => import(/* webpackChunkName: 'agentEenter' */ '@/views/ebiz/agentEenter/LetterCommitment')
const messageLetterOfCommitment = () => import(/* webpackChunkName: 'agentEenter' */ '@/views/ebiz/agentEenter/MessageLetterOfCommitment')
const illegalLetterOfCommitment = () => import(/* webpackChunkName: 'agentEenter' */ '@/views/ebiz/agentEenter/IllegalLetterOfCommitment')
const GuizhouSalesPractitioners = () => import(/* webpackChunkName: 'agentEenter' */ '@/views/ebiz/agentEenter/GuizhouSalesPractitioners')
const guarantee = () => import(/* webpackChunkName: 'agentEenter' */ '@/views/ebiz/agentEenter/Guarantee')
// const confirmation = () => import(/* webpackChunkName: 'agentEenter' */ '@/views/ebiz/agentEenter/Confirmation')
const paction = () => import(/* webpackChunkName: 'agentEenter' */ '@/views/ebiz/agentEenter/Paction')
const agentEenterResult = () => import(/* webpackChunkName: 'agentEenter' */ '@/views/ebiz/agentEenter/Result')
const entryProcess = () => import(/* webpackChunkName: 'agentEenter' */ '@/views/ebiz/agentEenter/EntryProcess')
const seeCause = () => import(/* webpackChunkName: 'agentEenter' */ '@/views/ebiz/agentEenter/SeeCause')
const ShowPDF = () => import(/* webpackChunkName: 'agentEenter' */ '@/views/ebiz/agentEenter/ShowPDF')
const agentEenterBasicInfor = () => import(/* webpackChunkName: 'agentEenter' */ '@/views/ebiz/agentEenter/AgentEenterBasicInfor')
const agentEnterGuarantor = () => import(/* webpackChunkName: 'agentEenter' */ '@/views/ebiz/agentEenter/AgentEnterGuarantor')
const agentEenterBasicFamily = () => import(/* webpackChunkName: 'agentEenter' */ '@/views/ebiz/agentEenter/AgentEenterBasicFamily')
const agentEenterBasicImage = () => import(/* webpackChunkName: 'agentEenter' */ '@/views/ebiz/agentEenter/AgentEenterBasicImage')
const agentEenterBasicHealth = () => import(/* webpackChunkName: 'agentEenter' */ '@/views/ebiz/agentEenter/AgentEenterBasicHealth')
const agentEenterBasicSuccess = () => import(/* webpackChunkName: 'agentEenter' */ '@/views/ebiz/agentEenter/AgentEenterBasicSuccess')
const ShareInfo = () => import(/* webpackChunkName: 'agentEenter_share' */ '@/views/ebiz/agentEenter/share/ShareInfo')
const ShareInfoSuccess = () => import(/* webpackChunkName: 'agentEenter_share' */ '@/views/ebiz/agentEenter/share/ShareInfoSuccess')
const ApproveList = () => import(/* webpackChunkName: 'agentEenter_approve' */ '@/views/ebiz/agentEenter/approve/ApproveList')
const BasicInfo = () => import(/* webpackChunkName: 'agentEenter_approve' */ '@/views/ebiz/agentEenter/approve/BasicInfo')
const ApproveInfo = () => import(/* webpackChunkName: 'agentEenter_approve' */ '@/views/ebiz/agentEenter/approve/ApproveInfo')
const SubmitSuccess = () => import(/* webpackChunkName: 'agentEenter_approve' */ '@/views/ebiz/agentEenter/approve/SubmitSuccess')
const PractisingCertificateInfo = () => import(/* webpackChunkName: 'agentEenter' */ '@/views/ebiz/agentEenter/PractisingCertificate')
const recordList = () => import(/* webpackChunkName: 'agentEenter_approve' */ '@/views/ebiz/agentEenter/approve/RecordList')
const recordDetail = () => import(/* webpackChunkName: 'agentEenter_approve' */ '@/views/ebiz/agentEenter/approve/RecordDetail')
const ResultEnd = () => import(/* webpackChunkName: 'agentEenter' */ '@/views/ebiz/agentEenter/ResultEnd')
const InformationInspectionAuthorization = () => import(/* webpackChunkName: 'agentEenter' */ '@/views/ebiz/agentEenter/InformationInspectionAuthorization')
const SelfInsurance = () => import(/* webpackChunkName: 'agentEenter' */ '@/views/ebiz/agentEenter/SelfInsurance')
const GuizhouLetterOfCommitment = () => import(/* webpackChunkName: 'agentEenter' */ '@/views/ebiz/agentEenter/GuizhouLetterOfCommitment')
const GuizhouLetterOfGuarantee = () => import(/* webpackChunkName: 'agentEenter' */ '@/views/ebiz/agentEenter/GuizhouLetterOfGuarantee')
const GuizhouInsuranceAgencyContract = () => import(/* webpackChunkName: 'agentEenter' */ '@/views/ebiz/agentEenter/GuizhouInsuranceAgencyContract')
const GuizhouPersonalInformationInquiry = () => import(/* webpackChunkName: 'agentEenter' */ '@/views/ebiz/agentEenter/GuizhouPersonalInformationInquiry')
const Donationagreement = () => import(/* webpackChunkName: 'agentEenter' */ '@/views/ebiz/agentEenter/Donationagreement')
const signContract = () => import('@/views/ebiz/agentEenter/SignContract')
const letterOfKnow = () => import('@/views/ebiz/agentEenter/LetterOfKnow')
const healthNotice = () => import('@/views/ebiz/agentEenter/HealthNotice')
const letterOfCommitment = () => import('@/views/ebiz/agentEenter/LetterCommitment')
const messageLetterOfCommitment = () => import('@/views/ebiz/agentEenter/MessageLetterOfCommitment')
const illegalLetterOfCommitment = () => import('@/views/ebiz/agentEenter/IllegalLetterOfCommitment')
const GuizhouSalesPractitioners = () => import('@/views/ebiz/agentEenter/GuizhouSalesPractitioners')
const guarantee = () => import('@/views/ebiz/agentEenter/Guarantee')
// const confirmation = () => import('@/views/ebiz/agentEenter/Confirmation')
const paction = () => import('@/views/ebiz/agentEenter/Paction')
const agentEenterResult = () => import('@/views/ebiz/agentEenter/Result')
const entryProcess = () => import('@/views/ebiz/agentEenter/EntryProcess')
const seeCause = () => import('@/views/ebiz/agentEenter/SeeCause')
const ShowPDF = () => import('@/views/ebiz/agentEenter/ShowPDF')
const agentEenterBasicInfor = () => import('@/views/ebiz/agentEenter/AgentEenterBasicInfor')
const agentEnterGuarantor = () => import('@/views/ebiz/agentEenter/AgentEnterGuarantor')
const agentEenterBasicFamily = () => import('@/views/ebiz/agentEenter/AgentEenterBasicFamily')
const agentEenterBasicImage = () => import('@/views/ebiz/agentEenter/AgentEenterBasicImage')
const agentEenterBasicHealth = () => import('@/views/ebiz/agentEenter/AgentEenterBasicHealth')
const agentEenterBasicSuccess = () => import('@/views/ebiz/agentEenter/AgentEenterBasicSuccess')
const ShareInfo = () => import('@/views/ebiz/agentEenter/share/ShareInfo')
const ShareInfoSuccess = () => import('@/views/ebiz/agentEenter/share/ShareInfoSuccess')
const ApproveList = () => import('@/views/ebiz/agentEenter/approve/ApproveList')
const BasicInfo = () => import('@/views/ebiz/agentEenter/approve/BasicInfo')
const ApproveInfo = () => import('@/views/ebiz/agentEenter/approve/ApproveInfo')
const SubmitSuccess = () => import('@/views/ebiz/agentEenter/approve/SubmitSuccess')
const PractisingCertificateInfo = () => import('@/views/ebiz/agentEenter/PractisingCertificate')
const recordList = () => import('@/views/ebiz/agentEenter/approve/RecordList')
const recordDetail = () => import('@/views/ebiz/agentEenter/approve/RecordDetail')
const ResultEnd = () => import('@/views/ebiz/agentEenter/ResultEnd')
const InformationInspectionAuthorization = () => import('@/views/ebiz/agentEenter/InformationInspectionAuthorization')
const SelfInsurance = () => import('@/views/ebiz/agentEenter/SelfInsurance')
const GuizhouLetterOfCommitment = () => import('@/views/ebiz/agentEenter/GuizhouLetterOfCommitment')
const GuizhouLetterOfGuarantee = () => import('@/views/ebiz/agentEenter/GuizhouLetterOfGuarantee')
const GuizhouInsuranceAgencyContract = () => import('@/views/ebiz/agentEenter/GuizhouInsuranceAgencyContract')
const GuizhouPersonalInformationInquiry = () => import('@/views/ebiz/agentEenter/GuizhouPersonalInformationInquiry')
const Donationagreement = () => import('@/views/ebiz/agentEenter/Donationagreement')
export default [
{

View File

@@ -1,15 +1,17 @@
//津贴 定义相关组件
const applicationList = () => import(/* webpackChunkName: 'allowance_application' */ '@/views/ebiz/allowance/application/List')
const applicationBaseInfo = () => import(/* webpackChunkName: 'allowance_application' */ '@/views/ebiz/allowance/application/BaseInfo')
const applicationAccountInfo = () => import(/* webpackChunkName: 'allowance_application' */ '@/views/ebiz/allowance/application/AccountInfo')
const applicationAttachmentManagement = () => import(/* webpackChunkName: 'allowance_application' */ '@/views/ebiz/allowance/application/AttachmentManagement')
const applicationSignatureConfirmation = () => import(/* webpackChunkName: 'allowance_application_SignatureConfirmation' */ '@/views/ebiz/allowance/application/SignatureConfirmation/SignatureConfirmation')
const applicationProcess = () => import(/* webpackChunkName: 'allowance_application' */ '@/views/ebiz/allowance/application/process')
const myInfoBaseInfo = () => import(/* webpackChunkName: 'allowance_myInfo' */ '@/views/ebiz/allowance/myInfo/BaseInfo')
const myInfoAccountInfo = () => import(/* webpackChunkName: 'allowance_myInfo' */ '@/views/ebiz/allowance/myInfo/AccountInfo')
const myInfoAttachmentManagement = () => import(/* webpackChunkName: 'allowance_myInfo' */ '@/views/ebiz/allowance/myInfo/AttachmentManagement')
const approvalList = () => import(/* webpackChunkName: 'allowance_approval' */ '@/views/ebiz/allowance/approval/List')
const approvalDetail = () => import(/* webpackChunkName: 'allowance' */ '@/views/ebiz/allowance/Detail')
const applicationList = () => import('@/views/ebiz/allowance/application/List')
const applicationBaseInfo = () => import('@/views/ebiz/allowance/application/BaseInfo')
const applicationAccountInfo = () => import('@/views/ebiz/allowance/application/AccountInfo')
const applicationAttachmentManagement = () => import('@/views/ebiz/allowance/application/AttachmentManagement')
const applicationSignatureConfirmation = () => import('@/views/ebiz/allowance/application/SignatureConfirmation/SignatureConfirmation')
const applicationProcess = () => import('@/views/ebiz/allowance/application/process')
const myInfoBaseInfo = () => import('@/views/ebiz/allowance/myInfo/BaseInfo')
const myInfoAccountInfo = () => import('@/views/ebiz/allowance/myInfo/AccountInfo')
const myInfoAttachmentManagement = () => import('@/views/ebiz/allowance/myInfo/AttachmentManagement')
const approvalList = () => import('@/views/ebiz/allowance/approval/List')
const approvalDetail = () => import('@/views/ebiz/allowance/Detail')
export default [
//津贴申请

View File

@@ -1,5 +1,5 @@
const attendance = () => import(/* webpackChunkName: 'attendance' */ '@/views/ebiz/attendance/Attendance')
const monthly = () => import(/* webpackChunkName: 'attendance' */ '@/views/ebiz/attendance/Monthly')
const attendance = () => import('@/views/ebiz/attendance/Attendance')
const monthly = () => import('@/views/ebiz/attendance/Monthly')
export default [

View File

@@ -1,4 +1,4 @@
const billingDetail = () => import(/* webpackChunkName: 'billingDetail' */ '@/views/ebiz/billingDetail/billingDetail')
const billingDetail = () => import('@/views/ebiz/billingDetail/billingDetail')
export default [

View File

@@ -1,22 +1,22 @@
// 卡单路由
const information = () => import(/* webpackChunkName: 'cardList' */ '@/views/ebiz/cardList/information')
const cardTotreasure = () => import(/* webpackChunkName: 'cardList' */ '@/views/ebiz/cardList/CardTotreasure')
const productDetails = () => import(/* webpackChunkName: 'cardList' */ '@/views/ebiz/cardList/productDetails')
const pay = () => import(/* webpackChunkName: 'cardList' */ '@/views/ebiz/cardList/Pay')
const payResult = () => import(/* webpackChunkName: 'cardList' */ '@/views/ebiz/cardList/PayResult')
const paySuccess = () => import(/* webpackChunkName: 'cardList' */ '@/views/ebiz/cardList/PaySuccess')
const payLoser = () => import(/* webpackChunkName: 'cardList' */ '@/views/ebiz/cardList/PayLoser')
const ShowPDF = () => import(/* webpackChunkName: 'cardList' */ '@/views/ebiz/cardList/ShowPDF')
const phoneCode = () => import(/* webpackChunkName: 'cardList' */ '@/views/ebiz/cardList/phoneCode')
const cardDetail = () => import(/* webpackChunkName: 'cardList' */ '@/views/ebiz/cardList/cardDetail')
const SignatureConfirmation = () => import(/* webpackChunkName: 'cardList' */ '@/views/ebiz/cardList/SignatureConfirmation')
const Result = () => import(/* webpackChunkName: 'cardList' */ '@/views/ebiz/cardList/Result')
const information = () => import('@/views/ebiz/cardList/information')
const cardTotreasure = () => import('@/views/ebiz/cardList/CardTotreasure')
const productDetails = () => import('@/views/ebiz/cardList/productDetails')
const pay = () => import('@/views/ebiz/cardList/Pay')
const payResult = () => import('@/views/ebiz/cardList/PayResult')
const paySuccess = () => import('@/views/ebiz/cardList/PaySuccess')
const payLoser = () => import('@/views/ebiz/cardList/PayLoser')
const ShowPDF = () => import('@/views/ebiz/cardList/ShowPDF')
const phoneCode = () => import('@/views/ebiz/cardList/phoneCode')
const cardDetail = () => import('@/views/ebiz/cardList/cardDetail')
const SignatureConfirmation = () => import('@/views/ebiz/cardList/SignatureConfirmation')
const Result = () => import('@/views/ebiz/cardList/Result')
//团险模块
const GroupAppntInfo = () => import(/* webpackChunkName: 'cardList' */ '@/views/ebiz/cardList/GroupAppntInfo')
const GroupInsuredInfo = () => import(/* webpackChunkName: 'cardList' */ '@/views/ebiz/cardList/GroupInsuredInfo')
const GroupInsuredList = () => import(/* webpackChunkName: 'cardList' */ '@/views/ebiz/cardList/GroupInsuredList')
const GroupAttachmentManagement = () => import(/* webpackChunkName: 'cardList' */ '@/views/ebiz/cardList/GroupAttachmentManagement')
const GroupCheckInfo = () => import(/* webpackChunkName: 'cardList' */ '@/views/ebiz/cardList/GroupCheckInfo')
const GroupAppntInfo = () => import('@/views/ebiz/cardList/GroupAppntInfo')
const GroupInsuredInfo = () => import('@/views/ebiz/cardList/GroupInsuredInfo')
const GroupInsuredList = () => import('@/views/ebiz/cardList/GroupInsuredList')
const GroupAttachmentManagement = () => import('@/views/ebiz/cardList/GroupAttachmentManagement')
const GroupCheckInfo = () => import('@/views/ebiz/cardList/GroupCheckInfo')
export default [
{

View File

@@ -1,23 +1,23 @@
//理赔 定义相关组件
const ProblemList = () => import(/* webpackChunkName: 'claims' */ '@/views/ebiz/claims/ProblemList')
const FillImage = () => import(/* webpackChunkName: 'claims' */ '@/views/ebiz/claims/FillImage')
const success = () => import(/* webpackChunkName: 'claims' */ '@/views/ebiz/claims/Success')
const fail = () => import(/* webpackChunkName: 'claims' */ '@/views/ebiz/claims/Fail')
const claimsList = () => import(/* webpackChunkName: 'claims' */ '@/views/ebiz/claims/ClaimsList')
const claimApprovalList = () => import(/* webpackChunkName: 'claims' */ '@/views/ebiz/claims/ClaimApprovalList')
const searchCustomer = () => import(/* webpackChunkName: 'claims' */ '@/views/ebiz/claims/SearchCustomer')
const searchHospital = () => import(/* webpackChunkName: 'claims' */ '@/views/ebiz/claims/SearchHospital')
const insuredInfo = () => import(/* webpackChunkName: 'claims' */ '@/views/ebiz/claims/InsuredInfo')
const reportInfo = () => import(/* webpackChunkName: 'claims' */ '@/views/ebiz/claims/ReportInfo')
const imageData = () => import(/* webpackChunkName: 'claims' */ '@/views/ebiz/claims/ImageData')
const signatureConfirmation = () => import(/* webpackChunkName: 'claims' */ '@/views/ebiz/claims/SignatureConfirmation')
const claimsSignature = () => import(/* webpackChunkName: 'claims' */ '@/views/ebiz/claims/ClaimsSignature')
const claimsDetail = () => import(/* webpackChunkName: 'claims' */ '@/views/ebiz/claims/ClaimsDetail')
const accident = () => import(/* webpackChunkName: 'claims' */ '@/views/ebiz/claims/Accident')
const applyInfo = () => import(/* webpackChunkName: 'claims' */ '@/views/ebiz/claims/ApplyInfo')
const reportApply = () => import(/* webpackChunkName: 'claims' */ '@/views/ebiz/claims/ReportApply')
const reportSuccess = () => import(/* webpackChunkName: 'claims' */ '@/views/ebiz/claims/ReportSuccess')
const reportFail = () => import(/* webpackChunkName: 'claims' */ '@/views/ebiz/claims/ReportFail')
const ProblemList = () => import('@/views/ebiz/claims/ProblemList')
const FillImage = () => import('@/views/ebiz/claims/FillImage')
const success = () => import('@/views/ebiz/claims/Success')
const fail = () => import('@/views/ebiz/claims/Fail')
const claimsList = () => import('@/views/ebiz/claims/ClaimsList')
const claimApprovalList = () => import('@/views/ebiz/claims/ClaimApprovalList')
const searchCustomer = () => import('@/views/ebiz/claims/SearchCustomer')
const searchHospital = () => import('@/views/ebiz/claims/SearchHospital')
const insuredInfo = () => import('@/views/ebiz/claims/InsuredInfo')
const reportInfo = () => import('@/views/ebiz/claims/ReportInfo')
const imageData = () => import('@/views/ebiz/claims/ImageData')
const signatureConfirmation = () => import('@/views/ebiz/claims/SignatureConfirmation')
const claimsSignature = () => import('@/views/ebiz/claims/ClaimsSignature')
const claimsDetail = () => import('@/views/ebiz/claims/ClaimsDetail')
const accident = () => import('@/views/ebiz/claims/Accident')
const applyInfo = () => import('@/views/ebiz/claims/ApplyInfo')
const reportApply = () => import('@/views/ebiz/claims/ReportApply')
const reportSuccess = () => import('@/views/ebiz/claims/ReportSuccess')
const reportFail = () => import('@/views/ebiz/claims/ReportFail')
export default [
{
path: '/claims/ProblemList',

View File

@@ -1,10 +1,10 @@
//建议书 定义相关组件
const selectedProduct = () => import(/* webpackChunkName: 'common' */ '@/views/ebiz/common/SelectedProduct')
const mainRiskList = () => import(/* webpackChunkName: 'common' */ '@/views/ebiz/common/MainRiskList')
const addRiskList = () => import(/* webpackChunkName: 'common' */ '@/views/ebiz/common/AddRiskList')
const calculatePremium = () => import(/* webpackChunkName: 'common' */ '@/views/ebiz/common/CalculatePremium')
const defalut = () => import(/* webpackChunkName: 'common' */ '@/views/ebiz/common/Defalut')
const companyIntroduce = () => import(/* webpackChunkName: 'common' */ '@/views/ebiz/common/CompanyIntroduce')
const selectedProduct = () => import('@/views/ebiz/common/SelectedProduct')
const mainRiskList = () => import('@/views/ebiz/common/MainRiskList')
const addRiskList = () => import('@/views/ebiz/common/AddRiskList')
const calculatePremium = () => import('@/views/ebiz/common/CalculatePremium')
const defalut = () => import('@/views/ebiz/common/Defalut')
const companyIntroduce = () => import('@/views/ebiz/common/CompanyIntroduce')
export default [
{

View File

@@ -1,7 +1,7 @@
//保全 定义相关组件
const congratulationTop = () => import(/* webpackChunkName: 'congratulation' */ '@/views/ebiz/congratulation/CongratulationTop')
const congratulationList = () => import(/* webpackChunkName: 'congratulation' */ '@/views/ebiz/congratulation/CongratulationList')
const congratulationPreview = () => import(/* webpackChunkName: 'congratulation' */ '@/views/ebiz/congratulation/CongratulationPreview')
const congratulationTop = () => import('@/views/ebiz/congratulation/CongratulationTop')
const congratulationList = () => import('@/views/ebiz/congratulation/CongratulationList')
const congratulationPreview = () => import('@/views/ebiz/congratulation/CongratulationPreview')
export default [
{

View File

@@ -1,7 +1,7 @@
//产品列表 定义相关组件
const cooperativeList = () => import(/* webpackChunkName: 'cooperativeUnit' */ '@/views/ebiz/cooperativeUnit/CooperativeList')
const cooperativeDetail = () => import(/* webpackChunkName: 'cooperativeUnit' */ '@/views/ebiz/cooperativeUnit/CooperativeDetail')
const CooperativeDocument = () => import(/* webpackChunkName: 'cooperativeUnit' */ '@/views/ebiz/cooperativeUnit/CooperativeDocument')
const cooperativeList = () => import('@/views/ebiz/cooperativeUnit/CooperativeList')
const cooperativeDetail = () => import('@/views/ebiz/cooperativeUnit/CooperativeDetail')
const CooperativeDocument = () => import('@/views/ebiz/cooperativeUnit/CooperativeDocument')
export default [
{

View File

@@ -1,8 +1,8 @@
//客户管理 定义相关组件
const customerList = () => import(/* webpackChunkName: 'customer' */ '@/views/ebiz/customer/customerList')
const addCustomer = () => import(/* webpackChunkName: 'customer' */ '@/views/ebiz/customer/addCustomer')
const editCustomer = () => import(/* webpackChunkName: 'customer' */ '@/views/ebiz/customer/editCustomer')
const customerInfo = () => import(/* webpackChunkName: 'customer' */ '@/views/ebiz/customer/customerInfo')
const customerList = () => import('@/views/ebiz/customer/customerList')
const addCustomer = () => import('@/views/ebiz/customer/addCustomer')
const editCustomer = () => import('@/views/ebiz/customer/editCustomer')
const customerInfo = () => import('@/views/ebiz/customer/customerInfo')
export default [
{

View File

@@ -1,4 +1,4 @@
const customerService = () => import(/* webpackChunkName: 'customerService' */ '@/views/ebiz/customerService/customerService')
const customerService = () => import('@/views/ebiz/customerService/customerService')
export default [

View File

@@ -1,11 +1,11 @@
// e起陪访
const VisitInfoRegister = () => import(/* webpackChunkName: 'eqiVisit' */ '@/views/ebiz/eqiVisit/VisitInfoRegister')
const RegisterResult = () => import(/* webpackChunkName: 'eqiVisit' */ '@/views/ebiz/eqiVisit/RegisterResult')
const NewcomerList = () => import(/* webpackChunkName: 'eqiVisit' */ '@/views/ebiz/eqiVisit/NewcomerList')
const ScoreRanking = () => import(/* webpackChunkName: 'eqiVisit' */ '@/views/ebiz/eqiVisit/ScoreRanking')
const VisitHistory = () => import(/* webpackChunkName: 'eqiVisit' */ '@/views/ebiz/eqiVisit/VisitHistory')
const HistoryDetail = () => import(/* webpackChunkName: 'eqiVisit' */ '@/views/ebiz/eqiVisit/HistoryDetail')
const ScoreHistory = () => import(/* webpackChunkName: 'eqiVisit' */ '@/views/ebiz/eqiVisit/ScoreHistory')
const VisitInfoRegister = () => import('@/views/ebiz/eqiVisit/VisitInfoRegister')
const RegisterResult = () => import('@/views/ebiz/eqiVisit/RegisterResult')
const NewcomerList = () => import('@/views/ebiz/eqiVisit/NewcomerList')
const ScoreRanking = () => import('@/views/ebiz/eqiVisit/ScoreRanking')
const VisitHistory = () => import('@/views/ebiz/eqiVisit/VisitHistory')
const HistoryDetail = () => import('@/views/ebiz/eqiVisit/HistoryDetail')
const ScoreHistory = () => import('@/views/ebiz/eqiVisit/ScoreHistory')
export default [
{

View File

@@ -1,9 +1,9 @@
//活动邀请 定义相关组件
const ExercisingDetails = () => import(/* webpackChunkName: 'exercising' */ '@/views/ebiz/exercising/ExercisingDetails')
const SignUp = () => import(/* webpackChunkName: 'exercising' */ '@/views/ebiz/exercising/SignUp')
const SignUpDetails = () => import(/* webpackChunkName: 'exercising' */ '@/views/ebiz/exercising/SignUpDetails')
const PlayerDetails = () => import(/* webpackChunkName: 'exercising' */ '@/views/ebiz/exercising/PlayerDetails')
const SignUpResult = () => import(/* webpackChunkName: 'exercising' */ '@/views/ebiz/exercising/SignUpResult')
const ExercisingDetails = () => import('@/views/ebiz/exercising/ExercisingDetails')
const SignUp = () => import('@/views/ebiz/exercising/SignUp')
const SignUpDetails = () => import('@/views/ebiz/exercising/SignUpDetails')
const PlayerDetails = () => import('@/views/ebiz/exercising/PlayerDetails')
const SignUpResult = () => import('@/views/ebiz/exercising/SignUpResult')
export default [
{

View File

@@ -1,13 +1,13 @@
// 开门红业绩排名
const PerformanceReport = () => import(/* webpackChunkName: 'goodStart' */ '@/views/ebiz/goodStart/PerformanceReport')
const PerformanceReport = () => import('@/views/ebiz/goodStart/PerformanceReport')
// 开门红专区
const Prefecture = () => import(/* webpackChunkName: 'goodStart' */ '@/views/ebiz/goodStart/Prefecture')
const Treasure = () => import(/* webpackChunkName: 'goodStart' */ '@/views/ebiz/goodStart/Treasure')
const TreasureDetail = () => import(/* webpackChunkName: 'goodStart' */ '@/views/ebiz/goodStart/TreasureDetail')
const GoodStartScheme = () => import(/* webpackChunkName: 'goodStart' */ '@/views/ebiz/goodStart/GoodStartScheme')
const businessMap = () => import(/* webpackChunkName: 'goodStart' */ '@/views/ebiz/goodStart/BusinessMap')
const issueList = () => import(/* webpackChunkName: 'goodStart' */ '@/views/ebiz/goodStart/IssueList')
const newsPaper = () => import(/* webpackChunkName: 'goodStart' */ '@/views/ebiz/goodStart/NewsPaper')
const Prefecture = () => import('@/views/ebiz/goodStart/Prefecture')
const Treasure = () => import('@/views/ebiz/goodStart/Treasure')
const TreasureDetail = () => import('@/views/ebiz/goodStart/TreasureDetail')
const GoodStartScheme = () => import('@/views/ebiz/goodStart/GoodStartScheme')
const businessMap = () => import('@/views/ebiz/goodStart/BusinessMap')
const issueList = () => import('@/views/ebiz/goodStart/IssueList')
const newsPaper = () => import('@/views/ebiz/goodStart/NewsPaper')
const spreadParams = function(route) {
const params = {}

View File

@@ -1,6 +1,6 @@
// 惠桂保路由信息
const HgbIndex = () => import('@/views/ebiz/hgb')
const Detail = () => import(/* webpackChunkName: 'hgb' */ '@/views/ebiz/hgb/Detail')
const Detail = () => import('@/views/ebiz/hgb/Detail')
export default [
{
name: 'HgbIndex',

View File

@@ -1,14 +1,15 @@
//客户管理 定义相关组件
const BranchOffice = () => import(/* webpackChunkName: 'institutionalPerform' */ '@/views/ebiz/institutionalPerform/BranchOffice')
const UnderOffice = () => import(/* webpackChunkName: 'institutionalPerform' */ '@/views/ebiz/institutionalPerform/UnderOffice')
const DistrictOffice = () => import(/* webpackChunkName: 'institutionalPerform' */ '@/views/ebiz/institutionalPerform/DistrictOffice')
const DepartmentOffice = () => import(/* webpackChunkName: 'institutionalPerform' */ '@/views/ebiz/institutionalPerform/DepartmentOffice')
const GroupOffice = () => import(/* webpackChunkName: 'institutionalPerform' */ '@/views/ebiz/institutionalPerform/GroupOffice')
const PersonalOffice = () => import(/* webpackChunkName: 'institutionalPerform' */ '@/views/ebiz/institutionalPerform/PersonalOffice')
const ServiceDepartOffice = () => import(/* webpackChunkName: 'institutionalPerform' */ '@/views/ebiz/institutionalPerform/ServiceDepartOffice')
const RegionalOffice = () => import(/* webpackChunkName: 'institutionalPerform' */ '@/views/ebiz/institutionalPerform/RegionalOffice')
const InstitutionalManpower = () => import(/* webpackChunkName: 'institutionalPerform' */ '@/views/ebiz/institutionalPerform/InstitutionalManpower')
const institutionalPerform = () => import(/* webpackChunkName: 'institutionalPerform' */ '@/views/ebiz/institutionalPerform/institutionalPerform')
const BranchOffice = () => import('@/views/ebiz/institutionalPerform/BranchOffice')
const UnderOffice = () => import('@/views/ebiz/institutionalPerform/UnderOffice')
const DistrictOffice = () => import('@/views/ebiz/institutionalPerform/DistrictOffice')
const DepartmentOffice = () => import('@/views/ebiz/institutionalPerform/DepartmentOffice')
const GroupOffice = () => import('@/views/ebiz/institutionalPerform/GroupOffice')
const PersonalOffice = () => import('@/views/ebiz/institutionalPerform/PersonalOffice')
const ServiceDepartOffice = () => import('@/views/ebiz/institutionalPerform/ServiceDepartOffice')
const RegionalOffice = () => import('@/views/ebiz/institutionalPerform/RegionalOffice')
const InstitutionalManpower = () => import('@/views/ebiz/institutionalPerform/InstitutionalManpower')
const institutionalPerform = () => import('@/views/ebiz/institutionalPerform/institutionalPerform')
export default [
// 分公司
{

View File

@@ -6,24 +6,24 @@
* @Description:
* @FilePath: \ebiz-h5\src\router\ebiz\insureAgain.js
*/
const InsureAgain = () => import(/* webpackChunkName: 'insureAgain' */ '@/views/ebiz/insureAgain')
const UncommitInsureDetail = () => import(/* webpackChunkName: 'insureAgain' */ '@/views/ebiz/insureAgain/UncommitInsureDetail')
const CommitInsureDetail = () => import(/* webpackChunkName: 'insureAgain' */ '@/views/ebiz/insureAgain/CommitInsureDetail')
const InsureInformation = () => import(/* webpackChunkName: 'insureAgain' */ '@/views/ebiz/insureAgain/InsureInformation')
const ProductInformation = () => import(/* webpackChunkName: 'insureAgain' */ '@/views/ebiz/insureAgain/ProductInformation')
const Notification = () => import(/* webpackChunkName: 'insureAgain' */ '@/views/ebiz/insureAgain/Notification')
const SignatureConfirmation = () => import(/* webpackChunkName: 'insureAgain' */ '@/views/ebiz/insureAgain/SignatureConfirmation')
const InsureAgainPayment = () => import(/* webpackChunkName: 'insureAgain' */ '@/views/ebiz/insureAgain/Payment')
const PaymentResult = () => import(/* webpackChunkName: 'insureAgain' */ '@/views/ebiz/insureAgain/PaymentResult')
const payResultFail = () => import(/* webpackChunkName: 'insureAgain' */ '@/views/ebiz/insureAgain/PayResultFail')
const ProductTip = () => import(/* webpackChunkName: 'insureAgain' */ '@/views/ebiz/insureAgain/ProductTip')
const InsuranceTip = () => import(/* webpackChunkName: 'insureAgain' */ '@/views/ebiz/insureAgain/InsuranceTip')
const SignatureOfElectronic = () => import(/* webpackChunkName: 'insureAgain' */ '@/views/ebiz/insureAgain/SignatureOfElectronic')
const InsuranceInformation = () => import(/* webpackChunkName: 'insureAgain' */ '@/views/ebiz/insureAgain/InsuranceInformation')
const AvoidDutyTip = () => import(/* webpackChunkName: 'insureAgain' */ '@/views/ebiz/insureAgain/AvoidDutyTip')
const ApointValidDoc = () => import(/* webpackChunkName: 'insureAgain' */ '@/views/ebiz/insureAgain/ApointValidDoc')
const DoubleRecordTip = () => import(/* webpackChunkName: 'insureAgain' */ '@/views/ebiz/insureAgain/DoubleRecordTip')
const Result = () => import(/* webpackChunkName: 'insureAgain' */ '@/views/ebiz/insureAgain/Result')
const InsureAgain = () => import('@/views/ebiz/insureAgain')
const UncommitInsureDetail = () => import('@/views/ebiz/insureAgain/UncommitInsureDetail')
const CommitInsureDetail = () => import('@/views/ebiz/insureAgain/CommitInsureDetail')
const InsureInformation = () => import('@/views/ebiz/insureAgain/InsureInformation')
const ProductInformation = () => import('@/views/ebiz/insureAgain/ProductInformation')
const Notification = () => import('@/views/ebiz/insureAgain/Notification')
const SignatureConfirmation = () => import('@/views/ebiz/insureAgain/SignatureConfirmation')
const InsureAgainPayment = () => import('@/views/ebiz/insureAgain/Payment')
const PaymentResult = () => import('@/views/ebiz/insureAgain/PaymentResult')
const payResultFail = () => import('@/views/ebiz/insureAgain/PayResultFail')
const ProductTip = () => import('@/views/ebiz/insureAgain/ProductTip')
const InsuranceTip = () => import('@/views/ebiz/insureAgain/InsuranceTip')
const SignatureOfElectronic = () => import('@/views/ebiz/insureAgain/SignatureOfElectronic')
const InsuranceInformation = () => import('@/views/ebiz/insureAgain/InsuranceInformation')
const AvoidDutyTip = () => import('@/views/ebiz/insureAgain/AvoidDutyTip')
const ApointValidDoc = () => import('@/views/ebiz/insureAgain/ApointValidDoc')
const DoubleRecordTip = () => import('@/views/ebiz/insureAgain/DoubleRecordTip')
const Result = () => import('@/views/ebiz/insureAgain/Result')
let riskName = localStorage.riskName
export default [
{

View File

@@ -1,10 +1,10 @@
// 卡单路由
const LaurelClub = () => import(/* webpackChunkName: 'laurelClub' */ '@/views/ebiz/laurelClub/LaurelClub')
const LaurelData = () => import(/* webpackChunkName: 'laurelClub' */ '@/views/ebiz/laurelClub/LaurelData')
const MembershipList = () => import(/* webpackChunkName: 'laurelClub' */ '@/views/ebiz/laurelClub/MembershipList')
const StarProcess = () => import(/* webpackChunkName: 'laurelClub' */ '@/views/ebiz/laurelClub/StarProcess')
const ExclusivePosters = () => import(/* webpackChunkName: 'laurelClub' */ '@/views/ebiz/laurelClub/ExclusivePosters')
const LaurelDonation = () => import(/* webpackChunkName: 'laurelClub' */ '@/views/ebiz/laurelClub/LaurelDonation')
const LaurelClub = () => import('@/views/ebiz/laurelClub/LaurelClub')
const LaurelData = () => import('@/views/ebiz/laurelClub/LaurelData')
const MembershipList = () => import('@/views/ebiz/laurelClub/MembershipList')
const StarProcess = () => import('@/views/ebiz/laurelClub/StarProcess')
const ExclusivePosters = () => import('@/views/ebiz/laurelClub/ExclusivePosters')
const LaurelDonation = () => import('@/views/ebiz/laurelClub/LaurelDonation')
export default [

View File

@@ -1,22 +1,28 @@
//人力发展 定义相关组件
const Navigation = () => import(/* webpackChunkName: 'manpower' */ '@/views/ebiz/manpower/Navigation')
const PersonalCenter = () => import(/* webpackChunkName: 'manpower' */ '@/views/ebiz/manpower/PersonalCenter')
const IncreaseStaffTools = () => import(/* webpackChunkName: 'manpower' */ '@/views/ebiz/manpower/IncreaseStaffTools')
const CompanyIntroduction = () => import(/* webpackChunkName: 'manpower' */ '@/views/ebiz/manpower/increaseStaffTools/CompanyIntroduction')
const PolicyOptions = () => import(/* webpackChunkName: 'manpower' */ '@/views/ebiz/manpower/increaseStaffTools/PolicyOptions')
const PolicyOptionsPdfShare = () => import(/* webpackChunkName: 'manpower' */ '@/views/ebiz/manpower/increaseStaffTools/PdfShare')
const Training = () => import(/* webpackChunkName: 'manpower' */ '@/views/ebiz/manpower/Training')
const ActiveManagement = () => import(/* webpackChunkName: 'manpower' */ '@/views/ebiz/manpower/ActiveManagement')
const TalentPoolList = () => import(/* webpackChunkName: 'manpower' */ '@/views/ebiz/manpower/talentPool/List')
const TalentPoolAdd = () => import(/* webpackChunkName: 'manpower' */ '@/views/ebiz/manpower/talentPool/Add')
const TalentPoolEdit = () => import(/* webpackChunkName: 'manpower' */ '@/views/ebiz/manpower/talentPool/Edit')
const ActivityLogList = () => import(/* webpackChunkName: 'manpower' */ '@/views/ebiz/manpower/activityLog/List')
const ActivityLogEdit = () => import(/* webpackChunkName: 'manpower' */ '@/views/ebiz/manpower/activityLog/Edit')
const DiscAnalysisList = () => import(/* webpackChunkName: 'manpower' */ '@/views/ebiz/manpower/discAnalysis/List')
const DiscAnalysisQuestion = () => import(/* webpackChunkName: 'manpower' */ '@/views/ebiz/manpower/discAnalysis/Question')
const DiscAnalysisResult = () => import(/* webpackChunkName: 'manpower' */ '@/views/ebiz/manpower/discAnalysis/Result')
const DiscAnalysisShare = () => import(/* webpackChunkName: 'manpower' */ '@/views/ebiz/manpower/discAnalysis/Share')
const Navigation = () => import('@/views/ebiz/manpower/Navigation')
const PersonalCenter = () => import('@/views/ebiz/manpower/PersonalCenter')
const IncreaseStaffTools = () => import('@/views/ebiz/manpower/IncreaseStaffTools')
const CompanyIntroduction = () => import('@/views/ebiz/manpower/increaseStaffTools/CompanyIntroduction')
const PolicyOptions = () => import('@/views/ebiz/manpower/increaseStaffTools/PolicyOptions')
const PolicyOptionsPdfShare = () => import('@/views/ebiz/manpower/increaseStaffTools/PdfShare')
const Training = () => import('@/views/ebiz/manpower/Training')
const ActiveManagement = () => import('@/views/ebiz/manpower/ActiveManagement')
const TalentPoolList = () => import('@/views/ebiz/manpower/talentPool/List')
const TalentPoolAdd = () => import('@/views/ebiz/manpower/talentPool/Add')
const TalentPoolEdit = () => import('@/views/ebiz/manpower/talentPool/Edit')
const ActivityLogList = () => import('@/views/ebiz/manpower/activityLog/List')
const ActivityLogEdit = () => import('@/views/ebiz/manpower/activityLog/Edit')
const DiscAnalysisList = () => import('@/views/ebiz/manpower/discAnalysis/List')
const DiscAnalysisQuestion = () => import('@/views/ebiz/manpower/discAnalysis/Question')
const DiscAnalysisResult = () => import('@/views/ebiz/manpower/discAnalysis/Result')
const DiscAnalysisShare = () => import('@/views/ebiz/manpower/discAnalysis/Share')
export default [
{

View File

@@ -1,7 +1,7 @@
//重要事件 定义相关组件
const list = () => import(/* webpackChunkName: 'milestone' */ '@/views/ebiz/milestone/milestoneList')
const addMilestone = () => import(/* webpackChunkName: 'milestone' */ '@/views/ebiz/milestone/addMilestone')
const editMilestone = () => import(/* webpackChunkName: 'milestone' */ '@/views/ebiz/milestone/editMilestone')
const list = () => import('@/views/ebiz/milestone/milestoneList')
const addMilestone = () => import('@/views/ebiz/milestone/addMilestone')
const editMilestone = () => import('@/views/ebiz/milestone/editMilestone')
export default [
{

View File

@@ -1,12 +1,12 @@
//我的 定义相关组件
const userCenter = () => import(/* webpackChunkName: 'my' */ '@/views/ebiz/my/UserCenter')
const userSetting = () => import(/* webpackChunkName: 'my' */ '@/views/ebiz/my/UserSetting')
const userInfo = () => import(/* webpackChunkName: 'my' */ '@/views/ebiz/my/UserInfo')
const userIncome = () => import(/* webpackChunkName: 'my' */ '@/views/ebiz/my/UserIncome')
const PrivacyPolicy = () => import(/* webpackChunkName: 'my' */ '@/views/ebiz/my/PrivacyPolicy')
const LogoutAgent = () => import(/* webpackChunkName: 'my' */ '@/views/ebiz/my/LogoutAgent')
const UserWxHead = () => import(/* webpackChunkName: 'my' */ '@/views/ebiz/my/UserWxHead')
const UserWxHead2 = () => import(/* webpackChunkName: 'my' */ '@/views/ebiz/my/UserWxHead2')
const userCenter = () => import('@/views/ebiz/my/UserCenter')
const userSetting = () => import('@/views/ebiz/my/UserSetting')
const userInfo = () => import('@/views/ebiz/my/UserInfo')
const userIncome = () => import('@/views/ebiz/my/UserIncome')
const PrivacyPolicy = () => import('@/views/ebiz/my/PrivacyPolicy')
const LogoutAgent = () => import('@/views/ebiz/my/LogoutAgent')
const UserWxHead = () => import('@/views/ebiz/my/UserWxHead')
const UserWxHead2 = () => import('@/views/ebiz/my/UserWxHead2')
export default [
{

View File

@@ -1,16 +1,16 @@
let nbsList = () => import(/* webpackChunkName: 'nbs' */ '@/views/ebiz/nbs/List')
let nbsNav = () => import(/* webpackChunkName: 'nbs' */ '@/views/ebiz/nbs/Nav')
let nbsChart = () => import(/* webpackChunkName: 'nbs' */ '@/views/ebiz/nbs/Chart')
let nbsResult = () => import(/* webpackChunkName: 'nbs' */ '@/views/ebiz/nbs/Result')
let nbsCrewList = () => import(/* webpackChunkName: 'nbs' */ '@/views/ebiz/nbs/CrewList')
let nbsBase = () => import(/* webpackChunkName: 'nbs' */ '@/views/ebiz/nbs/Base')
let nbsNecessary = () => import(/* webpackChunkName: 'nbs' */ '@/views/ebiz/nbs/Necessary')
let nbsPrepared = () => import(/* webpackChunkName: 'nbs' */ '@/views/ebiz/nbs/Prepared')
let nbsDetail = () => import(/* webpackChunkName: 'nbs' */ '@/views/ebiz/nbs/Detail')
let nbsPDF = () => import(/* webpackChunkName: 'nbs' */ '@/views/ebiz/nbs/PDF')
let internal = () => import(/* webpackChunkName: 'nbs' */ '@/views/ebiz/nbs/InternalService')
let internalItem = () => import(/* webpackChunkName: 'nbs' */ '@/views/ebiz/nbs/InternalServiceItem')
let internalItem_2 = () => import(/* webpackChunkName: 'nbs' */ '@/views/ebiz/nbs/InternalServiceItem_2')
let nbsList = () => import('@/views/ebiz/nbs/List')
let nbsNav = () => import('@/views/ebiz/nbs/Nav')
let nbsChart = () => import('@/views/ebiz/nbs/Chart')
let nbsResult = () => import('@/views/ebiz/nbs/Result')
let nbsCrewList = () => import('@/views/ebiz/nbs/CrewList')
let nbsBase = () => import('@/views/ebiz/nbs/Base')
let nbsNecessary = () => import('@/views/ebiz/nbs/Necessary')
let nbsPrepared = () => import('@/views/ebiz/nbs/Prepared')
let nbsDetail = () => import('@/views/ebiz/nbs/Detail')
let nbsPDF = () => import('@/views/ebiz/nbs/PDF')
let internal = () => import('@/views/ebiz/nbs/InternalService')
let internalItem = () => import('@/views/ebiz/nbs/InternalServiceItem')
let internalItem_2 = () => import('@/views/ebiz/nbs/InternalServiceItem_2')
export default [
{
path: '/nbs/list',

View File

@@ -1,7 +1,7 @@
const performance = () => import(/* webpackChunkName: 'performance' */ '@/views/ebiz/performance/Performance')
const attendanceInfo = () => import(/* webpackChunkName: 'performance' */ '@/views/ebiz/performance/AttendanceInfo')
const PerformanceList = () => import(/* webpackChunkName: 'performance' */ '@/views/ebiz/performance/PerformanceList')
const PerformanceInfo = () => import(/* webpackChunkName: 'performance' */ '@/views/ebiz/performance/PerformanceInfo')
const performance = () => import('@/views/ebiz/performance/Performance')
const attendanceInfo = () => import('@/views/ebiz/performance/AttendanceInfo')
const PerformanceList = () => import('@/views/ebiz/performance/PerformanceList')
const PerformanceInfo = () => import('@/views/ebiz/performance/PerformanceInfo')
export default [
{

View File

@@ -1,7 +1,7 @@
//保全 定义相关组件
const posterList = () => import(/* webpackChunkName: 'poster' */ '@/views/ebiz/poster/PosterList')
const posterPreview = () => import(/* webpackChunkName: 'poster' */ '@/views/ebiz/poster/PosterPreview')
const posterLoading = () => import(/* webpackChunkName: 'poster' */ '@/views/ebiz/poster/PosterLoading')
const posterList = () => import('@/views/ebiz/poster/PosterList')
const posterPreview = () => import('@/views/ebiz/poster/PosterPreview')
const posterLoading = () => import('@/views/ebiz/poster/PosterLoading')
export default [
{

View File

@@ -1,42 +1,42 @@
//保全 定义相关组件
//common公用页面
const Search = () => import(/* webpackChunkName: 'preserve' */ '@/views/ebiz/preserve/common/Search')
const HandleResult = () => import(/* webpackChunkName: 'preserve' */ '@/views/ebiz/preserve/common/HandleResult')
const SubmitResult = () => import(/* webpackChunkName: 'preserve' */ '@/views/ebiz/preserve/common/SubmitResult')
const PolicyList = () => import(/* webpackChunkName: 'preserve' */ '@/views/ebiz/preserve/common/PolicyList')
const Search = () => import('@/views/ebiz/preserve/common/Search')
const HandleResult = () => import('@/views/ebiz/preserve/common/HandleResult')
const SubmitResult = () => import('@/views/ebiz/preserve/common/SubmitResult')
const PolicyList = () => import('@/views/ebiz/preserve/common/PolicyList')
//PC 续期账户变更
const RenewalInfo = () => import(/* webpackChunkName: 'preserve' */ '@/views/ebiz/preserve/pc/RenewalInfo')
const PcImageUpload = () => import(/* webpackChunkName: 'preserve' */ '@/views/ebiz/preserve/pc/ImageUpload')
const RenewalConfirmation = () => import(/* webpackChunkName: 'preserve' */ '@/views/ebiz/preserve/pc/RenewalConfirmation')
const RenewalInfo = () => import('@/views/ebiz/preserve/pc/RenewalInfo')
const PcImageUpload = () => import('@/views/ebiz/preserve/pc/ImageUpload')
const RenewalConfirmation = () => import('@/views/ebiz/preserve/pc/RenewalConfirmation')
const AutopayAuthorization = () => import('@/views/ebiz/preserve/pc/AutopayAuthorization')
//BB 联系方式变更
const contactInfo = () => import(/* webpackChunkName: 'preserve' */ '@/views/ebiz/preserve/bb/ContactInfo')
const contacAgreement = () => import(/* webpackChunkName: 'preserve' */ '@/views/ebiz/preserve/bb/ContacAgreement')
const contactConfirmation = () => import(/* webpackChunkName: 'preserve' */ '@/views/ebiz/preserve/bb/ContactConfirmation')
const contactInfo = () => import('@/views/ebiz/preserve/bb/ContactInfo')
const contacAgreement = () => import('@/views/ebiz/preserve/bb/ContacAgreement')
const contactConfirmation = () => import('@/views/ebiz/preserve/bb/ContactConfirmation')
//BC 受益人变更
const BeneficiaryInfo = () => import(/* webpackChunkName: 'preserve' */ '@/views/ebiz/preserve/bc/BeneficiaryInfo')
const BcImageUpload = () => import(/* webpackChunkName: 'preserve' */ '@/views/ebiz/preserve/bc/ImageUpload')
const BeneficiaryInfoAdd = () => import(/* webpackChunkName: 'preserve' */ '@/views/ebiz/preserve/bc/BeneficiaryInfoAdd')
const BeneficiaryInfoDetail = () => import(/* webpackChunkName: 'preserve' */ '@/views/ebiz/preserve/bc/BeneficiaryInfoDetail')
const BeneficiaryConfirmation = () => import(/* webpackChunkName: 'preserve' */ '@/views/ebiz/preserve/bc/BeneficiaryConfirmation')
const BeneficiaryInfo = () => import('@/views/ebiz/preserve/bc/BeneficiaryInfo')
const BcImageUpload = () => import('@/views/ebiz/preserve/bc/ImageUpload')
const BeneficiaryInfoAdd = () => import('@/views/ebiz/preserve/bc/BeneficiaryInfoAdd')
const BeneficiaryInfoDetail = () => import('@/views/ebiz/preserve/bc/BeneficiaryInfoDetail')
const BeneficiaryConfirmation = () => import('@/views/ebiz/preserve/bc/BeneficiaryConfirmation')
//退保
const SurrenderInfo = () => import(/* webpackChunkName: 'preserve' */ '@/views/ebiz/preserve/ct/SurrenderInfo')
const SurrenderConfirmation = () => import(/* webpackChunkName: 'preserve' */ '@/views/ebiz/preserve/ct/SurrenderConfirmation')
const SurrenderTip = () => import(/* webpackChunkName: 'preserve' */ '@/views/ebiz/preserve/ct/SurrenderTip')
const CtImageUpload = () => import(/* webpackChunkName: 'preserve' */ '@/views/ebiz/preserve/ct/ImageUpload')
const SurrenderInfo = () => import('@/views/ebiz/preserve/ct/SurrenderInfo')
const SurrenderConfirmation = () => import('@/views/ebiz/preserve/ct/SurrenderConfirmation')
const SurrenderTip = () => import('@/views/ebiz/preserve/ct/SurrenderTip')
const CtImageUpload = () => import('@/views/ebiz/preserve/ct/ImageUpload')
//犹豫期退保
const WSurrenderInfo = () => import(/* webpackChunkName: 'preserve' */ '@/views/ebiz/preserve/wt/WSurrenderInfo')
const WSurrenderConfirmation = () => import(/* webpackChunkName: 'preserve' */ '@/views/ebiz/preserve/wt/WSurrenderConfirmation')
const WSurrenderTip = () => import(/* webpackChunkName: 'preserve' */ '@/views/ebiz/preserve/wt/WSurrenderTip')
const WtImageUpload = () => import(/* webpackChunkName: 'preserve' */ '@/views/ebiz/preserve/wt/ImageUpload')
const WSurrenderInfo = () => import('@/views/ebiz/preserve/wt/WSurrenderInfo')
const WSurrenderConfirmation = () => import('@/views/ebiz/preserve/wt/WSurrenderConfirmation')
const WSurrenderTip = () => import('@/views/ebiz/preserve/wt/WSurrenderTip')
const WtImageUpload = () => import('@/views/ebiz/preserve/wt/ImageUpload')
//保全进度查询及详情页面
const Progress = () => import(/* webpackChunkName: 'preserve' */ '@/views/ebiz/preserve/Progress')
const Contact = () => import(/* webpackChunkName: 'preserve' */ '@/views/ebiz/preserve/detail/Contact')
const Beneficiary = () => import(/* webpackChunkName: 'preserve' */ '@/views/ebiz/preserve/detail/Beneficiary')
const BeneficiaryInfoD = () => import(/* webpackChunkName: 'preserve' */ '@/views/ebiz/preserve/detail/BeneficiaryInfo')
const Renewal = () => import(/* webpackChunkName: 'preserve' */ '@/views/ebiz/preserve/detail/Renewal')
const CoolingOffperiodSurrender = () => import(/* webpackChunkName: 'preserve' */ '@/views/ebiz/preserve/detail/CoolingOffperiodSurrender')
const Surrender = () => import(/* webpackChunkName: 'preserve' */ '@/views/ebiz/preserve/detail/Surrender')
const Progress = () => import('@/views/ebiz/preserve/Progress')
const Contact = () => import('@/views/ebiz/preserve/detail/Contact')
const Beneficiary = () => import('@/views/ebiz/preserve/detail/Beneficiary')
const BeneficiaryInfoD = () => import('@/views/ebiz/preserve/detail/BeneficiaryInfo')
const Renewal = () => import('@/views/ebiz/preserve/detail/Renewal')
const CoolingOffperiodSurrender = () => import('@/views/ebiz/preserve/detail/CoolingOffperiodSurrender')
const Surrender = () => import('@/views/ebiz/preserve/detail/Surrender')
export default [
{

View File

@@ -1,10 +1,10 @@
//商品商城
const ForwardRecord = () => import(/* webpackChunkName: 'productstore' */ '@/views/ebiz/product-store/ForwardRecord')
const LoginMsg = () => import(/* webpackChunkName: 'productstore' */ '@/views/ebiz/product-store/LoginMsg')
const StoreDetail = () => import(/* webpackChunkName: 'productstore' */ '@/views/ebiz/product-store/StoreDetail')
const StoreList = () => import(/* webpackChunkName: 'productstore' */ '@/views/ebiz/product-store/StoreList')
const Agreement = () => import(/* webpackChunkName: 'productstore' */ '@/views/ebiz/product-store/Agreement')
const Protocol = () => import(/* webpackChunkName: 'productstore' */ '@/views/ebiz/product-store/Protocol')
const ForwardRecord = () => import('@/views/ebiz/product-store/ForwardRecord')
const LoginMsg = () => import('@/views/ebiz/product-store/LoginMsg')
const StoreDetail = () => import('@/views/ebiz/product-store/StoreDetail')
const StoreList = () => import('@/views/ebiz/product-store/StoreList')
const Agreement = () => import('@/views/ebiz/product-store/Agreement')
const Protocol = () => import('@/views/ebiz/product-store/Protocol')
export default [
{
path: '/productStore/forwardRecord',

View File

@@ -1,8 +1,8 @@
//产品列表 定义相关组件
const productList = () => import(/* webpackChunkName: 'product' */ '@/views/ebiz/product/ProductList')
const productDetail = () => import(/* webpackChunkName: 'product' */ '@/views/ebiz/product/ProductDetail')
const productDocument = () => import(/* webpackChunkName: 'product' */ '@/views/ebiz/product/ProductDocument')
const homeProduct = () => import(/* webpackChunkName: 'product' */ '@/views/ebiz/product/HomeProduct')
const productList = () => import('@/views/ebiz/product/ProductList')
const productDetail = () => import('@/views/ebiz/product/ProductDetail')
const productDocument = () => import('@/views/ebiz/product/ProductDocument')
const homeProduct = () => import('@/views/ebiz/product/HomeProduct')
export default [
{

View File

@@ -1,8 +1,8 @@
//产说会列表 定义相关组件
const List = () => import(/* webpackChunkName: 'productionSay' */ '@/views/ebiz/productionSay/List')
const createChangeItem = () => import(/* webpackChunkName: 'productionSay' */ '@/views/ebiz/productionSay/createChangeItem')
const statistics = () => import(/* webpackChunkName: 'productionSay' */ '@/views/ebiz/productionSay/statistics')
const statisticsItem = () => import(/* webpackChunkName: 'productionSay' */ '@/views/ebiz/productionSay/statisticsItem')
const List = () => import('@/views/ebiz/productionSay/List')
const createChangeItem = () => import('@/views/ebiz/productionSay/createChangeItem')
const statistics = () => import('@/views/ebiz/productionSay/statistics')
const statisticsItem = () => import('@/views/ebiz/productionSay/statisticsItem')
export default [
{

View File

@@ -1,15 +1,15 @@
//建议书 定义相关组件
const list = () => import(/* webpackChunkName: 'proposal' */ '@/views/ebiz/proposal/List')
const appnt = () => import(/* webpackChunkName: 'proposal' */ '@/views/ebiz/proposal/Appnt')
const chooseInsuredPerson = () => import(/* webpackChunkName: 'proposal' */ '@/views/ebiz/proposal/ChooseInsuredPerson')
const insuredPerson = () => import(/* webpackChunkName: 'proposal' */ '@/views/ebiz/proposal/InsuredPerson')
const exhibition = () => import(/* webpackChunkName: 'proposal' */ '@/views/ebiz/proposal/Exhibition')
const companyProfile = () => import(/* webpackChunkName: 'proposal' */ '@/views/ebiz/proposal/CompanyProfile')
const pdf = () => import(/* webpackChunkName: 'proposal' */ '@/views/ebiz/proposal/PDF')
const proposalInfo = () => import(/* webpackChunkName: 'proposal' */ '@/views/ebiz/proposal/ProposalInfo')
const caluePdf = () => import(/* webpackChunkName: 'proposal' */ '@/views/ebiz/proposal/CaluePDF')
const newAppnt = () => import(/* webpackChunkName: 'proposal' */ '@/views/ebiz/proposal/NewAppnt')
const newInsuredPerson = () => import(/* webpackChunkName: 'proposal' */ '@/views/ebiz/proposal/NewInsuredPerson')
const list = () => import('@/views/ebiz/proposal/List')
const appnt = () => import('@/views/ebiz/proposal/Appnt')
const chooseInsuredPerson = () => import('@/views/ebiz/proposal/ChooseInsuredPerson')
const insuredPerson = () => import('@/views/ebiz/proposal/InsuredPerson')
const exhibition = () => import('@/views/ebiz/proposal/Exhibition')
const companyProfile = () => import('@/views/ebiz/proposal/CompanyProfile')
const pdf = () => import('@/views/ebiz/proposal/PDF')
const proposalInfo = () => import('@/views/ebiz/proposal/ProposalInfo')
const caluePdf = () => import('@/views/ebiz/proposal/CaluePDF')
const newAppnt = () => import('@/views/ebiz/proposal/NewAppnt')
const newInsuredPerson = () => import('@/views/ebiz/proposal/NewInsuredPerson')
export default [
{

View File

@@ -1,11 +1,11 @@
const list = () => import(/* webpackChunkName: 'renewalManage' */ '@/views/ebiz/renewalManage/List')
const customerList = () => import(/* webpackChunkName: 'renewalManage' */ '@/views/ebiz/renewalManage/customerList')
const policyList = () => import(/* webpackChunkName: 'renewalManage' */ '@/views/ebiz/renewalManage/policyList')
const detail = () => import(/* webpackChunkName: 'renewalManage' */ '@/views/ebiz/renewalManage/Detail')
const policyDetail = () => import(/* webpackChunkName: 'renewalManage' */ '@/views/ebiz/renewalManage/policyDetail')
const msgTemplate = () => import(/* webpackChunkName: 'renewalManage' */ '@/views/ebiz/renewalManage/MsgTemplate')
const shortPolicyList = () => import(/* webpackChunkName: 'renewalManage' */ '@/views/ebiz/renewalManage/shortPolicyList')
const shortPolicyDetail = () => import(/* webpackChunkName: 'renewalManage' */ '@/views/ebiz/renewalManage/shortPolicyDetail')
const list = () => import('@/views/ebiz/renewalManage/List')
const customerList = () => import('@/views/ebiz/renewalManage/customerList')
const policyList = () => import('@/views/ebiz/renewalManage/policyList')
const detail = () => import('@/views/ebiz/renewalManage/Detail')
const policyDetail = () => import('@/views/ebiz/renewalManage/policyDetail')
const msgTemplate = () => import('@/views/ebiz/renewalManage/MsgTemplate')
const shortPolicyList = () => import('@/views/ebiz/renewalManage/shortPolicyList')
const shortPolicyDetail = () => import('@/views/ebiz/renewalManage/shortPolicyDetail')
export default [
{
path: '/renewalManage/list',

View File

@@ -1,6 +1,6 @@
//数据报表 定义相关组件
const reportList = () => import(/* webpackChunkName: 'report' */ '@/views/ebiz/report/reportList')
const reportDetail = () => import(/* webpackChunkName: 'report' */ '@/views/ebiz/report/reportDetail')
const reportList = () => import('@/views/ebiz/report/reportList')
const reportDetail = () => import('@/views/ebiz/report/reportDetail')
export default [
{

View File

@@ -1,40 +1,43 @@
//电子投保 定义相关组件
const list = () => import(/* webpackChunkName: 'sale1' */ '@/views/ebiz/sale/List')
const insuredPerson = () => import(/* webpackChunkName: 'sale1' */ '@/views/ebiz/sale/InsuredPerson')
const insuredInfo = () => import(/* webpackChunkName: 'sale1' */ '@/views/ebiz/sale/InsuredInfo')
const result = () => import(/* webpackChunkName: 'sale1' */ '@/views/ebiz/sale/Result')
const beneficiary = () => import(/* webpackChunkName: 'sale1' */ '@/views/ebiz/sale/Beneficiary')
const attachmentManagement = () => import(/* webpackChunkName: 'sale1' */ '@/views/ebiz/sale/AttachmentManagement')
const addBeneficiaryInfo = () => import(/* webpackChunkName: 'sale1' */ '@/views/ebiz/sale/AddBeneficiaryInfo')
const signatureConfirmation = () => import(/* webpackChunkName: 'sale1' */ '@/views/ebiz/sale/SignatureConfirmation')
const notifyingMessage = () => import(/* webpackChunkName: 'sale1' */ '@/views/ebiz/sale/NotifyingMessage')
const universalRiskNotifyingMessage = () => import(/* webpackChunkName: 'sale1' */ '@/views/ebiz/sale/universalRiskNotifyingMessage')
const answerPage = () => import(/* webpackChunkName: 'sale2' */ '@/views/ebiz/sale/answerPage')
const answerSuccess = () => import(/* webpackChunkName: 'sale2' */ '@/views/ebiz/sale/answerSuccess')
const accountInformation = () => import(/* webpackChunkName: 'sale2' */ '@/views/ebiz/sale/AccountInformation')
const insuranceInformation = () => import(/* webpackChunkName: 'sale2' */ '@/views/ebiz/sale/InsuranceInformation')
const insuranceClauses = () => import(/* webpackChunkName: 'sale2' */ '@/views/ebiz/sale/insuranceClauses')
const insuranceTip = () => import(/* webpackChunkName: 'sale2' */ '@/views/ebiz/sale/InsuranceTip')
const universalRiskNotifyingMessageTip = () => import(/* webpackChunkName: 'sale2' */ '@/views/ebiz/sale/universalRiskNotifyingMessageTip')
const InsuranceRiskReminder = () => import(/* webpackChunkName: 'sale2' */ '@/views/ebiz/sale/InsuranceRiskReminder')
const signatureOfElectronic = () => import(/* webpackChunkName: 'sale2' */ '@/views/ebiz/sale/SignatureOfElectronic')
const PersonalInformation = () => import(/* webpackChunkName: 'sale2' */ '@/views/ebiz/sale/PersonalInformation')
const AnswerTip = () => import(/* webpackChunkName: 'sale3' */ '@/views/ebiz/sale/AnswerTip')
const payResult = () => import(/* webpackChunkName: 'sale3' */ '@/views/ebiz/sale/PayResult')
const cardScan = () => import(/* webpackChunkName: 'sale3' */ '@/views/ebiz/sale/CardScan')
const identitycardScan = () => import(/* webpackChunkName: 'sale3' */ '@/views/ebiz/sale/identityCardScan')
const payMent = () => import(/* webpackChunkName: 'sale3' */ '@/views/ebiz/sale/PayMent')
const backShow = () => import(/* webpackChunkName: 'sale3' */ '@/views/ebiz/sale/BackShow')
const Test = () => import(/* webpackChunkName: 'sale3' */ '@/views/ebiz/sale/test')
const detail = () => import(/* webpackChunkName: 'sale3' */ '@/views/ebiz/sale/Detail')
const productTip = () => import(/* webpackChunkName: 'sale3' */ '@/views/ebiz/sale/productTip')
const avoidDutyTip = () => import(/* webpackChunkName: 'sale3' */ '@/views/ebiz/sale/AvoidDutyTip')
const doubleRecordTip = () => import(/* webpackChunkName: 'sale4' */ '@/views/ebiz/sale/DoubleRecordTip')
const PayResultFail = () => import(/* webpackChunkName: 'sale4' */ '@/views/ebiz/sale/PayResultFail')
const apointValidDoc = () => import(/* webpackChunkName: 'sale4' */ '@/views/ebiz/sale/apointValidDoc')
const shortPeriodProduct = () => import(/* webpackChunkName: 'sale4' */ '@/views/ebiz/sale/shortPeriodProduct')
const commitmentSelfProtect = () => import(/* webpackChunkName: 'sale4' */ '@/views/ebiz/sale/commitmentSelfProtect')
const list = () => import('@/views/ebiz/sale/List')
const insuredPerson = () => import('@/views/ebiz/sale/InsuredPerson')
const insuredInfo = () => import('@/views/ebiz/sale/InsuredInfo')
const result = () => import('@/views/ebiz/sale/Result')
const beneficiary = () => import('@/views/ebiz/sale/Beneficiary')
const attachmentManagement = () => import('@/views/ebiz/sale/AttachmentManagement')
const addBeneficiaryInfo = () => import('@/views/ebiz/sale/AddBeneficiaryInfo')
const signatureConfirmation = () => import('@/views/ebiz/sale/SignatureConfirmation')
const notifyingMessage = () => import('@/views/ebiz/sale/NotifyingMessage')
const universalRiskNotifyingMessage = () => import('@/views/ebiz/sale/universalRiskNotifyingMessage')
const answerPage = () => import('@/views/ebiz/sale/answerPage')
const answerSuccess = () => import('@/views/ebiz/sale/answerSuccess')
const accountInformation = () => import('@/views/ebiz/sale/AccountInformation')
const insuranceInformation = () => import('@/views/ebiz/sale/InsuranceInformation')
const insuranceClauses = () => import('@/views/ebiz/sale/insuranceClauses')
const insuranceTip = () => import('@/views/ebiz/sale/InsuranceTip')
const universalRiskNotifyingMessageTip = () => import('@/views/ebiz/sale/universalRiskNotifyingMessageTip')
const InsuranceRiskReminder = () => import('@/views/ebiz/sale/InsuranceRiskReminder')
const signatureOfElectronic = () => import('@/views/ebiz/sale/SignatureOfElectronic')
const PersonalInformation = () => import('@/views/ebiz/sale/PersonalInformation')
const AnswerTip = () => import('@/views/ebiz/sale/AnswerTip')
const payResult = () => import('@/views/ebiz/sale/PayResult')
const cardScan = () => import('@/views/ebiz/sale/CardScan')
const identitycardScan = () => import('@/views/ebiz/sale/identityCardScan')
const payMent = () => import('@/views/ebiz/sale/PayMent')
const backShow = () => import('@/views/ebiz/sale/BackShow')
const Test = () => import('@/views/ebiz/sale/test')
const detail = () => import('@/views/ebiz/sale/Detail')
const productTip = () => import('@/views/ebiz/sale/productTip')
const avoidDutyTip = () => import('@/views/ebiz/sale/AvoidDutyTip')
const doubleRecordTip = () => import('@/views/ebiz/sale/DoubleRecordTip')
const PayResultFail = () => import('@/views/ebiz/sale/PayResultFail')
const apointValidDoc = () => import('@/views/ebiz/sale/apointValidDoc')
const shortPeriodProduct = () => import('@/views/ebiz/sale/shortPeriodProduct')
const commitmentSelfProtect = () => import('@/views/ebiz/sale/commitmentSelfProtect')
let riskName = localStorage.riskName
console.log('sale/riskName==', riskName)
export default [
{
path: '/sale/list',

View File

@@ -1,11 +1,11 @@
//服务 定义相关组件
const list = () => import(/* webpackChunkName: 'serve' */ '@/views/ebiz/serve/List')
const detail = () => import(/* webpackChunkName: 'serve' */ '@/views/ebiz/serve/Detail')
const policyList = () => import(/* webpackChunkName: 'serve' */ '@/views/ebiz/serve/PolicyList')
const caseApplication = () => import(/* webpackChunkName: 'serve' */ '@/views/ebiz/serve/CaseApplication')
const Result = () => import(/* webpackChunkName: 'serve' */ '@/views/ebiz/serve/Result')
const airSign = () => import(/* webpackChunkName: 'serve' */ '@/views/ebiz/serve/AirSign')
const crossPolicyList = () => import(/* webpackChunkName: 'serve' */ '@/views/ebiz/serve/CrossPolicyList')
const list = () => import('@/views/ebiz/serve/List')
const detail = () => import('@/views/ebiz/serve/Detail')
const policyList = () => import('@/views/ebiz/serve/PolicyList')
const caseApplication = () => import('@/views/ebiz/serve/CaseApplication')
const Result = () => import('@/views/ebiz/serve/Result')
const airSign = () => import('@/views/ebiz/serve/AirSign')
const crossPolicyList = () => import('@/views/ebiz/serve/CrossPolicyList')
export default [
{

View File

@@ -1,7 +1,7 @@
//服务 定义相关组件
const surveyList = () => import(/* webpackChunkName: 'survey' */ '@/views/ebiz/survey/SurveyList')
const surveyDetail = () => import(/* webpackChunkName: 'survey' */ '@/views/ebiz/survey/SurveyDetail')
const shareCover = () => import(/* webpackChunkName: 'survey' */ '@/views/ebiz/survey/ShareCover')
const surveyList = () => import('@/views/ebiz/survey/SurveyList')
const surveyDetail = () => import('@/views/ebiz/survey/SurveyDetail')
const shareCover = () => import('@/views/ebiz/survey/ShareCover')
export default [
{

View File

@@ -1,5 +1,5 @@
//培训系统 定义相关组件
const trainLoading = () => import(/* webpackChunkName: 'train' */ '@/views/ebiz/train/TrainLoading')
const trainLoading = () => import('@/views/ebiz/train/TrainLoading')
export default [
{

View File

@@ -13,9 +13,9 @@
<van-tag type="primary" v-if="item.isMainRisk == 0" class="mr5 green" plain>主险</van-tag>
<van-tag type="primary" v-else class="mr5 green" plain>附加险</van-tag>
<span class="ml5 center fs13 flex1">{{ item.riskName }}</span>
<van-tag type="primary" v-if="item.isMainRisk == 0 && item.hasAddtionRisk && isEnterAddtionRisk" plain @click="selectAddtionRisk" class="green mr8"
></van-tag
>
<van-tag type="primary" v-if="item.isMainRisk == 0 && item.hasAddtionRisk && isEnterAddtionRisk" plain @click="selectAddtionRisk" class="green mr8">
</van-tag>
<van-icon name="search" size="20" v-if="item.documentDTOS && item.documentDTOS.length > 0" @click="seeDocument(index)" class="green mr5" />
<van-icon name="delete" size="22" @click="deleteRisk(index,item)" class="green" />
</div>
@@ -109,6 +109,7 @@
item.productCode == 'GFRS_M0051' ||
item.productCode == 'GFRS_M0054' ||
item.productCode == 'GFRS_M0073' ||
item.productCode == 'GFRS_M0077' ||
item.productCode == 'GFRS_M0057'
)
"
@@ -127,6 +128,7 @@
item.productCode == 'GFRS_M0051' ||
item.productCode == 'GFRS_M0054' ||
item.productCode == 'GFRS_M0073' ||
item.productCode == 'GFRS_M0077' ||
item.productCode == 'GFRS_M0057'
)
"
@@ -747,6 +749,42 @@ export default {
}
})
}
if (item.mainRiskCode == 'GFRS_M0077') {
item.calFactorLst.map((i) => {
if (i.code == 'dutyGroup') {
if(i.rules && i.rules.length != 0) {
i.rules.forEach(ii=>{
if(this.saleInsuredPersonInfo.insuredAge < 18) {
if(ii.duty == '311504'){
ii.necess = true
ii.defaultValue = '0'
} else {
ii.defaultValue = '0'
}
}else{
if(this.saleInsuredPersonInfo.sex == '0'){
if(ii.duty == '311505'){
ii.necess = true
ii.defaultValue = '0'
}
if(ii.duty == '311504' || ii.duty == '311506'){
ii.defaultValue = '0'
}
} else {
if(ii.duty == '311506'){
ii.defaultValue = '0'
ii.necess = true
}
if(ii.duty == '311504' || ii.duty == '311505'){
ii.defaultValue = '0'
}
}
}
})
}
}
})
}
if (item.mainRiskCode == 'GFRS_M0046') {
if (this.saleInsuredPersonInfo.relationToAppnt == 1) {
this.isEnterAddtionRiskListFunc()
@@ -774,25 +812,11 @@ export default {
}
}
// if (item.productCode == 'GFRS_A0003') {
// //该附加险的责任保额=主险的保费
// item.calFactorLst.map(v => {
// if (v.code == 'dutyGroup' && v.rules.length > 0) {
// v.rules.map(y => {
// if (y.defaultDutyAmt === null) {
// y.defaultDutyAmt = (JSON.parse(localStorage.trialList)[0].prem / 10000).toFixed(6)
// }
// y.moneyUnit = 10000
// y.changeWithMainRisk = true //责任险保额=主险保费,不允许用户手动更改
// })
// }
// })
// }
//保存主险险种编号
if (item.isMainRisk == 0) {
this.mainRiskCode = item.mainRiskCode
}
})
//保存主险险种编号
if (item.isMainRisk == 0) {
this.mainRiskCode = item.mainRiskCode
}
})
if (this.mainRiskCode == 'GFRS_M0005') {
this.chooseProducts.map((item) => {
if (item.productCode == 'GFRS_A0004') {
@@ -850,91 +874,6 @@ export default {
rules.forEach((item) => {
let config = ''
config = JSON.parse(item.ruleExpression)
// let errorMsg = item.errorMsg;
// config = {
// eventName: 'GFRS_M0020_payEndYear_insuYear',
// eventType: 'onConfirm',
// funBody: [
// 'let ageMap = {',
// ' "10Y":{"30Y": 55,"70A": 55,"88A": 55},',
// ' "20Y":{ "30Y": 55, "70A": 50, "88A": 55 }, ',
// ' "30Y":{ "30Y": 45, "70A": 40, "88A": 45 },',
// '};',
// 'let payEndYear = "";',
// 'let insuYear = "";',
// 'let age = this.saleInsuredPersonInfo.insuredAge;',
// 'let parObj = {};',
// 'par.map(item => {',
// ' parObj[item.code] = item;',
// '});',
// 'if(ParKey == "payEndYear"){',
// ' payEndYear = Par.value + Par.flag;',
// ' lintAgeObj = ageMap[payEndYear];',
// ' let flag = true, num = parObj.insuYear.columns.length;',
// ' parObj.insuYear.columns.forEach(item => {',
// ' let lintAge = lintAgeObj[ item.value + item.flag ];',
// ' if( age > lintAge ){',
// ' item.disabled = true;',
// ' num = num - 1 ;',
// ' }else{',
// ' if(flag){',
// ' parObj.insuYear.insuYear = item.value;',
// ' parObj.insuYear.insuYearFlag = item.flag;',
// ' parObj.insuYear.showContent = item.text;',
// ' flag = false;',
// ' };',
// ' item.disabled = false;',
// ' };',
// ' });',
// ' if(!num){',
// ' this.errorMsg.push("被保险人年龄不符合当前所选交费期间");',
// ' payEndYear = parObj.payEndYear.payEndYear + parObj.payEndYear.payEndYearFlag;',
// ' lintAgeObj = ageMap[payEndYear];',
// ' parObj.insuYear.columns.forEach(item => {',
// ' let lintAge = lintAgeObj[ item.value + item.flag ];',
// ' if( age > lintAge ){',
// ' item.disabled = true;',
// ' }else{',
// ' item.disabled = false;',
// ' };',
// ' });',
// ' return false;',
// ' };',
// ' return true;',
// '}'],
// funPar: ['par','ParKey','Par'],
// }
// config = {
// eventName: 'GFRS_A0003_noMainCode',
// eventType: 'init',
// initBody: [
// 'for(let item of that.chooseProducts){',
// ' if(item.productCode == "GFRS_A0003"){',
// ' for(let itemC of item.calFactorLst){',
// ' if(itemC.code == "dutyGroup"){',
// ' for(let itemR of itemC.rules){',
// ' that.$emit("GFRS_A0003_noMainCode", itemR, that.mainRiskCode)',
// ' }',
// ' }',
// ' }',
// ' }',
// ' }',
// ],
// funBody: [
// 'let noMainCode = {',
// ' "GFRS_M0004" : true,',
// ' "GFRS_M0011" : true',
// '};',
// 'let noduty = {',
// ' "310101" : true',
// '};',
// 'if(noMainCode[mainRiskCode] && noduty[dutyItem.duty]){',
// ' dutyItem.necess = false;',
// ' dutyItem.isDisabled = true;',
// '}',
// ],
// funPar:['dutyItem', 'mainRiskCode'],
// }
this.$on(config.eventName, new Function(...config.funPar, config.funBody.join('')))
if (config.eventType == 'init') {
let initFn = new Function('that', config.initBody.join(''))
@@ -2650,6 +2589,42 @@ export default {
this.getTrial()
}
}
else if (productCode == 'GFRS_M0076') {
if (this.saleInsuredPersonInfo.insuredAge >= 51 && this.saleInsuredPersonInfo.insuredAge <= 60) {
//使用rules规则里的第二条控制保额份数
// 年龄在51周岁及以上被保险人投保本险种时最低基本保险金额为10000元。超过最低基本保险金额为10000元整数倍。
if (Number(defalutValue) < Number(riskFactor.rules[1].minPrem) || Number(defalutValue) > Number(riskFactor.rules[1].maxPrem)) {
this.$toast('51周岁-60周岁最低基本保险金额为'+ (Number(riskFactor.rules[1].minPrem) * 10000) +'元,最高投保金额为'+ (Number(riskFactor.rules[1].maxPrem) * 10000) +'元。')
this.nextStepFlag = true
} else {
if ((Number(defalutValue) * 10000) % (Number(currentEle.limit) * 10000) != 0) {
// this.defalutAmt = currentEle.rules[productIndex].displayAmount
this.$toast('51周岁-60周岁最低基本保险金额为'+ (Number(riskFactor.rules[1].minPrem) * 10000) +'元,最高投保金额为'+ (Number(riskFactor.rules[1].maxPrem) * 10000) +'元。超过最低基本保险金额为'+ (Number(riskFactor.rules[1].limit) * 10000) +'元整数倍。')
this.nextStepFlag = true
} else {
this.mainRiskInfluenceAddRisk()
currentEle['amt'] = Number(defalutValue) * Number(currentEle.moneyUnit)
this.getTrial()
}
}
//年龄在0-50周岁被保险人投保本险种时最低基本保险金额为50000元超过最低基本保险金额为10000元整数倍。
} else if (this.saleInsuredPersonInfo.insuredAge >= 0 && this.saleInsuredPersonInfo.insuredAge <= 50) {
//使用rules规则里的第一条控制保额份数
if (Number(defalutValue) < Number(riskFactor.rules[0].minPrem) || Number(defalutValue) > Number(riskFactor.rules[0].maxPrem)) {
this.$toast('出生满 28 天至 50周岁最低基本保险金额为'+ (Number(riskFactor.rules[0].minPrem) * 10000) +'元,最高投保金额为'+ (Number(riskFactor.rules[0].maxPrem) * 10000) +'元。')
this.nextStepFlag = true
} else {
if ((Number(defalutValue) * 10000) % (Number(currentEle.limit) * 10000) != 0) {
this.$toast('出生满 28 天至 50周岁最低基本保险金额为'+ (Number(riskFactor.rules[0].minPrem) * 10000) +'元,最高投保金额为'+ (Number(riskFactor.rules[0].maxPrem) * 10000) +'元。超过最低基本保险金额为'+ (Number(riskFactor.rules[0].limit) * 10000) +'元整数倍。')
this.nextStepFlag = true
} else {
this.mainRiskInfluenceAddRisk()
currentEle['amt'] = Number(defalutValue) * Number(currentEle.moneyUnit)
this.getTrial()
}
}
}
}
else if (this.isTrial === '0' && this.chooseProducts[productIndex].isMainRisk == '0') {
if (Number(defalutValue) < Number(min)) {
if (riskFactor.yearWay == "一次性交清") {
@@ -2809,6 +2784,7 @@ export default {
this.trialList[index].productCode == 'GFRS_M0051' ||
this.trialList[index].productCode == 'GFRS_M0054' ||
this.trialList[index].productCode == 'GFRS_M0073' ||
this.trialList[index].productCode == 'GFRS_M0077' ||
this.trialList[index].productCode == 'GFRS_M0057'
) {
riskItem['dutyLst'] = this.trialInfos[index].duty
@@ -2871,7 +2847,7 @@ export default {
//国富人寿桂企保重大疾病保险产品专写
this.trialInfos.map((v, i) => {
if (v.productCode == 'GFRS_M0024' || v.productCode == 'GFRS_M0040' || v.productCode == 'GFRS_M0044'
|| v.productCode == 'GFRS_M0046'|| v.productCode == 'GFRS_M0051'|| v.productCode == 'GFRS_M0057' || v.productCode == 'GFRS_M0073') {
|| v.productCode == 'GFRS_M0046'|| v.productCode == 'GFRS_M0051'|| v.productCode == 'GFRS_M0057' || v.productCode == 'GFRS_M0073'|| v.productCode == 'GFRS_M0077') {
delete riskDTOLst[i].duty
}
})

View File

@@ -131,19 +131,13 @@ export default {
},
// 获取签名状态
getOrderDetail() {
openLoading()
let that = this
let data = {
orderNo: that.$route.query.orderNo
}
this.$toast.loading({
duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击
loadingType: 'spinner',
message: '加载中……'
})
return new Promise((resolve) => {
getOrderDetail1(data).then(res => {
this.$toast.clear()
if (res.result == '0') {
res.orderDTO.ebizSignDTOS.map(item => {
if (item.signType == '0' || item.signType == '2') {

View File

@@ -9,7 +9,7 @@
<van-cell-group>
<van-field required label="银行卡账户" disabled />
</van-cell-group>
<div @click="test('fileListBank', '3', saleInsuredInfo.appntId, saleInsuredInfo.idType)">
<div @click="test('fileListBank', '3', '0', saleInsuredInfo.appntId, saleInsuredInfo.idType)">
<van-uploader
name="fileListBank"
v-model="fileListBank"
@@ -36,7 +36,7 @@
<van-cell-group>
<van-field required :label="item.id == '2' ? `${item.text}户主页` : `${item.text}正面`" disabled />
</van-cell-group>
<div @click="test('fileListIdFront', '1', saleInsuredInfo.appntId, saleInsuredInfo.idType)" class="flex align-items-e">
<div @click="test('fileListIdFront', '1', '0', saleInsuredInfo.appntId, saleInsuredInfo.idType)" class="flex align-items-e">
<van-uploader
name="fileListIdFront"
v-model="fileListIdFront"
@@ -50,7 +50,7 @@
<van-cell-group>
<van-field required :label="item.id == '2' ? `${item.text}本人页` : `${item.text}反面`" disabled />
</van-cell-group>
<div @click="test('fileListIdBack', '2', saleInsuredInfo.appntId, saleInsuredInfo.idType)">
<div @click="test('fileListIdBack', '2', '0', saleInsuredInfo.appntId, saleInsuredInfo.idType)">
<van-uploader
name="fileListIdBack"
v-model="fileListIdBack"
@@ -66,7 +66,7 @@
<van-cell-group>
<van-field required :label="`${item.text}头像面`" disabled />
</van-cell-group>
<div @click="test('fileLIstImg', '8', saleInsuredInfo.appntId, saleInsuredInfo.idType)">
<div @click="test('fileLIstImg', '8', '0', saleInsuredInfo.appntId, saleInsuredInfo.idType)">
<van-uploader
name="fileLIstImg"
v-model="fileLIstImg"
@@ -83,7 +83,7 @@
<van-cell-group>
<van-field required label="银行卡正面" disabled />
</van-cell-group>
<div @click="test('fileListBank', '3', saleInsuredInfo.appntId, saleInsuredInfo.idType)">
<div @click="test('fileListBank', '3', '0', saleInsuredInfo.appntId, saleInsuredInfo.idType)">
<van-uploader
name="fileListBank"
v-model="fileListBank"
@@ -97,7 +97,7 @@
<van-cell-group v-if="isNotify">
<van-field label="健康告知异常类资料" disabled />
</van-cell-group>
<div v-if="isNotify" @click="test('fileListNotify', '24', saleInsuredInfo.appntId, saleInsuredInfo.idType)">
<div v-if="isNotify" @click="test('fileListNotify', '24', '0', saleInsuredInfo.appntId, saleInsuredInfo.idType)">
<van-uploader
name="fileListNotify"
v-model="fileListNotify"
@@ -125,7 +125,7 @@
<van-cell-group>
<van-field required :label="item.id == '2' ? `${item.text}户主页` : `${item.text}正面`" disabled />
</van-cell-group>
<div @click="test('fileListIdFrontInsured', '1', saleInsuredPersonInfo.insuredId, saleInsuredPersonInfo.idType)">
<div @click="test('fileListIdFrontInsured', '1', '1', saleInsuredPersonInfo.insuredId, saleInsuredPersonInfo.idType)">
<van-uploader
name="fileListIdFrontInsured"
v-model="fileListIdFrontInsured"
@@ -139,7 +139,7 @@
<van-cell-group>
<van-field required :label="item.id == '2' ? `${item.text}本人页` : `${item.text}反面`" disabled />
</van-cell-group>
<div @click="test('fileListIdBackInsured', '2', saleInsuredPersonInfo.insuredId, saleInsuredPersonInfo.idType)">
<div @click="test('fileListIdBackInsured', '2', '1', saleInsuredPersonInfo.insuredId, saleInsuredPersonInfo.idType)">
<van-uploader
name="fileListIdBackInsured"
v-model="fileListIdBackInsured"
@@ -155,7 +155,7 @@
<van-cell-group>
<van-field required :label="`${item.text}头像页`" disabled />
</van-cell-group>
<div @click="test('fileLIstImgInsured', '8', saleInsuredPersonInfo.insuredId, saleInsuredPersonInfo.idType)">
<div @click="test('fileLIstImgInsured', '8', '1', saleInsuredPersonInfo.insuredId, saleInsuredPersonInfo.idType)">
<van-uploader
name="fileLIstImgInsured"
v-model="fileLIstImgInsured"
@@ -172,7 +172,7 @@
<van-cell-group v-if="isNotifyInsured">
<van-field label="健康告知异常类资料" disabled />
</van-cell-group>
<div v-if="isNotifyInsured" @click="test('fileListNotifyInsured', '24', saleInsuredPersonInfo.insuredId, saleInsuredPersonInfo.idType)">
<div v-if="isNotifyInsured" @click="test('fileListNotifyInsured', '24', '1', saleInsuredPersonInfo.insuredId, saleInsuredPersonInfo.idType)">
<van-uploader
name="fileListNotifyInsured"
v-model="fileListNotifyInsured"
@@ -200,7 +200,7 @@
<van-cell-group>
<van-field required :label="item.id == '2' ? `${item01.name}+${item.text}户主页` : `${item01.name}+${item.text}正面`" disabled />
</van-cell-group>
<div @click="test('fileListIdFrontBeneficiary', '1', item01.bnfId, item01.idType, item01.bnfId)">
<div @click="test('fileListIdFrontBeneficiary', '1', '3', item01.bnfId, item01.idType, item01.bnfId)">
<van-uploader
:name="'fileListIdFrontBeneficiary'+index01"
v-model="bnfInfo[index01].fileListIdFrontBeneficiary"
@@ -214,7 +214,7 @@
<van-cell-group>
<van-field required :label="item.id == '2' ? `${item01.name}+${item.text}本人页` : `${item01.name}+${item.text}反面`" disabled />
</van-cell-group>
<div @click="test('fileListIdBackBeneficiary', '2', item01.bnfId, item01.idType, item01.bnfId)">
<div @click="test('fileListIdBackBeneficiary', '2', '3', item01.bnfId, item01.idType, item01.bnfId)">
<van-uploader
:name="'fileListIdBackBeneficiary'+index01"
v-model="bnfInfo[index01].fileListIdBackBeneficiary"
@@ -230,7 +230,7 @@
<van-cell-group>
<van-field required :label="`${item01.name}+${item.text}头像页`" disabled />
</van-cell-group>
<div @click="test('fileLIstImgBeneficiary', '8', item01.bnfId, item01.idType, item01.bnfId)">
<div @click="test('fileLIstImgBeneficiary', '8', '3', item01.bnfId, item01.idType, item01.bnfId)">
<van-uploader
:name="'fileLIstImgBeneficiary'+index01"
v-model="bnfInfo[index01].fileLIstImgBeneficiary"
@@ -265,6 +265,12 @@
>下一步</van-button
>
</div>
<van-dialog v-model="thisdialogshow" title="提示" confirmButtonText="返回修改">
<div style="padding: 20px;font-size: 14px;">
<div style="margin-bottom: 10px;letter-spacing: 1px;color: #E9332E;">校验失败原因</div>
<div v-for="(item,index) in thisdialogcontent" style="margin-bottom: 10px;letter-spacing: 1px;">{{index+1}}{{item}}</div>
</div>
</van-dialog>
</div>
</template>
@@ -280,6 +286,8 @@ import utils from '../../../assets/js/business-common'
export default {
data() {
return {
thisdialogshow: false,
thisdialogcontent: '',
isNotify: false, //是否有异常的健康告知
isNotifyInsured: false,
// 订单号
@@ -352,7 +360,8 @@ export default {
changeCard: localStorage.changeCard,
salePageFlag: '9',
imageType: '',
subBusinessNo: ''
subBusinessNo: '',
subBusinessType: '',
}
},
async created() {
@@ -750,8 +759,9 @@ export default {
}
})
},
test(name, type, subBusinessNo, id, bnfId) {
test(name, type, subBusinessType, subBusinessNo, id, bnfId) {
this.imageType = type
this.subBusinessType = subBusinessType
this.bnfId = bnfId
this.id = id
this.type = name
@@ -829,7 +839,7 @@ export default {
businessType: '',
imageInfoType: that.imageType,
rgssUrl: encodeURI(res.path).replace(/\+/g, '%2B'),
subBusinessType: '0',
subBusinessType: that.subBusinessType,
subBusinessNo: that.subBusinessNo,
fileName: that.imgName,
}
@@ -1022,58 +1032,148 @@ export default {
that.list.map((i) => {
delete i.name
})
let data = {
orderDTO: {
orderInfoDTO: {
orderNo: this.$route.query.orderNo,
productCode: JSON.parse(localStorage.mainRiskCodes)[0],
},
appntDTO: {
relationToInsured: that.saleInsuredPersonInfo.relationToAppnt,
},
mediaDTOS: that.list,
},
orderType: that.changeCard ? 'MEDIANEW_ORDER' : 'MEDIA_ORDER',
let nowTime = new Date().getTime()
let localTime = window.localStorage.getItem('serrorTime')
if(nowTime - localTime < 20000){
this.$toast('您操作过于频繁请20S后再试')
return false
}
saveInformation(data).then((res) => {
if (res.result == '0') {
this.$toast.clear()
if (!this.changeCard) {
window.localStorage.setItem('accountInfomation-bank', that.bank)
window.localStorage.setItem('accountInformationRadio', that.radio)
window.localStorage.setItem('accountInformation-isPaymentSelf', JSON.stringify(that.checked))
window.localStorage.setItem('jumpFromSign', '')
}
window.localStorage.removeItem('imgfront')
window.localStorage.removeItem('imgBackPath')
window.localStorage.removeItem('imgfrontPath')
window.localStorage.removeItem('imgfrontInsured')
window.localStorage.removeItem('imgfrontInsuredPath')
window.localStorage.removeItem('imgBackInsuredPath')
window.localStorage.removeItem('bankCardUrl')
window.localStorage.removeItem('bankCardUrlPath')
window.localStorage.removeItem('bankCardUrlInsured')
window.localStorage.removeItem('bankCardUrlInsuredPath')
that.$jump({
flag: 'h5',
extra: {
url: location.origin + '/#/sale/signatureConfirmation?orderNo=' + this.$route.query.orderNo,
pullRefresh: '1',
backToFirst: '1',
if(JSON.parse(localStorage.mainRiskCodes)[0] == 'GFRS_M0076' || JSON.parse(localStorage.mainRiskCodes)[0] == 'GFRS_M0077') {
this.$dialog
.alert({
title: '提示',
message: '尊敬的客户您好!感谢您投保我公司“爱心保/安心保”产品,在本保险合同生效后被保险人将获得一份专属的健康管理服务,详情请登录公司官方微信公众号“国富人寿保险”>发现国富>新市民专区 查询或拨打公司客服热线400-694-6688咨询本服务为无偿提供。',
confirmButtonColor: '#E9332E',
})
.then(() => {
let data = {
orderDTO: {
orderInfoDTO: {
orderNo: this.$route.query.orderNo,
productCode: JSON.parse(localStorage.mainRiskCodes)[0],
},
appntDTO: {
relationToInsured: that.saleInsuredPersonInfo.relationToAppnt,
},
mediaDTOS: that.list,
},
orderType: that.changeCard ? 'MEDIANEW_ORDER' : 'MEDIA_ORDER',
}
saveInformation(data).then((res) => {
if (res.result == '0') {
this.$toast.clear()
if (!this.changeCard) {
window.localStorage.setItem('accountInfomation-bank', that.bank)
window.localStorage.setItem('accountInformationRadio', that.radio)
window.localStorage.setItem('accountInformation-isPaymentSelf', JSON.stringify(that.checked))
window.localStorage.setItem('jumpFromSign', '')
}
window.localStorage.removeItem('imgfront')
window.localStorage.removeItem('imgBackPath')
window.localStorage.removeItem('imgfrontPath')
window.localStorage.removeItem('imgfrontInsured')
window.localStorage.removeItem('imgfrontInsuredPath')
window.localStorage.removeItem('imgBackInsuredPath')
window.localStorage.removeItem('bankCardUrl')
window.localStorage.removeItem('bankCardUrlPath')
window.localStorage.removeItem('bankCardUrlInsured')
window.localStorage.removeItem('bankCardUrlInsuredPath')
that.$jump({
flag: 'h5',
extra: {
url: location.origin + '/#/sale/signatureConfirmation?orderNo=' + this.$route.query.orderNo,
pullRefresh: '1',
backToFirst: '1',
},
routerInfo: {
path: '/sale/signatureConfirmation?orderNo=' + this.$route.query.orderNo,
},
})
} else {
let thisTime = new Date().getTime()
window.localStorage.setItem('serrorTime',thisTime)
if(res.resultMessage.indexOf('Engine')!= -1){
this.thisdialogshow = true
// let thisdialogcontent = '【Engine】投保人电子邮箱已被其他投保人使用哦请确认并重新录入如有疑问请拨打4006946688进行咨询【Engine】被保人与投保人关系需为本人、配偶、子女、父母人工审核中请您耐心等待哦~'
this.thisdialogcontent = res.resultMessage.split('【Engine】')
this.thisdialogcontent.splice(0,1)
}else{
Dialog.confirm({
title: '提示',
message: res.resultMessage,
confirmButtonColor:'#FF0000',
showCancelButton:false
})
}
}
})
})
.catch(() => {
return
})
} else {
let data = {
orderDTO: {
orderInfoDTO: {
orderNo: this.$route.query.orderNo,
productCode: JSON.parse(localStorage.mainRiskCodes)[0],
},
routerInfo: {
path: '/sale/signatureConfirmation?orderNo=' + this.$route.query.orderNo,
appntDTO: {
relationToInsured: that.saleInsuredPersonInfo.relationToAppnt,
},
})
} else {
Dialog.confirm({
title: '提示',
message: res.resultMessage,
confirmButtonColor:'#FF0000',
showCancelButton:false
})
mediaDTOS: that.list,
},
orderType: that.changeCard ? 'MEDIANEW_ORDER' : 'MEDIA_ORDER',
}
})
saveInformation(data).then((res) => {
if (res.result == '0') {
this.$toast.clear()
if (!this.changeCard) {
window.localStorage.setItem('accountInfomation-bank', that.bank)
window.localStorage.setItem('accountInformationRadio', that.radio)
window.localStorage.setItem('accountInformation-isPaymentSelf', JSON.stringify(that.checked))
window.localStorage.setItem('jumpFromSign', '')
}
window.localStorage.removeItem('imgfront')
window.localStorage.removeItem('imgBackPath')
window.localStorage.removeItem('imgfrontPath')
window.localStorage.removeItem('imgfrontInsured')
window.localStorage.removeItem('imgfrontInsuredPath')
window.localStorage.removeItem('imgBackInsuredPath')
window.localStorage.removeItem('bankCardUrl')
window.localStorage.removeItem('bankCardUrlPath')
window.localStorage.removeItem('bankCardUrlInsured')
window.localStorage.removeItem('bankCardUrlInsuredPath')
that.$jump({
flag: 'h5',
extra: {
url: location.origin + '/#/sale/signatureConfirmation?orderNo=' + this.$route.query.orderNo,
pullRefresh: '1',
backToFirst: '1',
},
routerInfo: {
path: '/sale/signatureConfirmation?orderNo=' + this.$route.query.orderNo,
},
})
} else {
let thisTime = new Date().getTime()
window.localStorage.setItem('serrorTime',thisTime)
if (res.resultMessage.indexOf('Engine') != -1) {
this.thisdialogshow = true
// let thisdialogcontent = '【Engine】投保人电子邮箱已被其他投保人使用哦请确认并重新录入如有疑问请拨打4006946688进行咨询【Engine】被保人与投保人关系需为本人、配偶、子女、父母人工审核中请您耐心等待哦~'
this.thisdialogcontent = res.resultMessage.split('【Engine】')
this.thisdialogcontent.splice(0, 1)
} else {
Dialog.confirm({
title: '提示',
message: res.resultMessage,
confirmButtonColor: '#FF0000',
showCancelButton: false
})
}
}
})
}
},
},
computed: {
@@ -1293,4 +1393,7 @@ export default {
.redRadioCheckbox {
overflow: hidden;
}
/deep/ .van-field__label{
width: 50vw;
}
</style>

View File

@@ -2,6 +2,7 @@
<div class="insuranceInformation-container pb50 redRadioCheckbox">
<van-notice-bar :scrollable="false" v-if="!Time" class="notice">{{ `提示阅读时长需在${this.Time ? this.time : this.number}秒以上` }}</van-notice-bar>
<iframe :src="src + pdfUrl" class="iframe"></iframe>
<van-radio-group v-model="radio" class="pb10 pt20 pl30 fs14">
<van-radio name="1" @click="click">
本人确认已阅读
@@ -74,7 +75,11 @@ export default {
[NoticeBar.name]: NoticeBar
},
mounted() {
let that = this
that.timeOut()
document.body.style.backgroundColor = '#fff'
},
async created() {
if (!this.isWeixin) {
setTimeout(() => {
// eslint-disable-next-line no-undef
@@ -93,33 +98,53 @@ export default {
if (this.isWeixin) {
that.relationToAppnt = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
}
if (this.detailJump != '1') {
// 投被保险人是否同人
that.relationToAppnt = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
// 获取被保险人信息
// that.saleInsuredPersonInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo'))
}
// if (this.detailJump != '1') {
// this.getOrderDetail()
// }
if (this.isWeixin) {
let imgBase64Data = sessionStorage.getItem('twoimgBase64Data')
let wxSigned = JSON.parse(sessionStorage.getItem('twowxSigned'))
// let wxSigned = false
let signInfo = JSON.parse(localStorage.getItem('signInfo'))
console.log('`````````````````````````````````')
console.log('imgBase64Data: twoimgBase64Data:' + imgBase64Data)
console.log('wxSigned: ' + wxSigned)
if (wxSigned) {
console.log('第二次进入电子保单')
console.log('````````````````````````````````')
this.getOrderDetail().then(() => {
this.Time = true
this.isOver = true
this.radio = '1'
this.base64 = imgBase64Data
this.isDisabledComplite = false
console.log('signInfo.status:' + signInfo.status)
if (signInfo.status == '0') {
// this.appntSign.documentStatus = '3'
console.log('``````````````````')
//因签字后微信端签字面板无法返回状态,导致签字状态不变,下一步按钮无法点击
this.$set(this.appntSign, 'documentStatus', '3')
console.log('appntSign.documentStatus: ' + this.appntSign.documentStatus)
this.isSign = false
this.isDisabledComplite = false
// this.isDisable = false
} else {
this.$set(this.insuredSign, 'documentStatus', '3')
// this.insuredSign.documentStatus = '3'
this.isDisabledComplite = false
this.isSign = false
}
})
} else {
console.log('第一次进入电子保单')
this.timeOut()
this.getOrderDetail()
}
@@ -129,10 +154,6 @@ export default {
this.getOrderDetail()
}
}
this.timeOut()
},
created() {
},
methods: {
appCallBack(data) {
@@ -188,12 +209,6 @@ export default {
let data = {
orderNo: that.$route.query.orderNo
}
this.$toast.loading({
duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击
loadingType: 'spinner',
message: '加载中……'
})
return new Promise((resolve, reject) => {
getOrderDetail(data).then(res => {
if (res.result == '0') {

View File

@@ -74,11 +74,12 @@ export default {
[Dialog.name]: Dialog,
[NoticeBar.name]: NoticeBar
},
created() {
},
async mounted() {
mounted() {
let that = this
that.timeOut()
document.body.style.backgroundColor = '#fff'
},
async created() {
if (!this.isWeixin) {
setTimeout(() => {
// eslint-disable-next-line no-undef
@@ -97,32 +98,52 @@ export default {
if (this.isWeixin) {
that.relationToAppnt = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
}
if (this.detailJump != '1') {
// 投被保险人是否同人
that.relationToAppnt = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
// 获取被保险人信息
// that.saleInsuredPersonInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo'))
}
// if (this.detailJump != '1') {
// this.getOrderDetail()
// }
if (this.isWeixin) {
let imgBase64Data = sessionStorage.getItem('twoimgBase64Data')
let wxSigned = JSON.parse(sessionStorage.getItem('twowxSigned'))
// let wxSigned = false
let signInfo = JSON.parse(localStorage.getItem('signInfo'))
console.log('`````````````````````````````````')
console.log('imgBase64Data: twoimgBase64Data:' + imgBase64Data)
console.log('wxSigned: ' + wxSigned)
if (wxSigned) {
console.log('第二次进入电子保单')
console.log('````````````````````````````````')
this.getOrderDetail().then(() => {
this.Time = true
this.isOver = true
this.radio = '1'
this.base64 = imgBase64Data
this.isDisabledComplite = false
console.log('signInfo.status:' + signInfo.status)
if (signInfo.status == '0') {
// this.appntSign.documentStatus = '3'
console.log('``````````````````')
this.$set(this.appntSign, 'documentStatus', '3')
console.log('appntSign.documentStatus: ' + this.appntSign.documentStatus)
this.isSign = false
this.isDisabledComplite = false
// this.isDisable = false
} else {
this.$set(this.insuredSign, 'documentStatus', '3')
// this.insuredSign.documentStatus = '3'
this.isDisabledComplite = false
this.isSign = false
}
})
} else {
console.log('第一次进入电子保单')
this.timeOut()
this.getOrderDetail()
}
@@ -132,7 +153,6 @@ export default {
this.getOrderDetail()
}
}
this.timeOut()
},
methods: {
appCallBack(data) {

View File

@@ -83,70 +83,89 @@ export default {
[Dialog.name]: Dialog,
[NoticeBar.name]: NoticeBar
},
created() {
},
async mounted() {
mounted() {
let that = this
that.timeOut()
document.body.style.backgroundColor = '#fff'
// 当前代理人渠道--个险渠道,中介渠道
},
async created() {
// 当前代理人渠道--个险渠道,中介渠道
let dataReturn = await riskRules.getAgentInfoFunc(this)
this.branchTypeVal = dataReturn.branchTypeVal
if (!that.isWeixin) {
if (!this.isWeixin) {
setTimeout(() => {
// eslint-disable-next-line no-undef
EWebBridge.webCallAppInJs('webview_left_button', {
img: that.$assetsUrl + 'images/del-close-btn@3x.png',
img: this.$assetsUrl + 'images/del-close-btn@3x.png',
intercept: '1' //是否拦截原生返回事件 1是 其他否
})
}, 100)
window.appCallBack = that.appCallBack
window.appCallBack = this.appCallBack
}
let that = this
that.detailJump = window.localStorage.getItem('detailJump')
that.signVal = window.localStorage.getItem('sign-val')
// 获取投保人信息
that.saleInsuredInfo = JSON.parse(that.$CacheUtils.getLocItem('saleInsuredInfo'))
if (that.isWeixin) {
that.relationToAppnt = JSON.parse(that.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
that.saleInsuredInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredInfo'))
if (this.isWeixin) {
that.relationToAppnt = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
}
if (that.detailJump != '1') {
if (this.detailJump != '1') {
// 投被保险人是否同人
that.relationToAppnt = JSON.parse(that.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
that.relationToAppnt = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
// 获取被保险人信息
// that.saleInsuredPersonInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo'))
}
// if (this.detailJump != '1') {
// this.getOrderDetail()
// }
if (this.isWeixin) {
let imgBase64Data = sessionStorage.getItem('twoimgBase64Data')
let wxSigned = JSON.parse(sessionStorage.getItem('twowxSigned'))
// let wxSigned = false
let signInfo = JSON.parse(localStorage.getItem('signInfo'))
console.log('`````````````````````````````````')
console.log('imgBase64Data: twoimgBase64Data:' + imgBase64Data)
console.log('wxSigned: ' + wxSigned)
if (wxSigned) {
that.getOrderDetail().then(() => {
that.Time = true
that.isOver = true
that.radio = '1'
that.base64 = imgBase64Data
that.isDisabledComplite = false
console.log('第二次进入电子保单')
console.log('````````````````````````````````')
this.getOrderDetail().then(() => {
this.Time = true
this.isOver = true
this.radio = '1'
this.base64 = imgBase64Data
this.isDisabledComplite = false
console.log('signInfo.status:' + signInfo.status)
if (signInfo.status == '0') {
that.$set(that.appntSign, 'documentStatus', '3')
that.isSign = false
that.isDisabledComplite = false
// this.appntSign.documentStatus = '3'
console.log('``````````````````')
this.$set(this.appntSign, 'documentStatus', '3')
console.log('appntSign.documentStatus: ' + this.appntSign.documentStatus)
this.isSign = false
this.isDisabledComplite = false
// this.isDisable = false
} else {
that.$set(that.insuredSign, 'documentStatus', '3')
that.isDisabledComplite = false
that.isSign = false
this.$set(this.insuredSign, 'documentStatus', '3')
// this.insuredSign.documentStatus = '3'
this.isDisabledComplite = false
this.isSign = false
}
})
} else {
that.timeOut()
that.getOrderDetail()
console.log('第一次进入电子保单')
this.timeOut()
this.getOrderDetail()
}
} else {
that.timeOut()
if (that.detailJump != '1') {
that.getOrderDetail()
this.timeOut()
if (this.detailJump != '1') {
this.getOrderDetail()
}
}
that.timeOut()
},
methods: {
appCallBack(data) {
@@ -202,15 +221,8 @@ export default {
let data = {
orderNo: that.$route.query.orderNo
}
this.$toast.loading({
duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击
loadingType: 'spinner',
message: '加载中……'
})
return new Promise((resolve, reject) => {
getOrderDetail(data).then(res => {
this.$toast.clear()
if (res.result == '0') {
if(res.orderDTO.universalRiskNotifyDTO && res.orderDTO.universalRiskNotifyDTO.isUniversalRiskNotifyShowPoint){
this.isUniversalRiskNotifyShowPoint = res.orderDTO.universalRiskNotifyDTO.isUniversalRiskNotifyShowPoint

View File

@@ -860,7 +860,7 @@ export default {
// 长期按钮是否禁用
this.effectiveDateTypeAble = age <= 45
if(this.userInfo.birthday){
this.userInfo.certiexpiredate = countCredentialValidity.getEndDate(age,val)
this.userInfo.certiexpiredate = countCredentialValidity.getEndDate(this.userInfo.birthday,val)
}
}
}
@@ -876,9 +876,8 @@ export default {
}
//身份证证件类型的判断
if (this.userInfo.idType == '1') {
let age = utilsAge.getAge(this.userInfo.birthday, new Date())
if(this.userInfo.birthday){
this.userInfo.certificateValidate = countCredentialValidity.getStartDate(age,val)
this.userInfo.certificateValidate = countCredentialValidity.getStartDate(this.userInfo.birthday,val)
}
}
}
@@ -902,10 +901,10 @@ export default {
this.userInfo.workcompany = this.userInfo.workcompany || '无'
}
if (this.userInfo.certificateValidate && !this.userInfo.certiexpiredate) {
this.userInfo.certiexpiredate = countCredentialValidity.getEndDate(age,this.userInfo.certificateValidate)
this.userInfo.certiexpiredate = countCredentialValidity.getEndDate(this.userInfo.birthday,this.userInfo.certificateValidate)
}
if (this.userInfo.certiexpiredate && !this.userInfo.certificateValidate) {
this.userInfo.certificateValidate = countCredentialValidity.getEndDate(age,this.userInfo.certiexpiredate)
this.userInfo.certificateValidate = countCredentialValidity.getEndDate(this.userInfo.birthday,this.userInfo.certiexpiredate)
}
}
break

View File

@@ -1064,7 +1064,7 @@ export default {
// 长期按钮是否禁用
this.effectiveDateTypeAble = age <= 45
if(this.userInfo.birthday){
this.userInfo.certiexpiredate = countCredentialValidity.getEndDate(age,val)
this.userInfo.certiexpiredate = countCredentialValidity.getEndDate(this.userInfo.birthday,val)
}
}
}
@@ -1093,7 +1093,7 @@ export default {
let age = utilsAge.getAge(this.userInfo.birthday, new Date())
console.log(age)
if(this.userInfo.birthday){
this.userInfo.certificateValidate = countCredentialValidity.getStartDate(age,val)
this.userInfo.certificateValidate = countCredentialValidity.getStartDate(this.userInfo.birthday,val)
}
}
}
@@ -1124,10 +1124,10 @@ export default {
}
}
if (this.userInfo.certificateValidate && !this.userInfo.certiexpiredate) {
this.userInfo.certiexpiredate = countCredentialValidity.getEndDate(age,this.userInfo.certificateValidate)
this.userInfo.certiexpiredate = countCredentialValidity.getEndDate(this.userInfo.birthday,this.userInfo.certificateValidate)
}
if (this.userInfo.certiexpiredate && !this.userInfo.certificateValidate) {
this.userInfo.certificateValidate = countCredentialValidity.getEndDate(age,this.userInfo.certiexpiredate)
this.userInfo.certificateValidate = countCredentialValidity.getEndDate(this.userInfo.birthday,this.userInfo.certiexpiredate)
}
}
break

View File

@@ -98,6 +98,7 @@ import { Cell, CellGroup, RadioGroup, Radio, Dialog } from 'vant'
import { acceptInsurance, getBankCardSignState,payFlag, underWrite, getOrderDetail,signConfirm} from '@/api/ebiz/sale/sale'
import Loading from '@/components/ebiz/Loading'
import config from '@/config'
import { wxShare } from '@/api/ebiz/common/common.js'
export default {
data() {
let isWeixin = this.$utils.device().isWeixin //判断环境
@@ -202,6 +203,25 @@ export default {
}
},
methods: {
getOpenid(){
wxShare({ url: location.href }).then(response => {
if (response.result == '0') {
let orderNo = this.$route.query.orderNo
let code = this.getUrlParam('code')
if(!code){
window.location.href = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=' + response.content.appid + '&redirect_uri=' + encodeURIComponent(location.href + '?orderNo=' + orderNo) + '&response_type=code&scope=snsapi_base&state=1#wechat_redirect'
}else{
window.location.href = 'https://api.weixin.qq.com/sns/oauth2/access_token?appid=' + response.content.appid + '&secret=' + response.content.appsecret + '&code=' + code + '&grant_type=authorization_code'
}
}
})
},
// 获取地址上的参数
getUrlParam(name) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
var r = window.location.search.substr(1).match(reg);
if (r != null) return unescape(r[2]); return null;
},
async payMentWx(orderNo){
const res = await payFlag({ orderNo: orderNo })
console.dir(res)
@@ -225,6 +245,9 @@ export default {
orderNo: this.orderNo,
payType: this.radio
}
if(that.isWeixin){
data.payType = 'WXJSAPI'
}
acceptInsurance(data).then(res => {
console.log('----取支付参数结果:', JSON.stringify(res))
// res = {'result':'0','resultMessage':'','content':null,'prtNo':'8186270000000008','payStatus':'4','amnt':'63700.00','appntName':'投保人','message':null,'brPayReturnData':{'result':'','resultMessage':'','content':null,'businessId':'1569125393518','businessNo':'8186270000000008','tradeSubType':'COMM','businessType':'SALE','systemType':'GF','money':63700,'businessSubType':'XDCB','thirdType':'0002','thirdName':null,'bankCode':'ABC','epayOrderNo':'1909221209536259999900','companyAccount':null,'tradeState':'TRADING','standardCode':'DEALING','standardMsg':null,'thirdOrderNo':null,'respRemark':null,'tradeTime':'2019-09-22T04:09:53.518+0000','description':'','version':'1','sourceNotecode':'8186270000000008','payType':'MIT01','expireDate':'20191010101010','transSeq':'20190922120953782','transSource':'MIT','applyEntity':'11860000','paymentCode':'8186270000000008','transDate':'20190922','rdSeq':'1909221209536259999900','settleMode':null,'cur':'CNY','transTime':'120953','ourAmount':63700,'fixUser':'1','insurer':'投保人','certType':'0','certNum':'110101199009210011','oppBank':'ABC','oppAct':'6228481200290317812','oppActName':'投保人','cellPhone':null,'purpose':null,'memo':null,'returnURL':'http://139.199.50.151/#/sale/payResult','notifyURL':'http://139.199.50.151:7000/api/v1/epay/epay/payResult','s3Sign':'e3f0581ec6b751337e8eca360a0746bc'}}
@@ -432,7 +455,7 @@ export default {
flag: 'share',
extra: {
title: `国富人寿电子投保单(${shareName})付款`,
content: '付款进行',
content: '投保单号:'+ localStorage.orderNo + '\n' + '支付金额:' + this.underWriteData.orderAmount + '元',
url: location.origin + '/#/sale/payMent?orderNo=' + localStorage.orderNo + '&token=' + localStorage.token,
img: this.$assetsUrl + 'images/logo.png'
}

View File

@@ -21,13 +21,21 @@
<!-- <div v-if="payStatus != '2' && payStatus != '1'" class=" p10 pb250 bg-white">
<span class="pt150 fs14"> 如有相关问题请联系信息技术部运维人员</span>
</div> -->
<div v-if="payStatus == '1'" class=" p10 pb250 bg-white">
<span class="pt150 fs14"> 核心承保中请您稍后查看</span>
<div class="mt15" v-if="this.manageComCode == '45'">
<span class="pt150 fs14 green fwb">
温馨提示为维护您的合法权益广西保险行业协会将向您发送满意度调查短信欢迎回复短信对我们的销售和服务进行监督
</span>
<!-- <div v-if="payStatus == '1'" class=" p10 pb250 bg-white">-->
<!-- <span class="pt150 fs14"> 核心承保中请您稍后查看</span>-->
<!-- <div class="mt15" v-if="this.manageComCode == '45'">-->
<!-- <span class="pt150 fs14 green fwb">-->
<!-- 温馨提示为维护您的合法权益广西保险行业协会将向您发送满意度调查短信欢迎回复短信对我们的销售和服务进行监督-->
<!-- </span>-->
<!-- </div>-->
<!-- </div>-->
<div v-if="payStatus == '1'" class="p10 pb250 bg-white" style="text-align: center;padding-top: 50px!important;">
<p style="text-align: center;font-weight: bold;">温馨提示</p>
<p style="text-align: center;">您可识别下方官方微信"国富人寿"二维码关注工号查询您的保单信息和服务</p>
<div style="padding: 20px;">
<img :src="erweima" style="width: 60vw;"/>
</div>
<p style="text-align: center;font-weight: bold;">长按识别二维码</p>
</div>
<div v-if="payStatus == '2' || payStatus == '4' || payStatus == '8'" class=" p10 pb250 bg-white">
<span v-html="resMessage"></span>
@@ -51,161 +59,162 @@
</template>
<script>
import { Cell, CellGroup } from 'vant'
import { getPayState } from '@/api/ebiz/sale/sale'
import riskRules from '@/views/ebiz/common/risk-rules'
export default {
data() {
let isWeixin = this.$utils.device().isWeixin //判断环境
return {
isWeixin,
// 保融收银台返回的支付流水号
paySeqNo: '',
// 接口返回数据前,不做页面渲染
isReady: true,
// 是否已重新获取支付状态。(首次进入本页,立即查询支付结果。如果是‘支付中’,两秒后再次(最后一次)再次获取一次支付状态。)
isReloaded: false,
// 结果原因
resMessage: '',
// 支付结果
payStatus: '',
// 支付信息
payInfo: {
appntName: '', // 投保人
prtNo: '', // 投保单号
amnt: '' // 支付金额
import { Cell, CellGroup } from 'vant'
import { getPayState } from '@/api/ebiz/sale/sale'
import riskRules from '@/views/ebiz/common/risk-rules'
import erweima from '@/assets/images/erweima.png'
export default {
data() {
let isWeixin = this.$utils.device().isWeixin //判断环境
return {
isWeixin,
// 保融收银台返回的支付流水号
paySeqNo: '',
// 接口返回数据前,不做页面渲染
isReady: true,
// 是否已重新获取支付状态。(首次进入本页,立即查询支付结果。如果是‘支付中’,两秒后再次(最后一次)再次获取一次支付状态。)
isReloaded: false,
// 结果原因
resMessage: '',
// 支付结果
payStatus: '',
// 支付信息
payInfo: {
appntName: '', // 投保人
prtNo: '', // 投保单号
amnt: '' // 支付金额
},
// 图片
srcSuccess: this.$assetsUrl + 'images/success.png',
srcPending: this.$assetsUrl + 'images/pending.png',
srcFail: this.$assetsUrl + 'images/fail.png',
erweima,
manageComCode:''//代理人管理机构 52贵州 45广西
}
},
components: {
[Cell.name]: Cell,
[CellGroup.name]: CellGroup
},
methods: {
// 返回列表页
next() {
if(this.isWeixin){
WeixinJSBridge.call("closeWindow");
}else{
this.$jump({
flag: 'h5',
extra: {
url: location.origin + '/#/sale/list'
},
routerInfo: {
path: '/sale/list'
}
})
}
},
// 图片
srcSuccess: this.$assetsUrl + 'images/success.png',
srcPending: this.$assetsUrl + 'images/pending.png',
srcFail: this.$assetsUrl + 'images/fail.png',
manageComCode:''//代理人管理机构 52贵州 45广西
}
},
components: {
[Cell.name]: Cell,
[CellGroup.name]: CellGroup
},
methods: {
// 返回列表页
next() {
if(this.isWeixin){
WeixinJSBridge.call("closeWindow");
}else{
// 查询支付状态
queryPayState() {
this.$toast.clear()
this.$toast.loading({
duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击
loadingType: 'spinner',
message: '加载中……'
})
let data = { orderNo: this.paySeqNo }
getPayState(data).then(res => {
this.$toast.clear()
this.isReady = true
console.log('----支付结果查询', JSON.stringify(res))
if (res.result == '0') {
this.payStatus = res.payStatus
this.payInfo = { appntName: res.appntName, prtNo: res.prtNo, amnt: res.amnt }
this.resMessage = res.message
// 如果是支付中2秒后重新获取一次支付状态
if (this.payStatus == '4' && !this.isReloaded) {
this.isReloaded = true
setTimeout(() => {
this.queryPayState()
}, 2000)
}
} else {
this.$toast(res.resultMessage)
}
})
},
// 重新支付
rePayMent() {
// localStorage.orderNo = order.orderInfoDTO.orderNo
// 再次支付 salelist为 0
localStorage.salelist = '0'
this.$jump({
flag: 'h5',
extra: {
url: location.origin + '/#/sale/list'
url: location.origin + '/#/sale/payMent'
},
routerInfo: {
path: '/sale/list'
path: '/sale/payMent'
}
})
},
//更换卡号
changeCard() {
localStorage.setItem('changeCard', true)
this.$jump({
flag: 'h5',
extra: {
url: location.origin + '/#/sale/AccountInformation'
},
routerInfo: {
path: '/sale/AccountInformation'
}
})
}
},
// 查询支付状态
queryPayState() {
this.$toast.clear()
this.$toast.loading({
duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击
loadingType: 'spinner',
message: '加载中……'
})
let data = { orderNo: this.paySeqNo }
getPayState(data).then(res => {
this.$toast.clear()
this.isReady = true
console.log('----支付结果查询', JSON.stringify(res))
if (res.result == '0') {
this.payStatus = res.payStatus
this.payInfo = { appntName: res.appntName, prtNo: res.prtNo, amnt: res.amnt }
this.resMessage = res.message
// 如果是支付中2秒后重新获取一次支付状态
if (this.payStatus == '4' && !this.isReloaded) {
this.isReloaded = true
setTimeout(() => {
this.queryPayState()
}, 2000)
}
} else {
this.$toast(res.resultMessage)
}
created() {
EWebBridge.webCallAppInJs('webview_left_button', {
intercept: '1' //是否拦截原生返回事件 1是 其他否
})
},
// 重新支付
rePayMent() {
// localStorage.orderNo = order.orderInfoDTO.orderNo
// 再次支付 salelist为 0
localStorage.salelist = '0'
this.$jump({
flag: 'h5',
extra: {
url: location.origin + '/#/sale/payMent'
},
routerInfo: {
path: '/sale/payMent'
}
})
},
//更换卡号
changeCard() {
localStorage.setItem('changeCard', true)
this.$jump({
flag: 'h5',
extra: {
url: location.origin + '/#/sale/AccountInformation'
},
routerInfo: {
path: '/sale/AccountInformation'
}
})
}
},
created() {
EWebBridge.webCallAppInJs('webview_left_button', {
intercept: '1' //是否拦截原生返回事件 1是 其他否
})
},
async mounted() {
let that = this
// document.body.style.backgroundColor = '#fff'
that.payStatus = window.localStorage.getItem('payStatus')
that.payInfo = JSON.parse(window.localStorage.getItem('payInfo'))
if (window.localStorage.getItem('resMessage') != null) {
that.resMessage = window.localStorage.getItem('resMessage').replace(/\\n/g, '<br>')
}
async mounted() {
let that = this
// document.body.style.backgroundColor = '#fff'
that.payStatus = window.localStorage.getItem('payStatus')
that.payInfo = JSON.parse(window.localStorage.getItem('payInfo'))
if (window.localStorage.getItem('resMessage') != null) {
that.resMessage = window.localStorage.getItem('resMessage').replace(/\\n/g, '<br>')
}
this.paySeqNo = this.$route.query.RdSeq
if (!this.paySeqNo) {
this.$toast({ message: '参数错误缺少支付流水号RdSeq查询参数', duration: 5000 })
} else {
this.queryPayState()
this.paySeqNo = this.$route.query.RdSeq
if (!this.paySeqNo) {
this.$toast({ message: '参数错误缺少支付流水号RdSeq查询参数', duration: 5000 })
} else {
this.queryPayState()
}
//获取代理人管理机构 52贵州 45广西
let dataReturn = await riskRules.getAgentInfoFunc(this)
this.manageComCode = dataReturn.manageComCode
},
beforeRouteLeave(to, from, next) {
document.body.style.backgroundColor = ''
next()
}
//获取代理人管理机构 52贵州 45广西
let dataReturn = await riskRules.getAgentInfoFunc(this)
this.manageComCode = dataReturn.manageComCode
},
beforeRouteLeave(to, from, next) {
document.body.style.backgroundColor = ''
next()
}
}
</script>
<style lang="scss" scoped>
.payResult-container {
.payResult-header {
width: 345px;
// height: 143px;
.payResult-img {
width: 70px;
height: 70px;
.payResult-container {
.payResult-header {
width: 345px;
// height: 143px;
.payResult-img {
width: 70px;
height: 70px;
}
}
}
}
// /deep/ .van-cell__value {
// text-align: left;
// }
// /deep/ .van-cell__value {
// text-align: left;
// }
</style>

View File

@@ -56,10 +56,9 @@ export default {
[NoticeBar.name]: NoticeBar
},
created() {
this.init()
},
async mounted() {
await this.init()
mounted() {
let readingType = localStorage.getItem('readingProtocolType')
if (readingType && readingType === '1') {
this.protocol = true
@@ -87,7 +86,7 @@ export default {
}
},
methods: {
init(){
async init(){
this.getOrderDetail()
},
timeOut() {
@@ -111,18 +110,11 @@ export default {
// 获取PDF的路径
getOrderDetail() {
let that = this
this.$toast.loading({
duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击
loadingType: 'spinner',
message: '加载中……'
})
let data = {
orderNo: that.$route.query.orderNo
}
return new Promise((resolve, reject) => {
getOrderDetail(data).then(res => {
this.$toast.clear()
if (res.result == '0') {
res.orderDTO.ebizSignDTOS.map(item => {
if (item.documentCode == '12') {

View File

@@ -262,7 +262,7 @@ export default {
timeId: null, // 计时器ID
countDown: 60, // 倒计时
authCode: '', // 验证码
smsAuthNum: 3,
smsAuthNum: 2,
operaFlag: null,
encyCustomerMobile: null,
sid: null,
@@ -458,56 +458,55 @@ export default {
this.relationToAppnt = this.$route.query.relationToAppnt
this.isShow = false
await this.getOrderDetail()
console.log('初始化this.appntSign ==', this.appntSign)
if (
(this.appntSignStatus == '3' && sessionStorage.getItem('shareCode') == '0') ||
(this.appntSignStatus == '3' && sessionStorage.getItem('shareCode') == '2')
) {
// this.$toast('签名成功,请联系业务员进行后续流程!')
Dialog.alert({ title: '提示', message: '签名成功,请联系业务员进行后续流程!' })
} else if (this.insuredSignStatus == '3' && sessionStorage.getItem('shareCode') == '1') {
Dialog.alert({ title: '提示', message: '签名成功,请联系业务员进行后续流程!' })
}
if (this.changeCard && this.appntSign.documentStatus == '1') {
Dialog.alert({ title: '提示', message: '确认完成,请联系业务员完成后续流程!' })
}
// localStorage['faceAuthWeXin-requestId'] localStorage['faceAuthWeXin-bizToken']--微信端人脸识别获取腾讯认证url接口获得认证相关参数
if (localStorage['faceAuthWeXin-requestId'] && localStorage['faceAuthWeXin-bizToken'] && this.$route.query.faceAuthCountWeixin != undefined) {
this.getRecognitionResult(JSON.parse(localStorage['faceAuthWeXin-requestId']), JSON.parse(localStorage['faceAuthWeXin-bizToken']))
}
if (sessionStorage.shareCode == '1') {
console.log('进来被保险人')
this.tipsName = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).name
} else if(sessionStorage.shareCode == '3'){
console.log('进来代理人')
this.tipsName =this.recmd.name
}else {
console.log('进来投保人')
this.tipsName = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredInfo')).name
// console.log('localStorage.saleInsuredInfo', localStorage.saleInsuredInfo)
// console.log('localStorage.saleInsuredInfo.name', localStorage.saleInsuredInfo.name)
// console.log('this.tipName', this.tipsName)
}
weixinShare({
title: '国富人寿计划书',
imgUrl: 'http://47.96.143.111:8000/app/images/logo.png',
desc: '国富为您量身定制的保险产品,请查收'
})
// let params = {
// orderNo: ''
// }
this.faceAuthCount.appnt = this.$route.query.faceAuthCountAppnt == undefined ? 0 : Number(this.$route.query.faceAuthCountAppnt)
this.faceAuthCount.insured = this.$route.query.faceAuthCountInsured == undefined ? 0 : Number(this.$route.query.faceAuthCountInsured)
this.faceAuthCount.weixin = this.$route.query.faceAuthCountWeixin == undefined ? 0 : Number(this.$route.query.faceAuthCountWeixin)
} else {
// 获取详情消息
this.getOrderDetail()
this.getSignInvalid()
this.isShow = true
if (
(this.appntSignStatus == '3' && sessionStorage.getItem('shareCode') == '0') ||
(this.appntSignStatus == '3' && sessionStorage.getItem('shareCode') == '2')
) {
// this.$toast('签名成功,请联系业务员进行后续流程!')
Dialog.alert({ title: '提示', message: '签名成功,请联系业务员进行后续流程!' })
} else if (this.insuredSignStatus == '3' && sessionStorage.getItem('shareCode') == '1') {
Dialog.alert({ title: '提示', message: '签名成功,请联系业务员进行后续流程!' })
}
},
if (this.changeCard && this.appntSign.documentStatus == '1') {
Dialog.alert({ title: '提示', message: '确认完成,请联系业务员完成后续流程!' })
}
// localStorage['faceAuthWeXin-requestId'] localStorage['faceAuthWeXin-bizToken']--微信端人脸识别获取腾讯认证url接口获得认证相关参数
if (localStorage['faceAuthWeXin-requestId'] && localStorage['faceAuthWeXin-bizToken'] && this.$route.query.faceAuthCountWeixin != undefined) {
this.getRecognitionResult(JSON.parse(localStorage['faceAuthWeXin-requestId']), JSON.parse(localStorage['faceAuthWeXin-bizToken']))
}
if (sessionStorage.shareCode == '1') {
console.log('进来被保险人')
this.tipsName = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).name
} else if(sessionStorage.shareCode == '3'){
console.log('进来代理人')
this.tipsName =this.recmd.name
}else {
console.log('进来投保人')
this.tipsName = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredInfo')).name
// console.log('localStorage.saleInsuredInfo', localStorage.saleInsuredInfo)
// console.log('localStorage.saleInsuredInfo.name', localStorage.saleInsuredInfo.name)
// console.log('this.tipName', this.tipsName)
}
weixinShare({
title: '国富人寿计划书',
imgUrl: 'http://47.96.143.111:8000/app/images/logo.png',
desc: '国富为您量身定制的保险产品,请查收'
})
// let params = {
// orderNo: ''
// }
this.faceAuthCount.appnt = this.$route.query.faceAuthCountAppnt == undefined ? 0 : Number(this.$route.query.faceAuthCountAppnt)
this.faceAuthCount.insured = this.$route.query.faceAuthCountInsured == undefined ? 0 : Number(this.$route.query.faceAuthCountInsured)
this.faceAuthCount.weixin = this.$route.query.faceAuthCountWeixin == undefined ? 0 : Number(this.$route.query.faceAuthCountWeixin)
} else {
// 获取详情消息
this.getOrderDetail()
this.getSignInvalid()
this.isShow = true
}
},
// 获取消息和阅读状态
realPeopelCheck() {
this.$toast.loading({
@@ -657,6 +656,27 @@ export default {
},
// 人脸识别
async start_ocr(val) {
// val 0投保人 1被保险人 2本人
// return this.$dialog
// .alert({
// className: 'dialog-alert',
// title: '提示',
// message: '为维护您的合法权益,请您务必认真观看防范销售误导视频。',
// confirmButtonColor: '#ee0a24',
// confirmButtonText: '确认'
// })
// .then(() => {
// this.$jump({
// flag: 'navigation',
// extra: {
// title: '防范销售误导',
// hiddenRight: '1'
// }
// })
// this.videoShow = true
// this.isVideo = true
// this.isVideoUrl = 'goUrl'
// })
console.log('人脸识别')
console.log(val)
let that = this
@@ -667,10 +687,9 @@ export default {
//idtype不为身份证跳过人脸识别
if (JSON.parse(this.$CacheUtils.getLocItem('saleInsuredInfo')).idType != '1') {
that.goUrl()
}
else {
} else {
// 白名单校验
let res = await getWhitelist({
const res = await getWhitelist({
idNo: this.saleInsuredInfo.idNo,
name: this.saleInsuredInfo.name,
whiteType: 'sale_face_show'
@@ -688,16 +707,9 @@ export default {
//RID 状态--有效
if (this.realPeopleRidInfo.appntRidFlag && this.realPeopleRidInfo.appntRidFlag == '0') {
// 手机号鉴权 --通过
let insuredData = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo'))
let data = {
name: insuredData.name,
idType: insuredData.idType,
idNo: insuredData.idNo,
mobile: insuredData.mobile
}
let res1 = await checkPhone(data)
if (res1 && res1.result == '0') {
that.insuredUrl()
let res = await this.realPeopleCheckMobile('appnt')
if (res && res.result == '0') {
that.goUrl()
return
}
}
@@ -727,7 +739,7 @@ export default {
that.insuredUrl()
} else {
// 白名单校验
let res = await getWhitelist({
const res = await getWhitelist({
idNo: this.saleInsuredPersonInfo.idNo,
name: this.saleInsuredPersonInfo.name,
whiteType: 'sale_face_show'
@@ -779,7 +791,7 @@ export default {
}
}
// 白名单校验
let res = await getWhitelist({
const res = await getWhitelist({
idNo: this.saleInsuredInfo.idNo,
name: this.saleInsuredInfo.name,
whiteType: 'sale_face_show'
@@ -1572,70 +1584,70 @@ export default {
})
})
},
//自定义key值排序用
addKey(item) {
//ducumentCode 1投保须知 2投保单 3产品说明书 4提示书 6免除保险人责任条款说明书 7保险销售行为双录说明
// 8指定保单生效日 9短期险投保须知 10国富人寿自保件承诺书 11柳州保险行业寿险投保风险提示书 12个人信息使用授权
// documentStatus: 文档状态 0 未读 1 已读 2 未签名 3 已签名
// documentType: 文档类型 0 阅读文档 1 签名文档
// signType: 签名类型 0 投保人 1 被保人 2 本人
if (item.documentCode == '1') {
item.key = 2
// item.key = 4
item.routePath = 'insuranceInformation'
} else if (item.documentCode == '2') {
// item.key = 9
item.key = 11
item.routePath = 'SignatureOfElectronic'
} else if (item.documentCode == '3') {
// item.key = 4
item.key = 6
item.routePath = 'productTip'
} else if (item.documentCode == '4') {
// item.key = 5
item.key = 7
item.routePath = 'InsuranceTip'
} else if (item.documentCode == '6') {
// item.key = 7
item.key = 9
item.routePath = 'avoidDutyTip'
} else if (item.documentCode == '7') {
// item.key = 8
item.key = 10
item.routePath = 'doubleRecordTip'
} else if (item.documentCode == '8') {
item.key = 1
item.routePath = 'apointValidDoc'
} else if (item.documentCode == '9') {
// item.key = 3
item.key = 5
item.routePath = 'shortPeriodProduct'
}else if (item.documentCode == '10') {
item.key = 1
item.routePath = 'commitmentSelfProtect'
} else if (item.documentCode == '11') {
// item.key = 6
item.key = 8
item.routePath = 'InsuranceRiskReminder'
} else if (item.documentCode == '12') {
// item.key = 10
item.key = 12
item.routePath = 'PersonalInformation'
} else if (item.documentCode == '13') {
// item.key = 2
item.key = 4
item.routePath = 'insuranceClauses'
}else if (item.documentCode == '14') {//风险评估pdf
item.key = 3
item.routePath = 'AnswerTip'
} else if (item.documentCode == '15') {
item.key = 7.1
item.routePath = 'universalRiskNotifyingMessageTip'
}
},
getSignInvalid() {
this.$toast.loading({
duration: 0, // 持续展示 toast
//自定义key值排序用
addKey(item) {
//ducumentCode 1投保须知 2投保单 3产品说明书 4提示书 6免除保险人责任条款说明书 7保险销售行为双录说明
// 8指定保单生效日 9短期险投保须知 10国富人寿自保件承诺书 11柳州保险行业寿险投保风险提示书 12个人信息使用授权
// documentStatus: 文档状态 0 未读 1 已读 2 未签名 3 已签名
// documentType: 文档类型 0 阅读文档 1 签名文档
// signType: 签名类型 0 投保人 1 被保人 2 本人
if (item.documentCode == '1') {
item.key = 2
// item.key = 4
item.routePath = 'insuranceInformation'
} else if (item.documentCode == '2') {
// item.key = 9
item.key = 11
item.routePath = 'SignatureOfElectronic'
} else if (item.documentCode == '3') {
// item.key = 4
item.key = 6
item.routePath = 'productTip'
} else if (item.documentCode == '4') {
// item.key = 5
item.key = 7
item.routePath = 'InsuranceTip'
} else if (item.documentCode == '6') {
// item.key = 7
item.key = 9
item.routePath = 'avoidDutyTip'
} else if (item.documentCode == '7') {
// item.key = 8
item.key = 10
item.routePath = 'doubleRecordTip'
} else if (item.documentCode == '8') {
item.key = 1
item.routePath = 'apointValidDoc'
} else if (item.documentCode == '9') {
// item.key = 3
item.key = 5
item.routePath = 'shortPeriodProduct'
}else if (item.documentCode == '10') {
item.key = 1
item.routePath = 'commitmentSelfProtect'
} else if (item.documentCode == '11') {
// item.key = 6
item.key = 8
item.routePath = 'InsuranceRiskReminder'
} else if (item.documentCode == '12') {
// item.key = 10
item.key = 12
item.routePath = 'PersonalInformation'
} else if (item.documentCode == '13') {
// item.key = 2
item.key = 4
item.routePath = 'insuranceClauses'
}else if (item.documentCode == '14') {//风险评估pdf
item.key = 3
item.routePath = 'AnswerTip'
} else if (item.documentCode == '15') {
item.key = 7.1
item.routePath = 'universalRiskNotifyingMessageTip'
}
},
getSignInvalid() {
this.$toast.loading({
duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击
@@ -1746,18 +1758,9 @@ export default {
})
},
getRecognitionResult(requestId, bizToken) {
this.$toast.loading({
// 持续展示 toast
duration: 0,
// 禁用背景点击s
forbidClick: true,
loadingType: 'spinner',
message: '加载中……'
})
return new Promise(() => {
getRecognitionResult({ requestId, bizToken }).then(
(res) => {
this.$toast.clear()
if (res.result == '0') {
this.recognizeResult = res.result
} else {

View File

@@ -881,8 +881,147 @@ export default {
}
}
},
created() {
async created() {
let data = {
orderNo: this.$route.query.orderNo
}
getOrderDetail(data).then(res => {
if (res.result == '0') {
let array = []
res.orderDTO.ebizSignDTOS.map(item => {
array.push(item.documentCode)
})
this.isPersonalInformation = array.findIndex(item => item === '12')
}
})
if (!this.isWeixin) {
setTimeout(() => {
// eslint-disable-next-line no-undef
EWebBridge.webCallAppInJs('webview_left_button', {
img: this.$assetsUrl + 'images/del-close-btn@3x.png',
intercept: '1' //是否拦截原生返回事件 1是 其他否
})
}, 100)
window.appCallBack = this.appCallBack
}
let that = this
// 获取当前时间的时间戳
// var day2 = new Date()
// var day = day2.setTime(day2.getTime())
// console.log(day)
// console.log(new Date('2020-01-01 23:59:59').getTime())
// if (day > new Date('2020-01-01 23:59:59').getTime()) {
// this.dayShow = true
// }
// 获取产品编码
// this.chooseProductCodes = JSON.parse(localStorage.chooseProductCodes)
that.detailJump = window.localStorage.getItem('detailJump')
if (this.detailJump == '1') {
this.pdfUrl = encodeURIComponent(config.imgDomain + `/returnDirectStream?imgPath=${localStorage.getItem('insurance-policyUrl')}`)
}
that.signVal = window.localStorage.getItem('sign-val')
// 判断是不是万能险
let comment = window.localStorage.getItem('productCode')
// if (comment == 'GFRS_M0003') {
if (comment == 'GFRS_M0003' || comment == 'GFRS_M0015' || comment == 'GFRS_M0017') {
this.isComment = true
}
// 获取投保人信息
that.saleInsuredInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredInfo'))
// 在微信
if (this.isWeixin) {
// 在微信且不是回执签收
if (this.detailJump != '1') {
that.relationToAppnt = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
let imgBase64Data = sessionStorage.getItem('imgBase64Data')
let wxSigned = sessionStorage.getItem('wxSigned')
let signInfo = JSON.parse(localStorage.getItem('signInfo'))
console.log('`````````````````````````````````')
console.log('imgBase64Data:twoimgBase64Data ' + imgBase64Data)
console.log('wxSigned: ' + wxSigned)
if (wxSigned) {
console.log('第二次进入电子保单!')
console.log('that222222222222', that)
this.getOrderDetail().then(() => {
this.Time = true
this.isOver = true
this.radio = '1'
this.base64 = imgBase64Data
this.isDisabledComplite = false
console.log('signInfo.status:' + signInfo.status)
if (signInfo.status == '0') {
// this.appntSign.documentStatus = '3'
console.log('``````````````````')
this.$set(this.appntSign, 'documentStatus', '3')
console.log('appntSign.documentStatus: ' + this.appntSign.documentStatus)
this.isSign = false
this.isDisabledComplite = false
// this.isDisable = false
} else {
this.$set(this.insuredSign, 'documentStatus', '3')
// this.insuredSign.documentStatus = '3'
this.isDisabledComplite = false
this.isSign = false
}
})
} else {
console.log('````````````````````````')
console.log('第一次进入电子保单')
this.timeOut()
this.getOrderDetail()
}
} else {
// 在微信而且是回执签收
document.title = '保险合同签收回执电子确认书签名'
let imgBase64Data = sessionStorage.getItem('imgBase64Data')
let wxSigned = sessionStorage.getItem('wxSigned')
let signInfo = JSON.parse(localStorage.getItem('signInfo'))
console.log('`````````````````````````````````')
console.log('imgBase64Data:twoimgBase64Data ' + imgBase64Data)
console.log('wxSigned: ' + wxSigned)
if (wxSigned) {
console.log('第二次进入电子保单!')
console.log('that222222222222', that)
this.Time = true
this.isOver = true
this.radioSure = '1'
this.base64 = imgBase64Data
this.isDisabledComplite = false
console.log('signInfo.status:' + signInfo.status)
if (signInfo.status == '0') {
// this.appntSign.documentStatus = '3'
console.log('``````````````````')
this.$set(this.appntSign, 'documentStatus', '3')
console.log('appntSign.documentStatus: ' + this.appntSign.documentStatus)
this.isSign = false
this.isDisabledComplite = false
this.isSubmit = false
} else {
this.$set(this.insuredSign, 'documentStatus', '3')
// this.insuredSign.documentStatus = '3'
this.isDisabledComplite = false
this.isSign = false
}
}
}
} else {
// 不在微信且不是回执签收
if (this.detailJump != '1') {
// 投被保险人是否同人
that.relationToAppnt = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
// 获取被保险人信息
that.saleInsuredPersonInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo'))
this.timeOut()
this.getOrderDetail()
} else {
// 不在微信但是在回执签收
document.title = '保险合同签收回执电子确认书签名'
}
}
},
computed: {
listenChange() {
@@ -941,109 +1080,19 @@ export default {
}
}
},
async mounted() {
mounted() {
document.body.style.backgroundColor = '#fff'
let data = {
orderNo: this.$route.query.orderNo
}
getOrderDetail(data).then(res => {
if (res.result == '0') {
let array = []
res.orderDTO.ebizSignDTOS.map(item => {
array.push(item.documentCode)
})
this.isPersonalInformation = array.findIndex(item => item === '12')
}
})
if (!this.isWeixin) {
setTimeout(() => {
EWebBridge.webCallAppInJs('webview_left_button', {
img: this.$assetsUrl + 'images/del-close-btn@3x.png',
intercept: '1' //是否拦截原生返回事件 1是 其他否
})
}, 100)
window.appCallBack = this.appCallBack
}
let that = this
that.detailJump = window.localStorage.getItem('detailJump')
if (this.detailJump == '1') {
this.pdfUrl = encodeURIComponent(config.imgDomain + `/returnDirectStream?imgPath=${localStorage.getItem('insurance-policyUrl')}`)
}
that.signVal = window.localStorage.getItem('sign-val')
// 判断是不是万能险
let comment = window.localStorage.getItem('productCode')
if (comment == 'GFRS_M0003' || comment == 'GFRS_M0015' || comment == 'GFRS_M0017') {
this.isComment = true
}
// 获取投保人信息
that.saleInsuredInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredInfo'))
// 在微信
if (this.isWeixin) {
// 在微信且不是回执签收
if (this.detailJump != '1') {
that.relationToAppnt = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
let imgBase64Data = sessionStorage.getItem('imgBase64Data')
let wxSigned = sessionStorage.getItem('wxSigned')
let signInfo = JSON.parse(localStorage.getItem('signInfo'))
if (wxSigned) {
this.getOrderDetail().then(() => {
this.Time = true
this.isOver = true
this.radio = '1'
this.base64 = imgBase64Data
this.isDisabledComplite = false
if (signInfo.status == '0') {
this.$set(this.appntSign, 'documentStatus', '3')
this.isSign = false
this.isDisabledComplite = false
} else {
this.$set(this.insuredSign, 'documentStatus', '3')
this.isDisabledComplite = false
this.isSign = false
}
})
} else {
this.timeOut()
this.getOrderDetail()
}
} else {
// 在微信而且是回执签收
document.title = '保险合同签收回执电子确认书签名'
let imgBase64Data = sessionStorage.getItem('imgBase64Data')
let wxSigned = sessionStorage.getItem('wxSigned')
let signInfo = JSON.parse(localStorage.getItem('signInfo'))
if (wxSigned) {
this.Time = true
this.isOver = true
this.radioSure = '1'
this.base64 = imgBase64Data
this.isDisabledComplite = false
if (signInfo.status == '0') {
this.$set(this.appntSign, 'documentStatus', '3')
this.isSign = false
this.isDisabledComplite = false
this.isSubmit = false
} else {
this.$set(this.insuredSign, 'documentStatus', '3')
this.isDisabledComplite = false
this.isSign = false
}
}
}
} else {
// 不在微信且不是回执签收
if (this.detailJump != '1') {
// 投被保险人是否同人
that.relationToAppnt = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
// 获取被保险人信息
that.saleInsuredPersonInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo'))
this.timeOut()
this.getOrderDetail()
} else {
// 不在微信但是在回执签收
document.title = '保险合同签收回执电子确认书签名'
}
}
// console.log('---签名投保单PDFurl:', this.pdfUrl, 'insurance-policyUrl', window.localStorage.getItem('insurance-policyUrl'))
// this.pdfUrl = "http://10.10.100.98:7012/updown/returnDirectStream?imgPath=Ra4LpmZv2h6FrwZPS48QIETiI2AcWWLx6RavVjoAkoMMdje9Cf6YWX3FlAKn%2FwOBIMX%2BfXJaM6sn%0D%0AiUe41vurjQJ65teJQwdrc2wcOn%2FJtQSVGLphInLPv0HGtHpZ3OhD"
// this.src = 'http://139.199.50.151:7000/pdfjs/web/viewer.html?file='
// console.log('------pdf url:', this.src + this.pdfUrl)
//实例化
// this.pdfh5 = new Pdfh5('#pdf', {
// pdfurl: config.imgDomain + `/returnDirectStream?imgPath=${window.localStorage.getItem('insurance-policyUrl')}`
// // pdfurl: res.data.content.content
// })
// 获取签名信息
},
beforeRouteLeave(to, from, next) {
document.body.style.backgroundColor = ''

View File

@@ -556,7 +556,34 @@ export default {
}
},
created() {
if (!this.isWeixin) {
setTimeout(() => {
// eslint-disable-next-line no-undef
EWebBridge.webCallAppInJs('webview_left_button', {
img: this.$assetsUrl + 'images/del-close-btn@3x.png',
intercept: '1' //是否拦截原生返回事件 1是 其他否
})
}, 100)
window.appCallBack = this.appCallBack
}
let that = this
that.detailJump = window.localStorage.getItem('detailJump')
that.signVal = window.localStorage.getItem('sign-val')
// 获取投保人信息
that.saleInsuredInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredInfo'))
if (this.isWeixin) {
that.relationToAppnt = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
}
if (this.detailJump != '1') {
// 投被保险人是否同人
that.relationToAppnt = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
// 获取被保险人信息
that.saleInsuredPersonInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo'))
}
},
computed: {
listenChange() {
@@ -596,30 +623,6 @@ export default {
}
},
async mounted() {
if (!this.isWeixin) {
setTimeout(() => {
// eslint-disable-next-line no-undef
EWebBridge.webCallAppInJs('webview_left_button', {
img: this.$assetsUrl + 'images/del-close-btn@3x.png',
intercept: '1' //是否拦截原生返回事件 1是 其他否
})
}, 100)
window.appCallBack = this.appCallBack
}
let that = this
that.detailJump = window.localStorage.getItem('detailJump')
that.signVal = window.localStorage.getItem('sign-val')
// 获取投保人信息
that.saleInsuredInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredInfo'))
if (this.isWeixin) {
that.relationToAppnt = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
}
if (this.detailJump != '1') {
// 投被保险人是否同人
that.relationToAppnt = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
// 获取被保险人信息
that.saleInsuredPersonInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo'))
}
if (this.detailJump != '1') {
this.getOrderDetail()
}
@@ -627,22 +630,39 @@ export default {
let imgBase64Data = sessionStorage.getItem('threeimgBase64Data')
let wxSigned = sessionStorage.getItem('threewxSigned')
let signInfo = localStorage.getItem('signInfo')
console.log('`````````````````````````````````')
console.log('imgBase64Data:threeimgBase64Data ' + imgBase64Data)
console.log('wxSigned: ' + wxSigned)
if (wxSigned) {
console.log('第二次进入电子保单')
console.log('````````````````````````````````')
let rs = await this.getOrderDetail()
console.log(rs)
if (rs === 'success') {
this.Time = true
this.radio = '1'
this.base64 = imgBase64Data
this.isDisabledComplite = false
if (signInfo.status == '1') {
// this.appntSign.signStatus = '1'
console.log('``````````````````')
console.log('appntSign:' + this.appntSign)
this.$set(this.appntSign, 'signStatus', '1')
this.isSubmit = false
this.isSign = false
} else {
// this.insuredSign.signStatus = '1'
console.log('````````````````````')
console.log('insuredSign:' + this.insuredSign)
this.$set(this.insuredSign, 'signStatus', '1')
// this.isDisabledComplite = false
}
}
console.log('第二次进入保单,完成状态查看')
console.log(this.isDisabledComplite)
} else {
console.log('````````````````````````')
console.log('第一次进入电子保单')
this.timeOut()
this.getOrderDetail()
}
@@ -654,6 +674,12 @@ export default {
}
document.body.style.backgroundColor = '#fff'
this.pdfUrl = encodeURIComponent(config.imgDomain + `/returnDirectStream?imgPath=${window.localStorage.getItem('insurance-policyUrl')}`)
//实例化
// this.pdfh5 = new Pdfh5('#pdf', {
// pdfurl: config.imgDomain + `/returnDirectStream?imgPath=${window.localStorage.getItem('insurance-policyUrl')}`
// // pdfurl: res.data.content.content
// })
// 获取签名信息
},
beforeRouteLeave(to, from, next) {
document.body.style.backgroundColor = ''

View File

@@ -60,10 +60,33 @@ export default {
[NoticeBar.name]: NoticeBar
},
created() {
this.init()
},
mounted() {
this.init()
// let readingType = localStorage.getItem('readingProtocolType')
// if (readingType && readingType === '1') {
// this.protocol = true
// }
// let that = this
// // {{switchFlag.Time?pageVariable.msg:pageVariable.number}}
// that.timeOut()
// that.activeType = window.localStorage.getItem('activeType')
// // Notify({
// // type: 'warning',
// // message: `提示:阅读时长需在${this.Time ? this.time : this.number}秒以上`,
// // duration: 10000,
// // background: '#999999',
// // className: 'notify'
// // })
// document.body.style.backgroundColor = '#fff'
// that.signVal = window.localStorage.getItem('sign-val')
// // if (JSON.parse(window.localStorage.getItem('sign-insured'))) {
// // that.insuredSign = JSON.parse(window.localStorage.getItem('sign-insured'))
// // }
// // if (JSON.parse(window.localStorage.getItem('sign-appnt'))) {
// // that.appntSign = JSON.parse(window.localStorage.getItem('sign-appnt'))
// // }
},
methods: {
async init(){
@@ -117,18 +140,11 @@ export default {
// 获取PDF的路径
getOrderDetail() {
let that = this
this.$toast.loading({
duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击
loadingType: 'spinner',
message: '加载中……'
})
let data = {
orderNo: that.$route.query.orderNo
}
return new Promise((resolve, reject) => {
getOrderDetail(data).then(res => {
this.$toast.clear()
if (res.result == '0') {
res.orderDTO.insuredDTOs[0].riskDTOLst.forEach(item => {
if(item.isMainRisk == '0'){

View File

@@ -62,7 +62,6 @@
mounted() {
let that = this
document.body.style.backgroundColor = '#fff'
that.getOrderDetail();
setTimeout(function() {
closeLoading()
that.timeOut()
@@ -79,6 +78,7 @@
}, 100)
window.appCallBack = this.appCallBack
}
this.getOrderDetail();
let that = this;
that.signVal = window.localStorage.getItem('sign-val')
},
@@ -131,19 +131,13 @@
},
// 获取签名状态
getOrderDetail() {
openLoading()
let that = this
let data = {
orderNo: that.$route.query.orderNo
}
that.$toast.loading({
duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击
loadingType: 'spinner',
message: '加载中……'
})
return new Promise((resolve) => {
getOrderDetail1(data).then(res => {
that.$toast.clear()
if (res.result == '0') {
for(let i = 0;i<res.orderDTO.ebizSignDTOS.length;i++){
if (res.orderDTO.ebizSignDTOS[i].signType == '0' || res.orderDTO.ebizSignDTOS[i].signType == '2') {

View File

@@ -82,15 +82,16 @@ export default {
[Dialog.name]: Dialog,
[NoticeBar.name]: NoticeBar
},
created() {
},
async mounted() {
mounted() {
let that = this
that.timeOut()
document.body.style.backgroundColor = '#fff'
// 当前代理人渠道--个险渠道,中介渠道
},
async created() {
// 当前代理人渠道--个险渠道,中介渠道
let dataReturn = await riskRules.getAgentInfoFunc(this)
this.branchTypeVal = dataReturn.branchTypeVal
if (!this.isWeixin) {
setTimeout(() => {
// eslint-disable-next-line no-undef
@@ -113,29 +114,48 @@ export default {
if (this.detailJump != '1') {
// 投被保险人是否同人
that.relationToAppnt = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
// 获取被保险人信息
// that.saleInsuredPersonInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo'))
}
// if (this.detailJump != '1') {
// this.getOrderDetail()
// }
if (this.isWeixin) {
let imgBase64Data = sessionStorage.getItem('twoimgBase64Data')
let wxSigned = JSON.parse(sessionStorage.getItem('twowxSigned'))
// let wxSigned = false
let signInfo = JSON.parse(localStorage.getItem('signInfo'))
console.log('`````````````````````````````````')
console.log('imgBase64Data: twoimgBase64Data:' + imgBase64Data)
console.log('wxSigned: ' + wxSigned)
if (wxSigned) {
console.log('第二次进入电子保单')
console.log('````````````````````````````````')
this.getOrderDetail().then(() => {
this.Time = true
this.isOver = true
this.radio = '1'
this.base64 = imgBase64Data
this.isDisabledComplite = false
console.log('signInfo.status:' + signInfo.status)
if (signInfo.status == '0') {
// this.appntSign.documentStatus = '3'
console.log('``````````````````')
this.$set(this.appntSign, 'documentStatus', '3')
console.log('appntSign.documentStatus: ' + this.appntSign.documentStatus)
this.isSign = false
this.isDisabledComplite = false
// this.isDisable = false
} else {
this.$set(this.insuredSign, 'documentStatus', '3')
// this.insuredSign.documentStatus = '3'
this.isDisabledComplite = false
this.isSign = false
}
})
} else {
console.log('第一次进入电子保单')
this.timeOut()
this.getOrderDetail()
}
@@ -145,7 +165,6 @@ export default {
this.getOrderDetail()
}
}
this.timeOut()
},
methods: {
appCallBack(data) {
@@ -201,15 +220,8 @@ export default {
let data = {
orderNo: that.$route.query.orderNo
}
that.$toast.loading({
duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击
loadingType: 'spinner',
message: '加载中……'
})
return new Promise((resolve, reject) => {
getOrderDetail(data).then(res => {
that.$toast.clear()
if (res.result == '0') {
// 截取代理人机构号的前六位,用于去判断是否属于柳州代理人
if(res.orderDTO.recmdDTO.managerOrg && res.orderDTO.recmdDTO.managerOrg.length >= 6){

View File

@@ -32,12 +32,12 @@ module.exports = {
chainWebpack: config => {
// 移除 prefetch 插件
config.plugins.delete('prefetch')
// 压缩代码
config.optimization.minimize(true)
// 分割代码
config.optimization.splitChunks({
chunks: 'all',
})
// // 压缩代码
// config.optimization.minimize(true)
// // 分割代码
// config.optimization.splitChunks({
// chunks: 'all',
// })
},
devServer: {
port: 8082