Compare commits

..

1 Commits

Author SHA1 Message Date
liu.xiaofeng@ebiz-digits.com
3ae8b7a77c release 20230904-4 签字阅读文件代码逻辑修改 2023-09-06 11:44:12 +08:00
313 changed files with 12343 additions and 95783 deletions

8
.gitignore vendored
View File

@@ -3,10 +3,4 @@ dist
.eslintrc.js
.prettierrc
.idea
.history
### lockfile ###
yarn.lock
bun.lock*
.lingma
.idea

17736
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -26,16 +26,15 @@
"crypto-js": "^4.1.1",
"echarts": "^4.2.1",
"fastclick": "^1.0.6",
"html2canvas": "^1.4.1",
"js-base64": "^2.5.1",
"js-md5": "^0.7.3",
"js-sha256": "^0.9.0",
"jsencrypt": "^3.2.1",
"nprogress": "^0.2.0",
"pdfh5": "^1.2.13",
"vant": "^2.13.9",
"vant": "2.2.0",
"vee-validate": "^2.2.14",
"vue": "^2.7.16",
"vue": "^2.6.10",
"vue-hash-calendar": "^1.2.12",
"vue-pdf": "^4.0.7",
"vue-router": "^3.0.3",
@@ -53,7 +52,6 @@
"babel-eslint": "^10.0.1",
"babel-jest": "^23.6.0",
"babel-plugin-import": "^1.12.0",
"code-inspector-plugin": "^1.2.10",
"eruda": "^1.5.7",
"eslint": "^5.16.0",
"eslint-plugin-prettier": "^3.1.0",
@@ -61,7 +59,6 @@
"node-sass": "^4.14.1",
"postcss-px-to-viewport": "^1.1.1",
"sass-loader": "^7.3.1",
"terser-webpack-plugin": "^4.2.3",
"vue-template-compiler": "^2.7.16"
"vue-template-compiler": "^2.6.10"
}
}

View File

@@ -228,7 +228,7 @@ function appCallBack() {}
// H5 & webapp 调用APP并返回一个Promise对象
function triggerCallHandler(method, params) {
return new Promise(function(resolve) {
window.WebViewJavascriptBridge && WebViewJavascriptBridge.callHandler(method, params, function(response) {
WebViewJavascriptBridge.callHandler(method, params, function(response) {
resolve(response)
})
})

View File

@@ -26,33 +26,6 @@ export default {
reload: this.reload
}
},
created () {
// 在页面加载时读取sessionStorage
// if (sessionStorage.getItem('store')) {
// this.$store.replaceState(Object.assign({}, this.$store.state, JSON.parse(sessionStorage.getItem('store'))))
// }
// // 在页面刷新时将store保存到sessionStorage里
// window.addEventListener('beforeunload', () => {
// sessionStorage.setItem('store', JSON.stringify(this.$store.state))
// })
//ios刷新时vuex信息保留
let isiOS = !!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
if (isiOS) {
//在页面刷新时将vuex里的信息保存到缓存里
window.addEventListener("pagehide", () => {
localStorage.setItem("store", JSON.stringify(this.$store.state))
})
//在页面加载时读取localStorage里的状态信息
localStorage.getItem("store") && this.$store.replaceState(Object.assign(this.$store.state,JSON.parse(localStorage.getItem("store"))));
} else {
//在页面刷新时将vuex里的信息保存到缓存里
window.addEventListener("beforeunload", () => {
localStorage.setItem("store", JSON.stringify(this.$store.state))
})
//在页面加载时读取localStorage里的状态信息
localStorage.getItem("store") && this.$store.replaceState(Object.assign(this.$store.state,JSON.parse(localStorage.getItem("store"))));
}
},
mounted(){
},
methods: {

View File

@@ -1,127 +0,0 @@
import request from '@/assets/js/utils/request'
import getUrl from '@/assets/js/utils/get-url'
// 查询登录人所属项目列表
export function gbcProjectList(data) {
return request({
url: getUrl('/agent/gbc/project/list', 1),
method: 'post',
data
})
}
// 查询项目详情
export function gbcProjectDetail(data) {
return request({
url: getUrl('/agent/gbc/project/detail', 1),
method: 'post',
data
})
}
// 此接口是后端用于将GBC项目信息同步至登录用户信息即UserModel中的接口前端在选中项目后需要调用此接口。
export function gbcProjectConfirm(data) {
return request({
url: getUrl('/agent/gbc/project/confirm', 1),
method: 'post',
data
})
}
// GBC获取首页轮播图和上头条内容
export function homeConfigGBC(data) {
return request({
url: getUrl('/customer/agent/homeConfigGBC', 1,3),
method: 'get',
data
})
}
// 根据项目编码获取科室信息
export function getDepartmentByProjectNo(data) {
return request({
url: getUrl('/agent/gbc/project/getDepartmentByProjectNo', 1),
method: 'post',
data
})
}
// 按年份查询登录人所属项目列表
export function getGBCprojectlistByYear(data) {
return request({
url: getUrl('/agent/gbc/project/listByYear', 1),
method: 'post',
data
})
}
// 查询项目下的客户列表
export function getGBCappntlist(data) {
return request({
url: getUrl('/sale/gbc/appnt/list', 1),
method: 'post',
data
})
}
// 查询项目下的客户列表
export function getGBCappntDetail(data) {
return request({
url: getUrl('/sale/gbc/appnt/detail', 1),
method: 'post',
data
})
}
// 保存客户类型
export function getGBCappntTypeSave(data) {
return request({
url: getUrl('/sale/gbc/appnt/type/save', 1),
method: 'post',
data
})
}
// 保存客户沟通记录
export function getGBCappntConnectSave(data) {
return request({
url: getUrl('/sale/gbc/appnt/connect/save', 1),
method: 'post',
data
})
}
// 获取GBC一级产品
export function getGBCRiskList(data) {
return request({
url: getUrl('/sale/product/getGBCRiskList ', 1),
method: 'post',
data
})
}
// GBC一级产品校验
export function gbcAppntCheckProdect(data) {
return request({
url: getUrl('/sale/gbc/appnt/checkProdect ', 1),
method: 'post',
data
})
}
// GBC一级产品校验
export function saveOrUpdateGbc(data) {
return request({
url: getUrl('/sale/gbc/appnt/saveOrUpdateGbc', 1),
method: 'post',
data
})
}
// GBC数据看板
export function dataShow(data) {
return request({
url: getUrl('/sale/gbc/data/show', 1),
method: 'post',
data
})
}

View File

@@ -1,46 +0,0 @@
import request from '@/assets/js/utils/request'
import getUrl from '@/assets/js/utils/get-url'
// 银保代理人签署信息查询接口
export function getContractInfo(data) {
return request({
url: getUrl('/agent/enterYB/getContractInfo', 1),
method: 'post',
data
})
}
// 银保代理人签署信息接收接口
export function putContractInfo(data) {
return request({
url: getUrl('/agent/enterYB/putContractInfo', 1),
method: 'post',
data
})
}
// 生成电子合同pdf
export function generateAgreementYB(data) {
return request({
url: getUrl('/agent/enterYB/generateAgreementYB', 1),
method: 'post',
data
})
}
// 获取验证码
export function getAuthCode(data) {
return request({
url: getUrl('/customer/authcode/noLoginedSend', 1),
method: 'post',
data
})
}
// 校验验证码
export function checkSignYB(data) {
return request({
url: getUrl('/customer/authcode/checkSignYB', 1),
method: 'post',
data
})
}

View File

@@ -24,12 +24,4 @@ export function queryOutOrderList(data) {
method: 'post',
data
})
}
// 出单详情
export function queryOutOrderDetail(data) {
return request({
url: getUrl(`/sale/order/queryOutOrderDetail`, 1),
method: 'post',
data
})
}

View File

@@ -39,30 +39,10 @@ export function getOrgList(data) {
// 获取MIS全部机构 (分级)接口--因内勤多加一级,所以用这个接口
export function getMisBranchComList(data) {
// data.isJzg false 为内勤
// data.isJzg true 为外勤
return request({
url: getUrl( '/data/performance/getMisBranchComList', 1),
method: 'post',
data
})
}
export function getMisBranchComList2(data) {
// data.isJzg false 为内勤
// data.isJzg true 为外勤
return request({
url: getUrl( '/agent/agent/getJZGManageComList' , 1),
url: getUrl('/data/performance/getMisBranchComList', 1),
method: 'post',
data
})
}
// 内勤机构
// export function getMisBranchComList(data) {
// return request({
// url: getUrl('/data/performance/getMisBranchComList', 1),
// method: 'post',
// data
// })
// }

View File

@@ -3,7 +3,7 @@
* @Date: 2021-03-26 10:38:37
* @LastEditTime: 2021-04-02 16:10:30
* @LastEditors: PangXingYue
* @Description:
* @Description:
* @FilePath: \ebiz-h5\src\api\ebiz\cardList\cardList.js
*/
// 卡单接口
@@ -95,7 +95,7 @@ export function getPayTemp(data) {
//
export function getShareParam(data) {
return request({
url: getUrl('/customer/account/getShareParam', 1),
url: getUrl('/customer/account/getShareParam', 1),
method: 'post',
data
})
@@ -168,12 +168,4 @@ export function deleteGroupCardByInsured(data) {
method: 'post',
data
})
}
// 不让跨天支付 单新契约出单跨天支付流程优化
export function cardContIsPay(data) {
return request({
url: getUrl('/sale/card/contIsPay', 1),
method: 'post',
data
})
}
}

View File

@@ -117,15 +117,4 @@ export function funcPermCheck(data) {
method: 'post',
data
})
}
/** add by zhangweiwei FCRS-764 国富无忧两全保险B款新增主险职业校验逻辑 start at 20240807 */
// 校验职业是否符合产品要求
export function occupationCodeCheck(data) {
return request({
url: getUrl('/sale/product/occupationCodeCheck', 1),
method: 'post',
data
})
}
/** add by zhangweiwei FCRS-764 国富无忧两全保险B款新增主险职业校验逻辑 end at 20240807 */
}

View File

@@ -90,11 +90,3 @@ export function queryOutPosters(data) {
})
}
//大单榜海报列表接口
export function queryOutPostersBig(data) {
return request({
url: getUrl(`/sale/makePosters/queryOutPostersBig`, 1),
method: 'post',
data
})
}

View File

