Compare commits
1 Commits
feature/FC
...
release/【2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3ae8b7a77c |
3
.gitignore
vendored
@@ -3,5 +3,4 @@ dist
|
||||
|
||||
.eslintrc.js
|
||||
.prettierrc
|
||||
.idea
|
||||
.history
|
||||
.idea
|
||||
17736
package-lock.json
generated
@@ -26,7 +26,6 @@
|
||||
"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",
|
||||
@@ -60,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.6.10"
|
||||
}
|
||||
}
|
||||
|
||||
27
src/App.vue
@@ -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: {
|
||||
|
||||
@@ -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
|
||||
})
|
||||
}
|
||||
@@ -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
|
||||
})
|
||||
}
|
||||
@@ -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
|
||||
})
|
||||
}
|
||||
@@ -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
|
||||
// })
|
||||
// }
|
||||
|
||||
|
||||
@@ -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
|
||||
})
|
||||
}
|
||||
}
|
||||
@@ -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 */
|
||||
}
|
||||
@@ -90,11 +90,3 @@ export function queryOutPosters(data) {
|
||||
})
|
||||
}
|
||||
|
||||
//大单榜海报列表接口
|
||||
export function queryOutPostersBig(data) {
|
||||
return request({
|
||||
url: getUrl(`/sale/makePosters/queryOutPostersBig`, 1),
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
@@ -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
|
||||
})
|
||||
}
|
||||
@@ -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
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -335,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({
|
||||
@@ -342,55 +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
|
||||
})
|
||||
}
|
||||
|
Before Width: | Height: | Size: 1.3 MiB |
|
Before Width: | Height: | Size: 1002 B |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 9.1 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 3.8 KiB |
|
Before Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 107 KiB After Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 187 KiB After Width: | Height: | Size: 128 KiB |
|
Before Width: | Height: | Size: 60 KiB |
|
Before Width: | Height: | Size: 342 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 428 KiB After Width: | Height: | Size: 1.0 MiB |
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 111 KiB |
|
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 122 KiB |
|
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 2.6 MiB |
|
Before Width: | Height: | Size: 5.3 KiB |
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
@@ -965,10 +965,10 @@ export default {
|
||||
id: 2,
|
||||
text: '户口本'
|
||||
},
|
||||
// {
|
||||
// id: 3,
|
||||
// text: '出生证'
|
||||
// },
|
||||
{
|
||||
id: 3,
|
||||
text: '出生证'
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
text: '外国人护照'
|
||||
@@ -995,54 +995,6 @@ export default {
|
||||
text: '港澳台居民居住证'
|
||||
}
|
||||
],
|
||||
//投保-被保险人证件类型(证件类型调整以及周边系统调整)
|
||||
idTypeAdjustment: [
|
||||
{
|
||||
id: 1,
|
||||
text: '居民身份证'
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
text: '户口本'
|
||||
},
|
||||
// {
|
||||
// id: 3,
|
||||
// text: '出生证'
|
||||
// },
|
||||
{
|
||||
id: 4,
|
||||
text: '外国人护照'
|
||||
},
|
||||
{
|
||||
id: 5,
|
||||
text: '港澳居民来往内地通行证'
|
||||
},
|
||||
{
|
||||
id: 6,
|
||||
text: '台湾居民来往大陆通行证'
|
||||
},
|
||||
/* {
|
||||
id: 7,
|
||||
text: '其他',
|
||||
disabled: true
|
||||
}*/
|
||||
{
|
||||
id: 8,
|
||||
text: '外国人永久居留身份证'
|
||||
},
|
||||
// {
|
||||
// id: 9,
|
||||
// text: '港澳台居民居住证'
|
||||
// },
|
||||
{
|
||||
id: 11,
|
||||
text: '港澳居民居住证'
|
||||
},
|
||||
{
|
||||
id: 12,
|
||||
text: '台湾居民居住证'
|
||||
},
|
||||
],
|
||||
//投保人证件类型
|
||||
insuredIdType: [
|
||||
{
|
||||
@@ -1085,106 +1037,6 @@ export default {
|
||||
text: '港澳台居民居住证'
|
||||
}
|
||||
],
|
||||
// 投保-投保人证件类型(证件类型调整以及周边系统调整)
|
||||
insuredIdTypeAdjustment: [
|
||||
{
|
||||
id: 1,
|
||||
text: '居民身份证'
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
text: '户口本',
|
||||
disabled: true
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
text: '出生证',
|
||||
disabled: true
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
text: '护照'
|
||||
},
|
||||
{
|
||||
id: 5,
|
||||
text: '港澳居民来往内地通行证'
|
||||
},
|
||||
{
|
||||
id: 6,
|
||||
text: '台湾居民来往大陆通行证'
|
||||
},
|
||||
/* {
|
||||
id: 7,
|
||||
text: '其他',
|
||||
disabled: true
|
||||
}*/
|
||||
{
|
||||
id: 8,
|
||||
text: '外国人永久居留身份证'
|
||||
},
|
||||
// {
|
||||
// id: 9,
|
||||
// text: '港澳台居民居住证'
|
||||
// }
|
||||
{
|
||||
id: 11,
|
||||
text: '港澳居民居住证'
|
||||
},
|
||||
{
|
||||
id: 12,
|
||||
text: '台湾居民居住证'
|
||||
},
|
||||
],
|
||||
// 投保-投保人证件类型-兼容需求前类型(证件类型调整以及周边系统调整)
|
||||
insuredIdTypeAllList: [
|
||||
{
|
||||
id: 1,
|
||||
text: '居民身份证'
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
text: '户口本',
|
||||
disabled: true
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
text: '出生证',
|
||||
disabled: true
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
text: '护照'
|
||||
},
|
||||
{
|
||||
id: 5,
|
||||
text: '港澳居民来往内地通行证'
|
||||
},
|
||||
{
|
||||
id: 6,
|
||||
text: '台湾居民来往大陆通行证'
|
||||
},
|
||||
/* {
|
||||
id: 7,
|
||||
text: '其他',
|
||||
disabled: true
|
||||
}*/
|
||||
{
|
||||
id: 8,
|
||||
text: '外国人永久居留身份证'
|
||||
},
|
||||
{
|
||||
id: 9,
|
||||
text: '港澳台居民居住证'
|
||||
},
|
||||
{
|
||||
id: 11,
|
||||
text: '港澳居民居住证'
|
||||
},
|
||||
{
|
||||
id: 12,
|
||||
text: '台湾居民居住证'
|
||||
},
|
||||
],
|
||||
//投保人证件类型
|
||||
insuredIdTypeSpecial: [
|
||||
{
|
||||
@@ -1207,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: [
|
||||
{
|
||||
@@ -1921,7 +1743,7 @@ export default {
|
||||
},
|
||||
{
|
||||
id: '07',
|
||||
text: '核保失败'
|
||||
text: '公司谢绝'
|
||||
},
|
||||
{
|
||||
id: '08',
|
||||
@@ -2125,7 +1947,7 @@ export default {
|
||||
},
|
||||
{
|
||||
id: '58',
|
||||
text: '待支付'
|
||||
text: '待客户付款'
|
||||
},
|
||||
{
|
||||
id: '59',
|
||||
@@ -3905,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",
|
||||
@@ -3956,14 +3778,6 @@ export default {
|
||||
code: "GFRS_M0073__cashValue",
|
||||
label: "元"
|
||||
},
|
||||
{
|
||||
code: "specMajorDiseaseInsurance",
|
||||
label: "元"
|
||||
},
|
||||
{
|
||||
code: "expireSurvivalInsurance",
|
||||
label: "元"
|
||||
},
|
||||
{
|
||||
code: "currentBonus_L",
|
||||
label: "元"
|
||||
@@ -3979,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: '元'
|
||||
}
|
||||
],
|
||||
// 卡单与短期险重新投保选择职业类别时,两个模块职业类型数据的排序不同,创建这个数据字典,用于在选择职业类别时,作为一个参数传入组件,
|
||||
@@ -4153,7 +3822,7 @@ export default {
|
||||
{ id: 'M', text: '母亲' }
|
||||
],
|
||||
// <!--------- 津贴申请专用 end --------->
|
||||
imageInfoType: [
|
||||
imageInfoType:[
|
||||
{ id: '1', text: '居民身份证正面' },
|
||||
{ id: '2', text: '居民身份证反面' },
|
||||
{ id: '3', text: '银行卡正面' },
|
||||
|
||||
@@ -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())
|
||||
}
|
||||
|
||||
@@ -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 - 详细地址 - 详细地址须同时包含汉字和数字,
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -1,34 +1,29 @@
|
||||
<template>
|
||||
<div>
|
||||
<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>
|
||||
<van-image :src="doneUrl" v-if="index !== 10" 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 :src="doneNurl" v-if="index !== 10" 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: {
|
||||
@@ -56,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',
|
||||
@@ -166,7 +159,7 @@ export default {
|
||||
salePageFlag: Number(localStorage.salePageFlag)
|
||||
}
|
||||
},
|
||||
async mounted() {
|
||||
mounted() {
|
||||
let that = this
|
||||
let data = {
|
||||
orderNo: that.$route.query.orderNo
|
||||
@@ -194,32 +187,11 @@ export default {
|
||||
})
|
||||
}
|
||||
}
|
||||
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 来控制是否可跳到指定页面
|
||||
|
||||
@@ -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') {
|
||||
|
||||
@@ -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, //缓存加密密码
|
||||
|
||||
@@ -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
|
||||
}
|
||||
},
|
||||
]
|
||||
@@ -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: '银保代理人电子化合同签署'
|
||||
}
|
||||
},
|
||||
]
|
||||
@@ -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 [
|
||||
{
|
||||
|
||||
@@ -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 [
|
||||
//津贴申请
|
||||
|
||||
@@ -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 [
|
||||
|
||||
@@ -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: '保单详情',
|
||||
}
|
||||
},
|
||||
]
|
||||
]
|
||||
@@ -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 [
|
||||
{
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -1,10 +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 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 [
|
||||
{
|
||||
|
||||
@@ -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 [
|
||||
{
|
||||
|
||||
@@ -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 [
|
||||
{
|
||||
|
||||
@@ -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 [
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const customerService = () => import('@/views/ebiz/customerService/customerService')
|
||||
const customerService = () => import(/* webpackChunkName: 'customerService' */ '@/views/ebiz/customerService/customerService')
|
||||
|
||||
|
||||
export default [
|
||||
|
||||
@@ -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 [
|
||||
{
|
||||
|
||||
@@ -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 [
|
||||
{
|
||||
|
||||
@@ -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 = {}
|
||||
@@ -23,7 +23,7 @@ export default [
|
||||
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: '开门红实时贺报'
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -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',
|
||||
|
||||
@@ -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,14 +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'
|
||||
export default [
|
||||
...proposal,
|
||||
...sale,
|
||||
...YB_agentSign,
|
||||
...customer,
|
||||
...my,
|
||||
...serve,
|
||||
@@ -90,7 +84,5 @@ export default [
|
||||
...laurelClub,
|
||||
...allowance,
|
||||
...cooperativeUnit,
|
||||
...YB_APP,
|
||||
...GBC,
|
||||
...healthInsuranceRenewal
|
||||
...YB_APP
|
||||
] //根据需要进行删减
|
||||
|
||||
@@ -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 [
|
||||
// 分公司
|
||||
{
|
||||
|
||||
@@ -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 [
|
||||
{
|
||||
|
||||
@@ -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 [
|
||||
|
||||
@@ -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 [
|
||||
{
|
||||
|
||||
@@ -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 [
|
||||
{
|
||||
|
||||
@@ -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 [
|
||||
{
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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 [
|
||||
{
|
||||
|
||||
@@ -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 [
|
||||
{
|
||||
|
||||
@@ -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 [
|
||||
{
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
//商品商城
|
||||
const ForwardRecord = () => import('@/views/ebiz/product-store/ForwardRecord')
|
||||
const LoginMsg = () => import('@/views/ebiz/product-store/LoginMsg')
|
||||
const StoreDetail = () => import('@/views/ebiz/product-store/StoreDetail')
|
||||
const StoreList = () => import('@/views/ebiz/product-store/StoreList')
|
||||
const Agreement = () => import('@/views/ebiz/product-store/Agreement')
|
||||
const Protocol = () => import('@/views/ebiz/product-store/Protocol')
|
||||
const ForwardRecord = () => import(/* webpackChunkName: 'productstore' */ '@/views/ebiz/product-store/ForwardRecord')
|
||||
const LoginMsg = () => import(/* webpackChunkName: 'productstore' */ '@/views/ebiz/product-store/LoginMsg')
|
||||
const StoreDetail = () => import(/* webpackChunkName: 'productstore' */ '@/views/ebiz/product-store/StoreDetail')
|
||||
const StoreList = () => import(/* webpackChunkName: 'productstore' */ '@/views/ebiz/product-store/StoreList')
|
||||
const Agreement = () => import(/* webpackChunkName: 'productstore' */ '@/views/ebiz/product-store/Agreement')
|
||||
const Protocol = () => import(/* webpackChunkName: 'productstore' */ '@/views/ebiz/product-store/Protocol')
|
||||
export default [
|
||||
{
|
||||
path: '/productStore/forwardRecord',
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
//产品列表 定义相关组件
|
||||
const productList = () => import('@/views/ebiz/product/ProductList')
|
||||
const productDetail = () => import('@/views/ebiz/product/ProductDetail')
|
||||
const productDocument = () => import('@/views/ebiz/product/ProductDocument')
|
||||
const homeProduct = () => import('@/views/ebiz/product/HomeProduct')
|
||||
const productList = () => import(/* webpackChunkName: 'product' */ '@/views/ebiz/product/ProductList')
|
||||
const productDetail = () => import(/* webpackChunkName: 'product' */ '@/views/ebiz/product/ProductDetail')
|
||||
const productDocument = () => import(/* webpackChunkName: 'product' */ '@/views/ebiz/product/ProductDocument')
|
||||
const homeProduct = () => import(/* webpackChunkName: 'product' */ '@/views/ebiz/product/HomeProduct')
|
||||
|
||||
export default [
|
||||
{
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
//产说会列表 定义相关组件
|
||||
const List = () => import('@/views/ebiz/productionSay/List')
|
||||
const createChangeItem = () => import('@/views/ebiz/productionSay/createChangeItem')
|
||||
const statistics = () => import('@/views/ebiz/productionSay/statistics')
|
||||
const statisticsItem = () => import('@/views/ebiz/productionSay/statisticsItem')
|
||||
const List = () => import(/* webpackChunkName: 'productionSay' */ '@/views/ebiz/productionSay/List')
|
||||
const createChangeItem = () => import(/* webpackChunkName: 'productionSay' */ '@/views/ebiz/productionSay/createChangeItem')
|
||||
const statistics = () => import(/* webpackChunkName: 'productionSay' */ '@/views/ebiz/productionSay/statistics')
|
||||
const statisticsItem = () => import(/* webpackChunkName: 'productionSay' */ '@/views/ebiz/productionSay/statisticsItem')
|
||||
|
||||
export default [
|
||||
{
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
//建议书 定义相关组件
|
||||
const list = () => import('@/views/ebiz/proposal/List')
|
||||
const appnt = () => import('@/views/ebiz/proposal/Appnt')
|
||||
const chooseInsuredPerson = () => import('@/views/ebiz/proposal/ChooseInsuredPerson')
|
||||
const insuredPerson = () => import('@/views/ebiz/proposal/InsuredPerson')
|
||||
const exhibition = () => import('@/views/ebiz/proposal/Exhibition')
|
||||
const companyProfile = () => import('@/views/ebiz/proposal/CompanyProfile')
|
||||
const pdf = () => import('@/views/ebiz/proposal/PDF')
|
||||
const proposalInfo = () => import('@/views/ebiz/proposal/ProposalInfo')
|
||||
const caluePdf = () => import('@/views/ebiz/proposal/CaluePDF')
|
||||
const newAppnt = () => import('@/views/ebiz/proposal/NewAppnt')
|
||||
const newInsuredPerson = () => import('@/views/ebiz/proposal/NewInsuredPerson')
|
||||
const list = () => import(/* webpackChunkName: 'proposal' */ '@/views/ebiz/proposal/List')
|
||||
const appnt = () => import(/* webpackChunkName: 'proposal' */ '@/views/ebiz/proposal/Appnt')
|
||||
const chooseInsuredPerson = () => import(/* webpackChunkName: 'proposal' */ '@/views/ebiz/proposal/ChooseInsuredPerson')
|
||||
const insuredPerson = () => import(/* webpackChunkName: 'proposal' */ '@/views/ebiz/proposal/InsuredPerson')
|
||||
const exhibition = () => import(/* webpackChunkName: 'proposal' */ '@/views/ebiz/proposal/Exhibition')
|
||||
const companyProfile = () => import(/* webpackChunkName: 'proposal' */ '@/views/ebiz/proposal/CompanyProfile')
|
||||
const pdf = () => import(/* webpackChunkName: 'proposal' */ '@/views/ebiz/proposal/PDF')
|
||||
const proposalInfo = () => import(/* webpackChunkName: 'proposal' */ '@/views/ebiz/proposal/ProposalInfo')
|
||||
const caluePdf = () => import(/* webpackChunkName: 'proposal' */ '@/views/ebiz/proposal/CaluePDF')
|
||||
const newAppnt = () => import(/* webpackChunkName: 'proposal' */ '@/views/ebiz/proposal/NewAppnt')
|
||||
const newInsuredPerson = () => import(/* webpackChunkName: 'proposal' */ '@/views/ebiz/proposal/NewInsuredPerson')
|
||||
|
||||
export default [
|
||||
{
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
const list = () => import('@/views/ebiz/renewalManage/List')
|
||||
const customerList = () => import('@/views/ebiz/renewalManage/customerList')
|
||||
const policyList = () => import('@/views/ebiz/renewalManage/policyList')
|
||||
const detail = () => import('@/views/ebiz/renewalManage/Detail')
|
||||
const policyDetail = () => import('@/views/ebiz/renewalManage/policyDetail')
|
||||
const msgTemplate = () => import('@/views/ebiz/renewalManage/MsgTemplate')
|
||||
const shortPolicyList = () => import('@/views/ebiz/renewalManage/shortPolicyList')
|
||||
const shortPolicyDetail = () => import('@/views/ebiz/renewalManage/shortPolicyDetail')
|
||||
const list = () => import(/* webpackChunkName: 'renewalManage' */ '@/views/ebiz/renewalManage/List')
|
||||
const customerList = () => import(/* webpackChunkName: 'renewalManage' */ '@/views/ebiz/renewalManage/customerList')
|
||||
const policyList = () => import(/* webpackChunkName: 'renewalManage' */ '@/views/ebiz/renewalManage/policyList')
|
||||
const detail = () => import(/* webpackChunkName: 'renewalManage' */ '@/views/ebiz/renewalManage/Detail')
|
||||
const policyDetail = () => import(/* webpackChunkName: 'renewalManage' */ '@/views/ebiz/renewalManage/policyDetail')
|
||||
const msgTemplate = () => import(/* webpackChunkName: 'renewalManage' */ '@/views/ebiz/renewalManage/MsgTemplate')
|
||||
const shortPolicyList = () => import(/* webpackChunkName: 'renewalManage' */ '@/views/ebiz/renewalManage/shortPolicyList')
|
||||
const shortPolicyDetail = () => import(/* webpackChunkName: 'renewalManage' */ '@/views/ebiz/renewalManage/shortPolicyDetail')
|
||||
export default [
|
||||
{
|
||||
path: '/renewalManage/list',
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//数据报表 定义相关组件
|
||||
const reportList = () => import('@/views/ebiz/report/reportList')
|
||||
const reportDetail = () => import('@/views/ebiz/report/reportDetail')
|
||||
const reportList = () => import(/* webpackChunkName: 'report' */ '@/views/ebiz/report/reportList')
|
||||
const reportDetail = () => import(/* webpackChunkName: 'report' */ '@/views/ebiz/report/reportDetail')
|
||||
|
||||
export default [
|
||||
{
|
||||
|
||||
@@ -1,47 +1,40 @@
|
||||
//电子投保 定义相关组件
|
||||
const list = () => import('@/views/ebiz/sale/List')
|
||||
const insuredPerson = () => import('@/views/ebiz/sale/InsuredPerson')
|
||||
const insuredInfo = () => import('@/views/ebiz/sale/InsuredInfo')
|
||||
const result = () => import('@/views/ebiz/sale/Result')
|
||||
const beneficiary = () => import('@/views/ebiz/sale/Beneficiary')
|
||||
const attachmentManagement = () => import('@/views/ebiz/sale/AttachmentManagement')
|
||||
|
||||
const addBeneficiaryInfo = () => import('@/views/ebiz/sale/AddBeneficiaryInfo')
|
||||
|
||||
const signatureConfirmation = () => import('@/views/ebiz/sale/SignatureConfirmation')
|
||||
const notifyingMessage = () => import('@/views/ebiz/sale/NotifyingMessage')
|
||||
const universalRiskNotifyingMessage = () => import('@/views/ebiz/sale/universalRiskNotifyingMessage')
|
||||
const answerPage = () => import('@/views/ebiz/sale/answerPage')
|
||||
const answerSuccess = () => import('@/views/ebiz/sale/answerSuccess')
|
||||
const accountInformation = () => import('@/views/ebiz/sale/AccountInformation')
|
||||
const insuranceInformation = () => import('@/views/ebiz/sale/InsuranceInformation')
|
||||
const insuranceInformation_0081 = () => import('@/views/ebiz/sale/InsuranceInformation_0081')
|
||||
const insuranceClauses = () => import('@/views/ebiz/sale/insuranceClauses')
|
||||
const insuranceTip = () => import('@/views/ebiz/sale/InsuranceTip')
|
||||
const universalRiskNotifyingMessageTip = () => import('@/views/ebiz/sale/universalRiskNotifyingMessageTip')
|
||||
const InsuranceRiskReminder = () => import('@/views/ebiz/sale/InsuranceRiskReminder')
|
||||
const signatureOfElectronic = () => import('@/views/ebiz/sale/SignatureOfElectronic')
|
||||
const PersonalInformation = () => import('@/views/ebiz/sale/PersonalInformation')
|
||||
const AnswerTip = () => import('@/views/ebiz/sale/AnswerTip')
|
||||
const payResult = () => import('@/views/ebiz/sale/PayResult')
|
||||
const cardScan = () => import('@/views/ebiz/sale/CardScan')
|
||||
const identitycardScan = () => import('@/views/ebiz/sale/identityCardScan')
|
||||
const payMent = () => import('@/views/ebiz/sale/PayMent')
|
||||
const backShow = () => import('@/views/ebiz/sale/BackShow')
|
||||
const Test = () => import('@/views/ebiz/sale/test')
|
||||
const detail = () => import('@/views/ebiz/sale/Detail')
|
||||
const productTip = () => import('@/views/ebiz/sale/productTip')
|
||||
const avoidDutyTip = () => import('@/views/ebiz/sale/AvoidDutyTip')
|
||||
const doubleRecordTip = () => import('@/views/ebiz/sale/DoubleRecordTip')
|
||||
const PayResultFail = () => import('@/views/ebiz/sale/PayResultFail')
|
||||
const apointValidDoc = () => import('@/views/ebiz/sale/apointValidDoc')
|
||||
const shortPeriodProduct = () => import('@/views/ebiz/sale/shortPeriodProduct')
|
||||
const commitmentSelfProtect = () => import('@/views/ebiz/sale/commitmentSelfProtect')
|
||||
const readDocuments = () => import('@/views/ebiz/sale/readDocuments')
|
||||
const signDocuments = () => import('@/views/ebiz/sale/signDocuments')
|
||||
|
||||
const list = () => import(/* webpackChunkName: 'sale1' */ '@/views/ebiz/sale/List')
|
||||
const insuredPerson = () => import(/* webpackChunkName: 'sale1' */ '@/views/ebiz/sale/InsuredPerson')
|
||||
const insuredInfo = () => import(/* webpackChunkName: 'sale1' */ '@/views/ebiz/sale/InsuredInfo')
|
||||
const result = () => import(/* webpackChunkName: 'sale1' */ '@/views/ebiz/sale/Result')
|
||||
const beneficiary = () => import(/* webpackChunkName: 'sale1' */ '@/views/ebiz/sale/Beneficiary')
|
||||
const attachmentManagement = () => import(/* webpackChunkName: 'sale1' */ '@/views/ebiz/sale/AttachmentManagement')
|
||||
const addBeneficiaryInfo = () => import(/* webpackChunkName: 'sale1' */ '@/views/ebiz/sale/AddBeneficiaryInfo')
|
||||
const signatureConfirmation = () => import(/* webpackChunkName: 'sale1' */ '@/views/ebiz/sale/SignatureConfirmation')
|
||||
const notifyingMessage = () => import(/* webpackChunkName: 'sale1' */ '@/views/ebiz/sale/NotifyingMessage')
|
||||
const universalRiskNotifyingMessage = () => import(/* webpackChunkName: 'sale1' */ '@/views/ebiz/sale/universalRiskNotifyingMessage')
|
||||
const answerPage = () => import(/* webpackChunkName: 'sale2' */ '@/views/ebiz/sale/answerPage')
|
||||
const answerSuccess = () => import(/* webpackChunkName: 'sale2' */ '@/views/ebiz/sale/answerSuccess')
|
||||
const accountInformation = () => import(/* webpackChunkName: 'sale2' */ '@/views/ebiz/sale/AccountInformation')
|
||||
const insuranceInformation = () => import(/* webpackChunkName: 'sale2' */ '@/views/ebiz/sale/InsuranceInformation')
|
||||
const insuranceClauses = () => import(/* webpackChunkName: 'sale2' */ '@/views/ebiz/sale/insuranceClauses')
|
||||
const insuranceTip = () => import(/* webpackChunkName: 'sale2' */ '@/views/ebiz/sale/InsuranceTip')
|
||||
const universalRiskNotifyingMessageTip = () => import(/* webpackChunkName: 'sale2' */ '@/views/ebiz/sale/universalRiskNotifyingMessageTip')
|
||||
const InsuranceRiskReminder = () => import(/* webpackChunkName: 'sale2' */ '@/views/ebiz/sale/InsuranceRiskReminder')
|
||||
const signatureOfElectronic = () => import(/* webpackChunkName: 'sale2' */ '@/views/ebiz/sale/SignatureOfElectronic')
|
||||
const PersonalInformation = () => import(/* webpackChunkName: 'sale2' */ '@/views/ebiz/sale/PersonalInformation')
|
||||
const AnswerTip = () => import(/* webpackChunkName: 'sale3' */ '@/views/ebiz/sale/AnswerTip')
|
||||
const payResult = () => import(/* webpackChunkName: 'sale3' */ '@/views/ebiz/sale/PayResult')
|
||||
const cardScan = () => import(/* webpackChunkName: 'sale3' */ '@/views/ebiz/sale/CardScan')
|
||||
const identitycardScan = () => import(/* webpackChunkName: 'sale3' */ '@/views/ebiz/sale/identityCardScan')
|
||||
const payMent = () => import(/* webpackChunkName: 'sale3' */ '@/views/ebiz/sale/PayMent')
|
||||
const backShow = () => import(/* webpackChunkName: 'sale3' */ '@/views/ebiz/sale/BackShow')
|
||||
const Test = () => import(/* webpackChunkName: 'sale3' */ '@/views/ebiz/sale/test')
|
||||
const detail = () => import(/* webpackChunkName: 'sale3' */ '@/views/ebiz/sale/Detail')
|
||||
const productTip = () => import(/* webpackChunkName: 'sale3' */ '@/views/ebiz/sale/productTip')
|
||||
const avoidDutyTip = () => import(/* webpackChunkName: 'sale3' */ '@/views/ebiz/sale/AvoidDutyTip')
|
||||
const doubleRecordTip = () => import(/* webpackChunkName: 'sale4' */ '@/views/ebiz/sale/DoubleRecordTip')
|
||||
const PayResultFail = () => import(/* webpackChunkName: 'sale4' */ '@/views/ebiz/sale/PayResultFail')
|
||||
const apointValidDoc = () => import(/* webpackChunkName: 'sale4' */ '@/views/ebiz/sale/apointValidDoc')
|
||||
const shortPeriodProduct = () => import(/* webpackChunkName: 'sale4' */ '@/views/ebiz/sale/shortPeriodProduct')
|
||||
const commitmentSelfProtect = () => import(/* webpackChunkName: 'sale4' */ '@/views/ebiz/sale/commitmentSelfProtect')
|
||||
let riskName = localStorage.riskName
|
||||
console.log('sale/riskName==', riskName)
|
||||
export default [
|
||||
{
|
||||
path: '/sale/list',
|
||||
@@ -168,14 +161,6 @@ export default [
|
||||
title: '投保须知'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/sale/insuranceInformation_0081',
|
||||
name: 'insuranceInformation_0081',
|
||||
component: insuranceInformation_0081,
|
||||
meta: {
|
||||
title: '投保须知'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/sale/insuranceClauses',
|
||||
name: 'insuranceClauses',
|
||||
@@ -331,21 +316,5 @@ export default [
|
||||
meta: {
|
||||
title: '国富人寿投保风险承受能力测评表'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/sale/readDocuments',
|
||||
name: 'readDocuments',
|
||||
component: readDocuments,
|
||||
meta: {
|
||||
title: '阅读文件'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/sale/signDocuments',
|
||||
name: 'signDocuments',
|
||||
component: signDocuments,
|
||||
meta: {
|
||||
title: '签名页面'
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
//服务 定义相关组件
|
||||
const list = () => import('@/views/ebiz/serve/List')
|
||||
const detail = () => import('@/views/ebiz/serve/Detail')
|
||||
const policyList = () => import('@/views/ebiz/serve/PolicyList')
|
||||
const caseApplication = () => import('@/views/ebiz/serve/CaseApplication')
|
||||
const Result = () => import('@/views/ebiz/serve/Result')
|
||||
const airSign = () => import('@/views/ebiz/serve/AirSign')
|
||||
const crossPolicyList = () => import('@/views/ebiz/serve/CrossPolicyList')
|
||||
const list = () => import(/* webpackChunkName: 'serve' */ '@/views/ebiz/serve/List')
|
||||
const detail = () => import(/* webpackChunkName: 'serve' */ '@/views/ebiz/serve/Detail')
|
||||
const policyList = () => import(/* webpackChunkName: 'serve' */ '@/views/ebiz/serve/PolicyList')
|
||||
const caseApplication = () => import(/* webpackChunkName: 'serve' */ '@/views/ebiz/serve/CaseApplication')
|
||||
const Result = () => import(/* webpackChunkName: 'serve' */ '@/views/ebiz/serve/Result')
|
||||
const airSign = () => import(/* webpackChunkName: 'serve' */ '@/views/ebiz/serve/AirSign')
|
||||
const crossPolicyList = () => import(/* webpackChunkName: 'serve' */ '@/views/ebiz/serve/CrossPolicyList')
|
||||
|
||||
export default [
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//服务 定义相关组件
|
||||
const surveyList = () => import('@/views/ebiz/survey/SurveyList')
|
||||
const surveyDetail = () => import('@/views/ebiz/survey/SurveyDetail')
|
||||
const shareCover = () => import('@/views/ebiz/survey/ShareCover')
|
||||
const surveyList = () => import(/* webpackChunkName: 'survey' */ '@/views/ebiz/survey/SurveyList')
|
||||
const surveyDetail = () => import(/* webpackChunkName: 'survey' */ '@/views/ebiz/survey/SurveyDetail')
|
||||
const shareCover = () => import(/* webpackChunkName: 'survey' */ '@/views/ebiz/survey/ShareCover')
|
||||
|
||||
export default [
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//培训系统 定义相关组件
|
||||
const trainLoading = () => import('@/views/ebiz/train/TrainLoading')
|
||||
const trainLoading = () => import(/* webpackChunkName: 'train' */ '@/views/ebiz/train/TrainLoading')
|
||||
|
||||
export default [
|
||||
{
|
||||
|
||||
@@ -31,8 +31,8 @@ export default new Vuex.Store({
|
||||
YBidNo: '', //银保代理人电子化合同签署证件号码
|
||||
YBname: '', //银保代理人电子化合同签署姓名
|
||||
YBuuid: '', //银保代理人电子化合同签署代理人uuid
|
||||
appntSign: '', //投保人阅读签署文件
|
||||
insuredSign: '', //被保人阅读签署文件
|
||||
uploadImgType: '',
|
||||
uploadImgOrderNo: '',
|
||||
},
|
||||
mutations: {
|
||||
setOrderDetail (state, data) {
|
||||
@@ -80,8 +80,11 @@ export default new Vuex.Store({
|
||||
state.pcList = val
|
||||
},
|
||||
//更新 风险测评是否显示状态
|
||||
updateAnswerType (state, val) {
|
||||
state.answerType = val
|
||||
updateUploadImgType (state, val) {
|
||||
state.uploadImgType = val
|
||||
},
|
||||
updateUploadImgOrderNo (state, val) {
|
||||
state.uploadImgOrderNo = val
|
||||
},
|
||||
//更新 银保代理人电子化合同签署证件号码
|
||||
updateYBidNo (state, val) {
|
||||
@@ -95,14 +98,6 @@ export default new Vuex.Store({
|
||||
updateYBuuid (state, val) {
|
||||
state.YBuuid = val
|
||||
},
|
||||
//更新 投保人阅读签署文件
|
||||
updateappntSign (state, val) {
|
||||
state.appntSign = val
|
||||
},
|
||||
//更新 被保人阅读签署文件
|
||||
updateinsuredSign (state, val) {
|
||||
state.insuredSign = val
|
||||
},
|
||||
},
|
||||
getters: {
|
||||
getPageFlag (state) {
|
||||
@@ -129,6 +124,12 @@ export default new Vuex.Store({
|
||||
getAnswerType (state) {
|
||||
return state.answerType
|
||||
},
|
||||
getUploadImgType (state) {
|
||||
return state.uploadImgType
|
||||
},
|
||||
getUploadImgOrderNo (state) {
|
||||
return state.uploadImgOrderNo
|
||||
},
|
||||
getYBidNo (state) {
|
||||
return state.YBidNo
|
||||
},
|
||||
@@ -138,12 +139,6 @@ export default new Vuex.Store({
|
||||
getYBuuid (state) {
|
||||
return state.YBuuid
|
||||
},
|
||||
getappntSign (state) {
|
||||
return state.appntSign
|
||||
},
|
||||
getinsuredSign (state) {
|
||||
return state.insuredSign
|
||||
},
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
@@ -1,409 +0,0 @@
|
||||
<template>
|
||||
<div>
|
||||
<div style="background: #fff;margin: 10px;padding: 10px;border-radius: 5px;">
|
||||
<div style="display: flex;font-size: 14px;font-weight: bold;">
|
||||
<span style="width: 25%;display: flex;align-items: center;align-items: center;line-height: 30px;justify-content: center;">保单数量</span>
|
||||
<span style="width: 25%;display: flex;align-items: center;align-items: center;line-height: 30px;justify-content: center">家庭成员</span>
|
||||
<span style="width: 25%;display: flex;align-items: center;align-items: center;line-height: 30px;justify-content: center;">总保额</span>
|
||||
<span style="width: 25%;display: flex;align-items: center;align-items: center;line-height: 30px;justify-content: center;">总保费</span>
|
||||
</div>
|
||||
<div style="display: flex;font-size: 13px;color: #999;margin-top: 10px;">
|
||||
<span style="width: 25%;display: flex;align-items: flex-end;align-items: baseline;justify-content: center;">
|
||||
<span style="color: #EC5449;font-size: 22px;margin-right: 2px;font-weight: bold;">{{infoContent.contSize}}</span>
|
||||
<span>份</span>
|
||||
</span>
|
||||
<span style="width: 25%;display: flex;align-items: flex-end;align-items: baseline;justify-content: center;">
|
||||
<span style="color: #EC5449;font-size: 22px;margin-right: 2px;font-weight: bold;">{{infoContent.members.length}}</span>
|
||||
<span>人</span>
|
||||
</span>
|
||||
<span style="width: 25%;display: flex;align-items: flex-end;align-items: baseline;justify-content: center;">
|
||||
<span style="color: #EC5449;font-size: 22px;margin-right: 2px;font-weight: bold;">{{infoContent.totalAmt}}</span>
|
||||
<span>万元</span>
|
||||
</span>
|
||||
<span style="width: 25%;display: flex;align-items: flex-end;align-items: baseline;justify-content: center;">
|
||||
<span style="color: #EC5449;font-size: 22px;margin-right: 2px;font-weight: bold;">{{infoContent.totalPrem}}</span>
|
||||
<span>万元</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div style="margin: 10px;overflow: auto;white-space: nowrap;">
|
||||
<div v-for="(item,index) in infoContent.members" @click="activeMembers(item,index)" class="membersClass" :key="index" :style="{border:activeMembersIndex==index?'1px solid #e98c8c':'none'}">
|
||||
<div v-if="item.gender=='1'" class="triangle1"></div>
|
||||
<div v-if="item.gender=='0'" class="triangle2"></div>
|
||||
<div v-if="item.relateToAppnt == 1" style="position: absolute;right: 2px;top: 2px;font-size: 12px;color: #fff;">本人</div>
|
||||
<div v-if="item.relateToAppnt == 2" style="position: absolute;right: 2px;top: 2px;font-size: 12px;color: #fff;">配偶</div>
|
||||
<div v-if="item.relateToAppnt == 3" style="position: absolute;right: 2px;top: 2px;font-size: 12px;color: #fff;">父母</div>
|
||||
<div v-if="item.relateToAppnt == 4" style="position: absolute;right: 2px;top: 2px;font-size: 12px;color: #fff;">子女</div>
|
||||
<div v-if="item.relateToAppnt == 5" style="position: absolute;right: 2px;top: 2px;font-size: 12px;color: #fff;">其他</div>
|
||||
<div style="position: absolute;top: 20px;left: 20px;">
|
||||
<img v-if="item.gender =='0' && item.relateToAppnt == 1" src="@/assets/images/GBC/relation6.png" style="width: 40px;" />
|
||||
<img v-if="item.gender =='1' && item.relateToAppnt == 1" src="@/assets/images/GBC/relation1.png" style="width: 40px;" />
|
||||
<img v-if="item.gender =='0' && item.relateToAppnt == 2" src="@/assets/images/GBC/relation6.png" style="width: 40px;" />
|
||||
<img v-if="item.gender =='1' && item.relateToAppnt == 2" src="@/assets/images/GBC/relation1.png" style="width: 40px;" />
|
||||
<img v-if="item.gender =='0' && item.relateToAppnt == 3" src="@/assets/images/GBC/relation4.png" style="width: 40px;" />
|
||||
<img v-if="item.gender =='1' && item.relateToAppnt == 3" src="@/assets/images/GBC/relation5.png" style="width: 40px;" />
|
||||
<img v-if="item.gender =='0' && item.relateToAppnt == 4" src="@/assets/images/GBC/relation3.png" style="width: 40px;" />
|
||||
<img v-if="item.gender =='1' && item.relateToAppnt == 4" src="@/assets/images/GBC/relation2.png" style="width: 40px;" />
|
||||
<img v-if="item.gender =='0' && item.relateToAppnt == 5" src="@/assets/images/GBC/relation6.png" style="width: 40px;" />
|
||||
<img v-if="item.gender =='1' && item.relateToAppnt == 5" src="@/assets/images/GBC/relation1.png" style="width: 40px;" />
|
||||
</div>
|
||||
<div style="position: absolute;bottom: 3px;width: 100%;text-align: center;font-size: 12px;">{{item.appntName}}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="margin: 10px;border-radius: 5px;overflow: hidden;">
|
||||
<van-collapse v-model="activeNames">
|
||||
<van-collapse-item title="基本信息" name="1">
|
||||
<div style="display: flex;padding-bottom: 10px;border-bottom: 1px dashed #666;">
|
||||
<div style="width: 30%;line-height: 30px;color: #666;">
|
||||
<p>客户姓名:</p>
|
||||
<p>年龄:</p>
|
||||
<p>性别:</p>
|
||||
<p>手机号码:</p>
|
||||
<p v-if="activeMembersIndex == 0">部门/科室:</p>
|
||||
</div>
|
||||
<div style="width: 70%;line-height: 30px;color: #000;">
|
||||
<p>{{infoContent.appntName}}</p>
|
||||
<p>{{infoContent.age}}周岁</p>
|
||||
<p>{{infoContent.gender=='1'?'女':'男'}}</p>
|
||||
<p>{{infoContent.mobile}}</p>
|
||||
<p v-if="activeMembersIndex == 0">{{infoContent.departmentName}}</p>
|
||||
</div>
|
||||
</div>
|
||||
<van-field @click="toSelect('toChooseAppntType')" v-model="infoContent.appntTypeName" class="customerType" label="客户类型" name="客户类型" readonly right-icon="arrow" placeholder="请选择"/>
|
||||
</van-collapse-item>
|
||||
</van-collapse>
|
||||
</div>
|
||||
<div style="margin: 10px;border-radius: 5px;overflow: hidden;">
|
||||
<van-collapse v-model="activeNames">
|
||||
<van-collapse-item title="沟通记录" name="2">
|
||||
<div style="display: flex;justify-content: space-between;align-items: center;">
|
||||
<span>内容描述:</span>
|
||||
<van-button @click="activeConnectRecords = true" plain round type="danger" size="small">添 加</van-button>
|
||||
</div>
|
||||
<div v-if="activeConnectRecords">
|
||||
<div class="message">
|
||||
<div class="wrapper">
|
||||
<div class="parents">
|
||||
<textarea placeholder="请输入内容描述......" maxlength="500" autofocus="true" v-model="connectContent"></textarea>
|
||||
<span class="tips">
|
||||
{{connectContent.length}}/500
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="saveMeaasge" style="margin-top: 10px;display: flex;justify-content: center;">
|
||||
<van-button @click="getGBCappntConnectSave" type="danger" size="small">保 存</van-button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="connectRecordsClass" style="border-top: 1px solid #dedede;margin-top: 10px;">
|
||||
<div v-for="(item,index) in infoContent.connectRecords" :key="index" style="margin-top: 10px;">
|
||||
<div style="display: flex;line-height: 30px;align-items: center;">
|
||||
<span style="display: inline-block;width: 30%;color: #666;">记录时间:</span>
|
||||
<span style="display: inline-block;width: 70%;color: #000;">{{item.connectTime}}</span>
|
||||
</div>
|
||||
<div style="display: flex;line-height: 30px;align-items: center;">
|
||||
<span style="display: inline-block;width: 30%;color: #666;">提交人:</span>
|
||||
<span style="display: inline-block;width: 70%;color: #000;">{{item.createUser}}</span>
|
||||
</div>
|
||||
<div style="display: flex;line-height: 30px;align-items: center;">
|
||||
<span style="display: inline-block;width: 30%;color: #666;">内容描述:</span>
|
||||
<span style="display: inline-block;width: 70%;color: #000;"></span>
|
||||
</div>
|
||||
<div class="itemMessage">
|
||||
<van-field v-model="item.connectContent" readonly rows="5" label="" type="textarea" maxlength="500" placeholder=""/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</van-collapse-item>
|
||||
</van-collapse>
|
||||
</div>
|
||||
<div style="margin: 10px;border-radius: 5px;overflow: hidden;">
|
||||
<van-collapse v-model="activeNames">
|
||||
<van-collapse-item title="保单信息" name="3">
|
||||
<div v-for="(item,index) in infoContent.contList" :key="index" style="border-bottom: 1px dashed #dedede;margin-bottom: 20px;">
|
||||
<div style="display: flex;justify-content: space-between;align-items: center;border-bottom: 1px solid #dedede;padding-bottom: 5px;">
|
||||
<div>
|
||||
<p style="font-size: 14px;font-weight: bold;line-height: 25px;color: #000;">{{item.productName}} </p>
|
||||
<p style="font-size: 12px;line-height: 25px;color: #999;">保单号:{{item.contNo}} </p>
|
||||
</div>
|
||||
<div v-if="item.orderStatus == '08'" style="padding: 10px 20px;border-radius: 8px;border: 1px solid #e9332e;background: #ffdfde;color: #e9332e;">
|
||||
<span>已承保</span>
|
||||
</div>
|
||||
<div v-if="item.orderStatus == '09'" style="padding: 10px 20px;border-radius: 8px;border: 1px solid #48A1F3;background: #DBEDFE;color: #48A1F3;">
|
||||
<span>已退保</span>
|
||||
</div>
|
||||
</div>
|
||||
<div style="padding: 10px 0px;">
|
||||
<div style="display: flex;line-height: 30px;align-items: center;">
|
||||
<p style="width: 25%;color: #666;">投保人:</p>
|
||||
<p style="width: 25%;color: #000;">{{item.appntName}}</p>
|
||||
<p style="width: 25%;color: #666;">被保险人:</p>
|
||||
<p style="width: 25%;color: #000;">{{item.insuredName}}</p>
|
||||
</div>
|
||||
<div style="display: flex;line-height: 30px;align-items: center;">
|
||||
<p style="width: 25%;color: #666;">保额(元):</p>
|
||||
<p style="width: 25%;color: #000;">{{Number(item.amt).toFixed(2)}}</p>
|
||||
<p style="width: 25%;color: #666;">保费(元):</p>
|
||||
<p style="width: 25%;color: #000;">{{Number(item.prem).toFixed(2)}}</p>
|
||||
</div>
|
||||
<div style="display: flex;line-height: 30px;align-items: center;">
|
||||
<p style="width: 25%;color: #666;">交费期间:</p>
|
||||
<p style="width: 25%;color: #000;">{{item.paymentPeriod}}</p>
|
||||
<p style="width: 25%;color: #666;">保险期间:</p>
|
||||
<p style="width: 25%;color: #000;">{{item.insuredPeriod}}</p>
|
||||
</div>
|
||||
<div style="display: flex;line-height: 30px;align-items: center;">
|
||||
<p style="width: 30%;color: #666;">保险生效日期:</p>
|
||||
<p style="width: 50%;color: #000;">{{item.effectiveDate}}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</van-collapse-item>
|
||||
</van-collapse>
|
||||
</div>
|
||||
<van-popup v-model="popupShow" position="bottom">
|
||||
<van-picker show-toolbar :columns="columns" @confirm="onConfirm" @cancel="popupShow = false" />
|
||||
</van-popup>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { Collapse, CollapseItem } from 'vant'
|
||||
import { getGBCappntDetail, getGBCappntTypeSave, getGBCappntConnectSave } from '@/api/GBC/GBC.js'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
[Collapse.name]: Collapse,
|
||||
[CollapseItem.name]: CollapseItem,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
activeMembersIndex:0,
|
||||
activeConnectRecords:false,
|
||||
infoContent:{
|
||||
members:[
|
||||
{appntName:'刘亚丽',relateToAppnt:1,src:require('@/assets/images/GBC/relation1.png'),gender:'1'},
|
||||
{appntName:'刘桂芬',relateToAppnt:2,src:require('@/assets/images/GBC/relation2.png'),gender:'1'},
|
||||
{appntName:'谢居安',relateToAppnt:3,src:require('@/assets/images/GBC/relation3.png'),gender:'0'},
|
||||
{appntName:'谢危',relateToAppnt:4,src:require('@/assets/images/GBC/relation4.png'),gender:'0'},
|
||||
{appntName:'刘亚丽',relateToAppnt:5,src:require('@/assets/images/GBC/relation5.png'),gender:'1'},
|
||||
{appntName:'刘桂芬',relateToAppnt:6,src:require('@/assets/images/GBC/relation6.png'),gender:'1'},
|
||||
{appntName:'谢居安',relateToAppnt:7,src:require('@/assets/images/GBC/relation1.png'),gender:'0'},
|
||||
{appntName:'谢危',relateToAppnt:8,src:require('@/assets/images/GBC/relation2.png'),gender:'0'},
|
||||
{appntName:'谢危',relateToAppnt:9,src:require('@/assets/images/GBC/relation2.png'),gender:'0'},
|
||||
],
|
||||
connectRecords:[
|
||||
{
|
||||
connectTime:'2023-11-21 16:00:00',
|
||||
createUser:'赵威武',
|
||||
connectContent:'客户为财务部总经理,45岁,2个小孩,大儿子读初中,小女儿读小学,爱人在银行工作,全家人都已配置过重疾险,保额均为30万。自己可以做购买决策,但目前有2套房贷在供,经济压力较大,但对我司方案很认可,回去商量后再决定是否加保'
|
||||
},
|
||||
{
|
||||
connectTime:'2023-11-21 16:00:00',
|
||||
createUser:'赵威武',
|
||||
connectContent:'客户为财务部总经理,45岁,2个小孩,大儿子读初中,小女儿读小学,爱人在银行工作,全家人都已配置过重疾险,保额均为30万。自己可以做购买决策,但目前有2套房贷在供,经济压力较大,但对我司方案很认可,回去商量后再决定是否加保'
|
||||
},
|
||||
{
|
||||
connectTime:'2023-11-21 16:00:00',
|
||||
createUser:'赵威武',
|
||||
connectContent:'客户为财务部总经理,45岁,2个小孩,大儿子读初中,小女儿读小学,爱人在银行工作,全家人都已配置过重疾险,保额均为30万。自己可以做购买决策,但目前有2套房贷在供,经济压力较大,但对我司方案很认可,回去商量后再决定是否加保'
|
||||
}
|
||||
],
|
||||
contList:[
|
||||
{appntName:'赵燕燕',insuredName:'赵燕燕',amt:'3,200.00',prem:'150.00',paymentPeriod:'3年交',insuredPeriod:'终身',effectiveDate:'2023-11-28',orderStatus: '1'},
|
||||
{appntName:'赵燕燕',insuredName:'赵燕燕',amt:'3,200.00',prem:'150.00',paymentPeriod:'3年交',insuredPeriod:'终身',effectiveDate:'2023-11-28',orderStatus: '1'},
|
||||
{appntName:'赵燕燕',insuredName:'赵燕燕',amt:'3,200.00',prem:'150.00',paymentPeriod:'3年交',insuredPeriod:'终身',effectiveDate:'2023-11-28',orderStatus: '2'},
|
||||
]
|
||||
},
|
||||
activeNames:[],
|
||||
popupShow:false,
|
||||
columns:[],
|
||||
customerType:'',
|
||||
pickerType: '',
|
||||
columns_toChooseAppntType:[
|
||||
{text:'A类',id:'A'},
|
||||
{text:'B类',id:'B'},
|
||||
{text:'C类',id:'C'},
|
||||
{text:'D类',id:'D'},
|
||||
],
|
||||
connectContent: "",
|
||||
maxLength: 500,
|
||||
activeAppntId:'',
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
||||
},
|
||||
mounted(){
|
||||
this.activeAppntId = this.$route.query.appntId
|
||||
this.getGBCappntDetail()
|
||||
},
|
||||
methods: {
|
||||
activeMembers(thisData,thisIndex) {
|
||||
this.activeMembersIndex = thisIndex
|
||||
this.infoContent.appntName = thisData.name
|
||||
this.infoContent.age = thisData.age
|
||||
this.activeAppntId = thisData.appntId
|
||||
this.infoContent.gender = thisData.gender
|
||||
this.infoContent.mobile = thisData.mobile
|
||||
this.infoContent.departmentName = thisData.departmentName
|
||||
},
|
||||
getGBCappntDetail() {
|
||||
let params = {
|
||||
"projectCode": this.$route.query.projectCode,
|
||||
"appntId": this.$route.query.appntId
|
||||
}
|
||||
getGBCappntDetail(params).then(res => {
|
||||
if(res.result == 0) {
|
||||
this.infoContent = res.content
|
||||
} else {
|
||||
this.$toast(res.resultMessage)
|
||||
}
|
||||
})
|
||||
},
|
||||
getGBCappntConnectSave(){
|
||||
let params = {
|
||||
"projectCode": this.$route.query.projectCode,
|
||||
"appntId": this.activeAppntId,
|
||||
"connectContent": this.connectContent
|
||||
}
|
||||
getGBCappntConnectSave(params).then(res=>{
|
||||
if(res.result == 0) {
|
||||
this.$toast('保存成功')
|
||||
this.connectContent = ''
|
||||
this.activeConnectRecords = false
|
||||
this.getGBCappntDetail()
|
||||
} else {
|
||||
this.$toast(res.resultMessage)
|
||||
}
|
||||
})
|
||||
},
|
||||
onConfirm(value){
|
||||
if(this.pickerType == 'toChooseAppntType'){
|
||||
this.infoContent.appntTypeName = value.text
|
||||
this.infoContent.appntType = value.id
|
||||
let params = {
|
||||
"projectCode": this.$route.query.projectCode,
|
||||
"appntId": this.activeAppntId,
|
||||
"appntType": this.infoContent.appntType
|
||||
}
|
||||
getGBCappntTypeSave(params).then(res=>{
|
||||
if(res.result == 0){
|
||||
this.$toast('保存成功')
|
||||
} else {
|
||||
this.$toast(res.resultMessage)
|
||||
}
|
||||
})
|
||||
}
|
||||
this.popupShow = false
|
||||
},
|
||||
toSelect(pickerType){
|
||||
this.pickerType = pickerType
|
||||
this.popupShow = true
|
||||
switch (pickerType) {
|
||||
case 'toChooseAppntType':
|
||||
this.columns = this.columns_toChooseAppntType
|
||||
break
|
||||
}
|
||||
},
|
||||
},
|
||||
computed: {
|
||||
|
||||
},
|
||||
beforeRouteLeave(to, from, next) {
|
||||
document.body.style.backgroundColor = ''
|
||||
next()
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.triangle1 {
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-width:30px; /* 设置边长 */
|
||||
border-style: solid;
|
||||
transform: translateX(50px) translateY(-30px) rotate(45deg);
|
||||
border-color: transparent transparent #FC7D5B transparent; /* 透明色为背景色,#000000为需要显示的颜色 */
|
||||
}
|
||||
.triangle2 {
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-width:30px; /* 设置边长 */
|
||||
border-style: solid;
|
||||
transform: translateX(50px) translateY(-30px) rotate(45deg);
|
||||
border-color: transparent transparent #3D72D0 transparent; /* 透明色为背景色,#000000为需要显示的颜色 */
|
||||
}
|
||||
/deep/ .van-cell:not(:last-child)::after {
|
||||
border-bottom: 1px dashed #666 !important;
|
||||
}
|
||||
/deep/ .van-cell:not(:last-child)::after{
|
||||
left:0px !important;
|
||||
}
|
||||
.customerType{
|
||||
padding-left: 0px;
|
||||
padding-right: 0px;
|
||||
color: #666;
|
||||
}
|
||||
/deep/ .message{
|
||||
border-radius: 10px;
|
||||
border: 1px solid #dedede;
|
||||
margin-top: 20px;
|
||||
padding: 10px;
|
||||
}
|
||||
.parents {
|
||||
width: 100%;
|
||||
height: 120px;
|
||||
position: relative;
|
||||
}
|
||||
textarea {
|
||||
border: none;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.tips {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
}
|
||||
/deep/ .saveMeaasge{
|
||||
.van-button--small{
|
||||
padding: 0px 40px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
}
|
||||
/deep/ .itemMessage{
|
||||
border: 1px solid #dedede;
|
||||
border-radius: 10px;
|
||||
padding: 10px;
|
||||
.van-field__label{
|
||||
width: 0;
|
||||
}
|
||||
.van-cell{
|
||||
padding: 0px;
|
||||
}
|
||||
.van-field__control{
|
||||
color: #333;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
/deep/ .van-collapse-item{
|
||||
.van-cell__title{
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
.membersClass{
|
||||
display: inline-block;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
border-radius: 5px;
|
||||
background: #fff;
|
||||
margin-right: 10px;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
</style>
|
||||
@@ -1,368 +0,0 @@
|
||||
<template>
|
||||
<div class="public_container" :style="{paddingTop:marginTop+'px'}">
|
||||
<!-- <van-pull-refresh v-model="isLoading" @refresh="onRefresh">-->
|
||||
<div class="head">
|
||||
<van-swipe :autoplay="3000" style="width: 100%;">
|
||||
<van-swipe-item v-for="(item, index) in activity" :key="index" @touchstart="touchstart" @touchmove="touchmove" @touchend="touchend(item)">
|
||||
<!-- <img :src="config.assetsUrl + item.img + '?v=' + thisGetTime" /> -->
|
||||
<img :src="item.img">
|
||||
</van-swipe-item>
|
||||
</van-swipe>
|
||||
</div>
|
||||
|
||||
<div class="iconPart1">
|
||||
<van-notice-bar :left-icon="png8" :text='getCodeValue'/>
|
||||
</div>
|
||||
|
||||
<div class="top">
|
||||
<div class="menu" v-for="(item, ind) in homePageIcon" :key="ind" @click="goDetail(item)">
|
||||
<div class="menuImg">
|
||||
<img :src="item.img">
|
||||
</div>
|
||||
<span class="menuName">{{ item.title }}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="cooperativeUnits">
|
||||
<div>
|
||||
<div style="width: 50%;display: inline-block;" v-for="(item,index) in list1" :key="index">
|
||||
<p style="display: flex;justify-content: flex-start;height: 50px;align-items: center;margin: 5px 10px;border:1px solid #eee;border-radius: 5px;background: #fff;color: #333333;padding-left: 10px;">
|
||||
<img src="@/assets/images/GBC/home-cooperativeUnits-icon.png" style="width: 20px;height: 20px;margin-right: 10px;"/>
|
||||
{{item.name}}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="companyProfile">
|
||||
<img :src="image1" style="width: 100%;"/>
|
||||
</div>
|
||||
<!-- </van-pull-refresh>-->
|
||||
|
||||
<van-dialog v-model="chooseProjectDialogShow" :showConfirmButton="false">
|
||||
<div slot="title">
|
||||
<p style="color: #E9332E;">请选择项目</p>
|
||||
</div>
|
||||
<div class="chooseProjectDialog" style="padding: 20px 30px 30px;font-size: 14px;height:425px;overflow-y:auto">
|
||||
<van-radio-group v-model="chooseTeamCode">
|
||||
<van-radio v-for="(item,index) in projectList" :key="index" :name="item.teamCode" style="margin: 10px;">
|
||||
<span style="margin-left: 20px;">
|
||||
{{item.projectName}}
|
||||
<span v-if="item.teamName" style="margin-left: 10px;color: #a7a7a7;">
|
||||
({{item.teamName}})
|
||||
</span>
|
||||
</span>
|
||||
</van-radio>
|
||||
</van-radio-group>
|
||||
</div>
|
||||
<div style="text-align: center;margin-bottom: 30px;">
|
||||
<van-button round type="danger" size="small" style="padding:0px 35px;font-size: 14px;" @click="chooseProjectList">
|
||||
确定
|
||||
</van-button>
|
||||
</div>
|
||||
</van-dialog>
|
||||
|
||||
<!-- 选择过期项目弹窗提示 -->
|
||||
<van-dialog v-model="enableProjectDialogShow" :showConfirmButton="false">
|
||||
<div slot="title">
|
||||
<p style="color: #E9332E;">提示</p>
|
||||
</div>
|
||||
<div style="padding: 20px 30px 30px;font-size: 14px;">
|
||||
{{chooseProjectName}}项目服务时间已结束!
|
||||
</div>
|
||||
<div style="text-align: center;margin-bottom: 30px;">
|
||||
<van-button round type="danger" size="small" style="padding:0px 35px;font-size: 14px;" @click="enableProjectDialogShow = false">
|
||||
返回
|
||||
</van-button>
|
||||
</div>
|
||||
</van-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { gbcProjectList, gbcProjectConfirm, homeConfigGBC } from '@/api/GBC/GBC'
|
||||
import { getAgentInfo } from '@/api/ebiz/my/my.js'
|
||||
import { Swipe, SwipeItem, NoticeBar, Icon, Popup, PullRefresh ,Toast, RadioGroup, Radio } from 'vant'
|
||||
import config from '@/config'
|
||||
import png8 from '@/assets/YB_APP/images/8.png';
|
||||
export default {
|
||||
name: 'Home',
|
||||
components: {
|
||||
[Swipe.name]: Swipe,
|
||||
[SwipeItem.name]: SwipeItem,
|
||||
[NoticeBar.name]: NoticeBar,
|
||||
[Icon.name]: Icon,
|
||||
[Popup.name]: Popup,
|
||||
[PullRefresh.name]:PullRefresh,
|
||||
[RadioGroup.name]:RadioGroup,
|
||||
[Radio.name]:Radio,
|
||||
[Toast.name]:Toast ,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
config,
|
||||
marginTop:'80',
|
||||
getCodeValue:'',
|
||||
png8,
|
||||
activity: [],
|
||||
homePageIcon:[
|
||||
{title:'建议书',route:'/proposal/list',img:require('@/assets/images/GBC/home-menu-1.png')},
|
||||
{title:'电子投保',route:'/sale/list',img:require('@/assets/images/GBC/home-menu-2.png')},
|
||||
{title:'海报设计',route:'/poster/posterList',img:require('@/assets/images/GBC/home-menu-3.png')},
|
||||
{title:'GBC专区',route:'/GBC/projectList',img:require('@/assets/images/GBC/home-menu-4.png')}
|
||||
],
|
||||
isLoading: false,
|
||||
image1: require('@/assets/images/GBC/home-companyProfile.png'),
|
||||
list1:[
|
||||
{name:'广西金融投资集团'},{name:'广投集团'},{name:'广西北部湾银行'},{name:'国海证券'},
|
||||
],
|
||||
projectList:[],
|
||||
chooseProjectDialogShow: false,
|
||||
chooseTeamCode:'',
|
||||
chooseProjectCode:'',
|
||||
chooseProjectName: '',
|
||||
enableProjectDialogShow: false,
|
||||
}
|
||||
},
|
||||
mounted(){
|
||||
this.homeConfigGBC()
|
||||
this.setMarginTop()
|
||||
if(this.$route.query.isFrom == 'login') {
|
||||
this.gbcProjectList()
|
||||
}
|
||||
this.getAgentInfo()
|
||||
},
|
||||
methods:{
|
||||
getAgentInfo(){
|
||||
let params = {
|
||||
|
||||
}
|
||||
getAgentInfo(params).then(res => {
|
||||
if(res.result == '0') {
|
||||
if(res.branchType == '13') {
|
||||
window.localStorage.setItem('branchType','13')
|
||||
}
|
||||
} else {
|
||||
this.$toast(res.resultMessage)
|
||||
}
|
||||
})
|
||||
},
|
||||
gbcProjectList(){
|
||||
let params = {
|
||||
|
||||
}
|
||||
gbcProjectList(params).then(res=>{
|
||||
if(res.result == '0') {
|
||||
this.projectList = res.content
|
||||
if(this.projectList.length == 1) {
|
||||
this.chooseProjectDialogShow = false
|
||||
this.chooseTeamCode = this.projectList[0].teamCode
|
||||
this.chooseProjectCode = this.projectList[0].projectCode
|
||||
this.chooseProjectName = this.projectList[0].projectName
|
||||
this.chooseProjectList()
|
||||
}
|
||||
if(this.projectList.length > 1) {
|
||||
this.chooseProjectDialogShow = true
|
||||
}
|
||||
} else {
|
||||
this.$toast(res.resultMessage)
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
chooseProjectList(){
|
||||
if(!this.chooseTeamCode) {
|
||||
this.$toast('请选择项目')
|
||||
return false
|
||||
}
|
||||
if(this.projectList && this.projectList.length != 0) {
|
||||
this.projectList.forEach(item=>{
|
||||
if(item.teamCode == this.chooseTeamCode){
|
||||
this.chooseProjectName = item.projectName
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
let params = {
|
||||
teamCode:this.chooseTeamCode
|
||||
}
|
||||
gbcProjectConfirm(params).then(res=>{
|
||||
if(res.result == '0') {
|
||||
if(res.content.enable == 1){
|
||||
this.chooseProjectDialogShow = false
|
||||
} else {
|
||||
this.enableProjectDialogShow = true
|
||||
}
|
||||
} else {
|
||||
this.$toast(res.resultMessage)
|
||||
}
|
||||
})
|
||||
},
|
||||
goDetail(data){
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + '/#'+ data.route,
|
||||
},
|
||||
routerInfo: {
|
||||
path: data.route,
|
||||
},
|
||||
})
|
||||
},
|
||||
setMarginTop(){
|
||||
EWebBridge.webCallAppInJs("top_bar_height").then(data => {
|
||||
console.log(data,'top_bar_height')
|
||||
if(data){
|
||||
// 获取高度成功
|
||||
let height = data.height
|
||||
// 设置高度
|
||||
this.marginTop = height + 10
|
||||
}
|
||||
})
|
||||
},
|
||||
homeConfigGBC(){
|
||||
let params = {
|
||||
|
||||
}
|
||||
homeConfigGBC(params).then(res=>{
|
||||
if(res.result == 0){
|
||||
this.activity = res.content.activity
|
||||
if(res.content.getCodeValue.length!=0){
|
||||
res.content.getCodeValue.forEach(item=>{
|
||||
this.getCodeValue += item + ' '
|
||||
})
|
||||
}
|
||||
this.homePageIcon = res.content.icon.homePageIcon
|
||||
}else{
|
||||
this.$toast(res.resultMessage)
|
||||
}
|
||||
})
|
||||
},
|
||||
touchstart(){
|
||||
this.clickFlag = true
|
||||
},
|
||||
touchmove(){
|
||||
this.clickFlag = false
|
||||
},
|
||||
touchend(data){
|
||||
if(this.clickFlag){
|
||||
let dataURL = JSON.parse(data.route).extra.url
|
||||
if(dataURL){
|
||||
let thisRoute = dataURL.substring(dataURL.lastIndexOf("/#")+2)
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + '/#' + thisRoute,
|
||||
},
|
||||
routerInfo: {
|
||||
path: thisRoute,
|
||||
},
|
||||
})
|
||||
}
|
||||
}
|
||||
},
|
||||
// 下拉刷新
|
||||
onRefresh() {
|
||||
setTimeout(() => {
|
||||
Toast('刷新成功');
|
||||
this.isLoading = false;
|
||||
location. reload()
|
||||
}, 1000);
|
||||
},
|
||||
},
|
||||
// beforeRouteEnter(to, from, next) {
|
||||
// next(vm => {
|
||||
// if(from && from.path){
|
||||
// console.log(from)
|
||||
// // eslint-disable-next-line no-undef
|
||||
// if(form.path == '/login') {
|
||||
// window.sessionStorage.setItem('GBCFrom','GBCLogin')
|
||||
// }
|
||||
// }
|
||||
// });
|
||||
// },
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.public_container{
|
||||
font-size: 12px;
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
/*background-image: url("../../assets/YB_APP/images/2-1.png");*/
|
||||
/*background-repeat: no-repeat;*/
|
||||
/*background-size: contain;*/
|
||||
background: #F0F8FF;
|
||||
}
|
||||
.head {
|
||||
position: relative;
|
||||
margin: 10px;border-radius: 5px;
|
||||
/*box-shadow: 0px 5px 8px 0px #7a6fc1;*/
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 5px;
|
||||
}
|
||||
/deep/ .van-swipe-item{
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
/deep/ .van-notice-bar{
|
||||
border-radius: 5px;
|
||||
}
|
||||
.menuImg{
|
||||
width:100%;display: flex;justify-content: center;margin-bottom: 5px;
|
||||
/deep/ img{
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
}
|
||||
}
|
||||
/deep/ .van-notice-bar{
|
||||
background: #fff;
|
||||
color: #333;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
/deep/ .van-icon__image{
|
||||
width: 100%;
|
||||
}
|
||||
/deep/ .van-notice-bar__left-icon{
|
||||
width: 50px;
|
||||
}
|
||||
/deep/ .van-notice-bar__wrap{
|
||||
margin-left: 10px;
|
||||
}
|
||||
/deep/ .van-swipe-item{
|
||||
img{
|
||||
height:145px;
|
||||
}
|
||||
}
|
||||
.iconPart1{
|
||||
margin: 10px;border-radius: 5px;
|
||||
}
|
||||
.top{
|
||||
display:flex;
|
||||
justify-content: space-between;
|
||||
margin: 10px;
|
||||
border-radius: 5px;
|
||||
align-items: center;
|
||||
padding: 15px;
|
||||
}
|
||||
.title-img {
|
||||
height: 40px;
|
||||
}
|
||||
/deep/ .chooseProjectDialog{
|
||||
.van-radio__icon {
|
||||
.van-icon{
|
||||
border: 1px solid red;
|
||||
}
|
||||
}
|
||||
}
|
||||
.cooperativeUnits{
|
||||
background: url("../../assets/images/GBC/home-cooperativeUnits.png");
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
height: 130px;
|
||||
padding-top: 60px;
|
||||
margin: 10px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
</style>
|
||||
@@ -1,462 +0,0 @@
|
||||
<template>
|
||||
<div>
|
||||
<van-tabs v-model="tabActive">
|
||||
<van-tab title="客户列表" name="customerList"></van-tab>
|
||||
<van-tab title="数据看板" name="dataBoard"></van-tab>
|
||||
<van-tab title="产品列表" name="productList"></van-tab>
|
||||
</van-tabs>
|
||||
<div style="height: calc(100vh - 50px);overflow: auto;">
|
||||
<div v-if="tabActive == 'customerList'">
|
||||
<div style="display: flex;align-items: center;padding-left: 10px;background: #fff;">
|
||||
<div style="width: 30%;">
|
||||
<van-dropdown-menu :overlay="dropdownmenuoverlay">
|
||||
<van-dropdown-item v-model="filterType" :options="filterTypeOption" @change="dropdownMenuChange"/>
|
||||
</van-dropdown-menu>
|
||||
</div>
|
||||
<van-search v-if="filterType == 1 || filterType == 2 || filterType == 3" v-model="searchvalue" shape="round" @search="getGBCappntlist" placeholder="搜索客户姓名/部门/科室/服务人员" style="width: 70%;"/>
|
||||
<div v-if="filterType == 4" style="display: flex;align-items: center;height: 54px;">
|
||||
<div @click="toChooseDate('startDate')" style="background: #f5f5f5;height: 34px;border-radius: 17px;width: 90px;display: flex;align-items: center;padding:0px 10px;">
|
||||
<van-icon name="notes-o" />
|
||||
<span v-if="!startDate" style="font-size: 12px;margin-left: 5px;color: #666;">请选择日期</span>
|
||||
<span v-if="startDate" style="font-size: 12px;margin-left: 5px;color: #333;">{{startDate}}</span>
|
||||
</div>
|
||||
<span style="margin: 0px 5px;font-size: 14px;">至</span>
|
||||
<div @click="toChooseDate('endDate')" style="background: #f5f5f5;height: 34px;border-radius: 17px;width: 90px;display: flex;align-items: center;padding: 0px 10px;">
|
||||
<van-icon name="notes-o" />
|
||||
<span v-if="!endDate" style="font-size: 12px;margin-left: 5px;color: #666;">请选择日期</span>
|
||||
<span v-if="endDate" style="font-size: 12px;margin-left: 5px;color: #333;">{{endDate}}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="padding: 0px 10px 10px;">
|
||||
<div v-for="(item,index) in customerList" :key="index">
|
||||
<div style="padding: 20px 20px 10px;border-radius: 5px;background: #fff;margin-top: 20px;">
|
||||
<div style="display: flex;font-size: 14px;line-height: 30px;border-bottom: 1px solid #eee;padding-bottom: 10px;">
|
||||
<div style="width: 55%;overflow: hidden;white-space: nowrap;">
|
||||
<p>客户姓名:{{item.appntName}}</p>
|
||||
<p>手机号码:{{item.mobile}}</p>
|
||||
<p>服务组长:{{item.teamLeader}}</p>
|
||||
</div>
|
||||
<div style="width: 45%;overflow: hidden;white-space: nowrap;">
|
||||
<p>部门/科室:{{item.departmentName}}</p>
|
||||
<p>承保保单:{{item.contSize}}份</p>
|
||||
<p>服务组员:{{item.teamMember}}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div style="display: flex;justify-content: flex-end;margin-top: 10px;">
|
||||
<van-button @click="goCustomerDetail(item)" type="danger" size="small" style="border-radius:5px;">查看编辑</van-button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="tabActive == 'dataBoard'">
|
||||
<div style="margin: 10px;padding: 10px;background: #fff;border-radius: 5px;">
|
||||
<p style="font-size: 18px;line-height: 35px;font-weight: bold;">项目名称:{{calGbcProject.projectName}}</p>
|
||||
<p style="color: #a7a7a7;font-size: 14px;">数据截止日期:{{calGbcProject.endDate}}</p>
|
||||
<div style="display: flex;justify-content: center;margin-top: 20px;">
|
||||
<van-circle v-model="currentRate" color="#E9332E" :stroke-width="60" size="80px" :rate="interviewConversionRate" :speed="100" :text="text" />
|
||||
</div>
|
||||
<p style="display: flex;justify-content: center;font-weight: bold;font-size: 14px;margin: 10px;">面谈转化率</p>
|
||||
<div style="padding: 10px;background: rgba(251, 235, 230, 0.5);border-radius: 5px;display: flex;justify-content: flex-start;flex-wrap:wrap;">
|
||||
<div v-for="(item,index) in calGbcProjectDataList" style="width: 33%;display: flex;justify-content: space-around;align-items: center;">
|
||||
<div>
|
||||
<div style="font-size: 12px;line-height: 22px;margin: 7px 0px;">
|
||||
<p style="display: flex;justify-content: center;font-size: 14px;">{{item.value}}</p>
|
||||
<p style="display: flex;justify-content: center;align-items: center;">
|
||||
<span class="colorBlock" :style="{background:colorList[index]}"></span>
|
||||
{{item.name}}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div v-if="(index + 1) % 3 != 0 || index < 2" style="width: 1px;background: #FFC9AF;height: 60%;"></div>-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="margin: 10px;padding: 10px;background: #fff;border-radius: 5px;">
|
||||
<div style="border-bottom: 1px dashed #666;padding-bottom: 15px;">
|
||||
<p style="font-size: 18px;line-height: 35px;font-weight: bold;">项目成员分配</p>
|
||||
<p v-if="calGbcPersonList.length != 0" style="color: #a7a7a7;font-size: 14px;">数据截止日期:{{calGbcPersonList[0].endDate}}</p>
|
||||
</div>
|
||||
<div style="margin-top: 10px;margin-bottom: 3px;background: rgba(255, 87, 83, 0.7);line-height: 30px;display: flex;align-items: center;color: #fff;font-size: 14px;">
|
||||
<span style="width: 18%;display: flex;justify-content: center;">成员</span>
|
||||
<span style="width: 22%;display: flex;justify-content: center;">角色</span>
|
||||
<span style="width: 30%;display: flex;justify-content: center;">累计标保(元)</span>
|
||||
<span style="width: 30%;display: flex;justify-content: center;">受理标保(元)</span>
|
||||
</div>
|
||||
<div>
|
||||
<div v-for="item in calGbcPersonList" style="background: rgba(251, 235, 230, 0.44);margin-bottom: 1px;line-height: 30px;display: flex;align-items: center;color: #333;font-size: 13px;">
|
||||
<span style="width: 18%;display: flex;justify-content: center;">{{item.personName}}</span>
|
||||
<span style="width: 22%;display: flex;justify-content: center;">{{item.roleName}}</span>
|
||||
<span style="width: 30%;display: flex;justify-content: center;">{{item.sumStandardPrem}}</span>
|
||||
<span style="width: 30%;display: flex;justify-content: center;">{{item.sumAcceptedPrem}}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="margin: 10px;padding: 10px;background: #fff;border-radius: 5px;">
|
||||
<div style="border-bottom: 1px dashed #666;padding-bottom: 15px;">
|
||||
<p style="font-size: 18px;line-height: 35px;font-weight: bold;">项目数据统计</p>
|
||||
<p v-if="calGbcTeamList.length != 0" style="color: #a7a7a7;font-size: 14px;">数据截止日期:{{calGbcTeamList[0].endDate}}</p>
|
||||
</div>
|
||||
<div style="overflow: auto;">
|
||||
<table cellspacing=0 style="margin-top: 10px;">
|
||||
<thead style="background: rgba(255, 87, 83, 0.7);color: #fff;">
|
||||
<tr class="theadClass">
|
||||
<th style="padding: 0px 40px;">小组</th>
|
||||
<th>组长</th>
|
||||
<th>承保保费(元)</th>
|
||||
<th>获客人数</th>
|
||||
<th>获客率</th>
|
||||
<th>筛客人数</th>
|
||||
<th>筛客率</th>
|
||||
<th>累计标保(元)</th>
|
||||
<th>承保人数</th>
|
||||
<th>承保件数(件)</th>
|
||||
<th>件均(元)</th>
|
||||
<th>面谈转化率</th>
|
||||
<th>受理承保率</th>
|
||||
<th>受理标保(元)</th>
|
||||
<th>受理件数</th>
|
||||
<th>重疾险件数</th>
|
||||
<th>重疾标保(元)</th>
|
||||
<th>重疾件均(元)</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr class="tbodyClass">
|
||||
<td colspan="2">项目合并</td>
|
||||
<td>{{calGbcTeamTotalDTO.sumInsuredPrem}}</td>
|
||||
<td>{{calGbcTeamTotalDTO.guestNum}}</td>
|
||||
<td>{{calGbcTeamTotalDTO.guestRate}}</td>
|
||||
<td>{{calGbcTeamTotalDTO.guestSelectNum}}</td>
|
||||
<td>{{calGbcTeamTotalDTO.guestSelectRate}}</td>
|
||||
<td>{{calGbcTeamTotalDTO.sumStandardPrem}}</td>
|
||||
<td>{{calGbcTeamTotalDTO.sumInsuredNum}}</td>
|
||||
<td>{{calGbcTeamTotalDTO.sumInsuredCases}}</td>
|
||||
<td>{{calGbcTeamTotalDTO.averagePrem}}</td>
|
||||
<td>{{calGbcTeamTotalDTO.interviewConversionRate}}</td>
|
||||
<td>{{calGbcTeamTotalDTO.acceptedRate}}</td>
|
||||
<td>{{calGbcTeamTotalDTO.sumAcceptedPrem}}</td>
|
||||
<td>{{calGbcTeamTotalDTO.sumAcceptedCases}}</td>
|
||||
<td>{{calGbcTeamTotalDTO.sumMajorDiseaseCases}}</td>
|
||||
<td>{{calGbcTeamTotalDTO.sumMajorDiseasePrem}}</td>
|
||||
<td>{{calGbcTeamTotalDTO.averageMajorDiseasePrem}}</td>
|
||||
</tr>
|
||||
<tr v-for="(item,index) in calGbcTeamList" :key="index" class="tbodyClass">
|
||||
<td class="teamNameTdClass">{{item.teamName}}</td>
|
||||
<td>{{item.leaderName}}</td>
|
||||
<td>{{item.sumInsuredPrem}}</td>
|
||||
<td>{{item.guestNum}}</td>
|
||||
<td>{{item.guestRate}}</td>
|
||||
<td>{{item.guestSelectNum}}</td>
|
||||
<td>{{item.guestSelectRate}}</td>
|
||||
<td>{{item.sumStandardPrem}}</td>
|
||||
<td>{{item.sumInsuredNum}}</td>
|
||||
<td>{{item.sumInsuredCases}}</td>
|
||||
<td>{{item.averagePrem}}</td>
|
||||
<td>{{item.interviewConversionRate}}</td>
|
||||
<td>{{item.acceptedRate}}</td>
|
||||
<td>{{item.sumAcceptedPrem}}</td>
|
||||
<td>{{item.sumAcceptedCases}}</td>
|
||||
<td>{{item.sumMajorDiseaseCases}}</td>
|
||||
<td>{{item.sumMajorDiseasePrem}}</td>
|
||||
<td>{{item.averageMajorDiseasePrem}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="tabActive == 'productList'">
|
||||
<div v-for="(item,index) in dataList4" @click="goProductDetail(item.productCode)" :key="index" style="background: #fff;border-radius: 5px;margin: 5px;display: flex;padding: 5px;">
|
||||
<img :src="item.productImageUrl" style="display: inline-block;width: 35%;border-radius: 5px;"/>
|
||||
<div style="display: inline-block;width: 65%;padding-left: 10px;">
|
||||
<p style="font-size: 16px;">{{item.productName}}</p>
|
||||
<p style="font-size: 14px;color: #bdbdbd;margin-top: 20px;">{{item.productDesc}}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<van-popup v-model="showDataPicker" position="bottom">
|
||||
<van-datetime-picker type="date" v-model="currentDate" @confirm="onConfirmDate" @cancel="cancelDate" :max-date="maxDate" :min-date="minDate" />
|
||||
</van-popup>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { Tab, Tabs, Search, DropdownMenu, DropdownItem, Circle } from 'vant'
|
||||
import { getList } from '@/api/ebiz/product/product.js'
|
||||
import { getGBCappntlist, dataShow } from '@/api/GBC/GBC.js'
|
||||
export default {
|
||||
components: {
|
||||
[Tab.name]: Tab,
|
||||
[Tabs.name]: Tabs,
|
||||
[Search.name]: Search,
|
||||
[DropdownMenu.name]: DropdownMenu,
|
||||
[DropdownItem.name]: DropdownItem,
|
||||
[Circle.name]: Circle,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
tabActive:1,
|
||||
searchvalue:'',
|
||||
filterType: 1,
|
||||
startDate:'',
|
||||
endDate:'',
|
||||
showDataPicker:false,
|
||||
minDate: new Date(2000, 0, 1),
|
||||
maxDate: new Date(2050, 11, 31),
|
||||
currentDate:new Date(),
|
||||
datePickerType:'',
|
||||
filterTypeOption: [
|
||||
{ text: '按客户', value: 1 },
|
||||
{ text: '按科室', value: 2 },
|
||||
{ text: '按小组', value: 3 },
|
||||
{ text: '按日期', value: 4 },
|
||||
],
|
||||
dropdownmenuoverlay:false,
|
||||
customerList:[],
|
||||
currentRate: 0,
|
||||
colorList:['#E9332E','#CB9BFF','#54C6FA','#FF9B39','#60D64D','#4045F3','#FF59D9','#E8C0A2','#FCD338','#7584A2'],
|
||||
calGbcProject: {},
|
||||
interviewConversionRate: 0,
|
||||
calGbcProjectDataList:[
|
||||
{name:'累计受理保费(元)',value:'150,000.00', code: 'sumAcceptedPrem'},
|
||||
{name:'累计标保(元)',value:'250,000.00', code: 'sumStandardPrem'},
|
||||
{name:'件均保费(元)',value:'130,000.00', code: 'averagePrem'},
|
||||
{name:'累计受理人数(人)',value:'10856', code: 'sumAcceptedNum'},
|
||||
{name:'累计受理件数(件)',value:'356', code: 'sumAcceptedCases'},
|
||||
{name:'累计承保人数(人)',value:'9569', code: 'sumInsuredNum'},
|
||||
{name:'累计承保件数(件)',value:'262', code: 'sumInsuredCases'},
|
||||
],
|
||||
calGbcPersonList:[],
|
||||
calGbcTeamList:[],
|
||||
calGbcTeamTotalDTO: {},
|
||||
dataList4:[],
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
||||
},
|
||||
mounted(){
|
||||
document.title = this.$route.query.projectName
|
||||
this.getGBCappntlist()
|
||||
this.getProductList()
|
||||
this.getDataShow()
|
||||
},
|
||||
methods: {
|
||||
getDataShow() {
|
||||
let params = {
|
||||
projectCode: this.$route.query.projectCode
|
||||
}
|
||||
dataShow(params).then(res => {
|
||||
this.calGbcPersonList = []
|
||||
this.calGbcTeamList = []
|
||||
if(res.result == '0') {
|
||||
this.calGbcProject = res.content.calGbcProject
|
||||
this.interviewConversionRate = Number(res.content.calGbcProject.interviewConversionRate)
|
||||
for(let key in res.content.calGbcProject) {
|
||||
this.calGbcProjectDataList.forEach(item => {
|
||||
if(item.code == key) {
|
||||
item.value = res.content.calGbcProject[key]
|
||||
}
|
||||
})
|
||||
}
|
||||
this.calGbcPersonList = res.content.calGbcPersonList
|
||||
this.calGbcTeamList = res.content.calGbcTeamList
|
||||
this.calGbcTeamTotalDTO = res.content.calGbcTeamTotalDTO
|
||||
} else {
|
||||
this.$toast(res.resultMessage)
|
||||
}
|
||||
})
|
||||
},
|
||||
dropdownMenuChange(value){
|
||||
this.filterType = value
|
||||
this.searchvalue = ''
|
||||
this.startDate = ''
|
||||
this.endDate = ''
|
||||
if(value == 1 || value == 2 || value == 3) {
|
||||
this.getGBCappntlist()
|
||||
}
|
||||
},
|
||||
getGBCappntlist(){
|
||||
let params = {
|
||||
"projectCode": this.$route.query.projectCode,
|
||||
"filterType": this.filterType,
|
||||
"appntName": "",
|
||||
"departmentName": "",
|
||||
"teamMemberName": "",
|
||||
"startDate": "",
|
||||
"endDate": ""
|
||||
}
|
||||
if(this.filterType == 1){
|
||||
params.appntName = this.searchvalue
|
||||
}
|
||||
if(this.filterType == 2){
|
||||
params.departmentName = this.searchvalue
|
||||
}
|
||||
if(this.filterType == 3){
|
||||
params.teamMemberName = this.searchvalue
|
||||
}
|
||||
if(this.filterType == 4) {
|
||||
params.startDate = this.startDate
|
||||
params.endDate = this.endDate
|
||||
}
|
||||
getGBCappntlist(params).then(res=>{
|
||||
if(res.result == '0') {
|
||||
this.customerList = []
|
||||
if(res.content && res.content.length != 0) {
|
||||
this.customerList = res.content
|
||||
}
|
||||
} else {
|
||||
this.$toast(res.resultMessage)
|
||||
}
|
||||
})
|
||||
},
|
||||
toChooseDate(type){
|
||||
this.datePickerType = type
|
||||
if(type == 'startDate') {
|
||||
this.showDataPicker = true
|
||||
}
|
||||
if(type == 'endDate') {
|
||||
this.showDataPicker = true
|
||||
}
|
||||
},
|
||||
onConfirmDate(date){
|
||||
if(this.datePickerType == 'startDate') {
|
||||
let year = date.getFullYear()
|
||||
let month = String(date.getMonth() + 1).padStart(2, '0');
|
||||
let day = String(date.getDate()).padStart(2, '0');
|
||||
this.startDate = year + '-' + month + '-' + day;
|
||||
if(this.endDate) {
|
||||
this.getGBCappntlist()
|
||||
}
|
||||
}
|
||||
if(this.datePickerType == 'endDate') {
|
||||
let year = date.getFullYear()
|
||||
let month = String(date.getMonth() + 1).padStart(2, '0');
|
||||
let day = String(date.getDate()).padStart(2, '0');
|
||||
this.endDate = year + '-' + month + '-' + day;
|
||||
if(this.startDate) {
|
||||
this.getGBCappntlist()
|
||||
}
|
||||
}
|
||||
this.showDataPicker = false
|
||||
},
|
||||
cancelDate(){
|
||||
this.showDataPicker = false
|
||||
},
|
||||
goCustomerDetail(data){
|
||||
this.$router.push({
|
||||
path:'/GBC/customerDetail',
|
||||
query:{
|
||||
projectCode:this.$route.query.projectCode,
|
||||
appntId:data.appntId
|
||||
},
|
||||
})
|
||||
},
|
||||
getProductList(){
|
||||
let params = {
|
||||
type: 'app'
|
||||
}
|
||||
getList(params).then(res=>{
|
||||
if(res.result == '0') {
|
||||
this.dataList4 = this.dataList4.concat(res.productList)
|
||||
} else {
|
||||
this.$toast(res.resultMessage)
|
||||
}
|
||||
})
|
||||
},
|
||||
goProductDetail(productCode) {
|
||||
localStorage.productDetailCode = productCode
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + `/#/product/ProductDetail/${productCode}`
|
||||
},
|
||||
routerInfo: {
|
||||
path: `/product/ProductDetail/${productCode}`
|
||||
}
|
||||
})
|
||||
},
|
||||
},
|
||||
// watch: {
|
||||
// isShowOthenSalarySource(nVal) {
|
||||
// if (!nVal) {
|
||||
// this.userInfo.otherSalarySource = ''
|
||||
// }
|
||||
// },
|
||||
// },
|
||||
computed: {
|
||||
text() {
|
||||
return this.currentRate.toFixed(0) + '%';
|
||||
},
|
||||
},
|
||||
beforeRouteLeave(to, from, next) {
|
||||
document.body.style.backgroundColor = ''
|
||||
next()
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
/deep/ .van-search__content{
|
||||
background: #fff;
|
||||
}
|
||||
/deep/ .van-dropdown-menu{
|
||||
height: 34px;
|
||||
}
|
||||
/deep/ .van-dropdown-item__content{
|
||||
width: 40%;
|
||||
left: 10px;
|
||||
}
|
||||
/deep/ .van-dropdown-menu{
|
||||
background: #f5f5f5;
|
||||
}
|
||||
.colorBlock{
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
display: inline-block;
|
||||
/*background: #000;*/
|
||||
border-radius: 3px;
|
||||
margin-right: 3px;
|
||||
}
|
||||
/deep/ .van-hairline--top-bottom::after{
|
||||
border: none;
|
||||
}
|
||||
/deep/ .van-dropdown-menu{
|
||||
background: #fff;
|
||||
}
|
||||
/deep/ .van-search__content{
|
||||
background: #f5f5f5;
|
||||
}
|
||||
/deep/ [data-v-3f765cce] .van-dropdown-item__content{
|
||||
box-shadow: 0px 0px 5px 5px #f5f5f5;
|
||||
}
|
||||
.theadClass{
|
||||
th{
|
||||
white-space: nowrap;
|
||||
padding: 0px 10px;
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
line-height: 30px;
|
||||
}
|
||||
}
|
||||
.tbodyClass{
|
||||
background: rgba(251, 235, 230, 0.44);
|
||||
line-height: 30px;
|
||||
margin-bottom: 1px;
|
||||
font-size: 13px;
|
||||
/*color: #fff;*/
|
||||
td{
|
||||
text-align: center;
|
||||
border-bottom:1px solid #fff;
|
||||
}
|
||||
}
|
||||
.teamNameTdClass{
|
||||
display: block;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;
|
||||
//width: 105px;
|
||||
}
|
||||
</style>
|
||||
@@ -1,88 +0,0 @@
|
||||
<template>
|
||||
<div>
|
||||
<van-search v-model="searchvalue" shape="round" background="#fff" @search="getGBCprojectlistByYear" placeholder="搜索项目名称"/>
|
||||
<div style="padding: 10px;">
|
||||
<van-collapse v-for="item in yearList" :key="item.year" v-model="activeNames" style="margin-top: 10px;border-radius: 5px;">
|
||||
<van-collapse-item :title="item.year" :name="item.year">
|
||||
<div v-for="(ii,iis) in item.projects" @click="goprojectDetail(ii)" :key="iis" style="display: flex;justify-content: space-between;align-items: center;padding: 10px;border-bottom: 1px solid #eee;">
|
||||
<div>
|
||||
<p style="color:#323233;margin-bottom: 10px;">{{ii.projectName}}</p>
|
||||
<p v-if="ii.enable == '1'">服务起止日期<span style="margin-left: 10px;">{{ii.startDate}}至{{ii.endDate}}</span></p>
|
||||
<p v-if="ii.enable == '0'">服务起止日期<span style="margin-left: 10px;color: red;">{{ii.startDate}}至{{ii.endDate}}</span></p>
|
||||
</div>
|
||||
<van-icon name="arrow" />
|
||||
</div>
|
||||
</van-collapse-item>
|
||||
</van-collapse>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { Search, Collapse, CollapseItem, Icon } from 'vant'
|
||||
import { getGBCprojectlistByYear } from '@/api/GBC/GBC'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
[Search.name]: Search,
|
||||
[Collapse.name]: Collapse,
|
||||
[CollapseItem.name]: CollapseItem,
|
||||
[Icon.name]: Icon,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
searchvalue:'',
|
||||
activeNames: [],
|
||||
yearList:[],
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
||||
},
|
||||
mounted(){
|
||||
this.getGBCprojectlistByYear()
|
||||
},
|
||||
methods: {
|
||||
getGBCprojectlistByYear(){
|
||||
let params = {
|
||||
projectName: this.searchvalue
|
||||
}
|
||||
getGBCprojectlistByYear(params).then(res=>{
|
||||
if(res.result == '0') {
|
||||
this.yearList = []
|
||||
if(res.content && res.content.length != 0) {
|
||||
this.yearList = res.content
|
||||
}
|
||||
} else {
|
||||
this.$toast(res.resultMessage)
|
||||
}
|
||||
})
|
||||
},
|
||||
goprojectDetail(data){
|
||||
this.$router.push({
|
||||
path:'/GBC/projectDetail',
|
||||
query:{
|
||||
projectCode:data.projectCode,
|
||||
projectName:data.projectName
|
||||
},
|
||||
})
|
||||
},
|
||||
},
|
||||
beforeRouteLeave(to, from, next) {
|
||||
document.body.style.backgroundColor = ''
|
||||
next()
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
/deep/ .van-search__content{
|
||||
background: #f7f8fa;
|
||||
}
|
||||
/deep/ .van-cell__title{
|
||||
font-weight: bold;
|
||||
}
|
||||
/deep/ .van-collapse-item__title{
|
||||
border-radius: 5px;
|
||||
}
|
||||
</style>
|
||||
@@ -1,40 +0,0 @@
|
||||
<template>
|
||||
<div>
|
||||
<div style="text-align: center;margin-top: 10vh;">
|
||||
<img :src="submitResultImg" style="width: 60vw;"/>
|
||||
</div>
|
||||
<p style="font-size: 20px;text-align: center;margin-top: 5vh;">提交成功</p>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import submitResultImg from '@/assets/images/GBC/submitResult.png'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
submitResultImg,
|
||||
}
|
||||
},
|
||||
components: {
|
||||
|
||||
},
|
||||
created() {
|
||||
|
||||
},
|
||||
mounted() {
|
||||
|
||||
},
|
||||
methods: {
|
||||
|
||||
},
|
||||
|
||||
beforeRouteLeave(to, from, next) {
|
||||
document.body.style.backgroundColor = ''
|
||||
next()
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
</style>
|
||||
@@ -104,16 +104,13 @@ export default {
|
||||
this.show = true // 显示确认对话框
|
||||
},
|
||||
contact() {
|
||||
EWebBridge.webCallAppInJs('callSystem', {
|
||||
system: 'tel',
|
||||
number: this.ybOrderDTOList.appntPhone
|
||||
})
|
||||
const a = document.createElement('a')
|
||||
a.href = `tel:'${this.ybOrderDTOList.appntPhone}'`
|
||||
a.click()
|
||||
this.show = false
|
||||
},
|
||||
callPhone(phoneNumber) {
|
||||
EWebBridge.webCallAppInJs('callSystem', {
|
||||
system: 'tel',
|
||||
number: phoneNumber
|
||||
})
|
||||
window.location.href = 'tel://' + phoneNumber
|
||||
},
|
||||
getYBRenewalInfo() {
|
||||
// let params = {
|
||||
|
||||
@@ -52,10 +52,10 @@
|
||||
<span>保单号</span><span>{{ item.contNo }}</span>
|
||||
</p>
|
||||
<p>
|
||||
<span>投保人</span><span>{{ item.appntName }}</span>
|
||||
<span>被保人</span><span>{{ item.insuredName }}</span>
|
||||
</p>
|
||||
<p>
|
||||
<span>被保险人</span><span>{{ item.insuredName }}</span>
|
||||
<span>被保险人</span><span>{{ item.appntName }}</span>
|
||||
</p>
|
||||
<p v-if="active == 3">
|
||||
<span>转账银行</span><span>{{ item.bankName }}</span>
|
||||
|
||||