mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 11:06:43 +08:00
国富commit-2ecc58241492ab82267476b5fe7ec8c39498988b
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# env
|
||||
NODE_ENV = 'production'
|
||||
NODE_ENV = 'development'
|
||||
|
||||
# flag
|
||||
VUE_APP_FLAG='development'
|
||||
|
||||
28
package-lock.json
generated
28
package-lock.json
generated
@@ -6408,14 +6408,12 @@
|
||||
"balanced-match": {
|
||||
"version": "1.0.0",
|
||||
"bundled": true,
|
||||
"dev": true,
|
||||
"optional": true
|
||||
"dev": true
|
||||
},
|
||||
"brace-expansion": {
|
||||
"version": "1.1.11",
|
||||
"bundled": true,
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"balanced-match": "^1.0.0",
|
||||
"concat-map": "0.0.1"
|
||||
@@ -6430,20 +6428,17 @@
|
||||
"code-point-at": {
|
||||
"version": "1.1.0",
|
||||
"bundled": true,
|
||||
"dev": true,
|
||||
"optional": true
|
||||
"dev": true
|
||||
},
|
||||
"concat-map": {
|
||||
"version": "0.0.1",
|
||||
"bundled": true,
|
||||
"dev": true,
|
||||
"optional": true
|
||||
"dev": true
|
||||
},
|
||||
"console-control-strings": {
|
||||
"version": "1.1.0",
|
||||
"bundled": true,
|
||||
"dev": true,
|
||||
"optional": true
|
||||
"dev": true
|
||||
},
|
||||
"core-util-is": {
|
||||
"version": "1.0.2",
|
||||
@@ -6560,8 +6555,7 @@
|
||||
"inherits": {
|
||||
"version": "2.0.3",
|
||||
"bundled": true,
|
||||
"dev": true,
|
||||
"optional": true
|
||||
"dev": true
|
||||
},
|
||||
"ini": {
|
||||
"version": "1.3.5",
|
||||
@@ -6573,7 +6567,6 @@
|
||||
"version": "1.0.0",
|
||||
"bundled": true,
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"number-is-nan": "^1.0.0"
|
||||
}
|
||||
@@ -6588,7 +6581,6 @@
|
||||
"version": "3.0.4",
|
||||
"bundled": true,
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"brace-expansion": "^1.1.7"
|
||||
}
|
||||
@@ -6596,14 +6588,12 @@
|
||||
"minimist": {
|
||||
"version": "0.0.8",
|
||||
"bundled": true,
|
||||
"dev": true,
|
||||
"optional": true
|
||||
"dev": true
|
||||
},
|
||||
"minipass": {
|
||||
"version": "2.3.5",
|
||||
"bundled": true,
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"safe-buffer": "^5.1.2",
|
||||
"yallist": "^3.0.0"
|
||||
@@ -6622,7 +6612,6 @@
|
||||
"version": "0.5.1",
|
||||
"bundled": true,
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"minimist": "0.0.8"
|
||||
}
|
||||
@@ -6703,8 +6692,7 @@
|
||||
"number-is-nan": {
|
||||
"version": "1.0.1",
|
||||
"bundled": true,
|
||||
"dev": true,
|
||||
"optional": true
|
||||
"dev": true
|
||||
},
|
||||
"object-assign": {
|
||||
"version": "4.1.1",
|
||||
@@ -6716,7 +6704,6 @@
|
||||
"version": "1.4.0",
|
||||
"bundled": true,
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"wrappy": "1"
|
||||
}
|
||||
@@ -6838,7 +6825,6 @@
|
||||
"version": "1.0.2",
|
||||
"bundled": true,
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"code-point-at": "^1.0.0",
|
||||
"is-fullwidth-code-point": "^1.0.0",
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "ebiz-h5",
|
||||
"version": "1.0.0",
|
||||
"description": "国富人寿",
|
||||
"author": "",
|
||||
"description": "鼎诚人寿",
|
||||
"author": "wangfangbo <wang.fangbo@ebiz-fooge.com>",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"serve": "vue-cli-service serve --mode development",
|
||||
"serve": "vue-cli-service serve",
|
||||
"build:prod": "vue-cli-service build",
|
||||
"build:stage": "vue-cli-service build --mode staging",
|
||||
"lint": "vue-cli-service lint",
|
||||
|
||||
@@ -4,7 +4,7 @@ import getUrl from '@/assets/js/utils/get-url'
|
||||
// 获取保单列表
|
||||
export function getPolicyList(data) {
|
||||
return request({
|
||||
url: getUrl('/sale/policy/policyListAgent', 1),
|
||||
url: getUrl('/sale/policy/policyList', 1),
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
|
||||
@@ -204,7 +204,7 @@ export default {
|
||||
isAndroid: ua.match(/(Android);?[\s/]+([\d.]+)?/),
|
||||
isIphone: ua.indexOf('iPhone') != -1,
|
||||
isWeixin: ua.match(/MicroMessenger/i),
|
||||
isTraining: ua.match(/training/i)
|
||||
isDC: ua.match(/dingchenglife/i) //app环境
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -2,308 +2,328 @@
|
||||
export default {
|
||||
//国家地区
|
||||
nativeplace: [
|
||||
{ id: 'CHN', text: '中国' },
|
||||
{ id: 'HKG', text: '中国香港' },
|
||||
{ id: 'MAC', text: '澳门' },
|
||||
{ id: 'TWN', text: '中国台湾' },
|
||||
{ id: 'ABW', text: '阿鲁巴' },
|
||||
{ id: 'AFG', text: '阿富汗' },
|
||||
{ id: 'AGO', text: '安哥拉' },
|
||||
{ id: 'AIA', text: '安圭拉' },
|
||||
{ id: 'ALB', text: '阿尔巴尼亚' },
|
||||
{ id: 'AND', text: '安道尔' },
|
||||
{ id: 'ANT', text: '荷属安的列斯' },
|
||||
{ id: 'ARE', text: '阿联酋' },
|
||||
{ id: 'ARG', text: '阿根廷' },
|
||||
{ id: 'ARM', text: '亚美尼亚' },
|
||||
{ id: 'ASM', text: '美属萨摩亚' },
|
||||
{ id: 'ATA', text: '南极洲' },
|
||||
{ id: 'ATF', text: '法属南部领土' },
|
||||
{ id: 'ATG', text: '安提瓜和巴布达' },
|
||||
{ id: 'AUS', text: '澳大利亚' },
|
||||
{ id: 'AUT', text: '奥地利' },
|
||||
{ id: 'AZE', text: '阿塞拜疆' },
|
||||
{ id: 'BDI', text: '布隆迪' },
|
||||
{ id: 'BEL', text: '比利时' },
|
||||
{ id: 'BEN', text: '贝宁' },
|
||||
{ id: 'BFA', text: '布基纳法索' },
|
||||
{ id: 'BGD', text: '孟加拉国' },
|
||||
{ id: 'BGR', text: '保加利亚' },
|
||||
{ id: 'BHR', text: '巴林' },
|
||||
{ id: 'BHS', text: '巴哈马' },
|
||||
{ id: 'BIH', text: '波斯尼亚和黑塞哥维那' },
|
||||
{ id: 'BLR', text: '白俄罗斯' },
|
||||
{ id: 'BLZ', text: '伯利兹' },
|
||||
{ id: 'BMU', text: '百慕大' },
|
||||
{ id: 'BOL', text: '玻利维亚' },
|
||||
{ id: 'BRA', text: '巴西' },
|
||||
{ id: 'BRB', text: '巴巴多斯' },
|
||||
{ id: 'BRN', text: '文莱' },
|
||||
{ id: 'BTN', text: '不丹' },
|
||||
{ id: 'BVT', text: '布维岛' },
|
||||
{ id: 'BWA', text: '博茨瓦纳' },
|
||||
{ id: 'CAF', text: '中非' },
|
||||
{ id: 'CAN', text: '加拿大' },
|
||||
{ id: 'CCK', text: '科科斯(基林)群岛' },
|
||||
{ id: 'CHE', text: '瑞士' },
|
||||
{ id: 'CHL', text: '智利' },
|
||||
{ id: 'CIV', text: '科特迪瓦' },
|
||||
{ id: 'CMR', text: '喀麦隆' },
|
||||
{ id: 'COD', text: '刚果(金)' },
|
||||
{ id: 'COG', text: '刚果(布)' },
|
||||
{ id: 'COK', text: '库克群岛' },
|
||||
{ id: 'COL', text: '哥伦比亚' },
|
||||
{ id: 'COM', text: '科摩罗' },
|
||||
{ id: 'CPV', text: '佛得角' },
|
||||
{ id: 'CRI', text: '哥斯达黎加' },
|
||||
{ id: 'CUB', text: '古巴' },
|
||||
{ id: 'CXR', text: '圣诞岛' },
|
||||
{ id: 'CYM', text: '开曼群岛' },
|
||||
{ id: 'CYP', text: '塞浦路斯' },
|
||||
{ id: 'CZE', text: '捷克' },
|
||||
{ id: 'DEU', text: '德国' },
|
||||
{ id: 'DJI', text: '吉布提' },
|
||||
{ id: 'DMA', text: '多米尼克' },
|
||||
{ id: 'DNK', text: '丹麦' },
|
||||
{ id: 'DOM', text: '多米尼加共和国' },
|
||||
{ id: 'DZA', text: '阿尔及利亚' },
|
||||
{ id: 'ECU', text: '厄瓜多尔' },
|
||||
{ id: 'EGY', text: '埃及' },
|
||||
{ id: 'ERI', text: '厄立特里亚' },
|
||||
{ id: 'ESH', text: '西撒哈拉' },
|
||||
{ id: 'ESP', text: '西班牙' },
|
||||
{ id: 'EST', text: '爱沙尼亚' },
|
||||
{ id: 'ETH', text: '埃塞俄比亚' },
|
||||
{ id: 'FIN', text: '芬兰' },
|
||||
{ id: 'FJI', text: '斐济' },
|
||||
{ id: 'FLK', text: '马尔维纳斯群岛(福克兰群岛)' },
|
||||
{ id: 'FRA', text: '法国' },
|
||||
{ id: 'FRO', text: '法罗群岛' },
|
||||
{ id: 'FSM', text: '密克罗尼西亚' },
|
||||
{ id: 'GAB', text: '加蓬' },
|
||||
{ id: 'GBR', text: '英国' },
|
||||
{ id: 'GEO', text: '格鲁吉亚' },
|
||||
{ id: 'GHA', text: '加纳' },
|
||||
{ id: 'GIB', text: '直布罗陀' },
|
||||
{ id: 'GIN', text: '几内亚' },
|
||||
{ id: 'GLP', text: '瓜德罗普' },
|
||||
{ id: 'GMB', text: '冈比亚' },
|
||||
{ id: 'GNB', text: '几内亚比绍' },
|
||||
{ id: 'GNQ', text: '赤道几内亚' },
|
||||
{ id: 'GRC', text: '希腊' },
|
||||
{ id: 'GRD', text: '格林纳达' },
|
||||
{ id: 'GRL', text: '格陵兰' },
|
||||
{ id: 'GTM', text: '危地马拉' },
|
||||
{ id: 'GUF', text: '法属圭亚那' },
|
||||
{ id: 'GUM', text: '关岛' },
|
||||
{ id: 'GUY', text: '圭亚那' },
|
||||
{ id: 'HMD', text: '赫德岛和麦克唐纳岛' },
|
||||
{ id: 'HND', text: '洪都拉斯' },
|
||||
{ id: 'HRV', text: '克罗地亚' },
|
||||
{ id: 'HTI', text: '海地' },
|
||||
{ id: 'HUN', text: '匈牙利' },
|
||||
{ id: 'IDN', text: '印度尼西亚' },
|
||||
{ id: 'IND', text: '印度' },
|
||||
{ id: 'IOT', text: '英属印度洋领土' },
|
||||
{ id: 'IRL', text: '爱尔兰' },
|
||||
{ id: 'IRN', text: '伊朗' },
|
||||
{ id: 'IRQ', text: '伊拉克' },
|
||||
{ id: 'ISL', text: '冰岛' },
|
||||
{ id: 'ISR', text: '以色列' },
|
||||
{ id: 'ITA', text: '意大利' },
|
||||
{ id: 'JAM', text: '牙买加' },
|
||||
{ id: 'JOR', text: '约旦' },
|
||||
{ id: 'JPN', text: '日本' },
|
||||
{ id: 'KAZ', text: '哈萨克斯坦' },
|
||||
{ id: 'KEN', text: '肯尼亚' },
|
||||
{ id: 'KGZ', text: '吉尔吉斯斯坦' },
|
||||
{ id: 'KHM', text: '柬埔寨' },
|
||||
{ id: 'KIR', text: '基里巴斯' },
|
||||
{ id: 'KNA', text: '圣基茨和尼维斯' },
|
||||
{ id: 'KOR', text: '韩国' },
|
||||
{ id: 'KWT', text: '科威特' },
|
||||
{ id: 'LAO', text: '老挝' },
|
||||
{ id: 'LBN', text: '黎巴嫩' },
|
||||
{ id: 'LBR', text: '利比里亚' },
|
||||
{ id: 'LBY', text: '利比亚' },
|
||||
{ id: 'LCA', text: '圣卢西亚' },
|
||||
{ id: 'LIE', text: '列支敦士登' },
|
||||
{ id: 'LKA', text: '斯里兰卡' },
|
||||
{ id: 'LSO', text: '莱索托' },
|
||||
{ id: 'LTU', text: '立陶宛' },
|
||||
{ id: 'LUX', text: '卢森堡' },
|
||||
{ id: 'LVA', text: '拉脱维亚' },
|
||||
{ id: 'MAR', text: '摩洛哥' },
|
||||
{ id: 'MCO', text: '摩纳哥' },
|
||||
{ id: 'MDA', text: '摩尔多瓦' },
|
||||
{ id: 'MDG', text: '马达加斯加' },
|
||||
{ id: 'MDV', text: '马尔代夫' },
|
||||
{ id: 'MEX', text: '墨西哥' },
|
||||
{ id: 'MHL', text: '马绍尔群岛' },
|
||||
{ id: 'MKD', text: '马斯顿' },
|
||||
{ id: 'MLI', text: '马里' },
|
||||
{ id: 'MLT', text: '马耳他' },
|
||||
{ id: 'MMR', text: '缅甸' },
|
||||
{ id: 'MNG', text: '蒙古' },
|
||||
{ id: 'MNP', text: '北马里亚纳' },
|
||||
{ id: 'MOZ', text: '莫桑比克' },
|
||||
{ id: 'MRT', text: '毛里塔尼亚' },
|
||||
{ id: 'MSR', text: '蒙特塞拉特' },
|
||||
{ id: 'MTQ', text: '马提尼克' },
|
||||
{ id: 'MUS', text: '毛里求斯' },
|
||||
{ id: 'MWI', text: '马拉维' },
|
||||
{ id: 'MYS', text: '马来西亚' },
|
||||
{ id: 'MYT', text: '马约特' },
|
||||
{ id: 'NAM', text: '纳米比亚' },
|
||||
{ id: 'NCL', text: '新喀里多尼亚' },
|
||||
{ id: 'NER', text: '尼日尔' },
|
||||
{ id: 'NFK', text: '诺福克岛' },
|
||||
{ id: 'NGA', text: '尼日利亚' },
|
||||
{ id: 'NIC', text: '尼加拉瓜' },
|
||||
{ id: 'NIU', text: '纽埃' },
|
||||
{ id: 'NLD', text: '荷兰' },
|
||||
{ id: 'NOR', text: '挪威' },
|
||||
{ id: 'NPL', text: '尼泊尔' },
|
||||
{ id: 'NRU', text: '瑙鲁' },
|
||||
{ id: 'NZL', text: '新西兰' },
|
||||
{ id: 'OMN', text: '阿曼' },
|
||||
{ id: 'PAK', text: '巴基斯坦' },
|
||||
{ id: 'PAN', text: '巴拿马' },
|
||||
{ id: 'PCN', text: '皮特凯恩群岛' },
|
||||
{ id: 'PER', text: '秘鲁' },
|
||||
{ id: 'PHL', text: '菲律宾' },
|
||||
{ id: 'PLW', text: '帕劳' },
|
||||
{ id: 'PNG', text: '巴布亚新几内亚' },
|
||||
{ id: 'POL', text: '波兰' },
|
||||
{ id: 'PRI', text: '波多黎各' },
|
||||
{ id: 'PRK', text: '朝鲜' },
|
||||
{ id: 'PRT', text: '葡萄牙' },
|
||||
{ id: 'PRY', text: '巴拉圭' },
|
||||
{ id: 'PSE', text: '巴勒斯坦' },
|
||||
{ id: 'PYF', text: '法属波利尼西亚' },
|
||||
{ id: 'QAT', text: '卡塔尔' },
|
||||
{ id: 'REU', text: '留尼汪' },
|
||||
{ id: 'ROM', text: '罗马尼亚' },
|
||||
{ id: 'RUS', text: '俄罗斯' },
|
||||
{ id: 'RWA', text: '卢旺达' },
|
||||
{ id: 'SAU', text: '沙特阿拉伯' },
|
||||
{ id: 'SCG', text: '塞尔维亚和黑山' },
|
||||
{ id: 'SDN', text: '苏丹' },
|
||||
{ id: 'SEN', text: '塞内加尔' },
|
||||
{ id: 'SGP', text: '新加坡' },
|
||||
{ id: 'SGS', text: '南乔治亚岛和南桑德韦奇岛' },
|
||||
{ id: 'SHN', text: '圣赫勒拿' },
|
||||
{ id: 'SJM', text: '斯瓦尔巴群岛和扬马群岛' },
|
||||
{ id: 'SLB', text: '所罗门群岛' },
|
||||
{ id: 'SLE', text: '塞拉利昂' },
|
||||
{ id: 'SLV', text: '萨尔瓦多' },
|
||||
{ id: 'SMR', text: '圣马力诺' },
|
||||
{ id: 'SOM', text: '索马里' },
|
||||
{ id: 'SPM', text: '圣皮埃尔和密克隆' },
|
||||
{ id: 'STP', text: '圣多美和普林西比' },
|
||||
{ id: 'SUR', text: '苏里南' },
|
||||
{ id: 'SVK', text: '斯洛伐克' },
|
||||
{ id: 'SVN', text: '斯洛文尼亚' },
|
||||
{ id: 'SWE', text: '瑞典' },
|
||||
{ id: 'SWZ', text: '斯威士兰' },
|
||||
{ id: 'SYC', text: '塞舌尔' },
|
||||
{ id: 'SYR', text: '叙利亚' },
|
||||
{ id: 'TCA', text: '特克斯和凯科斯群岛' },
|
||||
{ id: 'TCD', text: '乍得' },
|
||||
{ id: 'TGO', text: '多哥' },
|
||||
{ id: 'THA', text: '泰国' },
|
||||
{ id: 'TJK', text: '塔吉克斯坦' },
|
||||
{ id: 'TKL', text: '托克劳' },
|
||||
{ id: 'TKM', text: '土库曼斯坦' },
|
||||
{ id: 'TMP', text: '东帝汶' },
|
||||
{ id: 'TON', text: '汤加' },
|
||||
{ id: 'TTO', text: '特立尼达和多巴哥' },
|
||||
{ id: 'TUN', text: '突尼斯' },
|
||||
{ id: 'TUR', text: '土耳其' },
|
||||
{ id: 'TUV', text: '图瓦卢' },
|
||||
{ id: 'TZA', text: '坦桑尼亚' },
|
||||
{ id: 'UGA', text: '乌干达' },
|
||||
{ id: 'UKR', text: '乌克兰' },
|
||||
{ id: 'UMI', text: '美属本土外小岛屿' },
|
||||
{ id: 'URY', text: '乌拉圭' },
|
||||
{ id: 'USA', text: '美国' },
|
||||
{ id: 'UZB', text: '乌兹别克斯坦' },
|
||||
{ id: 'VAT', text: '梵蒂冈' },
|
||||
{ id: 'VCT', text: '圣文森特和格林纳丁斯' },
|
||||
{ id: 'VEN', text: '委内瑞拉' },
|
||||
{ id: 'VGB', text: '英属维尔京群岛' },
|
||||
{ id: 'VIR', text: '美属维尔京群岛' },
|
||||
{ id: 'VNM', text: '越南' },
|
||||
{ id: 'VUT', text: '瓦努阿图' },
|
||||
{ id: 'WLF', text: '瓦利斯和富图纳群岛' },
|
||||
{ id: 'WSM', text: '西萨摩亚' },
|
||||
{ id: 'YEM', text: '也门' },
|
||||
{ id: 'ZAF', text: '南非' },
|
||||
{ id: 'ZAR', text: '扎伊尔' },
|
||||
{ id: 'ZMB', text: '赞比亚' },
|
||||
{ id: 'ZWE', text: '津巴布韦' }
|
||||
{
|
||||
id: 1,
|
||||
text: '中国大陆'
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
text: '中国香港'
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
text: '中国澳门'
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
text: '中国台湾'
|
||||
},
|
||||
{
|
||||
id: 5,
|
||||
text: '英国'
|
||||
},
|
||||
{
|
||||
id: 6,
|
||||
text: '印度'
|
||||
},
|
||||
{
|
||||
id: 7,
|
||||
text: '意大利'
|
||||
},
|
||||
{
|
||||
id: 8,
|
||||
text: '以色列'
|
||||
},
|
||||
{
|
||||
id: 9,
|
||||
text: '新西兰'
|
||||
},
|
||||
{
|
||||
id: 10,
|
||||
text: '希腊'
|
||||
},
|
||||
{
|
||||
id: 11,
|
||||
text: '西班牙'
|
||||
},
|
||||
{
|
||||
id: 12,
|
||||
text: '威尔士'
|
||||
},
|
||||
{
|
||||
id: 13,
|
||||
text: '泰国'
|
||||
},
|
||||
{
|
||||
id: 14,
|
||||
text: '苏格兰'
|
||||
},
|
||||
{
|
||||
id: 15,
|
||||
text: '瑞士'
|
||||
},
|
||||
{
|
||||
id: 16,
|
||||
text: '瑞典'
|
||||
},
|
||||
{
|
||||
id: 17,
|
||||
text: '日本'
|
||||
},
|
||||
{
|
||||
id: 18,
|
||||
text: '葡萄牙'
|
||||
},
|
||||
{
|
||||
id: 19,
|
||||
text: '挪威'
|
||||
},
|
||||
{
|
||||
id: 20,
|
||||
text: '尼日利亚'
|
||||
},
|
||||
{
|
||||
id: 21,
|
||||
text: '美国'
|
||||
},
|
||||
{
|
||||
id: 22,
|
||||
text: '加拿大'
|
||||
},
|
||||
{
|
||||
id: 23,
|
||||
text: '荷兰'
|
||||
},
|
||||
{
|
||||
id: 24,
|
||||
text: '韩国'
|
||||
},
|
||||
{
|
||||
id: 25,
|
||||
text: '芬兰'
|
||||
},
|
||||
{
|
||||
id: 26,
|
||||
text: '法国'
|
||||
},
|
||||
{
|
||||
id: 27,
|
||||
text: '俄国'
|
||||
},
|
||||
{
|
||||
id: 28,
|
||||
text: '德国'
|
||||
},
|
||||
{
|
||||
id: 29,
|
||||
text: '波兰'
|
||||
},
|
||||
{
|
||||
id: 30,
|
||||
text: '巴西'
|
||||
},
|
||||
{
|
||||
id: 31,
|
||||
text: '澳大利亚'
|
||||
},
|
||||
{
|
||||
id: 32,
|
||||
text: '奥地利'
|
||||
},
|
||||
{
|
||||
id: 33,
|
||||
text: '爱尔兰'
|
||||
},
|
||||
{
|
||||
id: 34,
|
||||
text: '埃及'
|
||||
}
|
||||
],
|
||||
//证件类型 -- 未改动
|
||||
//证件类型
|
||||
idType: [
|
||||
{ id: '0', text: '身份证' },
|
||||
{ id: '1', text: '户口本', disabled: true },
|
||||
{ id: '2', text: '出生证明', disabled: true },
|
||||
{ id: '4', text: '外国人护照', disabled: true },
|
||||
{ id: '5', text: '港澳居民来往内地通行证', disabled: true },
|
||||
{ id: '6', text: '台湾居民来往大陆通行证', disabled: true },
|
||||
{ id: '7', text: '其他', disabled: true }
|
||||
{
|
||||
id: 1,
|
||||
text: '身份证'
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
text: '户口本'
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
text: '出生证明'
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
text: '护照'
|
||||
},
|
||||
{
|
||||
id: 5,
|
||||
text: '港澳居民通行证'
|
||||
},
|
||||
{
|
||||
id: 6,
|
||||
text: '台湾居民通行证'
|
||||
},
|
||||
{
|
||||
id: 7,
|
||||
text: '其他'
|
||||
}
|
||||
],
|
||||
//投保人证件类型
|
||||
insuredIdType: [
|
||||
{ id: '0', text: '身份证' },
|
||||
{ id: '1', text: '户口本', disabled: true },
|
||||
{ id: '2', text: '出生证明', disabled: true },
|
||||
{ id: '3', text: '外国人永久居留身份证', disabled: true },
|
||||
{ id: '4', text: '外国人护照', disabled: true },
|
||||
{ id: '5', text: '港澳居民来往内地通行证', disabled: true },
|
||||
{ id: '6', text: '台湾居民来往大陆通行证', disabled: true },
|
||||
{ id: '7', text: '其他', disabled: true },
|
||||
{ id: '9', text: '港澳台居民居住证', disabled: true }
|
||||
{
|
||||
id: 1,
|
||||
text: '身份证'
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
text: '户口本',
|
||||
disabled: true
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
text: '出生证明',
|
||||
disabled: true
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
text: '护照', disabled: true
|
||||
},
|
||||
{
|
||||
id: 5,
|
||||
text: '港澳居民通行证', disabled: true
|
||||
},
|
||||
{
|
||||
id: 6,
|
||||
text: '台湾居民通行证', disabled: true
|
||||
},
|
||||
{
|
||||
id: 7,
|
||||
text: '其他', disabled: true
|
||||
}
|
||||
],
|
||||
//代理人证件类型
|
||||
agentIdType: [
|
||||
{ id: 0, text: '居民身份证' },
|
||||
{ id: 1, text: '户口本', disabled: true },
|
||||
{ id: 2, text: '出生证', disabled: true },
|
||||
{ id: 3, text: '外国人永久居留身份证', disabled: true },
|
||||
{ id: 4, text: '外国人护照', disabled: true },
|
||||
{ id: 5, text: '港澳居民来往内地通行证', disabled: true },
|
||||
{ id: 6, text: '台湾居民来往大陆通行证', disabled: true },
|
||||
{ id: 7, text: '其他', disabled: true }
|
||||
],
|
||||
//出生证明 -- 未改动
|
||||
//出生证明
|
||||
birthType: [
|
||||
{ id: 1, text: '身份证' },
|
||||
{ id: 2, text: '户口本', disabled: true },
|
||||
{ id: 3, text: '出生证明', disabled: true },
|
||||
{ id: 4, text: '护照', disabled: true },
|
||||
{ id: 5, text: '港澳居民通行证', disabled: true },
|
||||
{ id: 6, text: '台湾居民通行证', disabled: true },
|
||||
{ id: 7, text: '其他', disabled: true }
|
||||
{
|
||||
id: 1,
|
||||
text: '身份证'
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
text: '户口本', disabled: true
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
text: '出生证明',
|
||||
disabled: true
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
text: '护照', disabled: true
|
||||
},
|
||||
{
|
||||
id: 5,
|
||||
text: '港澳居民通行证', disabled: true
|
||||
},
|
||||
{
|
||||
id: 6,
|
||||
text: '台湾居民通行证', disabled: true
|
||||
},
|
||||
{
|
||||
id: 7,
|
||||
text: '其他', disabled: true
|
||||
}
|
||||
],
|
||||
//投保人/被保人关系
|
||||
relationToAppnt: [{ id: '00', text: '本人' }, { id: '01', text: '配偶' }, { id: '02', text: '父母' }, { id: '03', text: '子女' }, { id: '04', text: '其他' }],
|
||||
relationToAppnt: [
|
||||
{
|
||||
id: 1,
|
||||
text: '本人'
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
text: '配偶'
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
text: '父母'
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
text: '子女'
|
||||
},
|
||||
{
|
||||
id: 5,
|
||||
text: '其他'
|
||||
}
|
||||
],
|
||||
//婚姻状况
|
||||
marriage: [{ id: '0', text: '已婚' }, { id: '1', text: '单身' }, { id: '2', text: '其他' }],
|
||||
marriage: [
|
||||
{
|
||||
id: 1,
|
||||
text: '已婚'
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
text: '未婚'
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
text: '离婚'
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
text: '丧偶'
|
||||
}
|
||||
],
|
||||
//文化程度
|
||||
degree: [
|
||||
{ id: '0', text: '博士及以上' },
|
||||
{ id: '1', text: '硕士' },
|
||||
{ id: '2', text: '本科' },
|
||||
{ id: '3', text: '大专' },
|
||||
{ id: '4', text: '中专' },
|
||||
{ id: '5', text: '高中' },
|
||||
{ id: '6', text: '初中' },
|
||||
{ id: '7', text: '其它' }
|
||||
{
|
||||
id: 1,
|
||||
text: '博士及以上'
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
text: '硕士'
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
text: '本科'
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
text: '大专'
|
||||
},
|
||||
{
|
||||
id: 5,
|
||||
text: '高中'
|
||||
},
|
||||
{
|
||||
id: 6,
|
||||
text: '初中'
|
||||
},
|
||||
{
|
||||
id: 7,
|
||||
text: '中专'
|
||||
},
|
||||
{
|
||||
id: 8,
|
||||
text: '小学'
|
||||
},
|
||||
{
|
||||
id: 9,
|
||||
text: '小学以下'
|
||||
}
|
||||
],
|
||||
//居民身份 仅支持中国 -- 未改动
|
||||
taxIdentity: [{ id: '1', text: '仅为中国' }],
|
||||
//交费期限 -- 未改动
|
||||
//居民身份 仅支持中国
|
||||
taxIdentity: [
|
||||
{
|
||||
id: 1,
|
||||
text: '仅为中国'
|
||||
}
|
||||
],
|
||||
//交费期限
|
||||
payEndYear: [
|
||||
{
|
||||
id: 1,
|
||||
@@ -356,36 +376,31 @@ export default {
|
||||
],
|
||||
//交费方式
|
||||
payIntv: [
|
||||
{
|
||||
id: -1,
|
||||
text: '不定期交',
|
||||
disabled: true
|
||||
},
|
||||
{
|
||||
id: 0,
|
||||
text: '一次交清'
|
||||
},
|
||||
{
|
||||
id: 1,
|
||||
text: '月交',
|
||||
disabled: true
|
||||
},
|
||||
{
|
||||
id: 12,
|
||||
text: '年交'
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
id: 2,
|
||||
text: '季交',
|
||||
disabled: true
|
||||
},
|
||||
{
|
||||
id: 6,
|
||||
id: 3,
|
||||
text: '半年交',
|
||||
disabled: true
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
text: '年交'
|
||||
},
|
||||
{
|
||||
id: 5,
|
||||
text: '一次交清'
|
||||
}
|
||||
],
|
||||
// 保险期间 data-dictionary -- 未改动
|
||||
// 保险期间 data-dictionary
|
||||
insureYear: [
|
||||
{
|
||||
id: 1,
|
||||
@@ -444,7 +459,7 @@ export default {
|
||||
text: '终身'
|
||||
}
|
||||
],
|
||||
//客户类型 -- 未改动
|
||||
//客户类型
|
||||
customerType: [
|
||||
{
|
||||
id: 0,
|
||||
@@ -455,7 +470,7 @@ export default {
|
||||
text: '老客户'
|
||||
}
|
||||
],
|
||||
//客户来源 -- 未改动
|
||||
//客户来源
|
||||
customerSource: [
|
||||
{
|
||||
id: 0,
|
||||
@@ -473,20 +488,16 @@ export default {
|
||||
//在职情况
|
||||
workCondition: [
|
||||
{
|
||||
id: '01',
|
||||
id: 1,
|
||||
text: '在职'
|
||||
},
|
||||
{
|
||||
id: '02',
|
||||
text: '二次增员'
|
||||
id: 2,
|
||||
text: '退休'
|
||||
},
|
||||
{
|
||||
id: '03',
|
||||
text: '离职'
|
||||
},
|
||||
{
|
||||
id: '04',
|
||||
text: '二次离职'
|
||||
id: 3,
|
||||
text: '其他'
|
||||
}
|
||||
],
|
||||
policyState: [
|
||||
@@ -665,8 +676,17 @@ export default {
|
||||
{
|
||||
id: '44',
|
||||
text: '计划书转投保'
|
||||
},
|
||||
{
|
||||
id: '45',
|
||||
text: '核心扣费失败'
|
||||
},
|
||||
{
|
||||
id: '46',
|
||||
text: '自核不通过待转人核'
|
||||
}
|
||||
],
|
||||
// 产品编码 这个国富改改G
|
||||
riskType: [
|
||||
{
|
||||
shortName: '鼎诚终身重疾',
|
||||
|
||||
@@ -31,8 +31,7 @@ service.interceptors.request.use(
|
||||
})
|
||||
}
|
||||
|
||||
// config.headers['token'] = window.localStorage.getItem('token')
|
||||
config.headers['token'] = '507e5ff426364e95b22cd4c1e22f427f'
|
||||
config.headers['token'] = window.localStorage.getItem('token')
|
||||
return config
|
||||
},
|
||||
error => {
|
||||
@@ -66,6 +65,7 @@ service.interceptors.response.use(
|
||||
}
|
||||
},
|
||||
error => {
|
||||
Toast.clear()
|
||||
console.log('err' + error) // for debug
|
||||
//Toast.fail(error.message)
|
||||
return Promise.reject(error)
|
||||
|
||||
@@ -29,6 +29,10 @@ export default {
|
||||
return new Date('2039-12-31')
|
||||
}
|
||||
},
|
||||
disabled: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
label: {
|
||||
type: String,
|
||||
default: '11'
|
||||
@@ -138,7 +142,7 @@ export default {
|
||||
this.$emit('cancel', '')
|
||||
},
|
||||
DatePickerShow(flag) {
|
||||
if (this.readonly) {
|
||||
if (this.readonly || this.disabled) {
|
||||
return
|
||||
}
|
||||
this.showDataPicker = flag
|
||||
|
||||
@@ -117,8 +117,8 @@
|
||||
</van-cell-group>
|
||||
|
||||
<!-- 工作信息 -->
|
||||
<van-cell-group class="mt5">
|
||||
<p class="title pl10 pv5">工作信息</p>
|
||||
<van-cell-group>
|
||||
<p class="title pl10 pv12 mt10">工作信息</p>
|
||||
<van-field
|
||||
:value="userInfo.degree | idToText('degree')"
|
||||
readonly
|
||||
@@ -229,7 +229,7 @@
|
||||
|
||||
<!-- 家庭信息 -->
|
||||
<van-cell-group class="mt5">
|
||||
<p class="title pl10 pv5">家庭信息</p>
|
||||
<p class="title pl10 pv12 mt10">家庭信息</p>
|
||||
<van-field
|
||||
:value="userInfo.marriage | idToText('marriage')"
|
||||
readonly
|
||||
@@ -468,11 +468,16 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
// 证件号码规则校验
|
||||
// // 证件号码规则校验
|
||||
if (!idNoCheck.isIdno(this.userInfo.customerIdNumber)) {
|
||||
return this.$toast('您填写的证件号码有误,只能为18位以内数字或字母组合')
|
||||
} else {
|
||||
this.$parent.updateCustomerInfo()
|
||||
//判断婚否
|
||||
if (this.userInfo.birthday && this.userInfo.marriage) {
|
||||
this.validateMarr()
|
||||
} else {
|
||||
this.$parent.updateCustomerInfo()
|
||||
}
|
||||
}
|
||||
//证件是户口本
|
||||
} else if (this.userInfo.idType == '2' && this.userInfo.customerIdNumber.length != 18) {
|
||||
@@ -494,12 +499,34 @@ export default {
|
||||
} else if (!/^(H|M)[0-9]{8}$/.test(this.userInfo.customerIdNumber)) {
|
||||
return this.$toast('证件类型为港澳居民通行证的,证件号码首位字母为"H"/"M",证件号码第2位至第9位为阿拉伯数字')
|
||||
} else {
|
||||
this.$parent.updateCustomerInfo()
|
||||
//判断婚否
|
||||
if (this.userInfo.birthday && this.userInfo.marriage) {
|
||||
this.validateMarr()
|
||||
} else {
|
||||
this.$parent.updateCustomerInfo()
|
||||
}
|
||||
}
|
||||
//证件是台湾居民通行证
|
||||
} else if (this.userInfo.idType == '6' && this.userInfo.customerIdNumber.length != 8) {
|
||||
console.log('证件类型是台湾居民通行证')
|
||||
return this.$toast('证件类型为台湾居民通行证的,证件号码须为8位数字')
|
||||
} else {
|
||||
if (this.userInfo.birthday && this.userInfo.marriage) {
|
||||
this.validateMarr()
|
||||
} else {
|
||||
this.$parent.updateCustomerInfo()
|
||||
}
|
||||
}
|
||||
},
|
||||
//婚否校验
|
||||
validateMarr() {
|
||||
let age = utilsAge.getAge(this.userInfo.birthday, new Date())
|
||||
if ((this.userInfo.customerSex == '0' && age < 22) || (this.userInfo.customerSex == '1' && age < 20)) {
|
||||
if (this.userInfo.marriage != '2') {
|
||||
return this.$toast('年龄与婚姻状况不符')
|
||||
} else {
|
||||
this.$parent.updateCustomerInfo()
|
||||
}
|
||||
} else {
|
||||
this.$parent.updateCustomerInfo()
|
||||
}
|
||||
@@ -561,12 +588,14 @@ export default {
|
||||
this.valueKey = value.text
|
||||
} else if (this.pickerType == '2') {
|
||||
;[this.userInfo.idType, this.idType] = [value.id, value.text]
|
||||
//身份证以外的证件类型可以使用长期
|
||||
if (value.id != '1') {
|
||||
this.effectiveDateTypeAble = false
|
||||
} else {
|
||||
//身份证,出生证明,护照以外的证件类型可以使用长期
|
||||
if (value.id == '1') {
|
||||
let age = utilsAge.getAge(this.userInfo.birthday, new Date())
|
||||
this.effectiveDateTypeAble = !(age >= 45)
|
||||
} else if (value.id == '2' || value.id == '3') {
|
||||
this.effectiveDateTypeAble = true
|
||||
} else {
|
||||
this.effectiveDateTypeAble = false
|
||||
}
|
||||
} else if (this.pickerType == '3') {
|
||||
;[this.userInfo.degree, this.degree] = [value.id, value.text]
|
||||
@@ -684,7 +713,8 @@ export default {
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.title {
|
||||
font-weight: 600;
|
||||
font-size: 15px;
|
||||
font-weight: bold;
|
||||
border-bottom: 1px solid #ebedf0;
|
||||
}
|
||||
[class*='van-hairline']::after {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<van-col span="14" class="color">{{ idCard }}</van-col>
|
||||
</van-row>
|
||||
<van-row>
|
||||
<van-col span="10">证件起止日期:</van-col>
|
||||
<van-col span="10">证件起始日期:</van-col>
|
||||
<van-col span="14" class="color">{{ startDate }}</van-col>
|
||||
</van-row>
|
||||
<van-row>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @example
|
||||
*/
|
||||
export default {
|
||||
inserted(el, binding, vnode) {
|
||||
inserted (el, binding, vnode) {
|
||||
el.addEventListener('click', e => {
|
||||
el.classList.add('is-disabled')
|
||||
el.disabled = true
|
||||
|
||||
@@ -51,11 +51,11 @@ Vue.prototype.$jump = Jump
|
||||
Vue.prototype.$utils = utils
|
||||
|
||||
//混合开发调试工具
|
||||
if (process.env.VUE_APP_FLAG == 'development') {
|
||||
if (process.env.NODE_ENV == 'development') {
|
||||
// let Eruda = require('eruda')
|
||||
// Eruda.init()
|
||||
Vue.prototype.$rootUrl = location.origin
|
||||
} else if (process.env.VUE_APP_FLAG == 'production') {
|
||||
} else if (process.env.NODE_ENV == 'production') {
|
||||
Vue.prototype.$rootUrl = location.origin + '/ebiz-h5'
|
||||
}
|
||||
let Eruda = require('eruda')
|
||||
|
||||
@@ -25,6 +25,10 @@ export default {
|
||||
},
|
||||
mounted() {
|
||||
document.body.style.backgroundColor = '#fff'
|
||||
},
|
||||
beforeRouteLeave(to, from, next) {
|
||||
document.body.style.backgroundColor = ''
|
||||
next()
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import echarts from 'echarts'
|
||||
// import echarts from 'echarts'
|
||||
import { Collapse, CollapseItem, Cell, CellGroup, DatetimePicker, Popup, Row, Col, Tab, Tabs } from 'vant'
|
||||
import { getAgentIncome } from '@/api/ebiz/my/my.js'
|
||||
export default {
|
||||
@@ -258,12 +258,12 @@ export default {
|
||||
this.showDatePicker = false
|
||||
},
|
||||
async getIncomeInfo(monthDate) {
|
||||
// console.log('--获取代理人收入明细,请求:', monthDate)
|
||||
console.log(monthDate)
|
||||
// 获取代理人收入明细
|
||||
const res = await getAgentIncome({
|
||||
monthDate
|
||||
})
|
||||
// console.log('--获取代理人收入明细,响应:', JSON.stringify(res))
|
||||
console.log(res)
|
||||
if (res.result == 0) {
|
||||
// 当月实收
|
||||
this.monthActualPay = res.monthActualPay
|
||||
|
||||
@@ -224,6 +224,8 @@ export default {
|
||||
path: '/proposal/chooseInsuredPerson'
|
||||
}
|
||||
})
|
||||
} else {
|
||||
this.$toast(res.resultMessage)
|
||||
}
|
||||
})
|
||||
} else {
|
||||
|
||||
@@ -1,16 +1,17 @@
|
||||
<template>
|
||||
<!-- 国富改国富改国富改国富改国富改国富改国富改国富改国富改国富改国富改国富改 -->
|
||||
<div class="proposal-companyProfile-container">
|
||||
<div class="h10 " style="background:#F5F5F5"></div>
|
||||
<div class="text-center mt20"><img class="w86" src="@/assets/images/logo.png" /></div>
|
||||
<div class="fs15 mt20 text-left pl15 c-gray-darker ">公司简介</div>
|
||||
<p class="ph15 fs13 c-gray-base mt10" style="line-height:19px;text-indent:26px">
|
||||
鼎诚人寿保险有限责任公司(简称“鼎诚人寿”),是一家全国性合资寿险公司,前身为成立于2009年3月的新光海航人寿保险有限责任公司。2018年9月经中国银行保险监督管理委员会批准,鼎诚人寿完成了股权变更及增资。
|
||||
国富人寿保险有限责任公司(简称“国富人寿”),是一家全国性合资寿险公司,前身为成立于2009年3月的新光海航人寿保险有限责任公司。2018年9月经中国银行保险监督管理委员会批准,国富人寿完成了股权变更及增资。
|
||||
</p>
|
||||
<p class="ph15 fs13 c-gray-base" style="line-height:19px;text-indent:26px">
|
||||
鼎诚人寿股东不仅资本实力雄厚,更有新光人寿领先的国际化寿险公司经营管理经验。鼎诚人寿管理团队由在寿险行业有过数十年工作经历、在大型寿险公司管理岗位领军的专业人士组成。
|
||||
国富人寿股东不仅资本实力雄厚,更有新光人寿领先的国际化寿险公司经营管理经验。国富人寿管理团队由在寿险行业有过数十年工作经历、在大型寿险公司管理岗位领军的专业人士组成。
|
||||
</p>
|
||||
<p class="ph15 fs13 c-gray-base" style="line-height:19px;text-indent:26px">
|
||||
面对我国社会保障体系改革的发展机遇,鼎诚人寿确立了行稳致远的公司战略:坚持“专业化经营、集约式管理、效益型发展”的办企理念;专注寿险经营,聚焦保险保障,着力打造产品品牌、客户服务品牌和教育培训品牌,为客户提供养老、健康、医疗、一般寿险和意外伤害保险等全方位、高品质的寿险服务;努力将公司建设成为具有自身特色、值得客户托付、备受社会尊敬的寿险百年老店。
|
||||
面对我国社会保障体系改革的发展机遇,国富人寿确立了行稳致远的公司战略:坚持“专业化经营、集约式管理、效益型发展”的办企理念;专注寿险经营,聚焦保险保障,着力打造产品品牌、客户服务品牌和教育培训品牌,为客户提供养老、健康、医疗、一般寿险和意外伤害保险等全方位、高品质的寿险服务;努力将公司建设成为具有自身特色、值得客户托付、备受社会尊敬的寿险百年老店。
|
||||
</p>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
export function checkSex(cacheSex, localSex, relation) {
|
||||
//当关系为配偶时 被保人性别必须与投保人性别不一致
|
||||
return true
|
||||
// if (relation == '2' && localSex == cacheSex) {
|
||||
// return false
|
||||
// } else {
|
||||
// return true
|
||||
// }
|
||||
if (relation == '2' && localSex == cacheSex) {
|
||||
return false
|
||||
} else {
|
||||
return true
|
||||
}
|
||||
}
|
||||
export function checkRelation(relation, age) {
|
||||
//当被保人年龄小于8岁 被保人与投保人关系必须为父母
|
||||
|
||||
@@ -1299,7 +1299,63 @@ export default {
|
||||
default:
|
||||
break
|
||||
}
|
||||
}
|
||||
},
|
||||
//校验身高
|
||||
checkStature(val) {
|
||||
console.log(val)
|
||||
if (val.trim().length == 0) {
|
||||
return this.$toast('身高不能为空')
|
||||
}
|
||||
|
||||
let res = /^[0-9]{0,3}([.]{1}[0-9]{1})?$/.test(val) && val < 300 && val > 10
|
||||
if (!res) {
|
||||
this.userInfo.stature = ''
|
||||
return this.$toast('身高输入有误')
|
||||
}
|
||||
},
|
||||
//校验体重
|
||||
checkAvoirdupois(val) {
|
||||
if (val.trim().length == 0) {
|
||||
return this.$toast('体重不能为空')
|
||||
}
|
||||
|
||||
let res = /^[0-9]+([.]{1}[0-9]{1})?$/.test(val) && val > 0.1
|
||||
if (!res) {
|
||||
this.userInfo.avoirdupois = ''
|
||||
return this.$toast('体重输入有误')
|
||||
}
|
||||
},
|
||||
getRelatedData(val) {
|
||||
// if (this.userInfo.idType != '1') {
|
||||
// return
|
||||
// }
|
||||
if (!['1', '2', '3', 1, 2, 3].includes(this.userInfo.idType)) {
|
||||
return
|
||||
}
|
||||
//如果证件校验不通过,恢复默认值
|
||||
if (idToData(val).text) {
|
||||
;[this.userInfo.idNo, this.userInfo.sex, this.userInfo.birthday, this.effectiveDateTypeAble] = ['', '0', '', false]
|
||||
return this.$toast(idToData(val).text)
|
||||
}
|
||||
this.userInfo.effectiveDateType = false
|
||||
this.effectiveDateTypeAble = idToData(val).age < 45
|
||||
this.userInfo.birthday = idToData(val).birthday
|
||||
this.userInfo.sex = idToData(val).sex
|
||||
//如果选择户口本
|
||||
if (this.userInfo.idType == '2') {
|
||||
let exipreDate = Date.parse(this.userInfo.birthday) + Date.parse('1985-12-31')
|
||||
this.userInfo.certificateValidate = this.userInfo.birthday
|
||||
this.userInfo.certiexpiredate = this.timeStampFormat(exipreDate)
|
||||
this.idLimit = true
|
||||
//如果选择出生证明
|
||||
} else if (this.userInfo.idType == '3') {
|
||||
let exipreDate = Date.parse(this.userInfo.birthday) + Date.parse('1972-12-31')
|
||||
this.userInfo.certificateValidate = this.userInfo.birthday
|
||||
this.userInfo.certiexpiredate = this.timeStampFormat(exipreDate)
|
||||
this.idLimit = true
|
||||
} else {
|
||||
this.idLimit = false
|
||||
}
|
||||
},
|
||||
beforeDestroy() {
|
||||
//清理计时器
|
||||
@@ -1318,7 +1374,7 @@ export default {
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
}
|
||||
}}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.insured-person-container {
|
||||
|
||||
@@ -87,12 +87,33 @@
|
||||
v-no-more-click="1000"
|
||||
>删除</van-button
|
||||
>
|
||||
<van-button @click="againPay(order)" v-if="active == 'commit' && order.orderStatus == '14'" size="small" class="mr5" type="danger" round
|
||||
<van-button
|
||||
@click="againPay(order)"
|
||||
v-if="active == 'commit' && order.orderInfoDTO.orderStatus == '19'"
|
||||
size="small"
|
||||
class="mr5"
|
||||
type="danger"
|
||||
round
|
||||
>重新支付</van-button
|
||||
>
|
||||
<van-button @click="goPay(order)" v-if="active == 'commit' && order.orderStatus == '02'" size="small" class="mr5" type="danger" round
|
||||
<van-button
|
||||
@click="goPay(order)"
|
||||
v-if="active == 'commit' && order.orderInfoDTO.orderStatus == '02'"
|
||||
size="small"
|
||||
class="mr5"
|
||||
type="danger"
|
||||
round
|
||||
>去支付</van-button
|
||||
>
|
||||
<!-- <van-button
|
||||
@click="goNucleus(order)"
|
||||
v-if="active == 'commit' && order.orderInfoDTO.orderStatus == '46'"
|
||||
size="small"
|
||||
class="mr5"
|
||||
type="danger"
|
||||
round
|
||||
>提交人工核保</van-button
|
||||
> -->
|
||||
<van-button @click="seePolicy(order)" v-if="active == 'commit'" size="small" type="danger" round>查看投保单</van-button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -111,8 +132,8 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { Tabs, Tab, List, Tag, Sticky, Toast } from 'vant'
|
||||
import { orderList, deleteOrderInfo } from '@/api/ebiz/sale/sale'
|
||||
import { Tabs, Tab, List, Tag, Sticky, Toast, Dialog } from 'vant'
|
||||
import { orderList, deleteOrderInfo, selfToHuman } from '@/api/ebiz/sale/sale'
|
||||
import { formatRiskList } from '@/assets/js/utils/formatRiskList.js'
|
||||
import dataDictionary from '@/assets/js/utils/data-dictionary' //根据数据字典找到用户等级
|
||||
|
||||
@@ -123,7 +144,8 @@ export default {
|
||||
[Tab.name]: Tab,
|
||||
[List.name]: List,
|
||||
[Tag.name]: Tag,
|
||||
[Sticky.name]: Sticky
|
||||
[Sticky.name]: Sticky,
|
||||
[Dialog.name]: Dialog
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -155,6 +177,7 @@ export default {
|
||||
//再次支付
|
||||
againPay(order) {
|
||||
localStorage.orderNo = order.orderInfoDTO.orderNo
|
||||
localStorage.salelist = '1'
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
@@ -163,9 +186,37 @@ export default {
|
||||
routerInfo: { path: '/sale/payMent' }
|
||||
})
|
||||
},
|
||||
// 去人工核保
|
||||
// goNucleus() {
|
||||
// let data = {
|
||||
// orderNo: this.underWriteData.orderNo
|
||||
// }
|
||||
// selfToHuman(data).then(res => {
|
||||
// if (res.result == '0') {
|
||||
// Dialog.alert({
|
||||
// title: '提示',
|
||||
// message: '提交人工核保成功'
|
||||
// }).then(() => {
|
||||
// this.$jump({
|
||||
// flag: 'h5',
|
||||
// extra: {
|
||||
// url: location.origin + '/#/sale/list',
|
||||
// backToFirst: '1'
|
||||
// },
|
||||
// routerInfo: {
|
||||
// path: '/sale/list'
|
||||
// }
|
||||
// })
|
||||
// })
|
||||
// } else {
|
||||
// this.$toast(res.resultMessage)
|
||||
// }
|
||||
// })
|
||||
// },
|
||||
//去支付
|
||||
goPay(order) {
|
||||
localStorage.orderNo = order.orderInfoDTO.orderNo
|
||||
localStorage.salelist = '1'
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
|
||||
@@ -29,51 +29,19 @@
|
||||
<span class="red">注:以上账号仅为本次扣款使用</span>
|
||||
</div> -->
|
||||
</div>
|
||||
<!-- <van-button class="m-btn fr" type="danger" @click="submit">确定</van-button>
|
||||
<van-button class="m-btn fr green" @click="reset">重置</van-button> -->
|
||||
<div class="bg-white bottom-btn">
|
||||
<van-button type="danger" size="large" @click="payMent" v-no-more-click="1000">支付</van-button>
|
||||
<van-button type="danger" style="width: 50vw" @click="cancel" v-no-more-click="1000">返回投保单列表</van-button>
|
||||
<van-button type="danger" style="width: 50vw" @click="payMent" v-no-more-click="1000">去支付</van-button>
|
||||
</div>
|
||||
<form ref="payForm" action="http://10.10.100.84:7003/s3-modules-gateway/embed/gateway.action" method="post">
|
||||
<input name="TransSource" type="text" v-model="payParam.TransSource" />
|
||||
<input name="TransDate" type="text" v-model="payParam.TransDate" />
|
||||
<input name="TransTime" type="text" v-model="payParam.TransTime" />
|
||||
<input name="TransSeq" type="text" v-model="payParam.TransSeq" />
|
||||
<input name="Version" type="text" v-model="payParam.Version" />
|
||||
<input name="RdSeq" type="text" v-model="payParam.RdSeq" />
|
||||
<input name="PaymentCode" type="text" v-model="payParam.PaymentCode" />
|
||||
<input name="PayType" type="text" v-model="payParam.PayType" />
|
||||
<input name="SettleMode" type="text" v-model="payParam.SettleMode" />
|
||||
<input name="ApplyEntity" type="text" v-model="payParam.ApplyEntity" />
|
||||
<input name="Cur" type="text" v-model="payParam.Cur" />
|
||||
<input name="OurAmount" type="text" v-model="payParam.OurAmount" />
|
||||
<input name="FixUser" type="text" v-model="payParam.FixUser" />
|
||||
<input name="Insurer" type="text" v-model="payParam.Insurer" />
|
||||
<input name="CertType" type="text" v-model="payParam.CertType" />
|
||||
<input name="CertNum" type="text" v-model="payParam.CertNum" />
|
||||
<input name="OppBank" type="text" v-model="payParam.OppBank" />
|
||||
<input name="OppAct" type="text" v-model="payParam.OppAct" />
|
||||
<input name="OppActName" type="text" v-model="payParam.OppActName" />
|
||||
<input name="CellPhone" type="text" v-model="payParam.CellPhone" />
|
||||
<input name="ExpireDate" type="text" v-model="payParam.ExpireDate" />
|
||||
<input name="Purpose" type="text" v-model="payParam.Purpose" />
|
||||
<input name="Memo" type="text" v-model="payParam.Memo" />
|
||||
<input name="Description" type="text" v-model="payParam.Description" />
|
||||
<input name="SourceNotecode" type="text" v-model="payParam.SourceNotecode" />
|
||||
<input name="ReturnURL" type="text" v-model="payParam.ReturnURL" />
|
||||
<input name="NotifyURL" type="text" v-model="payParam.NotifyURL" />
|
||||
<input name="SaleChannel" type="text" v-model="payParam.SaleChannel" />
|
||||
<input name="ReqReserved1" type="text" v-model="payParam.ReqReserved1" />
|
||||
<input name="ReqReserved2" type="text" v-model="payParam.ReqReserved2" />
|
||||
<input name="ReqReserved3" type="text" v-model="payParam.ReqReserved3" />
|
||||
<input name="ReqReserved4" type="text" v-model="payParam.ReqReserved4" />
|
||||
<input name="ReqReserved5" type="text" v-model="payParam.ReqReserved5" />
|
||||
<input name="S3Sign" type="text" v-model="payParam.S3Sign" />
|
||||
</form>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { Cell, CellGroup, RadioGroup, Radio } from 'vant'
|
||||
import { acceptInsurance } from '@/api/ebiz/sale/sale'
|
||||
import { underWrite } from '@/api/ebiz/sale/sale'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@@ -83,108 +51,94 @@ export default {
|
||||
src: this.$assetsUrl + 'images/cardImg.png',
|
||||
// 核保数据
|
||||
underWriteData: {},
|
||||
srcImg: '',
|
||||
payParam: {
|
||||
TransSource: '', // 对接系统
|
||||
TransDate: '', // 请求日期
|
||||
TransTime: '', // 请求时间
|
||||
TransSeq: '', // 时间戳
|
||||
Version: '', // 版本号
|
||||
RdSeq: '', // 指令流水号
|
||||
PaymentCode: '', // 业务唯一号
|
||||
PayType: '', // 交易类型
|
||||
SettleMode: '', // 支付方式
|
||||
ApplyEntity: '', // 业务发生机构
|
||||
Cur: '', // 币种
|
||||
OurAmount: '', // 金额
|
||||
FixUser: '', // 实名认证标识
|
||||
Insurer: '', // 对接系统
|
||||
CertType: '', // 证件类型
|
||||
CertNum: '', // 证件号码
|
||||
OppBank: '', // 交易方银行
|
||||
OppAct: '', // 交易方账号
|
||||
OppActName: '', // 交易方名称
|
||||
CellPhone: '', // 手机号码
|
||||
ExpireDate: '', // 订单失效时间
|
||||
Purpose: '', // 用途
|
||||
Memo: '', // 备注
|
||||
Description: '', // 描述
|
||||
SourceNotecode: '', // 外部系统业务单据号
|
||||
ReturnURL: '', // 页面跳转同步通知地址
|
||||
NotifyURL: '', // 后台通知地址
|
||||
SaleChannel: '', // 销售渠道
|
||||
ReqReserved1: '', // 备用字段1
|
||||
ReqReserved2: '', // 备用字段2
|
||||
ReqReserved3: '', // 备用字段3
|
||||
ReqReserved4: '', // 备用字段4
|
||||
ReqReserved5: '', // 备用字段5
|
||||
S3Sign: '', // 验签信息
|
||||
tradeState: '' // 状态
|
||||
},
|
||||
gotPayParam: false // 是否已正确获取支付参数
|
||||
srcImg: ''
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
let that = this
|
||||
document.body.style.backgroundColor = '#fff'
|
||||
that.underWriteData = JSON.parse(window.localStorage.getItem('underWriteData'))
|
||||
this.srcImg = this.$assetsUrl + `images/bank/bank_${JSON.parse(window.localStorage.getItem('underWriteData')).bankCode}.png`
|
||||
console.log(this.srcImg)
|
||||
// 取支付参数
|
||||
this.getPayParam()
|
||||
|
||||
if (localStorage.salelist == '1') {
|
||||
this.underWrite()
|
||||
this.underWriteData = JSON.parse(window.localStorage.getItem('underWriteData'))
|
||||
this.srcImg = this.$assetsUrl + `images/bank/bank_${JSON.parse(window.localStorage.getItem('underWriteData')).bankCode}.png`
|
||||
} else {
|
||||
this.underWriteData = JSON.parse(window.localStorage.getItem('underWriteData'))
|
||||
this.srcImg = this.$assetsUrl + `images/bank/bank_${JSON.parse(window.localStorage.getItem('underWriteData')).bankCode}.png`
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// 取支付参数
|
||||
getPayParam() {
|
||||
// 点击支付
|
||||
payMent() {
|
||||
let that = this
|
||||
let data = {
|
||||
orderNo: window.localStorage.getItem('orderNo')
|
||||
}
|
||||
console.log('----取支付参数请求:', data)
|
||||
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':'1569093814680','businessNo':'8186270000000008','tradeSubType':'COMM','businessType':'SALE','systemType':'GF','money':63700,'businessSubType':'XDCB','thirdType':'0002','thirdName':null,'bankCode':'ABC','epayOrderNo':'1909220323348579999900','companyAccount':null,'tradeState':'TRADING','standardCode':'DEALING','standardMsg':null,'thirdOrderNo':null,'respRemark':null,'tradeTime':'2019-09-21T19:23:34.680+0000','description':'','version':'1','payType':null,'expireDate':'20191010','sourceNotecode':'8186270000000008','rdSeq':'1909220323348579999900','transDate':'20190922','cur':'CNY','settleMode':null,'transSource':'MIT','transTime':'032335','paymentCode':'8186270000000008','applyEntity':'','ourAmount':63700,'transSeq':'20190922032335064','fixUser':'1','insurer':'投保人','certType':'0','certNum':'110101199009210011','oppBank':'ABC','oppAct':'6228481200290317812','oppActName':'投保人','cellPhone':null,'purpose':null,'memo':null,'returnURL':'http://localhost:7008/epay/epay/withholding','notifyURL':'http://139.199.50.151:7000/api/v1/epay/epay/payResult'}}
|
||||
if (res.result == '0') {
|
||||
// // 1成 4支付中 2支付失败 8转批扣
|
||||
// if (res.payStatus == '2') {
|
||||
// window.localStorage.setItem('resMessage', res.resultMessage)
|
||||
// }
|
||||
// window.localStorage.setItem('payStatus', res.payStatus)
|
||||
// window.localStorage.setItem('payInfo', JSON.stringify(res))
|
||||
// that.$jump({
|
||||
// flag: 'h5',
|
||||
// extra: {
|
||||
// url: location.origin + '/#/sale/payResult',
|
||||
// backToFirst: '1'
|
||||
// },
|
||||
// routerInfo: {
|
||||
// path: '/sale/payResult'
|
||||
// }
|
||||
// })
|
||||
let keyMap = {}
|
||||
for (let key in this.payParam) {
|
||||
keyMap[key.toLowerCase()] = key
|
||||
}
|
||||
let paramKey
|
||||
for (let rKey in res.brPayReturnData) {
|
||||
if (keyMap.hasOwnProperty(rKey.toLowerCase())) {
|
||||
paramKey = keyMap[rKey.toLowerCase()]
|
||||
this.payParam[paramKey] = res.brPayReturnData[rKey]
|
||||
// 1成 4支付中 2支付失败 8转批扣
|
||||
|
||||
window.localStorage.setItem('resMessage', res.resultMessage)
|
||||
|
||||
window.localStorage.setItem('payStatus', res.payStatus)
|
||||
window.localStorage.setItem('payInfo', JSON.stringify(res))
|
||||
that.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + '/#/sale/payResult',
|
||||
backToFirst: '1'
|
||||
},
|
||||
routerInfo: {
|
||||
path: '/sale/payResult'
|
||||
}
|
||||
}
|
||||
console.log('----支付参数:this.payParam:', JSON.stringify(this.payParam))
|
||||
this.gotPayParam = true
|
||||
this.$forceUpdate()
|
||||
})
|
||||
} else {
|
||||
that.$toast(res.resultMessage)
|
||||
}
|
||||
})
|
||||
},
|
||||
// 点击支付
|
||||
payMent() {
|
||||
if (this.gotPayParam) {
|
||||
this.$refs.payForm.submit()
|
||||
// 取消支付
|
||||
cancel() {
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + '/#/sale/list',
|
||||
backToFirst: '1'
|
||||
},
|
||||
routerInfo: {
|
||||
path: '/sale/list'
|
||||
}
|
||||
})
|
||||
},
|
||||
// 获取支付信息
|
||||
underWrite() {
|
||||
let data = {
|
||||
platform: 'app',
|
||||
type: '1',
|
||||
orderDTO: {
|
||||
orderInfoDTO: {
|
||||
orderNo: window.localStorage.getItem('orderNo')
|
||||
}
|
||||
}
|
||||
}
|
||||
underWrite(data).then(res => {
|
||||
if (res.result == '0') {
|
||||
this.$toast.clear()
|
||||
if (res.uwResult == '02') {
|
||||
// window.localStorage.setItem('uwResult', res.uwResult)
|
||||
window.localStorage.setItem('underWriteData', JSON.stringify(res))
|
||||
} else if (res.uwResult == '33') {
|
||||
window.localStorage.setItem('underWriteData', JSON.stringify(res))
|
||||
window.localStorage.setItem('uwResult', res.uwResult)
|
||||
window.localStorage.setItem('resultMessage', res.message)
|
||||
} else {
|
||||
window.localStorage.setItem('uwResult', res.uwResult)
|
||||
window.localStorage.setItem('underWriteData', JSON.stringify(res))
|
||||
// window.localStorage.setItem('resultMessage', res.resultMessage)
|
||||
}
|
||||
} else {
|
||||
this.$toast(res.resultMessage)
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
components: {
|
||||
|
||||
@@ -17,15 +17,18 @@
|
||||
<van-cell title="投保单号" :value="payInfo.prtNo" />
|
||||
<van-cell title="支付金额" :value="`${payInfo.amnt}元` | moneyFormat" v-if="payInfo.amnt != ''" />
|
||||
</van-cell-group>
|
||||
<div v-if="payStatus != '2' && payStatus != '1'" class=" p10 pb250 bg-white">
|
||||
<!-- <div v-if="payStatus != '2' && payStatus != '1'" class=" p10 pb250 bg-white">
|
||||
<span class="pt150 fs14"> 如有相关问题,请联系信息技术部运维人员</span>
|
||||
</div>
|
||||
</div> -->
|
||||
<div v-if="payStatus == '1'" class=" p10 pb250 bg-white">
|
||||
<span class="pt150 fs14"> 核心承保中,请您稍后查看</span>
|
||||
</div>
|
||||
<div v-if="payStatus == '2'" class=" p10 pb250 bg-white">
|
||||
<div v-if="payStatus == '2' || payStatus == '4' || payStatus == '8'" class=" p10 pb250 bg-white">
|
||||
<span v-html="resMessage"></span>
|
||||
</div>
|
||||
<!-- <div class=" p10 pb250 bg-white">
|
||||
<span v-html="resMessage"></span>
|
||||
</div> -->
|
||||
|
||||
<div class="bottom-btn bg-white" v-if="payStatus == '1' || payStatus == '4' || payStatus == '8'">
|
||||
<van-button type="danger" size="large" @click="next" v-no-more-click="1000">返回列表页</van-button>
|
||||
@@ -59,9 +62,6 @@ export default {
|
||||
[CellGroup.name]: CellGroup
|
||||
},
|
||||
methods: {
|
||||
getPayStatus() {
|
||||
|
||||
},
|
||||
// 返回列表页
|
||||
next() {
|
||||
this.$jump({
|
||||
@@ -95,8 +95,6 @@ export default {
|
||||
}
|
||||
|
||||
// console.log(that.resultMessage)
|
||||
|
||||
// todo...
|
||||
},
|
||||
beforeRouteLeave(to, from, next) {
|
||||
document.body.style.backgroundColor = ''
|
||||
|
||||
@@ -10,10 +10,10 @@
|
||||
</div> -->
|
||||
|
||||
<div class="flex justify-content-c align-items-c flex-direction-colunm m15 bg-white">
|
||||
<img :src="srcFail" v-if="uwResult != '33'" class="mb40 mt20" />
|
||||
<p class="title" v-if="uwResult != '33'">系统繁忙,请稍后再试</p>
|
||||
<img :src="srcPending" v-if="uwResult == '33'" class="mb40 mt20" />
|
||||
<p class="title" v-if="uwResult == '33'">转人工核保</p>
|
||||
<img :src="srcFail" v-if="uwResult != '46'" class="mb40 mt20" />
|
||||
<p class="title" v-if="uwResult != '46'">系统繁忙,请稍后再试</p>
|
||||
<img :src="srcPending" v-if="uwResult == '46'" class="mb40 mt20" />
|
||||
<p class="title" v-if="uwResult == '46'">自核未通过,待转人核</p>
|
||||
</div>
|
||||
<van-cell-group class="text-left">
|
||||
<van-cell title="投保人" :value="underWriteData.appntName" v-if="underWriteData.appntName != ''" />
|
||||
@@ -22,31 +22,31 @@
|
||||
</van-cell-group>
|
||||
|
||||
<div class="bg-white p10 pb150">
|
||||
<div class="text-left ml20 mt20" v-if="uwResult == '33'">
|
||||
<div class="text-left ml20 mt20" v-if="uwResult == '46'">
|
||||
<span class="fs14" v-html="`原因:${resultMessage}`"></span>
|
||||
</div>
|
||||
<!-- <div v-if="uwResult == '33'" class="text-left ml20 mt20">
|
||||
<span class="fs14 mt20">如有相关问题,请联系核保人员</span>
|
||||
</div>
|
||||
<div class="text-left ml20 mt20">
|
||||
<span class="fs14 mt20" v-if="uwResult != '33'">如有相关问题,请联系信息技术部运维人员</span>
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="bottom-btn bg-white">
|
||||
<div class="bottom-btn bg-white" v-if="uwResult != '46'">
|
||||
<van-button type="danger" size="large" @click="goback" v-no-more-click="1000">返回投保单列表</van-button>
|
||||
</div>
|
||||
<div class="bottom-btn bg-white" v-if="uwResult == '46'">
|
||||
<van-button type="danger" style="width: 50vw" size="normal" @click="goback" v-no-more-click="1000">返回投保单列表</van-button>
|
||||
<van-button type="danger" style="width: 50vw" size="normal" @click="submit" v-no-more-click="1000">提交人工核保</van-button>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { Cell, CellGroup, Button } from 'vant'
|
||||
import { Cell, CellGroup, Button, Dialog } from 'vant'
|
||||
import { selfToHuman } from '@/api/ebiz/sale/sale'
|
||||
// selfToHuman
|
||||
export default {
|
||||
components: {
|
||||
[Button.name]: Button,
|
||||
[Cell.name]: Cell,
|
||||
[CellGroup.name]: CellGroup
|
||||
[CellGroup.name]: CellGroup,
|
||||
[Dialog.name]: Dialog
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -68,6 +68,7 @@ export default {
|
||||
that.underWriteData = JSON.parse(window.localStorage.getItem('underWriteData'))
|
||||
},
|
||||
methods: {
|
||||
// 返回电子投保单列表
|
||||
goback() {
|
||||
// console.log('111')
|
||||
this.$jump({
|
||||
@@ -76,6 +77,36 @@ export default {
|
||||
path: '/sale/list'
|
||||
}
|
||||
})
|
||||
},
|
||||
// 提交转核保
|
||||
submit() {
|
||||
let data = {
|
||||
orderNo: this.underWriteData.orderNo
|
||||
}
|
||||
selfToHuman(data).then(res => {
|
||||
if (res.result == '0') {
|
||||
Dialog.alert({
|
||||
title: '提示',
|
||||
message: '提交人工核保成功'
|
||||
}).then(() => {
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + '/#/sale/list',
|
||||
backToFirst: '1'
|
||||
},
|
||||
routerInfo: {
|
||||
path: '/sale/list'
|
||||
}
|
||||
})
|
||||
})
|
||||
} else {
|
||||
window.localStorage.setItem('uwResult', res.result)
|
||||
window.localStorage.setItem('underWriteData', JSON.stringify(res))
|
||||
window.localStorage.setItem('resultMessage', res.resultMessage)
|
||||
location.reload()
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
beforeRouteLeave(to, from, next) {
|
||||
|
||||
@@ -1,6 +1,13 @@
|
||||
<template>
|
||||
<div class="signature-container">
|
||||
<div class="signature-content pb40">
|
||||
<div v-if="isWeixin" class="bg-white mt10 p20 fs14 tips">
|
||||
<p>
|
||||
尊敬的
|
||||
<span class="red">{{tipsName}}</span>先生/女士,您好!
|
||||
</p>
|
||||
<p>该保单由鼎诚人寿保险有限责任公司进行承保,具体确认信息如下:</p>
|
||||
</div>
|
||||
<van-cell-group class="mt10">
|
||||
<van-cell title="销售人员工号" :value="recmd.agentCode" />
|
||||
<van-cell title="销售人员姓名" :value="recmd.name" />
|
||||
@@ -11,7 +18,7 @@
|
||||
:value="orderInfo.orderAmount == undefined ? '' : orderInfo.orderAmount | moneyFormat"
|
||||
/>
|
||||
</van-cell-group>
|
||||
<div>
|
||||
<div v-if="!isWeixin">
|
||||
<van-collapse v-model="activeNames" class="mt10">
|
||||
<van-collapse-item name="1">
|
||||
<div slot="title">
|
||||
@@ -29,8 +36,8 @@
|
||||
<span class="text">{{ appntSign.signDocumentName }}</span>
|
||||
<img :src="src" v-if="appntSign.signStatus == '1'" />
|
||||
</p>
|
||||
<p class="start">点击【开始】按钮,进行相关操作</p>
|
||||
<div class="flex justify-content-a mt20">
|
||||
<p class="start" v-if="airSign != '1'">点击【开始】按钮,进行相关操作</p>
|
||||
<div v-if="!isInvalid" class="flex justify-content-a mt20">
|
||||
<van-button
|
||||
v-if="isShow"
|
||||
type="danger"
|
||||
@@ -51,6 +58,7 @@
|
||||
@click="start_ocr(insured.length == '0' ? '2' : '0')"
|
||||
>开始</van-button>
|
||||
</div>
|
||||
<div class="text" v-else>操作时间已失效,请联系销售人员!</div>
|
||||
</van-collapse-item>
|
||||
</van-collapse>
|
||||
<div v-if="relationToAppnt != '1'" class="mt10">
|
||||
@@ -71,8 +79,8 @@
|
||||
<span class="text">{{ insuredSign.signDocumentName }}</span>
|
||||
<img :src="src" v-if="insuredSign.signStatus == '1'" />
|
||||
</p>
|
||||
<p class="start">点击【开始】按钮,进行相关操作</p>
|
||||
<div class="flex justify-content-a mt20">
|
||||
<p class="start" v-if="airSign != '1'">点击【开始】按钮,进行相关操作</p>
|
||||
<div v-if="!isInvalid" class="flex justify-content-a mt20">
|
||||
<van-button
|
||||
v-if="isShow"
|
||||
type="danger"
|
||||
@@ -93,6 +101,97 @@
|
||||
v-no-more-click="1000"
|
||||
>开始</van-button>
|
||||
</div>
|
||||
<div class="text" v-else>操作时间已失效,请联系销售人员!</div>
|
||||
</van-collapse-item>
|
||||
</van-collapse>
|
||||
</div>
|
||||
</div>
|
||||
<div v-else>
|
||||
<div v-if="shareCode != '1'" class="mt10">
|
||||
<van-collapse v-model="activeNames">
|
||||
<van-collapse-item name="1">
|
||||
<div slot="title">
|
||||
投保人
|
||||
<span class="ml20">{{ appnt.name }}</span>
|
||||
</div>
|
||||
<p class="mb20">以下内容需要您按照顺序阅读并签字确认:</p>
|
||||
<p>需阅读:</p>
|
||||
<p class="mb20">
|
||||
<span class="text">{{ appntSign.readDocumentName }}</span>
|
||||
<img :src="src" v-if="appntSign.readStatus == '1'" />
|
||||
</p>
|
||||
<p>需签署:</p>
|
||||
<p class="mb20">
|
||||
<span class="text">{{ appntSign.signDocumentName }}</span>
|
||||
<img :src="src" v-if="appntSign.signStatus == '1'" />
|
||||
</p>
|
||||
<p class="start" v-if="airSign != '1'">点击【开始】按钮,进行相关操作</p>
|
||||
<div v-if="!isInvalid" class="flex justify-content-a mt20">
|
||||
<van-button
|
||||
v-if="isShow"
|
||||
type="danger"
|
||||
size="normal"
|
||||
style="width: 157px;"
|
||||
plain
|
||||
v-no-more-click="1000"
|
||||
:disabled="appntSign.signStatus == '1'"
|
||||
@click="share(insured.length == '0' ? '2' : '0')"
|
||||
>分享</van-button>
|
||||
<van-button
|
||||
type="danger"
|
||||
size="normal"
|
||||
style="width: 157px;"
|
||||
plain
|
||||
:disabled="appntSign.signStatus == '1'"
|
||||
v-no-more-click="1000"
|
||||
@click="start_ocr(insured.length == '0' ? '2' : '0')"
|
||||
>开始</van-button>
|
||||
</div>
|
||||
<div class="text" v-else>操作时间已失效,请联系销售人员!</div>
|
||||
</van-collapse-item>
|
||||
</van-collapse>
|
||||
</div>
|
||||
<div v-else class="mt10">
|
||||
<van-collapse v-model="activeNames" v-for="(item, index) in insured" :key="index">
|
||||
<van-collapse-item :name="index + 2">
|
||||
<div slot="title">
|
||||
被保人
|
||||
<span class="ml20">{{ item.name }}</span>
|
||||
</div>
|
||||
<p class="mb20">以下内容需要您按照顺序阅读并签字确认:</p>
|
||||
<p>需阅读:</p>
|
||||
<p class="mb20">
|
||||
<span class="text">{{ insuredSign.readDocumentName }}</span>
|
||||
<img :src="src" v-if="insuredSign.readStatus == '1'" />
|
||||
</p>
|
||||
<p>需签署:</p>
|
||||
<p class="mb20">
|
||||
<span class="text">{{ insuredSign.signDocumentName }}</span>
|
||||
<img :src="src" v-if="insuredSign.signStatus == '1'" />
|
||||
</p>
|
||||
<p class="start" v-if="airSign != '1'">点击【开始】按钮,进行相关操作</p>
|
||||
<div v-if="!isInvalid" class="flex justify-content-a mt20">
|
||||
<van-button
|
||||
v-if="isShow"
|
||||
type="danger"
|
||||
size="normal"
|
||||
style="width: 157px;"
|
||||
:disabled="insuredSign.signStatus == '1'"
|
||||
@click="share('1')"
|
||||
plain
|
||||
v-no-more-click="1000"
|
||||
>分享</van-button>
|
||||
<van-button
|
||||
type="danger"
|
||||
size="normal"
|
||||
plain
|
||||
style="width: 157px;"
|
||||
:disabled="insuredSign.signStatus == '1'"
|
||||
@click="start_ocr('1')"
|
||||
v-no-more-click="1000"
|
||||
>开始</van-button>
|
||||
</div>
|
||||
<div class="text" v-else>操作时间已失效,请联系销售人员!</div>
|
||||
</van-collapse-item>
|
||||
</van-collapse>
|
||||
</div>
|
||||
@@ -100,7 +199,7 @@
|
||||
|
||||
<!-- <p class="mb20">尊敬的<span class="text">陈伟</span>先生/女士,您好!</p>
|
||||
<p class="mb20">
|
||||
感谢您于<span class="text">2019-08-03</span>在国富人寿保险有限责任公司为陈伟投保,保费合计<span class="text">7128</span>元,销售人员为1009368孙岚。
|
||||
感谢您于<span class="text">2019-08-03</span>在鼎诚人寿保险有限责任公司为陈伟投保,保费合计<span class="text">7128</span>元,销售人员为1009368孙岚。
|
||||
</p>-->
|
||||
</div>
|
||||
<div v-if="!isWeixin">
|
||||
@@ -110,8 +209,6 @@
|
||||
>
|
||||
<van-button type="danger" size="large" @click="next" v-no-more-click="1000">提交</van-button>
|
||||
</div>
|
||||
<!-- todo delete -->
|
||||
<van-button type="danger" size="large" @click="next" v-no-more-click="1000">提交</van-button>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -161,16 +258,32 @@ export default {
|
||||
// 微信分享链接是否失效 false 为未失效 true为已失效
|
||||
isInvalid: false,
|
||||
// 是谁分享的微信链接 1为被保人 0或2为投保人
|
||||
shareCode: ''
|
||||
shareCode: '',
|
||||
// 是否从空签成功跳转过来 1为是 其他为不是
|
||||
airSign: '',
|
||||
// 空签时顶部姓名
|
||||
tipsName: ''
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// 初始化
|
||||
async init() {
|
||||
if (this.isWeixin) {
|
||||
let signInvalid = this.$route.query.signInvalid
|
||||
console.log('`````````````')
|
||||
console.log('signInvalid: ' + signInvalid)
|
||||
if (this.$route.query.airSign) {
|
||||
sessionStorage.setItem('airSign', this.$route.query.airSign)
|
||||
}
|
||||
window.localStorage.setItem('saleInsuredInfo', this.$route.query.saleInsuredInfo)
|
||||
window.localStorage.setItem('saleInsuredPersonInfo', this.$route.query.saleInsuredPersonInfo)
|
||||
window.localStorage.setItem('token', this.$route.query.token)
|
||||
window.localStorage.setItem('orderNo', this.$route.query.orderNo)
|
||||
window.localStorage.setItem('relationToAppnt', this.$route.query.relationToAppnt)
|
||||
if (this.$route.query.signInvalid) {
|
||||
sessionStorage.setItem('signInvalid', this.$route.query.signInvalid)
|
||||
}
|
||||
if (this.$route.query.shareCode) {
|
||||
sessionStorage.setItem('shareCode', this.$route.query.shareCode)
|
||||
}
|
||||
let signInvalid = sessionStorage.getItem('signInvalid')
|
||||
let rs = await this.checkSignInvalid(signInvalid)
|
||||
console.log('````````````')
|
||||
console.log('rs: ' + rs)
|
||||
@@ -179,23 +292,23 @@ export default {
|
||||
} else {
|
||||
this.isInvalid = true
|
||||
}
|
||||
window.localStorage.setItem('saleInsuredInfo', this.$route.query.saleInsuredInfo)
|
||||
window.localStorage.setItem('saleInsuredPersonInfo', this.$route.query.saleInsuredPersonInfo)
|
||||
window.localStorage.setItem('token', this.$route.query.token)
|
||||
window.localStorage.setItem('orderNo', this.$route.query.orderNo)
|
||||
window.localStorage.setItem('relationToAppnt', this.$route.query.relationToAppnt)
|
||||
|
||||
this.airSign = sessionStorage.getItem('airSign')
|
||||
this.shareCode = sessionStorage.getItem('shareCode')
|
||||
this.relationToAppnt = this.$route.query.relationToAppnt
|
||||
this.isShow = false
|
||||
if (this.shareCode == '1') {
|
||||
this.tipsName = JSON.parse(localStorage.getItem('saleInsuredPersonInfo')).name
|
||||
} else {
|
||||
this.tipsName = JSON.parse(localStorage.getItem('saleInsuredInfo')).name
|
||||
}
|
||||
weixinShare({
|
||||
title: '国富人寿计划书',
|
||||
imgUrl: 'http://139.199.50.151:8000/app/images/logo.png',
|
||||
desc: '国富为您量身定制的保险产品,请查收'
|
||||
title: '鼎诚人寿计划书',
|
||||
imgUrl: 'http://47.96.143.111:8000/app/images/logo.png',
|
||||
desc: '鼎诚为您量身定制的保险产品,请查收'
|
||||
})
|
||||
let params = {
|
||||
orderNo: ''
|
||||
}
|
||||
// console.log(this.$route.query.orderNo)
|
||||
params.orderNo = this.$route.query.orderNo
|
||||
// 获取详情消息
|
||||
getOrderDetail(params).then(res => {
|
||||
@@ -217,7 +330,6 @@ export default {
|
||||
this.date = res.orderDTO.orderInfoDTO.appntDateLabel
|
||||
// debugger
|
||||
res.orderDTO.signDTOS.map(item => {
|
||||
// console.log(item)
|
||||
if (item.signType == '0') {
|
||||
this.appntSign = item
|
||||
} else if (item.signType == '1') {
|
||||
@@ -244,7 +356,7 @@ export default {
|
||||
window.localStorage.setItem('sign-val', val)
|
||||
window.localStorage.setItem('sign-appnt', JSON.stringify(that.appntSign))
|
||||
if (val == '0' || val == '2') {
|
||||
if (JSON.parse(this.$route.query.saleInsuredInfo).idType != '1') {
|
||||
if (JSON.parse(this.$route.query.saleInsuredInfo).idType != '1' || JSON.parse(this.$route.query.saleInsuredInfo).age <= '16') {
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
@@ -270,7 +382,7 @@ export default {
|
||||
} else {
|
||||
window.localStorage.setItem('sign-val', val)
|
||||
window.localStorage.setItem('sign-insured', JSON.stringify(that.insuredSign))
|
||||
if (JSON.parse(this.$route.query.saleInsuredPersonInfo).idType != '1') {
|
||||
if (JSON.parse(this.$route.query.saleInsuredPersonInfo).idType != '1' || JSON.parse(this.$route.query.saleInsuredPersonInfo).age <= "16") {
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
@@ -298,7 +410,7 @@ export default {
|
||||
if (val == '0' || val == '2') {
|
||||
window.localStorage.setItem('sign-val', val)
|
||||
window.localStorage.setItem('sign-appnt', JSON.stringify(that.appntSign))
|
||||
if (this.saleInsuredInfo.idType != '1') {
|
||||
if (this.saleInsuredInfo.idType != '1' || this.saleInsuredInfo.age <= '16') {
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
@@ -309,16 +421,10 @@ export default {
|
||||
}
|
||||
})
|
||||
} else {
|
||||
// 跳过人脸识别
|
||||
// EWebBridge.webCallAppInJs('face_auth', {
|
||||
// number: that.saleInsuredInfo.idNo, //身份证号码
|
||||
// name: that.saleInsuredInfo.name //姓名
|
||||
// })
|
||||
new Promise(resolve => {
|
||||
console.log('--跳过人脸识别--返回识别成功')
|
||||
resolve(JSON.stringify({ state: '1' }))
|
||||
EWebBridge.webCallAppInJs('face_auth', {
|
||||
number: that.saleInsuredInfo.idNo, //身份证号码
|
||||
name: that.saleInsuredInfo.name //姓名
|
||||
}).then(data => {
|
||||
console.log(JSON.parse(data))
|
||||
if (JSON.parse(data).state == '1') {
|
||||
if (that.appntSign.readStatus == '0') {
|
||||
this.$jump({
|
||||
@@ -359,7 +465,7 @@ export default {
|
||||
} else {
|
||||
window.localStorage.setItem('sign-val', val)
|
||||
window.localStorage.setItem('sign-insured', JSON.stringify(that.insuredSign))
|
||||
if (this.saleInsuredPersonInfo.idType != '1') {
|
||||
if (this.saleInsuredPersonInfo.idType != '1' || this.saleInsuredPersonInfo.age <= '16') {
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
@@ -370,16 +476,11 @@ export default {
|
||||
}
|
||||
})
|
||||
} else {
|
||||
// 跳过人脸识别
|
||||
// EWebBridge.webCallAppInJs('face_auth', {
|
||||
// //身份证号码
|
||||
// number: that.saleInsuredPersonInfo.idNo,
|
||||
// //姓名
|
||||
// name: that.saleInsuredPersonInfo.name
|
||||
// })
|
||||
new Promise(resolve => {
|
||||
console.log('--跳过人脸识别--返回识别成功')
|
||||
resolve(JSON.stringify({ state: '1' }))
|
||||
EWebBridge.webCallAppInJs('face_auth', {
|
||||
//身份证号码
|
||||
number: that.saleInsuredPersonInfo.idNo,
|
||||
//姓名
|
||||
name: that.saleInsuredPersonInfo.name
|
||||
}).then(data => {
|
||||
if (JSON.parse(data).state == '1') {
|
||||
if (that.insuredSign.readStatus == '0') {
|
||||
@@ -429,6 +530,24 @@ export default {
|
||||
} else {
|
||||
shareName = '投保人'
|
||||
}
|
||||
console.log('`````````````测试安卓url`````````````````')
|
||||
console.log(
|
||||
location.origin +
|
||||
'/#/sale/signatureConfirmation?orderNo=' +
|
||||
localStorage.orderNo +
|
||||
'&token=' +
|
||||
localStorage.token +
|
||||
'&saleInsuredInfo=' +
|
||||
localStorage.saleInsuredInfo +
|
||||
'&saleInsuredPersonInfo=' +
|
||||
localStorage.saleInsuredPersonInfo +
|
||||
'&relationToAppnt=' +
|
||||
JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt +
|
||||
'&shareCode=' +
|
||||
code +
|
||||
'&signInvalid=' +
|
||||
this.signInvalid
|
||||
)
|
||||
EWebBridge.webCallAppInJs('bridge', {
|
||||
flag: 'share',
|
||||
extra: {
|
||||
@@ -475,6 +594,7 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
// /insure/selfToHuman
|
||||
underWrite(data).then(res => {
|
||||
let that = this
|
||||
if (res.result == '0') {
|
||||
@@ -491,7 +611,7 @@ export default {
|
||||
path: '/sale/payMent'
|
||||
}
|
||||
})
|
||||
} else if (res.uwResult == '33') {
|
||||
} else if (res.uwResult == '46') {
|
||||
window.localStorage.setItem('underWriteData', JSON.stringify(res))
|
||||
window.localStorage.setItem('uwResult', res.uwResult)
|
||||
window.localStorage.setItem('resultMessage', res.message)
|
||||
@@ -529,12 +649,11 @@ export default {
|
||||
getOrderDetail() {
|
||||
let that = this
|
||||
this.$toast.loading({
|
||||
duration: 0, // 持续展示 toast
|
||||
|
||||
forbidClick: true, // 禁用背景点击
|
||||
|
||||
// 持续展示 toast
|
||||
duration: 0,
|
||||
// 禁用背景点击s
|
||||
forbidClick: true,
|
||||
loadingType: 'spinner',
|
||||
|
||||
message: '加载中……'
|
||||
})
|
||||
let data = {
|
||||
@@ -561,7 +680,6 @@ export default {
|
||||
|
||||
res.orderDTO.signDTOS.map(item => {
|
||||
if (item.signType == '0') {
|
||||
// console.log(item)
|
||||
that.appntSign = item
|
||||
} else if (item.signType == '1') {
|
||||
that.insuredSign = item
|
||||
@@ -587,8 +705,6 @@ export default {
|
||||
getSignInvalid(data).then(res => {
|
||||
if (res.result == '0') {
|
||||
this.$toast.clear()
|
||||
console.log('`````````````')
|
||||
console.log('res:' + res)
|
||||
this.signInvalid = res.content.sign
|
||||
}
|
||||
})
|
||||
@@ -659,4 +775,7 @@ export default {
|
||||
.start {
|
||||
color: #E9332E;
|
||||
}
|
||||
.tips {
|
||||
line-height: 30px;
|
||||
}
|
||||
</style>
|
||||
@@ -23,7 +23,7 @@
|
||||
<van-radio-group v-model="radio" class="pb10 pt20 pl30">
|
||||
<van-radio name="1" @click="click" class="fs12">
|
||||
本人确认已阅读
|
||||
<span>《国富人寿人身保险投保单》</span>
|
||||
<span>《人身保险投保书》</span>
|
||||
</van-radio>
|
||||
</van-radio-group>
|
||||
<div class="pt30 pl30 flex align-items-c">
|
||||
@@ -285,7 +285,10 @@ export default {
|
||||
'&relationToAppnt=' +
|
||||
JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt +
|
||||
'&attachmentShow=' +
|
||||
window.localStorage.getItem('attachmentShow')
|
||||
window.localStorage.getItem('attachmentShow') +
|
||||
'&signInvalid=' +
|
||||
sessionStorage.getItem('signInvalid') +
|
||||
'&airSign=1'
|
||||
}
|
||||
})
|
||||
} else {
|
||||
@@ -350,7 +353,10 @@ export default {
|
||||
'&relationToAppnt=' +
|
||||
JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt +
|
||||
'&attachmentShow=' +
|
||||
window.localStorage.getItem('attachmentShow')
|
||||
window.localStorage.getItem('attachmentShow') +
|
||||
'&signInvalid=' +
|
||||
sessionStorage.getItem('signInvalid') +
|
||||
'&airSign=1'
|
||||
}
|
||||
})
|
||||
} else {
|
||||
@@ -524,10 +530,10 @@ export default {
|
||||
originUrl: location.origin
|
||||
})
|
||||
)
|
||||
window.location.href = this.$mainUrl + '/sign'
|
||||
window.location.href = this.$mainUrl + '/sign/index.html'
|
||||
}
|
||||
},
|
||||
created() {
|
||||
async created() {
|
||||
let that = this
|
||||
|
||||
that.detailJump = window.localStorage.getItem('detailJump')
|
||||
@@ -545,52 +551,13 @@ export default {
|
||||
// 获取被保人信息
|
||||
that.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo'))
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
listenChange() {
|
||||
const { isOver, radio, appntSign, insuredSign } = this
|
||||
return { isOver, radio, appntSign, insuredSign }
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
listenChange(val) {
|
||||
let that = this
|
||||
if (that.signVal == '0' || that.signVal == '2') {
|
||||
if (val.isOver == true && val.radio != '' && val.appntSign.signStatus !== '1') {
|
||||
that.isDisable = false
|
||||
} else {
|
||||
that.isDisable = true
|
||||
}
|
||||
} else {
|
||||
if (val.isOver == true && val.radio != '' && val.insuredSign.signStatus !== '1') {
|
||||
that.isDisableInsured = false
|
||||
} else {
|
||||
that.isDisableInsured = true
|
||||
}
|
||||
}
|
||||
if (!this.isWeixin) {
|
||||
if (val.appntSign.signStatus == '1' && val.insuredSign.signStatus == '1') {
|
||||
that.isDisabledComplite = false
|
||||
} else {
|
||||
that.isDisabledComplite = true
|
||||
}
|
||||
}
|
||||
if (val.appntSign.signStatus == '1') {
|
||||
that.isDisable = true
|
||||
}
|
||||
if (val.insuredSign.signStatus == '1') {
|
||||
that.isDisableInsured = true
|
||||
}
|
||||
}
|
||||
},
|
||||
async mounted() {
|
||||
if (this.detailJump != '1') {
|
||||
this.getOrderDetail()
|
||||
}
|
||||
if (this.isWeixin) {
|
||||
let imgBase64Data = sessionStorage.getItem('imgBase64Data')
|
||||
let wxSigned = sessionStorage.getItem('wxSigned')
|
||||
let signInfo = localStorage.getItem('signInfo')
|
||||
let signInfo = JSON.parse(localStorage.getItem('signInfo'))
|
||||
console.log('`````````````````````````````````')
|
||||
console.log('imgBase64Data: ' + imgBase64Data)
|
||||
console.log('wxSigned: ' + wxSigned)
|
||||
@@ -601,26 +568,28 @@ export default {
|
||||
console.log(rs)
|
||||
if (rs === 'success') {
|
||||
this.Time = true
|
||||
this.isOver = true
|
||||
this.radio = '1'
|
||||
this.base64 = imgBase64Data
|
||||
this.isDisabledComplite = false
|
||||
console.log('signInfo.status:' + signInfo.status)
|
||||
if (signInfo.status == '1') {
|
||||
// this.appntSign.signStatus = '1'
|
||||
this.appntSign.signStatus = '1'
|
||||
console.log('``````````````````')
|
||||
console.log('appntSign:' + this.appntSign)
|
||||
this.$set(this.appntSign, 'signStatus', '1')
|
||||
console.log('appntSign.signStatus: ' + this.appntSign.signStatus)
|
||||
this.isSubmit = false
|
||||
this.isSign = false
|
||||
// this.isDisable = false
|
||||
} else {
|
||||
// this.insuredSign.signStatus = '1'
|
||||
this.insuredSign.signStatus = '1'
|
||||
console.log('````````````````````')
|
||||
console.log('insuredSign:' + this.insuredSign)
|
||||
// this.isDisableInsured = false
|
||||
this.$set(this.insuredSign, 'signStatus', '1')
|
||||
console.log('insuredSign.signStatus: ' + this.insuredSign.signStatus)
|
||||
// this.isDisabledComplite = false
|
||||
}
|
||||
}
|
||||
console.log('第二次进入保单,完成状态查看')
|
||||
console.log(this.isDisabledComplite)
|
||||
} else {
|
||||
console.log('````````````````````````')
|
||||
console.log('第一次进入电子保单')
|
||||
@@ -633,6 +602,59 @@ export default {
|
||||
this.getOrderDetail()
|
||||
}
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
listenChange() {
|
||||
const { isOver, radio, appntSign, insuredSign } = this
|
||||
return { isOver, radio, appntSign, insuredSign }
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
listenChange(val) {
|
||||
let that = this
|
||||
if (!that.isWeixin) {
|
||||
if (that.signVal == '0' || that.signVal == '2') {
|
||||
if (val.isOver == true && val.radio != '' && val.appntSign.signStatus !== '1') {
|
||||
that.isDisable = false
|
||||
} else {
|
||||
that.isDisable = true
|
||||
}
|
||||
} else {
|
||||
if (val.isOver == true && val.radio != '' && val.insuredSign.signStatus !== '1') {
|
||||
that.isDisableInsured = false
|
||||
} else {
|
||||
that.isDisableInsured = true
|
||||
}
|
||||
}
|
||||
if (val.appntSign.signStatus == '1' && val.insuredSign.signStatus == '1') {
|
||||
that.isDisabledComplite = false
|
||||
} else {
|
||||
that.isDisabledComplite = true
|
||||
}
|
||||
if (val.appntSign.signStatus == '1') {
|
||||
that.isDisable = true
|
||||
}
|
||||
if (val.insuredSign.signStatus == '1') {
|
||||
that.isDisableInsured = true
|
||||
}
|
||||
} else {
|
||||
if (that.signVal == '0' || that.signVal == '2') {
|
||||
if (val.isOver == true && val.radio != '') {
|
||||
that.isDisable = false
|
||||
} else {
|
||||
that.isDisable = true
|
||||
}
|
||||
} else {
|
||||
if (val.isOver == true && val.radio != '') {
|
||||
that.isDisableInsured = false
|
||||
} else {
|
||||
that.isDisableInsured = true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
document.body.style.backgroundColor = '#fff'
|
||||
this.pdfUrl = encodeURIComponent(config.imgDomain + `/returnDirectStream?imgPath=${window.localStorage.getItem('insurance-policyUrl')}`)
|
||||
//实例化
|
||||
|
||||
@@ -37,16 +37,22 @@ export default {
|
||||
// }
|
||||
},
|
||||
goToTest() {
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + '/#/test2',
|
||||
backToFirst: '1'
|
||||
},
|
||||
routerInfo: {
|
||||
path: '/test2'
|
||||
}
|
||||
// 国富改 国富改 国富改 国富改 国富改
|
||||
EWebBridge.webCallAppInJs('download', {
|
||||
url:
|
||||
'http://116.62.236.168:7012/updown/returnDirectStream?imgPath=Ra4LpmZv2h6FrwZPS48QIETiI2AcWWLx6RavVjoAkoO8qG1KDXkTa%2FPK%2Bjuz79bSSoIyCeO4X1SY%0AGolCIepvljJzyC9aMJzb6uuQQVh3F9WVGLphInLPv0HGtHpZ3OhD',
|
||||
name: '鼎诚.pdf'
|
||||
})
|
||||
// this.$jump({
|
||||
// flag: 'h5',
|
||||
// extra: {
|
||||
// url: location.origin + '/#/test2',
|
||||
// backToFirst: '1'
|
||||
// },
|
||||
// routerInfo: {
|
||||
// path: '/test2'
|
||||
// }
|
||||
// })
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,8 +2,8 @@ const autoprefixer = require('autoprefixer')
|
||||
const pxtoviewport = require('postcss-px-to-viewport')
|
||||
|
||||
module.exports = {
|
||||
publicPath: process.env.VUE_APP_FLAG === 'production' ? '/' : '/',
|
||||
lintOnSave: process.env.VUE_APP_FLAG === 'development', //是否开启代码检查
|
||||
publicPath: process.env.NODE_ENV === 'production' ? '/' : '/',
|
||||
lintOnSave: process.env.NODE_ENV === 'development', //是否开启代码检查
|
||||
outputDir: 'dist', //打包输出目录
|
||||
productionSourceMap: false,
|
||||
css: {
|
||||
|
||||
Reference in New Issue
Block a user