@@ -1,34 +0,0 @@
import request from '@/assets/js/utils/request'
import getUrl from '@/assets/js/utils/get-url'
export function healthgetRenewalList(data) {
return request({
url: getUrl('/sale/health/getRenewalList', 1),
method: 'post',
data
})
}
export function healthgetRenewalListDetail(data) {
return request({
url: getUrl('/sale/health/getRenewalListDetail', 1),
method: 'post',
data
})
}
export function reasonForNonRenewalSubmitted(data) {
return request({
url: getUrl('/sale/health/reasonForNonRenewalSubmitted', 1),
method: 'post',
data
})
}
export function getAgentManager(data) {
return request({
url: getUrl('/sale/health/getAgentManager', 1),
method: 'post',
data
})
}

View File

@@ -118,13 +118,3 @@ export function exportExcel(data) {
data
})
}
export function base64Excel(data) {
return request({
// url: 'http://10.10.100.98:7012/updown/uploadBase64Image',
url: getUrl('/uploadBase64Image', 1,2),
method: 'post',
data
})
}

View File

@@ -10,29 +10,6 @@ export function saveOrUpdateOrderInfo(data) {
data
})
}
/** 获取最新的产品列表
* @returns {import("axios").AxiosPromise<{
* "result": string,
* "resultMessage": string,
* "content": string[]
* }>}
*
* ### 示例返回结果
* ```json
* {
* "result": "0",
* "resultMessage": "",
* "content": ["GFRS_M0105"]
* }
* ```
*/
export function newProducts() {
return request({
url: getUrl('/sale/order/getNewSaleProduct', 1),
method: 'get'
})
}
// 核保试算
export function orderTrial(data) {
return request({
@@ -127,7 +104,7 @@ export function uploadImg(data) {
// 上传图片
export function uploadImg2(data) {
return request1({
url: getUrl('/uploadImage?imgType=' + store.getters.getUploadImgType + '&orderNo=' + store.getters.getUploadImgOrderNo, 1, 2),
url: getUrl('/uploadImage?imgType='+store.getters.getUploadImgType+'&orderNo='+store.getters.getUploadImgOrderNo, 1, 2),
method: 'post',
data
})
@@ -340,6 +317,7 @@ export function getActivityList(data) {
})
}
// 身份证OCR识别
export function IDCardOCR(data) {
return request1({
@@ -357,6 +335,17 @@ export function getBankCardSignState(data) {
})
}
// 入司人自互保件校验
export function CommitmentSelfCheck(data) {
return request1({
url: getUrl('/sale/commitment/CommitmentSelfCheck', 1),
method: 'post',
data
})
}
// 获取柳州分红万能投连型产品编码集合
export function getUniversalCodeLst(data) {
return request({
@@ -364,72 +353,4 @@ export function getUniversalCodeLst(data) {
method: 'post',
data
})
}
// 获取柳州分红万能投连型产品编码集合
export function getDoubleRecordProductLst(data) {
return request({
url: getUrl('/sale/product/getDoubleRecordProductLst ', 1),
method: 'post',
data
})
}
// 指定受益人身份四要素
export function checkAppointBnf(data) {
return request({
url: getUrl('/sale/bnfCheck/checkAppointBnf ', 1),
method: 'post',
data
})
}
export function appntIsAgent(data) {
return request({
url: getUrl('/sale/insure/appntIsAgent', 1),
method: 'post',
data
})
}
export function saveOrderType(data) {
return request({
url: getUrl('/sale/order/saveOrderType', 1),
method: 'post',
data
})
}
export function changeOrderStatus(data) {
return request({
url: getUrl('/sale/order/changeOrderStatus', 1),
method: 'post',
data
})
}
export function riskLevelCheck(data) {
return request({
url: getUrl('/sale/order/riskLevelCheck', 1),
method: 'post',
data
})
}
// 新市民产品服务通知/安心保、爱心保产品提示
export function sendServicePopup(data) {
return request({
url: getUrl('/sale/sendNotice/sendServicePopup', 1),
method: 'post',
data
})
}
//投保流程优化保存问卷测评接口,与原接口一致
export function saveEvalateAnswer(data) {
return request({
url: getUrl('/sale/order/saveOrUpdateAssessInfo ', 1),
method: 'post',
data
})
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1002 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 107 KiB

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 187 KiB

After

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 342 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 272 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 189 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 428 KiB

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

View File

@@ -1,8 +0,0 @@
export const riskMap = Object.freeze({
riskName: '主险名称',
payIntv: "交费方式",
insuYear: "保险期间",
payEndYear: "缴费期间",
amt: "保额",
prem: "保费"
})

View File

@@ -1,71 +0,0 @@
import Vue from 'vue'
import cacheUtils from '@/assets/js/utils/cacheUtils'
const { setLocItem, getLocItem, removeLocItem } = cacheUtils
/**
* 同步本地存储数据函数
* 使用Vue的响应式系统在数据变化时自动更新localStorage
* @param {Object|Array} oldData - 需要被监听的数据对象或数组(即将弃用)
* @param {Object} options - 配置选项
* @param {string} options.name - localStorage中存储数据的键名
* @param {boolean} options.release - 是否在离开页面时释放变量
* @returns {Object|Array} 返回一个响应式对象或数组会自动同步到localStorage
*
* ### 使用示例
*
* const beneficiaries = syncLocalstorageData([], {name: 'beneficiaryInfo'})
*/
export function syncLocalstorageData(oldData, { data = undefined, name = '', release = false } = {}) {
// 兼容处理
data = oldData || data
if (!name || typeof name !== 'string') {
console.error('[syncLocalstorage] name must be a non-empty string')
return data
}
// 从localStorage加载已保存的数据如果存在
// try {
// const savedData = JSON.parse(getLocItem(name) || 'null')
// if (savedData !== null) {
// if (Array.isArray(savedData) && Array.isArray(data)) {
// data.length = 0
// data.push(...savedData)
// } else if (typeof savedData === 'object' && savedData !== null) {
// Object.keys(data).forEach(key => delete data[key])
// Object.assign(data, savedData)
// }
// }
// } catch (e) {
// console.error(`[syncLocalstorage] Failed to parse saved data for ${name}:`, e)
// }
// 创建Vue实例来监听数据变化
const vm = new Vue({
data: {
value: data
},
watch: {
value: {
handler(newVal) {
setLocItem(name, JSON.stringify(newVal))
},
deep: true,
immediate: true
}
}
})
// 在页面卸载时清理
if (release) {
const cleanup = () => {
removeLocItem(name)
window.removeEventListener('unload', cleanup)
}
window.addEventListener('unload', cleanup)
}
// 返回响应式数据
return vm.value
}

View File

@@ -1,107 +0,0 @@
/**
* 防抖函数
* @param {Function} fn - 需要防抖的函数
* @param {Number} delay - 延迟时间,单位毫秒
* @param {Boolean} immediate - 是否立即执行
* @returns {Function} 防抖后的函数
*/
export function debounce(fn, delay, immediate = false) {
let timeout = null;
let isInvoked = false;
return function (...args) {
const context = this;
if (timeout) clearTimeout(timeout);
if (immediate) {
if (!isInvoked) {
fn.apply(context, args);
isInvoked = true;
}
timeout = setTimeout(() => {
isInvoked = false;
}, delay);
} else {
timeout = setTimeout(() => {
fn.apply(context, args);
}, delay);
}
};
}
/**
* 节流函数
* @param {Function} fn - 需要节流的函数
* @param {Number} delay - 节流时间,单位毫秒
* @returns {Function} 节流后的函数
*/
export function throttle(fn, delay) {
let lastTime = 0;
let timeout = null;
return function (...args) {
const context = this;
const now = Date.now();
if (now - lastTime > delay) {
clearTimeout(timeout);
fn.apply(context, args);
lastTime = now;
} else {
clearTimeout(timeout);
timeout = setTimeout(() => {
fn.apply(context, args);
lastTime = now;
}, delay - (now - lastTime));
}
};
}
/**
* 节流函数 - 定时器版本
* @param {Function} fn - 需要节流的函数
* @param {Number} delay - 节流时间,单位毫秒
* @returns {Function} 节流后的函数
*/
export function throttleTimer(fn, delay) {
let timeout = null;
return function (...args) {
const context = this;
if (!timeout) {
timeout = setTimeout(() => {
fn.apply(context, args);
timeout = null;
}, delay);
}
};
}
/**
* 节流函数 - 时间戳版本
* @param {Function} fn - 需要节流的函数
* @param {Number} delay - 节流时间,单位毫秒
* @returns {Function} 节流后的函数
*/
export function throttleTimestamp(fn, delay) {
let lastTime = 0;
return function (...args) {
const context = this;
const now = Date.now();
if (now - lastTime > delay) {
fn.apply(context, args);
lastTime = now;
}
};
}
export default {
debounce,
throttle,
throttleTimer,
throttleTimestamp
};

View File

@@ -1,168 +1,167 @@
import utilsAge from '@/assets/js/utils/age'
export default {
//计算身份证起始日期
getStartDate: function(birthday, endDate) {
getStartDate: function(age, endDate) {
let startDate = '' //证件起始日期
let startage = ''
let endage = utilsAge.getAge(birthday, new Date(endDate))
let thisDate = new Date() //当年日期
let thisyear = thisDate.getFullYear() //当前年份
/**
* @Author: LiuXiaoFeng
* @Description: 未满16周岁的公民申领的居民身份证有效期为5年
* @Date: 2023/7/4
**/
if (endage - 5 < 16) {
let date2_29 = endDate.slice(5, 11)
if(date2_29 == '02-29'){
let thisyear = Number(endDate.slice(0, 4)) - 5
if (thisyear % 4 == 0 && thisyear % 100 != 0 || thisyear % 400 == 0){
startDate = thisyear + '-02-29'
} else {
startDate = thisyear + '-02-28'
}
}else{
startDate = String(Number(endDate.slice(0, 4)) - 5) + endDate.slice(4, 11)
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)
}
}
/**
* @Author: LiuXiaoFeng
* @Description: 年满16周岁25周岁的公民申领的居民身份证有效期为10年
* @Date: 2023/7/4
**/
else if (endage - 5 >= 16 && endage - 10 <= 25) {
} 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)
startage = utilsAge.getAge(birthday, new Date(startDate))
if(startage >= 16 && startage <= 25){
let date2_29 = endDate.slice(5, 11)
if(date2_29 == '02-29') {
let thisyear = Number(endDate.slice(0, 4)) - 10
if (thisyear % 4 == 0 && thisyear % 100 != 0 || thisyear % 400 == 0){
startDate = thisyear + '-02-29'
} else {
startDate = thisyear + '-02-28'
}
} else {
startDate
}
} 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)
}
}
/**
* @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){
let date2_29 = endDate.slice(5, 11)
if(date2_29 == '02-29') {
let thisyear = Number(endDate.slice(0, 4)) - 20
if (thisyear % 4 == 0 && thisyear % 100 != 0 || thisyear % 400 == 0){
startDate = thisyear + '-02-29'
} else {
startDate = thisyear + '-02-28'
}
} else {
startDate
}
} 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)
}
}
/**
* @Author: LiuXiaoFeng
* @Description: 年满46周岁的公民申领居民身份证有效期为长期
* @Date: 2023/7/4
**/
else if (endage - 20 >= 46) {
startDate
}
if(new Date(birthday).getTime() >= new Date(startDate).getTime() || new Date().getTime() < new Date(startDate).getTime()){
startDate = ''
} else if (age > 65) {
/**
* @Author: LiuXiaoFeng
* @Description: 65周岁以上的证件有效期为长期
* @Date: 2023/7/4
**/
}
return startDate
},
//计算身份证截止日期
getEndDate: function(birthday, startDate) {
getEndDate: function(age, startDate) {
let endDate = '' //证件截止日期
let startage = utilsAge.getAge(birthday, new Date(startDate))
/**
* @Author: LiuXiaoFeng
* @Description: 未满16周岁的公民申领的居民身份证有效期为5年
* @Date: 2023/7/4
**/
if (startage < 16) {
let date2_29 = startDate.slice(5, 11)
if(date2_29 == '02-29') {
let thisyear = Number(startDate.slice(0, 4)) + 5
if (thisyear % 4 == 0 && thisyear % 100 != 0 || thisyear % 400 == 0){
return endDate = thisyear + '-02-29'
} else {
return endDate = thisyear + '-02-28'
}
} else {
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) {
let date2_29 = startDate.slice(5, 11)
if(date2_29 == '02-29') {
let thisyear = Number(startDate.slice(0, 4)) + 10
if (thisyear % 4 == 0 && thisyear % 100 != 0 || thisyear % 400 == 0){
return endDate = thisyear + '-02-29'
} else {
return endDate = thisyear + '-02-28'
}
} else {
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) {
let date2_29 = startDate.slice(5, 11)
if(date2_29 == '02-29') {
let thisyear = Number(startDate.slice(0, 4)) + 20
if (thisyear % 4 == 0 && thisyear % 100 != 0 || thisyear % 400 == 0){
return endDate = thisyear + '-02-29'
} else {
return endDate = thisyear + '-02-28'
}
} else {
return endDate = String(Number(startDate.slice(0, 4)) + 20) + startDate.slice(4, 11)
}
}
/**
* @Author: LiuXiaoFeng
* @Description: 年满46周岁的公民申领居民身份证有效期为长期
* @Date: 2023/7/4
**/
else if (startage > 45) {
return endDate
}
},
let thisDate = new Date() //当年日期
let thisyear = thisDate.getFullYear() //当前年份
//计算户口本截止日期
getEndDate2: function(birthday, startDate) {
let endDate = ''
let date2_29 = startDate.slice(5, 11)
if(date2_29 == '02-29'){
let thisyear = Number(startDate.slice(0, 4)) + 16
if (thisyear % 4 == 0 && thisyear % 100 != 0 || thisyear % 400 == 0){
return endDate = thisyear + '-02-29'
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 {
return endDate = thisyear + '-02-28'
endDate = String(Number(startDate.slice(0,4)) + 10) + startDate.slice(4,11)
}
}else{
return endDate = String(Number(startDate.slice(0, 4)) + 16) + 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
**/
}
return endDate
}
}

View File

@@ -965,10 +965,10 @@ export default {
id: 2,
text: '户口本'
},
// {
// id: 3,
// text: '出生证'
// },
{
id: 3,
text: '出生证'
},
{
id: 4,
text: '外国人护照'
@@ -1059,36 +1059,6 @@ export default {
text: '户口本'
}
],
// 新市民身份
isNewPeopleFlag: [
{
id: 1,
text: '是'
},
{
id: 0,
text: '否'
}
],
// 新市民类型 创业、就业、子女上学、投奔子女
npType: [
{
id: 1,
text: '创业'
},
{
id: 2,
text: '就业'
},
{
id: 3,
text: '子女上学'
},
{
id: 4,
text: '投奔子女'
}
],
//出生证明
birthType: [
{
@@ -1773,7 +1743,7 @@ export default {
},
{
id: '07',
text: '核保失败'
text: '公司谢绝'
},
{
id: '08',
@@ -1977,7 +1947,7 @@ export default {
},
{
id: '58',
text: '待支付'
text: '待客户付款'
},
{
id: '59',
@@ -3757,36 +3727,36 @@ export default {
label: "元"
},
{
code: "AppntModerateOrMinorDiseaseExemptionPremiumC",
label: "元"
code: "AppntModerateOrMinorDiseaseExemptionPremiumC",
label: "元"
},
{
code: "AppntDeathOrTotalDiseaseExemptionPremiumC",
label: "元"
code: "AppntDeathOrTotalDiseaseExemptionPremiumC",
label: "元"
},
{
code: "InsuredCriticalDiseaseExemptionPremiumC",
label: "元"
code: "InsuredCriticalDiseaseExemptionPremiumC",
label: "元"
},
{
code: "InsuredModerateOrMinorDiseaseExemptionPremiumC",
label: "元"
code: "InsuredModerateOrMinorDiseaseExemptionPremiumC",
label: "元"
},
{
code: "InsuredDeathOrTotalDiseaseExemptionPremiumC",
label: "元"
code: "InsuredDeathOrTotalDiseaseExemptionPremiumC",
label: "元"
},
{
code: "transport_G",
label: "元"
code: "transport_G",
label: "元"
},
{
code: "transport_H",
label: "元"
code: "transport_H",
label: "元"
},
{
code: "transport_J",
label: "元"
code: "transport_J",
label: "元"
},
{
code: "firstMajorDiseaseInsurance",
@@ -3808,14 +3778,6 @@ export default {
code: "GFRS_M0073__cashValue",
label: "元"
},
{
code: "specMajorDiseaseInsurance",
label: "元"
},
{
code: "expireSurvivalInsurance",
label: "元"
},
{
code: "currentBonus_L",
label: "元"
@@ -3831,151 +3793,6 @@ export default {
{
code: "riskAC_M",
label: "元"
},
{
code: "CardiovascularCerebrovascularDiseasesInsurance",
label: "元"
},
{
code: "childrenSpecificDiseaseInsurance",
label: "元"
},
{
code: "maleSpecificDiseaseInsurance",
label: "元"
},
{
code: "femaleSpecificDiseaseInsurance",
label: "元"
},
{
code: "supplementarySpecificDiseaseInsurance",
label: "元"
},
{
code: "deductible",
label: "元"
},
{
code: "deductible",
label: "免赔额"
},
{
code: "accidentalDeductible",
label: "元"
},
{
code: "accidentalLimit",
label: "%"
},
{
code: "policyFee",
label: "元"
},
{
code: "expireSurvivalInsurance_L",
label: "元"
},
{
code: "expireSurvivalInsurance_M",
label: "元"
},
{
code: "riskCost_L",
label: "元"
},
{
code: "riskCost_M",
label: "元"
},
{
code: "GFRS_M0087__cashValue",
label: "元"
},
{
code: "deathDisabilityInsurance",
label: "元"
},
{
code: "middleDiseaseMildillnessExemptionPremium",
label: "元"
},
{
code: "malignantTumorAdditionalInsurance",
label: "元"
},
{
code: "specCardiovascularCerebrovascularDiseasesInsurance",
label: "元"
},
{
code: "firstCriticalIllnessCareFund",
label: "元"
},
{
code: "firstModerateIllnessCareFund",
label: "元"
},
{
code: "firstLightIllnessCareFund",
label: "元"
},
{
code: "GFRS_M0086__cashValue",
label: "元"
},
{
code: "wuyouliangquanbkx",
label: "元"
},
{
code: "currentPaidUpAdditions_L",
label: "元"
},
{
code: "currentPaidUpAdditions_M",
label: "元"
},
{
code: "totalPaidUpAdditions_L",
label: "元"
},
{
code: "totalPaidUpAdditions_M",
label: "元"
},
{
code: "GFRS_M0094__cashValue",
label: "元"
},
{
//养老年金开始领取年龄
code: 'pensionAge',
label: '岁'
},
{
code: 'AppntCriticalDiseaseExemptionPremiumD',
label: '元'
},
{
code: 'AppntModerateOrMinorDiseaseExemptionPremiumD',
label: '元'
},
{
code: 'AppntDeathOrTotalDiseaseExemptionPremiumD',
label: '元'
},
{
code: 'InsuredCriticalDiseaseExemptionPremiumD',
label: '元'
},
{
code: 'InsuredModerateOrMinorDiseaseExemptionPremiumD',
label: '元'
},
{
code: 'InsuredDeathOrTotalDiseaseExemptionPremiumD',
label: '元'
}
],
// 卡单与短期险重新投保选择职业类别时,两个模块职业类型数据的排序不同,创建这个数据字典,用于在选择职业类别时,作为一个参数传入组件,
@@ -4005,7 +3822,7 @@ export default {
{ id: 'M', text: '母亲' }
],
// <!--------- 津贴申请专用 end --------->
imageInfoType: [
imageInfoType:[
{ id: '1', text: '居民身份证正面' },
{ id: '2', text: '居民身份证反面' },
{ id: '3', text: '银行卡正面' },

View File

@@ -1,4 +1,9 @@
export default {
isAll: false,
encodeKeys: process.env.NODE_ENV === 'development' ? [] : ['saleInsuredInfo', 'saleInsuredPersonInfo', 'appntDTO', 'proposalAppnt']
encodeKeys: [
'saleInsuredInfo',
'saleInsuredPersonInfo',
'appntDTO',
'proposalAppnt'
]
}

View File

@@ -1,44 +0,0 @@
export function deepClone(obj, hash = new WeakMap()) {
if (window.structuredClone) return window.structuredClone(obj)
// 处理 null 或 undefined
if (obj === null || typeof obj !== 'object') {
return obj
}
// 处理循环引用
if (hash.has(obj)) {
return hash.get(obj)
}
// 处理 Date 对象
if (obj instanceof Date) {
return new Date(obj)
}
// 处理 RegExp 对象
if (obj instanceof RegExp) {
return new RegExp(obj.source, obj.flags)
}
// 处理数组
if (Array.isArray(obj)) {
const clonedArr = []
hash.set(obj, clonedArr)
obj.forEach((item, index) => {
clonedArr[index] = deepClone(item, hash)
})
return clonedArr
}
// 处理普通对象
if (typeof obj === 'object') {
const clonedObj = {}
hash.set(obj, clonedObj)
Object.keys(obj).forEach(key => {
clonedObj[key] = deepClone(obj[key], hash)
})
return clonedObj
}
return obj
}

View File

@@ -62,8 +62,7 @@ let sale = [
'/sale/insure/selfToHuman',
'/sale/insure/orderPayStatusQuery',
'/sale/order/revokeOrder',
'/sale/product/getcompany',
'/sale/product/occupationCodeCheck'
'/sale/product/getcompany'
] //在线投保
let agentEnter = [
'/agent/enter/share',
@@ -221,7 +220,7 @@ service.interceptors.request.use(
let isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //判断是否是 android终端
if (isAndroid) {
// setTimeout(() => {
if (window.location.hash !== '#/my/privacyPolicy' && window.location.hash !== '#/YB_agentSign/step1' && window.location.hash !== '#/YB_agentSign/step2') {
if (window.location.hash !== '#/my/privacyPolicy') {
console.log(window.Android.getToken(), 'Android获取token')
CacheUtils.setLocItem('token', window.Android.getToken())
}

View File

@@ -1,15 +0,0 @@
/**
* 处理 json 键值对,到 url 中
*/
export function processJson(json) {
if (typeof json !== 'object') return
if (window.URLSearchParams) return new URLSearchParams(json).toString()
let url = ''
for (const key in json) {
if (json.hasOwnProperty(key)) {
url += key + '=' + json[key] + '&'
}
}
return url.substring(0, url.length - 1)
}

View File

@@ -59,19 +59,16 @@ Validator.extend('email', {
Validator.extend('name', {
getMessage: () => '姓名长度为2-120个字符之内只能输入汉字或者英文',
validate: value => {
return value
// return /^[\u4e00-\u9fa5·]{1,15}$/.test(value)
// return /^[a-zA-Z\.\s\u4e00-\u9fa5]{2,120}$/.test(value);
return /^[a-zA-Z\.\s\u4e00-\u9fa5]{2,120}$/.test(value);
}
});
//sale 投保名字 2个汉字4个字母
Validator.extend('salename', {
getMessage: () => '亲,请确认您录入的姓名是否正确哦~',
validate: value => {
return value
// return /^[\u4e00-\u9fa5·]{1,15}$/.test(value)
// return /^[a-zA-Z\.\s\u4e00-\u9fa5]{2,120}$/.test(value);
// return /^[\u4e00-\u9fa5·]{2,120}$|^[a-zA-Z\s]{4,120}$/.test(value);
return /^[\u4e00-\u9fa5·]{2,120}$|^[a-zA-Z\s]{4,120}$/.test(value);
}
});
// sale - 详细地址 - 详细地址须同时包含汉字和数字,

View File

@@ -303,7 +303,7 @@
box-sizing: border-box;
content: " ";
pointer-events: none;
right: 4.26667vw;
right: 0;
bottom: 0;
left: 4.26667vw;
border-bottom: 1px solid #dadada;

View File

@@ -16,7 +16,7 @@
<van-field
minlength="6"
class="pt5 mt10"
style="border-top: 1px solid #eaeaea; border-bottom: 1px solid #eaeaea"
style="border-top:1px solid #eaeaea;border-bottom:1px solid #eaeaea"
v-model="checkModel.pwd"
clearable
type="password"
@@ -207,7 +207,7 @@ export default {
operateCodeType: '0'
}
//获取验证码
getAuthCode(data).then((res) => {
getAuthCode(data).then(res => {
if (res.result == 0) {
this.checkModel.smsId = res.sessionId
this.checkModel.smsCode = null
@@ -225,18 +225,6 @@ export default {
}
})
}
},
watch: {
/**
* 监听弹窗显示隐藏
*/
'checkModel.show'(val) {
console.log('checkModel.show', val)
// 显示时禁止截屏,不显示时恢复截屏
EWebBridge.webCallAppInJs('enable_screen_capture', {
enable: !val
})
}
}
}
</script>

View File

@@ -1,29 +0,0 @@
<script>
export default {
name: 'DestroyablePopup',
data() {
return {
isPopupOpen: this.show, isDestroyPopup: false
}
},
watch: {
isPopupOpen(val) {
this.isPopupOpen = val
this.$emit('update:show', val)
},
show() {
if (this.show) this.isDestroyPopup = false
this.$nextTick(() => this.isPopupOpen = this.show)
}
},
props: ['show']
}
</script>
<template>
<div v-if="!isDestroyPopup" style="max-height: 90vh">
<van-popup v-model="isPopupOpen" round position="bottom" @closed="()=>{isDestroyPopup = true}">
<slot></slot>
</van-popup>
</div>
</template>

View File

@@ -1,199 +0,0 @@
<template>
<div class="popup-ques-result">
<van-popup
v-model="showResultPopup"
position="bottom"
class="result-popup"
@click-overlay = "clickOverlay('overlay')"
>
<div class="result-popup-title">
<div>
<span></span>
<span>您的风险能力测评结果</span>
</div>
<van-icon name="cross" @click="clickOverlay('icon')"/>
</div>
<div class="result-popup-content">
<div class='content'>尊敬的{{appntInfo.name}}{{appntInfo.sex=='0'?'先生':'女士'}}</div>
<div class='content'>根据您填写的评估问卷本公司对您的保险需求及财务支付水平进行了综合评估结果反馈如下</div>
<div class='content'>您适合购买的产品类型为
<span class='product-type'>{{resultRiskType}}</span>
</div>
<div class="levelList">
<div v-for="(item,idx) in productLevel" :key="idx" class="itemLevel">
{{ item }}
</div>
</div>
<div class='tips'>特别提示</div>
<div class='tips tips-content'> 本次评估结果及匹配意见供您决策参考并不代表本公司对上述产品的风险及收益作出实质性判断或者保证若您提供的信息发生任何重大变化建议您对所购买的产品及时进行重新审视以确保您的购买决定与您可承受的风险程度等实际情况一致</div>
<div class='tips tips-content'>建议您充分考察该产品的特征自行做出投保决定请您确保您的决定是独立自主真实的</div>
</div>
<!-- 未测评过底部按钮 -->
<div class="bottom-btn bg-white flex">
<van-button type="danger" square size="large" plain v-no-more-click="1000" @click="reTest" v-if="showRetest">重新测评</van-button>
<van-button type="danger" square size="large" v-no-more-click="1000" @click="toInsure">我已知晓继续投保</van-button>
</div>
<!-- 已测评过底部按钮 -->
<!-- <div class="bottom-btn bg-white flex testBtn" v-if="showHasTested">
<van-button type="danger" square size="large" plain v-no-more-click="1000" @click="goBack">上一步</van-button>
<van-button type="danger" square size="large" class="btn" v-no-more-click="1000" @click="goNext">已知晓继续投保</van-button>
<van-button type="danger" square size="large" v-no-more-click="1000" @click="reStart">重新评估</van-button>
</div> -->
</van-popup>
</div>
</template>
<script>
export default {
name: 'PopupQuesResult',
props: {
showResultPopup: {
type: Boolean,
default: false
},
showRetest: { //展示重新测评
type: Boolean,
default: false
},
appntInfo:{
type: Object,
default: () => {}
},
resultRiskType:{
type:String,
default:''
},
assessResultDescList:{
type:Array,
default: () => []
}
},
data() {
return {
//showNoTested: false
productLevel:[
'P1分类保险期限为一年期及以下的人身保险产品包括人寿保险、健康保险、意外伤害保险等',
'P2分类保险期限为一年期以上的普通型人身保险包括人寿保险、年金保险、健康保险、意外伤害保险等',
'P3分类专属商业养老保险、分红型人身保险、万能型人身保险其他符合本级特征描述的人身保险产品包括人寿保险、年金保险等',
'P4分类投资连结型人身保险、变额年金保险其他符合本级特征描述的人身保险产品包括人寿保险、年金保险等',
'P5分类符合本级特征描述的人身保险产品']
}
},
methods: {
clickOverlay(extra){
this.$emit('clickOverlayHandler',extra)
},
//1.未测评过弹窗按钮
//1.1 重新测评
reTest(){
this.$emit('reTestHandler')
},
//1.2 我已知晓,继续投保
toInsure(){
this.$emit('toInsureHandler')
},
}
}
</script>
<style lang="scss" scoped>
.popup-ques-result{
.result-popup{
border-top-left-radius: 15px;
border-top-right-radius: 15px;
.result-popup-title{
padding:10px 15px 10px 0;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 18px;
font-weight: bolder;
color:#000;
border-bottom: 1px solid #ebe7e7;
div{
display:flex;
align-items: center;
span:first-child{
display:block;
height:20px;
width: 5px;
background-color: red;
border-radius: 2px;
margin-right:15px;
}
}
}
.result-popup-content{
padding:10px 10px 60px;
box-sizing:border-box;
.content{
font-size: 14px;
font-weight: bold;
color: #333;
margin-bottom: 5px;
.product-type{
color: #ee0a24;
font-weight: bold;
}
&:nth-child(2){
text-indent: 2em;
}
&:nth-child(3){
text-indent: 2em;
margin-bottom:5px;
}
}
.tips{
font-size: 12px;
color: #333;
line-height:1.5;
margin-bottom: 5px;
}
.tips-content{
text-indent: 2em;
}
.tips:nth-child(5){
border-top:1px #ebe7e7 solid;
padding:10px 0;
margin-bottom: 0;
color: #333;
font-weight: bold;
}
}
.result-popup-btn{
}
/deep/ .testBtn{
.van-button:first-child{
flex:1;
}
.van-button:nth-child(2){
flex:1.3;
border-right:1px solid #fff !important;
}
.van-button:nth-child(3){
flex:1;
}
}
.levelList{
border:1px #DA7C43 solid;
border-radius:10px;
padding:10px;
margin:15px 0;
background-color: #F5EAE4;
}
.itemLevel{
font-size: 12px;
color:#DA7C43;
margin-bottom:5px;
line-height:1.8;
}
}
}
</style>

View File

@@ -1,6 +1,6 @@
<template>
<div class="search_box" ref="search_box">
<van-field :label="label" :class="{ 'van-cell--required': required }">
<van-field :label="label" required>
<template #input>
<input
style="width: 100%; border: none"
@@ -40,10 +40,6 @@ export default {
value: {
type: String
},
required: {
type: Boolean,
default: true
},
isAsync: {
type: Boolean,
default: false

View File

@@ -187,7 +187,7 @@ export default {
box-sizing: border-box;
content: ' ';
pointer-events: none;
right: 4.26667vw;
right: 0;
// bottom: 0;
// top: 0;
left: 4.26667vw;

View File

@@ -1,14 +1,14 @@
<template>
<div class="sex-radio">
<div class="van-cell-group ">
<div :class="{ 'van-cell--required': required }" class="van-cell van-field pv7">
<div class="van-cell van-field pv7" :class="{ 'van-cell--required': required }">
<div class="van-cell__title van-field__label">
<span>{{ label }}</span>
</div>
<van-radio-group v-model="radio" class="radio-area">
<van-radio v-for="(itemRadio, index) in radios" :key="index" :name="itemRadio.value" @click="handleChoose(itemRadio.value)">
<van-radio-group class="radio-area" v-model="radio">
<van-radio @click="handleChoose(itemRadio.value)" :name="itemRadio.value" v-for="(itemRadio, index) in radios" :key="index">
<div slot="icon"></div>
<van-button :color="color" :plain="radio != itemRadio.value" :type="type" class="ph30" round size="small">{{ itemRadio.label }}</van-button>
<van-button :color="color" class="ph30" :type="type" :plain="radio == itemRadio.value ? false : true" round size="small">{{ itemRadio.label }}</van-button>
</van-radio>
</van-radio-group>
</div>
@@ -21,7 +21,7 @@ export default {
name: 'select-radio',
props: {
value: {
type: String | Boolean,
type: String|Boolean,
default: '0'
},
label: {
@@ -57,7 +57,7 @@ export default {
handleChoose(value) {
if (this.disabled) {
return
}
}
this.$emit('update:value', value)
this.$emit('radioChange', value)
}
@@ -83,7 +83,7 @@ export default {
display: -webkit-flex;
display: flex;
justify-content: flex-start;
margin-left: -15px;
margin-left: -8px;
}
.van-cell {
align-items: center;
@@ -106,4 +106,5 @@ export default {
-webkit-transform: scaleY(0.5);
transform: scaleY(0.5);
}
</style>

View File

@@ -1,254 +0,0 @@
<template>
<div class="statisticsTable">
<div class="statisticsTable_table">
<div class="table">
<table cellspacing="0" summary cellpadding="1">
<thead>
<tr>
<th :class="{ 'th-fixed': index < 1 }" v-for="(item, index) in theads" :key="index">{{ item }}</th>
</tr>
</thead>
<tbody>
<tr v-for="(item, index) in tableData" :key="index" :ref="'th' + index" @click="(e) => double_click(index, item)">
<td class="th-fixed" @click="goLink(item)">{{ Number(index) + 1 }}</td>
<td class="timeDate" v-show="timeShow">{{ item.signDate }}</td>
<td class="timeDate" v-show="timeShow == false">{{ item.appntDate }}</td>
<td class="productName">{{ item.productName }}</td>
<td class="prem">{{ item.prem }}</td>
<td>
<span class="td-sheng">{{ item.name }}</span>
</td>
<td>{{ item.manageComName }}</td>
<td class="chakan">
<van-button size="mini" type="danger" @click="download(item)">下载贺报</van-button>
<van-button size="mini" type="info" @click="look(item.orderNo)">查看</van-button>
</td>
<!-- <td>{{ item.branchTypeName }}</td>-->
</tr>
</tbody>
</table>
</div>
</div>
<div class="pagination" v-if="total > 5">
<div type="text" @click="pageUp" :style="pageNum > 1 ? 'color:red' : ''">上一页</div>
<div style="color: red">{{ pageNum }}/{{ Math.ceil(total / pageSize) }}</div>
<div @click="pageDown" :style="pageNum < Math.ceil(total / pageSize) ? 'color:red' : ''">下一页 ></div>
<div v-if="pageNum == 1" class="shangzheBox"></div>
<div v-if="pageNum >= Math.ceil(total / pageSize)" class="xiazheBox"></div>
</div>
</div>
</template>
<script>
export default {
name: 'tableDetail',
props: {
theads: {
type: Array,
default: []
},
isLink: {
type: Boolean,
default: false
},
total: {
type: Number,
default: false
},
pageSize: {
type: Number,
default: false
},
pageNum: {
type: Number,
default: false
},
tableData: {
type: Array,
default: []
}
},
data() {
return {
timeShow: false,
}
},
watch: {
theads(newVal) {
if (newVal) {
for(let i=0;i<this.theads.length;i++) {
if(this.theads[i] == '承保时间') {
this.timeShow = true
} else if(this.theads[i] == '预收时间') {
this.timeShow = false
}
}
}
}
},
created() {
for(let i=0;i<this.theads.length;i++) {
if(this.theads[i] == '承保时间') {
this.timeShow = true
} else if(this.theads[i] == '预收时间') {
this.timeShow = false
}
}
},
methods: {
double_click(index, fn, data) {
let timestamp = 0
this.$refs['th' + index][0].addEventListener('click', () => {
const now = new Date()
if (now - timestamp <= 300) {
this.$emit('double_click', this.tableData[index])
// fn();
timestamp = 0
} else {
timestamp = now
}
})
},
pageUp() {
if (this.pageNum <= 1) {
return false
}
let page = this.pageNum - 1
this.$emit('currentChange', page)
},
pageDown() {
let end_num = Math.ceil(this.total / this.pageNum)
if (this.pageNum >= end_num) {
return false
}
let page = this.pageNum + 1
this.$emit('currentChange', page)
},
goLink(item) {
if (this.isLink) {
this.$emit('goLink', item)
}
},
// 跳转至下载贺报页面
download(data){
this.$emit('from-child', data);
},
// 查看详情 跳转至详情页面
look(num) {
this.$emit('fro-child', num);
// console.log(num);
// this.$router.push({
// path: '/policyDetails',
// query: {
// orderNo: num,
// }
// })
},
}
}
</script>
<style lang="scss" scoped>
.pagination {
display: flex;
margin-top: 10px;
margin-bottom: 10px;
justify-content: space-between;
align-items: center;
position: relative;
.shangzheBox {
position: absolute;
left: 0;
top: 0;
width: 70px;
height: 30px;
}
.xiazheBox {
position: absolute;
right: 0;
top: 0;
width: 70px;
height: 30px;
}
}
.statisticsTable_table {
height: 82.5vh;
overflow: auto;
//width: 1000px;
}
.statisticsTable_table .table {
width: 195.6vw !important;
}
.timeDate {
width: 90px !important;
}
.productName {
width: 35vw;
}
.chakan {
width: 130px;
}
.prem {
text-align: right !important;
width: 90px !important;
padding-right: 7px !important;
}
.statisticsTable th {
width: 90px;
}
table {
// width: 200vw;
}
.th-fixed {
position: sticky;
border: 1px solid #999 !important;
left: 0;
width: 35px !important;
padding: 0 5px;
}
.statisticsTable {
width: 100%;
overflow-x: hidden;
table {
border-collapse: collapse;
}
table,
th,
td {
border: 1px solid #999;
text-align: center;
font-size: 14px;
line-height: 30px;
background: #fff;
}
thead {
th {
height: 40px;
line-height: 40px;
background: #e9332e;
color: #fff;
}
}
}
.td-fixed {
// position: sticky;
width: 33px !important;
padding: 0 5px;
left: 0;
text-decoration: underline;
}
.td-sheng {
display: block;
width: 65px; /* 设置span的宽度 */
white-space: nowrap; /* 确保文本不换行 */
overflow: hidden; /* 隐藏超出span宽度的文本 */
text-overflow: ellipsis; /* 超出部分显示为省略号 */
text-align: left; /* 文本对齐方式 */
margin: 0 auto;
text-align: center;
}
</style>

View File

@@ -10,7 +10,7 @@
@click-right-icon="chooseCustomer"
:readonly="readonly"
/>
<van-popup v-model="showPicker" position="bottom">
<van-popup v-model="parentShowPicker" position="bottom">
<customer @on-choose="choose" :code="code" :name="name" :life="life" :health="health"></customer>
</van-popup>
</div>
@@ -109,7 +109,6 @@ export default {
},
choose(data) {
this.name = data.customerName
this.showPicker = false
this.$emit('on-choose', data)
},
chooseCustomer() {

File diff suppressed because it is too large Load Diff

View File

@@ -1,132 +0,0 @@
<template>
<div class="ys-float-btn" :style="{'width':itemWidth+'px','height':itemHeight+'px','left':left+'px','top':top+'px'}" ref="div" @click="onBtnClicked">
<p class="p1">{{isActive === 0 ? '关怀' : '标准'}}</p>
<p class="p2">模式</p>
</div>
</template>
<script>
export default {
name: "FloatImgBtn",
props:{
itemWidth:{
type:Number,
default:56
},
itemHeight:{
type:Number,
default:56
},
gapWidth:{
type:Number,
default:6
},
coefficientHeight:{
type:Number,
default:0.8
}
},
created(){
this.clientWidth = document.documentElement.clientWidth;
this.clientHeight = document.documentElement.clientHeight;
this.left = this.clientWidth - this.itemWidth - this.gapWidth;
this.top = 100;
},
mounted(){
this.$nextTick(()=>{
const div = this.$refs.div;
div.addEventListener("touchstart",(e)=>{
e.stopPropagation();
div.style.transition = 'none';
});
div.addEventListener("touchmove",(e)=>{
e.stopPropagation();
if (e.targetTouches.length === 1) {
let touch = event.targetTouches[0];
this.left = touch.clientX - this.itemWidth/2;
this.top = touch.clientY - this.itemHeight/2;
}
},
false
);
div.addEventListener("touchend",(e)=>{
e.stopPropagation();
div.style.transition = 'all 0.3s';
if(this.left>this.clientWidth/2){
this.left = this.clientWidth - this.itemWidth - this.gapWidth;
}else{
this.left = this.gapWidth;
}
if(this.top<=36)
{
this.top=36+this.gapWidth
}
else{
let bottom=this.clientHeight-50-this.itemHeight-this.gapWidth
console.log(bottom,this.top)
if(this.top>=bottom)
{
this.top=bottom
}
}
});
});
},
methods:{
onBtnClicked(){
if (this.isActive === 0) {
this.isActive = 1
sessionStorage.setItem('oldVersionSwitch', 1)
} else if (this.isActive === 1) {
this.isActive = 0
sessionStorage.setItem('oldVersionSwitch', 0)
}
this.$emit("onFloatBtnClicked", this.isActive);
},
},
data(){
return{
timer:null,
currentTop:0,
clientWidth:0,
clientHeight:0,
left:0,
top:0,
isActive: sessionStorage.getItem('oldVersionSwitch') ? Number(sessionStorage.getItem('oldVersionSwitch')) : 0
}
}
}
</script>
<style lang="scss" scoped>
.ys-float-btn{
background:RGBA(234, 52, 66, 0.8);
border-radius:50%;
color: #666666;
z-index: 20;
transition: all 0.3s;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
position: fixed;
bottom: 20vw;
p{
color: #fff;
font-weight: bold;
font-size: 14px;
&.p1{
margin-top: 4px;
}
&.p2{
margin-top: -6px;
}
}
}
</style>

View File

@@ -1,78 +0,0 @@
<template>
<div class="index">
<div class="navigator-item" v-for="(item, index) in navigatorItems" :key="index">
<span class="title" :class="{ active: index === current }" @click="jump(index)">{{ index + 1 }}.{{ item }}</span>
<div v-if="showArrow(index)" class="arrow">
<div class="arrow-line" :style="{ backgroundColor: index === current ? 'red' : '' }" />
<van-icon name="arrow" :class="{ active: index === current }" />
</div>
</div>
</div>
</template>
<script>
export default {
name: 'BreadcrumbNavigator',
props: {
current: {
type: Number,
default: 0
},
moveOn: {
type: Boolean,
default: false
}
},
data() {
return {
navigatorItems: ['投保人信息', '选择被保人', '生成建议书'],
routerInfos: ['proposal/appnt', 'proposal/chooseInsuredPerson']
}
},
methods: {
jump(index) {
if (index === this.current || index == 2) return
if (this.moveOn) {
let thisMyUrl = this.routerInfos[index]
if (this.$route.query.proposalOrderNo) {
thisMyUrl = this.routerInfos[index] + '?proposalOrderNo=' + this.$route.query.proposalOrderNo
}
this.$router.push({ path: '/' + thisMyUrl })
}
},
showArrow(index) {
return index + 1 != this.navigatorItems.length
}
}
}
</script>
<style lang="scss" scoped>
.index {
display: flex;
align-items: center;
justify-content: center;
.navigator-item {
display: flex;
align-items: center;
margin: 5px 2px;
.title {
font-size: 14px;
}
.active {
color: red;
}
.arrow {
display: flex;
align-items: center;
}
.arrow-line {
width: 10px;
height: 1px;
background-color: #2c3e50;
border-radius: 1px;
margin-left: 2px;
}
}
}
</style>

View File

@@ -1,35 +1,29 @@
<template>
<div>
<div class="own_content">
<ul class="index-bar">
<li v-for="(item, index) in pageTitle" v-if="item.show" :id="item.tabClass" :key="index" :class="item.tabClass" @click="changePage(item.pageNo)">
<!-- 选中 -->
<div v-if="item.tabClass" class="flex justify-content-fs align-items-c">
<div class="flex flex-direction-colunm align-items-c">
<van-image :src="item.imgCheckedUrl" class="image_head" />
<span class="fs12 mt12">{{ item.pageItem }}</span>
</div>
<van-image v-if="index !== 10" :src="doneUrl" class="image_done" />
<div class="own_content">
<ul class="index-bar">
<li @click="changePage(item.pageNo)" v-for="(item, index) in pageTitle" :key="index" :class="item.tabClass" :id="item.tabClass" v-if="item.show">
<!-- 选中 -->
<div v-if="item.tabClass" class="flex justify-content-fs align-items-c">
<div class="flex flex-direction-colunm align-items-c">
<van-image :src="item.imgCheckedUrl" class="image_head" />
<span class="fs12 mt12">{{ item.pageItem }}</span>
</div>
<div v-if="!item.tabClass" class="flex justify-content-fs align-items-c">
<div class="flex flex-direction-colunm align-items-c">
<van-image :src="item.imgNoCheckedUrl" class="image_head" />
<span class="fs12 mt12" style="color: #999999">{{ item.pageItem }}</span>
</div>
<van-image v-if="index !== 10" :src="doneNurl" class="image_done" />
<van-image :src="doneUrl" v-if="index !== 10" class="image_done" />
</div>
<div v-if="!item.tabClass" class="flex justify-content-fs align-items-c">
<div class="flex flex-direction-colunm align-items-c">
<van-image :src="item.imgNoCheckedUrl" class="image_head" />
<span class="fs12 mt12" style="color: #999999">{{ item.pageItem }}</span>
</div>
</li>
</ul>
</div>
<p v-if="branchType == '13'" style="margin-top: 10px;color: red;background-color: #ffdddc;padding: 5px 10px;">
提示您目前正在投保的项目为{{ projectName }}
</p>
<van-image :src="doneNurl" v-if="index !== 10" class="image_done" />
</div>
</li>
</ul>
</div>
</template>
<script>
import { Icon, Image } from 'vant'
import { getOrderDetail1 } from '@/api/ebiz/sale/sale'
import { gbcProjectDetail } from '@/api/GBC/GBC'
export default {
name: 'IndexBar',
props: {
@@ -57,8 +51,6 @@ export default {
},
data() {
return {
branchType: '',
projectName: '',
thisShow: false,
doneUrl: this.$assetsUrl + 'images/kmh/done.png',
doneNurl: this.$assetsUrl + 'images/kmh/done_n.png',
@@ -68,7 +60,7 @@ export default {
pageItem: '投保人信息',
urlStr: '/sale/insuredInfo',
tabClass: '',
show: true,
show:true,
imgCheckedUrl: this.$assetsUrl + 'images/kmh/tbrxx.png',
imgNoCheckedUrl: this.$assetsUrl + 'images/kmh/tbrxx_n.png'
},
@@ -77,7 +69,7 @@ export default {
pageItem: '被保险人信息',
urlStr: '/sale/insuredPerson',
tabClass: '',
show: true,
show:true,
imgCheckedUrl: this.$assetsUrl + 'images/kmh/bbrxx.png',
imgNoCheckedUrl: this.$assetsUrl + 'images/kmh/bbrxx_n.png'
},
@@ -86,7 +78,7 @@ export default {
pageItem: '选择产品',
urlStr: '/common/selectedProduct',
tabClass: '',
show: true,
show:true,
imgCheckedUrl: this.$assetsUrl + 'images/kmh/xzcp.png',
imgNoCheckedUrl: this.$assetsUrl + 'images/kmh/xzcp_n.png'
},
@@ -95,7 +87,7 @@ export default {
pageItem: '受益人信息',
urlStr: '/sale/beneficiary',
tabClass: '',
show: true,
show:true,
imgCheckedUrl: this.$assetsUrl + 'images/kmh/syrxx.png',
imgNoCheckedUrl: this.$assetsUrl + 'images/kmh/syrxx_n.png'
},
@@ -104,7 +96,7 @@ export default {
pageItem: '告知信息',
urlStr: '/sale/notifyingMessage',
tabClass: '',
show: true,
show:true,
imgCheckedUrl: this.$assetsUrl + 'images/kmh/gzxx.png',
imgNoCheckedUrl: this.$assetsUrl + 'images/kmh/gzxx_n.png'
},
@@ -113,7 +105,7 @@ export default {
pageItem: '风险测评',
urlStr: '/sale/answerPage',
tabClass: '',
show: false,
show:false,
imgCheckedUrl: this.$assetsUrl + 'images/kmh/fx1.png',
imgNoCheckedUrl: this.$assetsUrl + 'images/kmh/fx2.png'
},
@@ -122,7 +114,7 @@ export default {
pageItem: '风险测评结果',
urlStr: '/sale/answerSuccess',
tabClass: '',
show: false,
show:false,
imgCheckedUrl: this.$assetsUrl + 'images/kmh/fxjg1.png',
imgNoCheckedUrl: this.$assetsUrl + 'images/kmh/fxjg2.png'
},
@@ -131,7 +123,7 @@ export default {
pageItem: '风险告知',
urlStr: '/sale/universalRiskNotifyingMessage',
tabClass: '',
show: false,
show:false,
imgCheckedUrl: this.$assetsUrl + 'images/kmh/zhxx.png',
imgNoCheckedUrl: this.$assetsUrl + 'images/kmh/zhxx_n.png'
},
@@ -140,7 +132,7 @@ export default {
pageItem: '账户信息',
urlStr: '/sale/accountInformation',
tabClass: '',
show: true,
show:true,
imgCheckedUrl: this.$assetsUrl + 'images/kmh/zhxx.png',
imgNoCheckedUrl: this.$assetsUrl + 'images/kmh/zhxx_n.png'
},
@@ -149,7 +141,7 @@ export default {
pageItem: '附件上传',
urlStr: '/sale/attachmentManagement',
tabClass: '',
show: true,
show:true,
imgCheckedUrl: this.$assetsUrl + 'images/kmh/fjsc.png',
imgNoCheckedUrl: this.$assetsUrl + 'images/kmh/fjsc_n.png'
},
@@ -158,7 +150,7 @@ export default {
pageItem: '签名确认',
urlStr: '/sale/signatureConfirmation',
tabClass: '',
show: true,
show:true,
imgCheckedUrl: this.$assetsUrl + 'images/kmh/qmqr.png',
imgNoCheckedUrl: this.$assetsUrl + 'images/kmh/qmqr_n.png'
}
@@ -167,69 +159,46 @@ export default {
salePageFlag: Number(localStorage.salePageFlag)
}
},
async mounted() {
mounted() {
let that = this
let data = {
orderNo: that.$route.query.orderNo
}
getOrderDetail1(data).then(res => {
if (res.result == '0') {
if (res.orderDTO.universalRiskNotifyDTO) {
if (res.orderDTO.universalRiskNotifyDTO.isUniversalRiskNotifyShowPoint == 1) {
this.pageTitle.forEach(item => {
if (item.pageNo == 7.1) {
if(res.orderDTO.universalRiskNotifyDTO){
if(res.orderDTO.universalRiskNotifyDTO.isUniversalRiskNotifyShowPoint == 1){
this.pageTitle.forEach(item=>{
if(item.pageNo == 7.1){
item.show = true
}
})
}
}
if (res.orderDTO.riskEvaluationDTO) {
if (res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint == 1) {
this.pageTitle.forEach(item => {
if (item.pageNo == 6) {
if(res.orderDTO.riskEvaluationDTO){
if(res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint == 1){
this.pageTitle.forEach(item=>{
if(item.pageNo == 6){
item.show = true
}
if (item.pageNo == 7) {
if(item.pageNo == 7){
item.show = true
}
})
}
}
if (this.$route.query.orderNo) {
this.projectName = res.orderDTO.ebizOrderGbcRelDTO.projectName
}
}
})
this.selectTab()
if (window.localStorage.getItem('branchType') == '13') {
this.branchType = '13'
if (!this.$route.query.orderNo) {
that.gbcProjectDetail()
}
}
},
methods: {
gbcProjectDetail() {
let params = {}
gbcProjectDetail(params).then(res => {
if (res.result == '0') {
this.projectName = res.content.projectName
} else {
this.$toast(res.resultMessage)
}
})
},
changePage(pageIndex) {
let url = ''
//由 localStorage.salePageFlag 来控制是否可跳到指定页面
if (localStorage.salePageFlag == '-10' && pageIndex != 10) {
this.$toast('已到达签名确认流程,不可以回到前面的流程')
}
if (Number(localStorage.salePageFlag) < Number(pageIndex)) {
if (process.env.NODE_ENV !== 'development') {
return
}
}
if (Number(localStorage.salePageFlag) < Number(pageIndex)) return
switch (pageIndex) {
case 1: //跳到投保人页面
url = `/sale/insuredInfo?edit=1&salePageFlag=${pageIndex}&orderNo=` + this.$route.query.orderNo
@@ -314,7 +283,7 @@ export default {
this.$el.querySelector('#active').scrollIntoView(true)
})
}
}
},
}
</script>
<style lang="scss" scoped>

View File

@@ -127,7 +127,7 @@ export default {
num++
await this.getRecognitionUrl(val, num)
if (this.requestId && this.bizToken) {
await this.getRecognitionResult(this.requestId, this.bizToken, JSON.parse(localStorage['orderNo']))
await this.getRecognitionResult(this.requestId, this.bizToken)
} else {
return
}
@@ -155,9 +155,9 @@ export default {
)
})
},
getRecognitionResult(requestId, bizToken, orderNo) {
getRecognitionResult(requestId, bizToken) {
return new Promise((resolve, reject) => {
getRecognitionResult({ requestId, bizToken, orderNo }).then(
getRecognitionResult({ requestId, bizToken }).then(
res => {
console.log('getRecognitionResult', res)
if (res.result == '0') {

View File

@@ -6,8 +6,6 @@
* @Description:
* @FilePath: \ebiz-h5\src\config\index.js
*/
import YB_agentSign from "../router/ebiz/YB_agentSign";
/**
* 配置编译环境和线上环境之间的切换
* 默认三套环境,可以增添
@@ -15,7 +13,7 @@ import YB_agentSign from "../router/ebiz/YB_agentSign";
*
*/
let apiDomain, imgDomain, assetsUrl, mainUrl, payUrl, zssqUrl, REQ_PWD, CACHE_ENCRYP, API_VERSION, YB_agenturl, assetsUpUrl, YB_APP // 保融支付的收银台服务地址
let apiDomain, imgDomain, assetsUrl, mainUrl, payUrl, zssqUrl, REQ_PWD, CACHE_ENCRYP, API_VERSION, assetsUpUrl, YB_APP // 保融支付的收银台服务地址
function getSearchString (key) {
var str = window.location.href.split('?')[1]
str = str.substring(1, str.length) // 获取URL中?之后的字符(去掉第一位的问号)
@@ -29,29 +27,29 @@ function getSearchString (key) {
}
return obj[key]
}
let apiVersion = 'v1'
// var ua = window.navigator.userAgent.toLowerCase()
// //通过正则表达式匹配ua中是否含有MicroMessenger字符串, 在微信
// if (localStorage.getItem('apiVersion')) {
// apiVersion = localStorage.getItem('apiVersion')
// } else {
// if (ua.match(/MicroMessenger/i) == 'micromessenger') {
// //report/reportList数据报表页面在浏览器可以打开了但在微信或企业微信中打开不了,接口请求不需要token
// if (window.location.href.indexOf('apiVersion') > 0) {
// apiVersion = getSearchString('apiVersion') == 'V3' ? 'v3' : 'v2';//url中apiVersion没有时为v2
// } else {
// apiVersion = 'v3'
// }
// } else {
// // 在app
// if (navigator.userAgent.indexOf('JZG_') > 0) {
// apiVersion = navigator.userAgent.split('JZG_')[1].split('/')[0].split('_')[1] == 'V3' ? 'v3' : 'v2'
// }
// }
// window.localStorage.setItem('apiVersion', apiVersion)
// }
// // 可以多个接口域名,按需添加
// console.log('环境:', process.env.VUE_APP_FLAG)
let apiVersion = 'v2'
var ua = window.navigator.userAgent.toLowerCase()
//通过正则表达式匹配ua中是否含有MicroMessenger字符串, 在微信
if (localStorage.getItem('apiVersion')) {
apiVersion = localStorage.getItem('apiVersion')
} else {
if (ua.match(/MicroMessenger/i) == 'micromessenger') {
//report/reportList数据报表页面在浏览器可以打开了但在微信或企业微信中打开不了,接口请求不需要token
if (window.location.href.indexOf('apiVersion') > 0) {
apiVersion = getSearchString('apiVersion') == 'V3' ? 'v3' : 'v2';//url中apiVersion没有时为v2
} else {
apiVersion = 'v3'
}
} else {
// 在app
if (navigator.userAgent.indexOf('JZG_') > 0) {
apiVersion = navigator.userAgent.split('JZG_')[1].split('/')[0].split('_')[1] == 'V3' ? 'v3' : 'v2'
}
}
window.localStorage.setItem('apiVersion', apiVersion)
}
// 可以多个接口域名,按需添加
console.log('环境:', process.env.VUE_APP_FLAG)
switch (process.env.VUE_APP_FLAG) {
case 'dev':
apiDomain = 'https://iagentsales-test2.e-guofu.com:5200/api/' + apiVersion // 国富api ///api/v1
@@ -70,7 +68,6 @@ switch (process.env.VUE_APP_FLAG) {
// YB_APP = 'http://10.10.100.98:7001'
// YB_APP = 'https://iagentsales-test2.e-guofu.com:5200/api/v1'
YB_APP = 'https://iagentsales-test2.e-guofu.com:5200/api/' + apiVersion
YB_agenturl ='https://iagentsales-test2.e-guofu.com:443'
API_VERSION = apiVersion
break
case 'uat':
@@ -94,7 +91,6 @@ switch (process.env.VUE_APP_FLAG) {
// 上传影像地址 挂载共享盘 地址
assetsUpUrl = 'https://iagentsales.e-guofu.com'
mainUrl = 'https://iagentsales.e-guofu.com'
YB_agenturl = 'https://iagentsales.e-guofu.com'
payUrl = 'https://uns3.e-guofu.com/s3-modules-gateway/embed/gateway.action'
zssqUrl = ''
REQ_PWD = '41424344454631323334353637383930'
@@ -134,7 +130,6 @@ export default {
assetsUpUrl,
mainUrl,
payUrl,
YB_agenturl,
zssqUrl, //知识社区地址
REQ_PWD, //报文加密密码
CACHE_ENCRYP, //缓存加密密码

View File

@@ -38,16 +38,8 @@ import {
PullRefresh,
List,
Image as VanImage,
Sticky,
Collapse,
CollapseItem,
RadioGroup,
Radio,
Checkbox,
CheckboxGroup
Sticky
} from 'vant'
;[Collapse, CollapseItem, RadioGroup, Radio].forEach(component => Vue.use(component))
Vue.use(Cell)
Vue.use(CellGroup)
Vue.use(DatetimePicker)
@@ -73,8 +65,6 @@ Vue.use(PullRefresh)
Vue.use(List)
Vue.use(VanImage)
Vue.use(Sticky)
Vue.use(Checkbox)
Vue.use(CheckboxGroup)
Vue.use(animated)
Vue.prototype.$assetsUrl = config.assetsUrl
@@ -85,6 +75,7 @@ Vue.prototype.$MD5 = md5
Vue.prototype.$CryptoJs = cryptoJs
Vue.prototype.$CacheUtils = cacheUtils
// 全局 防重复点击
Vue.directive('no-more-click', noMoreClick)
//解决ios移动端input调软键盘问题
@@ -140,37 +131,22 @@ Object.keys(Filters).forEach(function(k) {
//权限控制
import { permission } from '@/assets/js/utils/permission'
import { newProducts } from '@/api/ebiz/sale/sale'
permission()
//ios点击300毫秒时延
FastClick.attach(document.body)
// 监听input弹窗滚动到可视区域
window.addEventListener('resize', function() {
if (document.activeElement.tagName === 'INPUT' || document.activeElement.tagName === 'TEXTAREA') {
window.setTimeout(function() {
window.addEventListener('resize', function () {
if (document.activeElement.tagName === 'INPUT' || document.activeElement.tagName === 'TEXTAREA') {
window.setTimeout(function () {
document.activeElement.scrollIntoViewIfNeeded()
}, 0)
}
})
Vue.config.productionTip = false
export const vm = new Vue({
new Vue({
router,
store,
render: h => h(App)
})
fetchNewSaleProducts()
function fetchNewSaleProducts() {
newProducts()
.then(({ content, result }) => {
if (result === '0') localStorage.setItem('newProducts', JSON.stringify(content))
else return new Error('获取最新产品列表信息错误')
if (window.fetchNewProductstimer) clearTimeout(window.fetchNewProductstimer)
else vm.$mount('#app')
window.fetchNewProductstimer = setTimeout(fetchNewSaleProducts, 1000000)
})
.catch(() => {})
}
}).$mount('#app')

View File

@@ -1,64 +0,0 @@
//数据报表 定义相关组件
const GBC_home = () => import('@/views/GBC/home')
const GBC_projectList = () => import('@/views/GBC/projectList')
const GBC_projectDetail = () => import('@/views/GBC/projectDetail')
const GBC_customerDetail = () => import('@/views/GBC/customerDetail')
const GBC_InsuredInfo = () => import('@/views/GBC/InsuredInfo')
const GBC_submitResult = () => import('@/views/GBC/submitResult')
export default [
{
path: '/GBC/home',
name: 'GBC_home',
component: GBC_home,
meta: {
title: '首页',
index: 1
}
},
{
path: '/GBC/projectList',
name: 'GBC_projectList',
component: GBC_projectList,
meta: {
title: '项目列表',
index: 1
}
},
{
path: '/GBC/projectDetail',
name: 'GBC_projectDetail',
component: GBC_projectDetail,
meta: {
title: '项目详情',
index: 1
}
},
{
path: '/GBC/customerDetail',
name: 'GBC_customerDetail',
component: GBC_customerDetail,
meta: {
title: '编辑客户信息',
index: 1
}
},
{
path: '/GBC/InsuredInfo',
name: 'GBC_InsuredInfo',
component: GBC_InsuredInfo,
meta: {
title: '信息录入',
index: 1
}
},
{
path: '/GBC/submitResult',
name: 'GBC_submitResult',
component: GBC_submitResult,
meta: {
title: '提交结果',
index: 1
}
},
]

View File

@@ -1,22 +0,0 @@
//电子投保 定义相关组件
const step1 = () => import('@/views/ebiz/YB_agentSign/step1')
const step2 = () => import('@/views/ebiz/YB_agentSign/step2')
let riskName = localStorage.riskName
export default [
{
path: '/YB_agentSign/step1',
name: 'step1',
component: step1,
meta: {
title: '银保代理人电子化合同签署'
}
},
{
path: '/YB_agentSign/step2',
name: 'step2',
component: step2,
meta: {
title: '银保代理人电子化合同签署'
}
},
]

View File

@@ -1,41 +1,41 @@
// 入司申请填写基本信息
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')
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')
export default [
{
@@ -229,7 +229,7 @@ export default [
},
{
path: '/agentEenter/ShowPDF',
name: 'agentEenterShowPDF',
name: 'ShowPDF',
component: ShowPDF,
meta: {
title: '个险销售人员代理合同',

View File

@@ -1,17 +1,15 @@
//津贴 定义相关组件
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')
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')
export default [
//津贴申请

View File

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

View File

@@ -1,32 +1,14 @@
const billingDetail = () => import('@/views/ebiz/billingDetail/billingDetail')
const generateImg = () => import('@/views/ebiz/generateImg/generateImg')
const policyDetails = () => import('@/views/ebiz/billingDetail/policyDetails')
const billingDetail = () => import(/* webpackChunkName: 'billingDetail' */ '@/views/ebiz/billingDetail/billingDetail')
export default [
{
path: '/billingDetail',
name: 'billingDetail',
component: billingDetail,
meta: {
title: '出单详情',
index: 1
{
path: '/billingDetail',
name: 'billingDetail',
component: billingDetail,
meta: {
title: '出单详情',
index: 1
}
}
},
{
path: '/generateImg',
name: 'generateImg',
component: generateImg,
meta: {
title: '业绩贺报'
}
},
{
path: '/policyDetails',
name: 'policyDetails',
component: policyDetails,
meta: {
title: '保单详情',
}
},
]
]

View File

@@ -1,22 +1,22 @@
// 卡单路由
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 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 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')
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')
export default [
{
@@ -57,7 +57,7 @@ export default [
},
{
path: '/cardList/payResult',
name: 'cardListPayResult',
name: 'payResult',
component: payResult,
meta: {
title: '支付结果',
@@ -84,7 +84,7 @@ export default [
},
{
path: '/cardList/ShowPDF',
name: 'cardListShowPDF',
name: 'ShowPDF',
component: ShowPDF,
meta: {
title: '',
@@ -111,7 +111,7 @@ export default [
},
{
path: '/cardList/SignatureConfirmation',
name: 'cardListSignatureConfirmation',
name: 'SignatureConfirmation',
component: SignatureConfirmation,
meta: {
title: '阅读确认',
@@ -120,7 +120,7 @@ export default [
},
{
path: '/cardList/Result',
name: 'cardListResult',
name: 'Result',
component: Result,
meta: {
title: '核保结果',

View File

@@ -1,23 +1,23 @@
//理赔 定义相关组件
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')
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')
export default [
{
path: '/claims/ProblemList',
@@ -93,7 +93,7 @@ export default [
},
{
path: '/claims/insuredInfo',
name: 'claimsInsuredInfo',
name: 'insuredInfo',
component: insuredInfo,
meta: {
title: '被保人信息',
@@ -120,7 +120,7 @@ export default [
},
{
path: '/claims/signatureConfirmation',
name: 'claimsSignatureConfirmation',
name: 'signatureConfirmation',
component: signatureConfirmation,
meta: {
title: '签字确认',

View File

@@ -1,12 +1,10 @@
//建议书 定义相关组件
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')
const productEvaResult = () => import('@/views/ebiz/common/productEvaResult')
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')
export default [
{
@@ -68,14 +66,5 @@ export default [
title: '关于国富',
index: 1
}
},
{
path: '/common/productEvaResult',
name: 'productEvaResult',
component: productEvaResult,
meta: {
title: '评估结果',
index: 1
}
}
}
]

View File

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

View File

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

View File

@@ -1,8 +1,8 @@
//客户管理 定义相关组件
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')
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')
export default [
{

View File

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

View File

@@ -1,11 +1,11 @@
// e起陪访
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')
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')
export default [
{
@@ -50,7 +50,7 @@ export default [
},
{
path: '/eqiVisit/historyDetail/:id',
name: 'VisitHistoryWithID',
name: 'VisitHistory',
component: HistoryDetail,
props: true,
meta: {

View File

@@ -1,9 +1,9 @@
//活动邀请 定义相关组件
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')
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')
export default [
{

View File

@@ -1,13 +1,13 @@
// 开门红业绩排名
const PerformanceReport = () => import('@/views/ebiz/goodStart/PerformanceReport')
const PerformanceReport = () => import(/* webpackChunkName: 'goodStart' */ '@/views/ebiz/goodStart/PerformanceReport')
// 开门红专区
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 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 spreadParams = function(route) {
const params = {}
@@ -20,10 +20,10 @@ const spreadParams = function(route) {
export default [
{
path: '/goodStart/performanceReport',
name: 'performanceReport',
name: 'Prefecture',
component: PerformanceReport,
meta: {
title: '旺季业绩查询'
title: '开门红业绩查询'
}
},
{
@@ -31,7 +31,7 @@ export default [
name: 'Prefecture',
component: Prefecture,
meta: {
title: '旺季专区'
title: '开门红专区'
}
},
{
@@ -53,7 +53,7 @@ export default [
name: 'GoodStartScheme',
component: GoodStartScheme,
meta: {
title: '旺季方案'
title: '开门红方案'
}
},
{
@@ -61,7 +61,7 @@ export default [
name: 'businessMap',
component: businessMap,
meta: {
title: '旺季业务地图'
title: '开门红业务地图'
}
},
{
@@ -77,7 +77,7 @@ export default [
name: 'newsPaper',
component: newsPaper,
meta: {
title: '旺季实时贺报'
title: '开门红实时贺报'
}
}
]

View File

@@ -1,23 +0,0 @@
//健康险续保 定义相关组件
const healthInsuranceRenewalList = () => import('@/views/ebiz/healthInsuranceRenewal/list')
const healthInsuranceRenewalDetail = () => import('@/views/ebiz/healthInsuranceRenewal/detail')
export default [
{
path: '/healthInsuranceRenewal/list',
name: 'healthInsuranceRenewalList',
component: healthInsuranceRenewalList,
meta: {
title: '健康险续保清单',
index: 1
}
},
{
path: '/healthInsuranceRenewal/detail',
name: 'healthInsuranceRenewalDetail',
component: healthInsuranceRenewalDetail,
meta: {
title: '保单详情',
index: 1
}
}
]

View File

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

View File

@@ -2,7 +2,6 @@
import proposal from './proposal'
import question from './question'
import sale from './sale'
import YB_agentSign from './YB_agentSign'
import customer from './customer'
import my from './my'
import serve from './serve'
@@ -49,19 +48,9 @@ import allowance from './allowance'
import cooperativeUnit from './cooperativeUnit'
// YB_APP
import YB_APP from '../YB_APP/index'
// GBC
import GBC from '../GBC/index'
//健康险续保
import healthInsuranceRenewal from './healthInsuranceRenewal'
// // 电子投保流程优化
import saleFlowImprove from './saleFlowImprove'
// // 产品流程优化
import {improveProduct as productFlowImprove} from './productFlowImprove'
export default [
...proposal,
...sale,
...YB_agentSign,
...customer,
...my,
...serve,
@@ -95,9 +84,5 @@ export default [
...laurelClub,
...allowance,
...cooperativeUnit,
...YB_APP,
...GBC,
...healthInsuranceRenewal,
...saleFlowImprove,
...productFlowImprove
...YB_APP
] //根据需要进行删减

View File

@@ -1,15 +1,14 @@
//客户管理 定义相关组件
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')
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')
export default [
// 分公司
{

View File

@@ -6,24 +6,24 @@
* @Description:
* @FilePath: \ebiz-h5\src\router\ebiz\insureAgain.js
*/
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')
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')
let riskName = localStorage.riskName
export default [
{
@@ -83,7 +83,7 @@ export default [
{
// 签名确认
path: '/insureAgain/SignatureConfirmation',
name: 'insureAgainSignatureConfirmation',
name: 'SignatureConfirmation',
component: SignatureConfirmation,
meta: {
title: '签名确认'
@@ -110,7 +110,7 @@ export default [
{
// 支付失败
path: '/insureAgain/payResultFail',
name: 'insureAgainPayResultFail',
name: 'payResultFail',
component: payResultFail,
meta: {
title: '支付失败'
@@ -174,7 +174,7 @@ export default [
},
{
path: '/insureAgain/Result',
name: 'insureAgainResult',
name: 'Result',
component: Result,
meta: {
title: '核保结果'

View File

@@ -1,10 +1,10 @@
// 卡单路由
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')
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')
export default [

View File

@@ -1,28 +1,22 @@
//人力发展 定义相关组件
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')
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')
export default [
{

View File

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

View File

@@ -1,12 +1,12 @@
//我的 定义相关组件
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')
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')
export default [
{

View File

@@ -1,16 +1,16 @@
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')
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')
export default [
{
path: '/nbs/list',

View File

@@ -1,7 +1,7 @@
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')
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')
export default [
{

View File

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

View File

@@ -1,42 +1,42 @@
//保全 定义相关组件
//common公用页面
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')
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')
//PC 续期账户变更
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 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 AutopayAuthorization = () => import('@/views/ebiz/preserve/pc/AutopayAuthorization')
//BB 联系方式变更
const contactInfo = () => import('@/views/ebiz/preserve/bb/ContactInfo')
const contacAgreement = () => import('@/views/ebiz/preserve/bb/ContacAgreement')
const contactConfirmation = () => import('@/views/ebiz/preserve/bb/ContactConfirmation')
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')
//BC 受益人变更
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 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 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 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 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 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 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')
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')
export default [
{
@@ -244,7 +244,7 @@ export default [
},
{
path: '/preserve/wt/imageUpload',
name: 'WtImageUpload',
name: 'CtImageUpload',
component: WtImageUpload,
meta: {
title: '影像资料上传',

Some files were not shown because too many files have changed in this diff Show More