diff --git a/src/App.vue b/src/App.vue index 184ba9078..349affefb 100644 --- a/src/App.vue +++ b/src/App.vue @@ -2,7 +2,10 @@
- + + + + +
+
@@ -78,12 +78,12 @@ export default { } .lh20 { text-align: center; - line-height: 20px; + // line-height: 20px; } .wire { - width: 54px; - height: 2px; - background: red; + // width: 54px; + // height: 2px; + // background: red; } } diff --git a/src/components/ebiz/claims/Customer.vue b/src/components/ebiz/claims/Customer.vue new file mode 100644 index 000000000..7af2541b5 --- /dev/null +++ b/src/components/ebiz/claims/Customer.vue @@ -0,0 +1,198 @@ + + + + + diff --git a/src/components/ebiz/claims/CustomerPicker.vue b/src/components/ebiz/claims/CustomerPicker.vue new file mode 100644 index 000000000..88debf8f3 --- /dev/null +++ b/src/components/ebiz/claims/CustomerPicker.vue @@ -0,0 +1,167 @@ + + + diff --git a/src/components/ebiz/claims/Read.vue b/src/components/ebiz/claims/Read.vue new file mode 100644 index 000000000..8209018c2 --- /dev/null +++ b/src/components/ebiz/claims/Read.vue @@ -0,0 +1,65 @@ + + + \ No newline at end of file diff --git a/src/components/ebiz/sale/UploadImageFile.vue b/src/components/ebiz/sale/UploadImageFile.vue index 5300a8d56..4b84fb22b 100644 --- a/src/components/ebiz/sale/UploadImageFile.vue +++ b/src/components/ebiz/sale/UploadImageFile.vue @@ -9,7 +9,7 @@ diff --git a/src/config/agentEenter.js b/src/config/agentEenter.js new file mode 100644 index 000000000..f9deda779 --- /dev/null +++ b/src/config/agentEenter.js @@ -0,0 +1,6 @@ +//自助入司 +let mockBaseUrl = 'http://mock-api.com/LwnaDLg1.mock' +export default { + // 查询签署协议信息 + '/agent/agreement/query': mockBaseUrl + '/agent/agreement/query' +} diff --git a/src/config/urlMap.js b/src/config/urlMap.js index b62cacfe0..16d4a43c6 100644 --- a/src/config/urlMap.js +++ b/src/config/urlMap.js @@ -15,6 +15,7 @@ import manpower from './manpower' import cardList from './cardList' import preserve from './preserve' +import agentEenter from './agentEenter' const mockBaseUrl = 'http://rap2api.taobao.org/app/mock' let baseObj = { @@ -22,5 +23,6 @@ let baseObj = { '/user/info': mockBaseUrl + '/223948/info', '/user/logout': mockBaseUrl + '/223948/logout' } -Object.assign(baseObj, proposal, sale, customer, my, product, serve, common, cardList, survey, manpower, preserve) +Object.assign(baseObj, proposal, sale, customer, my, product, serve, common, cardList, survey, manpower, preserve, agentEenter, manpower) + export default baseObj diff --git a/src/filters/index.js b/src/filters/index.js index f80f3f179..bbcc0b8e0 100644 --- a/src/filters/index.js +++ b/src/filters/index.js @@ -1,6 +1,7 @@ import Common from '@/assets/js/common' import DataDictionary from '@/assets/js/utils/data-dictionary' - +import Hospital from '@/assets/js/utils/hospital' +import Nationality from '@/assets/js/utils/nationality' /* * 把其他filter放到index.js里面一起引入 */ @@ -110,6 +111,27 @@ export default { }) return text }, + + // 理赔申请部分医院数据字典 id 转 text + HospitalIdToText(id, type) { + let text = '' + Hospital[type].some(item => { + if (item.id == id) { + text = item.text + } + }) + return text + }, + // 理赔申请部分国籍数据字典 id 转 text + NationalityIdToText(id, type) { + let text = '' + Nationality[type].some(item => { + if (item.id == id) { + text = item.text + } + }) + return text + }, /** * 处理千分位并保留两位小数 * @param {[type]} moneyStr 钱 diff --git a/src/router/app/index.js b/src/router/app/index.js index ffd27ac1b..1481fffff 100644 --- a/src/router/app/index.js +++ b/src/router/app/index.js @@ -4,7 +4,7 @@ const login = () => import('@/views/app/Login') const notFound = () => import('@/views/app/404') const functionList = () => import('@/views/app/FunctionList') -export default [ +let arr = [ { path: '/', name: 'home', @@ -43,3 +43,9 @@ export default [ redirect: '/404' } ] + +if(process.env.VUE_APP_FLAG == 'prd'){ + arr.shift() +} + +export default arr \ No newline at end of file diff --git a/src/router/ebiz/agentEenter.js b/src/router/ebiz/agentEenter.js index f906e10e9..cf699677d 100644 --- a/src/router/ebiz/agentEenter.js +++ b/src/router/ebiz/agentEenter.js @@ -24,6 +24,8 @@ 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 ResultEnd = () => import('@/views/ebiz/agentEenter/ResultEnd') + export default [ { @@ -250,5 +252,14 @@ export default [ title: '提交成功', index: 1 } + }, + { + path: '/agentEenter/ResultEnd', + name: 'ResultEnd', + component: ResultEnd, + meta: { + title: '入司成功', + index: 1 + } } ] diff --git a/src/router/ebiz/claims.js b/src/router/ebiz/claims.js new file mode 100644 index 000000000..09723f3ef --- /dev/null +++ b/src/router/ebiz/claims.js @@ -0,0 +1,183 @@ +//理赔 定义相关组件 +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 searchCustomer = () => import('@/views/ebiz/claims/SearchCustomer') +const searchHospital = () => import('@/views/ebiz/claims/SearchHospital') +const insuredInfo = () => import('@/views/ebiz/claims/InsuredInfo') +const reportInfo = () => import('@/views/ebiz/claims/ReportInfo') +const imageData = () => import('@/views/ebiz/claims/ImageData') +const signatureConfirmation = () => import('@/views/ebiz/claims/SignatureConfirmation') +const claimsSignature = () => import('@/views/ebiz/claims/ClaimsSignature') +const claimsDetail = () => import('@/views/ebiz/claims/ClaimsDetail') +const accident = () => import('@/views/ebiz/claims/Accident') +const applyInfo = () => import('@/views/ebiz/claims/ApplyInfo') +const reportApply = () => import('@/views/ebiz/claims/ReportApply') +const reportSuccess = () => import('@/views/ebiz/claims/ReportSuccess') +const reportFail = () => import('@/views/ebiz/claims/ReportFail') +export default [ + { + path: '/claims/ProblemList', + name: 'ProblemList', + component: ProblemList, + meta: { + title: '问题件列表', + index: 1 + } + }, + { + path: '/claims/FillImage', + name: 'FillImage', + component: FillImage, + meta: { + title: '补充影像资料', + index: 1 + } + }, + { + path: '/claims/success', + name: 'success', + component: success, + meta: { + title: '提交成功', + index: 1 + } + }, + { + path: '/claims/fail', + name: 'fail', + component: fail, + meta: { + title: '提交失败', + index: 1 + } + }, + { + path: '/claims/claimsList', + name: 'claimsList', + component: claimsList, + meta: { + title: '理赔进度查询', + index: 1 + } + }, + { + path: '/claims/searchCustomer', + name: 'searchCustomer', + component: searchCustomer, + meta: { + title: '搜索客户', + index: 1 + } + }, + { + path: '/claims/searchHospital', + name: 'searchHospital', + component: searchHospital, + meta: { + title: '搜索医院', + index: 1 + } + }, + { + path: '/claims/insuredInfo', + name: 'insuredInfo', + component: insuredInfo, + meta: { + title: '被保人信息', + index: 1 + } + }, + { + path: '/claims/reportInfo', + name: 'reportInfo', + component: reportInfo, + meta: { + title: '报案信息', + index: 1 + } + }, + { + path: '/claims/imageData', + name: 'imageData', + component: imageData, + meta: { + title: '上传理赔影像资料', + index: 1 + } + }, + { + path: '/claims/signatureConfirmation', + name: 'signatureConfirmation', + component: signatureConfirmation, + meta: { + title: '签字确认', + index: 1 + } + }, + { + path: '/claims/claimsSignature', + name: 'claimsSignature', + component: claimsSignature, + meta: { + title: '签字确认', + index: 1 + } + }, + { + path: '/claims/claimsDetail', + name: 'claimsDetail', + component: claimsDetail, + meta: { + title: '理赔详情', + index: 2 + } + }, + { + path: '/claims/accident', + name: 'accident', + component: accident, + meta: { + title: '出险信息', + index: 3 + } + }, + { + path: '/claims/applyInfo', + name: 'applyInfo', + component: applyInfo, + meta: { + title: '申请信息', + index: 4 + } + }, + { + path: '/claims/reportApply', + name: 'reportApply', + component: reportApply, + meta: { + title: '报案申请', + index: 1 + } + }, + { + path: '/claims/reportSuccess', + name: 'reportSuccess', + component: reportSuccess, + meta: { + title: '报案成功', + index: 1 + } + }, + { + path: '/claims/reportFail', + name: 'reportFail', + component: reportFail, + meta: { + title: '报案失败', + index: 1 + } + } +] diff --git a/src/router/ebiz/index.js b/src/router/ebiz/index.js index 047d5f150..74faa70ba 100644 --- a/src/router/ebiz/index.js +++ b/src/router/ebiz/index.js @@ -15,6 +15,8 @@ import nbs from './nbs' import manpower from './manpower' import cardList from './cardList' import preserve from './preserve' +import claims from './claims' +import productStore from './product-store' export default [ ...proposal, ...sale, @@ -31,5 +33,7 @@ export default [ ...survey, ...nbs, ...preserve, - ...manpower + ...manpower, + ...claims, + ...productStore ] //根据需要进行删减 diff --git a/src/router/ebiz/product-store.js b/src/router/ebiz/product-store.js new file mode 100644 index 000000000..2f62059a4 --- /dev/null +++ b/src/router/ebiz/product-store.js @@ -0,0 +1,63 @@ +//商品商城 +const ForwardRecord = () => import('@/views/ebiz/product-store/ForwardRecord') +const LoginMsg = () => import('@/views/ebiz/product-store/LoginMsg') +const StoreDetail = () => import('@/views/ebiz/product-store/StoreDetail') +const StoreList = () => import('@/views/ebiz/product-store/StoreList') +const Agreement = () => import('@/views/ebiz/product-store/Agreement') +const Protocol = () => import('@/views/ebiz/product-store/Protocol') +export default [ + { + path: '/productStore/forwardRecord', + name: 'ForwardRecord', + component: ForwardRecord, + meta: { + title: '转发记录', + index: 4 + } + }, + { + path: '/productStore/loginMsg', + name: 'LoginMsg', + component: LoginMsg, + meta: { + title: '输入登录信息', + index: 3 + } + }, + { + path: '/productStore/storeDetail', + name: 'StoreDetail', + component: StoreDetail, + meta: { + title: '商城简介', + index: 2 + } + }, + { + path: '/productStore/storeList', + name: 'StoreList', + component: StoreList, + meta: { + title: 'VIP专区', + index: 1 + } + }, + { + path: '/productStore/agreement', + name: 'Agreement', + component: Agreement, + meta: { + title: 'VIP专区', + index: 1 + } + }, + { + path: '/productStore/protocol', + name: 'Protocol', + component: Protocol, + meta: { + title: '协议', + index: 1 + } + } +] diff --git a/src/views/app/Home.vue b/src/views/app/Home.vue index ec0c0cdcd..bdd75d5d3 100644 --- a/src/views/app/Home.vue +++ b/src/views/app/Home.vue @@ -25,17 +25,17 @@
  • 客户管理
  • 收入
  • 保单列表
  • -
  • 自助入司
  • -
  • 入司审批列表
  • -
  • 问卷调查
  • -
  • nbs列表
  • -
  • DISC性格分析
  • + + + + +
  • 保全-搜索-联系方式变更
  • 保全-搜索-受益人变更
  • 保全-搜索-续期账户变更
  • 保全-搜索-退保
  • 保全-搜索-犹豫期退保
  • - +
  • 保全-搜索-犹退
  • DISC性格分析
  • @@ -53,6 +53,23 @@ +
  • +

    理赔

    +
      +
    • + 入口 +
    • +
    +
  • +
  • +

    商品商城

    +
      +
    • 商品商城列表
    • +
    • 商城详情简介
    • +
    • 输入登录信息
    • +
    • 转发记录
    • +
    +
  • 首页 diff --git a/src/views/ebiz/agentEenter/AgentEenterBasicFamily.vue b/src/views/ebiz/agentEenter/AgentEenterBasicFamily.vue index 0faa47357..9e1cce083 100644 --- a/src/views/ebiz/agentEenter/AgentEenterBasicFamily.vue +++ b/src/views/ebiz/agentEenter/AgentEenterBasicFamily.vue @@ -18,52 +18,54 @@ @click="toSelect('1', i)" required /> - - - - - - +
    + + + + + + +
    -
    + 新增
    +
    + 新增
    上一步 @@ -214,11 +216,21 @@ export default { this.popupShow = false if (this.pickerType == '1') { this.userInfo[this.enterIndex].relationType = value.id - // this.$forceUpdate() + if (value.id == '3') { + //如果家庭关系选择无,则页面其他信息不需要填不需要显示 + Dialog.alert({ + message: '如无直系亲属(父母、配偶、子女),方可选关系为无。' + }).then(() => { + this.userInfo.length = 1 + for (let key in this.userInfo[0]) { + this.userInfo[0][key] = '' + } + this.$set(this.userInfo[0], 'relationType', '3') + }) + } } if (this.pickerType == '2') { this.userInfo[this.enterIndex].idType = value.id - // this.$forceUpdate() } }, // 下一步 diff --git a/src/views/ebiz/agentEenter/AgentEenterBasicHealth.vue b/src/views/ebiz/agentEenter/AgentEenterBasicHealth.vue index d627bbfed..dbe47f7c3 100644 --- a/src/views/ebiz/agentEenter/AgentEenterBasicHealth.vue +++ b/src/views/ebiz/agentEenter/AgentEenterBasicHealth.vue @@ -21,6 +21,21 @@ +
    + + + +
    @@ -38,6 +53,19 @@ +
    + +
    @@ -46,23 +74,8 @@ 一键全无
    - 上一步 - 提交信息 + 上一步 + 提交信息
    @@ -70,7 +83,7 @@ + + + diff --git a/src/views/ebiz/agentEenter/ShowPDF.vue b/src/views/ebiz/agentEenter/ShowPDF.vue index 81181fb7d..3644d55ef 100644 --- a/src/views/ebiz/agentEenter/ShowPDF.vue +++ b/src/views/ebiz/agentEenter/ShowPDF.vue @@ -1,50 +1,71 @@ diff --git a/src/views/ebiz/agentEenter/SignContract.vue b/src/views/ebiz/agentEenter/SignContract.vue index 349cfc39b..c4a95aa48 100644 --- a/src/views/ebiz/agentEenter/SignContract.vue +++ b/src/views/ebiz/agentEenter/SignContract.vue @@ -3,33 +3,104 @@ - + -

    - 恭喜您的入司资料已经通过公司审核,
    - 以下内容需要您按照顺序阅读并签字确认: -

    -
    - 需签署: -
      -
    • -
      {{ sign.name }}
      - -
    • -
    - 点击【开始】按钮,进行相关操作 +
    +

    + 恭喜您的入司资料已经通过公司审核,
    + 以下内容需要您按照顺序阅读并签字确认: +

    +
    + 需签署: +
      +
    • +
      {{ sign.name }}
      +
      + + 重新签名 +
      +
    • +
    + 点击【开始】按钮,进行相关操作
    温馨提示:请尽量使用正楷文字进行签名 +
    +
    + 开始 +
    -
    开始
    - 提交 +
    + +

    + 以下内容需要您按照顺序阅读并签字确认: +

    +
    + 需签署: +
      +
    • +
      {{ sign.name }}
      + + 重新签名 +
    • +
    + 点击【开始】或【分享】,进行相关操作
    温馨提示:请尽量使用正楷文字进行签名 +
    +
    + 分享 + + 开始 +
    +
    操作时间已失效,请联系销售人员!
    +
    + + 提交
    + + diff --git a/src/views/ebiz/claims/ApplyInfo.vue b/src/views/ebiz/claims/ApplyInfo.vue new file mode 100644 index 000000000..8368aea81 --- /dev/null +++ b/src/views/ebiz/claims/ApplyInfo.vue @@ -0,0 +1,1111 @@ + + + + + diff --git a/src/views/ebiz/claims/ClaimsDetail.vue b/src/views/ebiz/claims/ClaimsDetail.vue new file mode 100644 index 000000000..bebf0e58f --- /dev/null +++ b/src/views/ebiz/claims/ClaimsDetail.vue @@ -0,0 +1,134 @@ + + + + + diff --git a/src/views/ebiz/claims/ClaimsList.vue b/src/views/ebiz/claims/ClaimsList.vue new file mode 100644 index 000000000..7fd474b1e --- /dev/null +++ b/src/views/ebiz/claims/ClaimsList.vue @@ -0,0 +1,353 @@ + + + + + diff --git a/src/views/ebiz/claims/ClaimsSignature.vue b/src/views/ebiz/claims/ClaimsSignature.vue new file mode 100644 index 000000000..ac2150499 --- /dev/null +++ b/src/views/ebiz/claims/ClaimsSignature.vue @@ -0,0 +1,367 @@ + + + diff --git a/src/views/ebiz/claims/Fail.vue b/src/views/ebiz/claims/Fail.vue new file mode 100644 index 000000000..5b0362b7a --- /dev/null +++ b/src/views/ebiz/claims/Fail.vue @@ -0,0 +1,54 @@ + + + diff --git a/src/views/ebiz/claims/FillImage.vue b/src/views/ebiz/claims/FillImage.vue new file mode 100644 index 000000000..da1cb08f7 --- /dev/null +++ b/src/views/ebiz/claims/FillImage.vue @@ -0,0 +1,351 @@ + + + + diff --git a/src/views/ebiz/claims/ImageData.vue b/src/views/ebiz/claims/ImageData.vue new file mode 100644 index 000000000..8d33d9555 --- /dev/null +++ b/src/views/ebiz/claims/ImageData.vue @@ -0,0 +1,576 @@ + + + + diff --git a/src/views/ebiz/claims/InsuredInfo.vue b/src/views/ebiz/claims/InsuredInfo.vue new file mode 100644 index 000000000..fe7fd475d --- /dev/null +++ b/src/views/ebiz/claims/InsuredInfo.vue @@ -0,0 +1,626 @@ + + + + diff --git a/src/views/ebiz/claims/ProblemList.vue b/src/views/ebiz/claims/ProblemList.vue new file mode 100644 index 000000000..01013700d --- /dev/null +++ b/src/views/ebiz/claims/ProblemList.vue @@ -0,0 +1,185 @@ + + + + +> diff --git a/src/views/ebiz/claims/ReportApply.vue b/src/views/ebiz/claims/ReportApply.vue new file mode 100644 index 000000000..ce021fb36 --- /dev/null +++ b/src/views/ebiz/claims/ReportApply.vue @@ -0,0 +1,684 @@ + + + + + diff --git a/src/views/ebiz/claims/ReportFail.vue b/src/views/ebiz/claims/ReportFail.vue new file mode 100644 index 000000000..947aa94d7 --- /dev/null +++ b/src/views/ebiz/claims/ReportFail.vue @@ -0,0 +1,52 @@ + + + \ No newline at end of file diff --git a/src/views/ebiz/claims/ReportInfo.vue b/src/views/ebiz/claims/ReportInfo.vue new file mode 100644 index 000000000..b7d73816d --- /dev/null +++ b/src/views/ebiz/claims/ReportInfo.vue @@ -0,0 +1,196 @@ + + + + + diff --git a/src/views/ebiz/claims/ReportSuccess.vue b/src/views/ebiz/claims/ReportSuccess.vue new file mode 100644 index 000000000..ad1908bb9 --- /dev/null +++ b/src/views/ebiz/claims/ReportSuccess.vue @@ -0,0 +1,87 @@ + + + diff --git a/src/views/ebiz/claims/SearchCustomer.vue b/src/views/ebiz/claims/SearchCustomer.vue new file mode 100644 index 000000000..4d10f640d --- /dev/null +++ b/src/views/ebiz/claims/SearchCustomer.vue @@ -0,0 +1,163 @@ + + + + + diff --git a/src/views/ebiz/claims/SearchHospital.vue b/src/views/ebiz/claims/SearchHospital.vue new file mode 100644 index 000000000..b32a4dcf6 --- /dev/null +++ b/src/views/ebiz/claims/SearchHospital.vue @@ -0,0 +1,66 @@ + + + + + diff --git a/src/views/ebiz/claims/SignatureConfirmation.vue b/src/views/ebiz/claims/SignatureConfirmation.vue new file mode 100644 index 000000000..fd28eac53 --- /dev/null +++ b/src/views/ebiz/claims/SignatureConfirmation.vue @@ -0,0 +1,428 @@ + + + diff --git a/src/views/ebiz/claims/Success.vue b/src/views/ebiz/claims/Success.vue new file mode 100644 index 000000000..f68f54c64 --- /dev/null +++ b/src/views/ebiz/claims/Success.vue @@ -0,0 +1,60 @@ + + + diff --git a/src/views/ebiz/common/AddRiskList.vue b/src/views/ebiz/common/AddRiskList.vue index 752cf6cf9..b202e6fd9 100644 --- a/src/views/ebiz/common/AddRiskList.vue +++ b/src/views/ebiz/common/AddRiskList.vue @@ -76,6 +76,89 @@ export default { localStorage.isAutoPay = localStorage.isAutoPay == '0' ? '0' : resultData.isAutoPay //自动垫交 localStorage.isRenew = localStorage.isRenew == '0' ? '0' : resultData.isRenew //自动续保 localStorage.isForceRenew = localStorage.isForceRenew == '0' ? '0' : resultData.isForceRenew //自动续保默认是否选中 0-是 1-否 + if (resultData.productTrialInfoDTO.ruleExpression) { + let ruleExpression = localStorage.ruleExpression ? JSON.parse(localStorage.ruleExpression) : {} + ruleExpression[resultData.productCode] = resultData.productTrialInfoDTO.ruleExpression + localStorage.ruleExpression = JSON.stringify(ruleExpression) + + for (let item of ruleExpression[resultData.productCode]) { + let config = JSON.parse(item.ruleExpression) + switch (config.eventType) { + case 'loadFormat': + let initFn = new Function(...config.funPar, config.funBody.join('')) + let str = initFn(resultData) + if (str) { + return this.$toast(str) + } + break + case 'checkMainRisk': + let checkMainRiskFn = new Function(...config.funPar, config.funBody.join('')) + let checkMainRiskStr = checkMainRiskFn() + if (checkMainRiskStr) { + return this.$toast(checkMainRiskStr) + } + break + default: + break + } + // if(config.eventType == 'loadFormat'){ + // let initFn = new Function(...config.funPar, config.funBody.join('')) + // let str = initFn(resultData) + // if(str){ + // return this.$toast(str) + // } + // } + } + } + // let checkMainRiskFn = function(){ + // config = { + // eventName: "CheckMainRiskPayEndYear", + // eventType: "checkMainRisk", + // funPar: [], + // funBody : [ + // 'let mainRisk = JSON.parse(localStorage.chooseProducts)[0];', + // 'let mainRiskCode = mainRisk.productCode;', + // 'let checkMianRishCode = {', + // ' "GFRS_M0023" : true', + // '};', + // 'if(! checkMianRishCode[mainRiskCode]){', + // ' return ""', + // '};', + // ' ', + // 'let payEndYearObj = mainRisk.calFactorLst.find(item =>{', + // ' return item.code == "payEndYear"', + // '});', + // 'let payEndYearVal = payEndYearObj.payEndYear;', + // 'let payEndYearFlag = payEndYearObj.payEndYearFlag;', + // 'let payEnd = payEndYearVal+ payEndYearFlag;', + // 'let age = JSON.parse(localStorage.saleInsuredInfo).age;', + // 'switch (payEndYearVal+payEndYearFlag){', + // ' case "15Y":', + // ' if(age-0 > 55){', + // ' return "当前投保人年龄无法在保险期间为15年交时,添加当前附加险";', + // ' };', + // ' break;', + // ' case "20Y":', + // ' if(age-0 > 50){', + // ' return "当前投保人年龄无法在保险期间为20年交时,添加当前附加险";', + // ' };', + // ' break;', + // '}' + // ] + // } + // switch (payEndYearVal+payEndYearFlag){ + // case "15Y": + // if(age-0 > 55){ + // return "当前投保人年龄无法在保险期间为15年交时,添加当前附加险"; + // } + // break; + // case "20Y": + // if(age-0 > 50){ + // return "当前投保人年龄无法在保险期间为20年交时,添加当前附加险"; + // } + // break; + // } + /********start 附加险选择限制 start******/ //豁免险与其他附加险年龄险种 if (resultData.productTrialInfoDTO.isRemit == '0' && resultData.productTrialInfoDTO.remitType == '0') { @@ -111,6 +194,7 @@ export default { } } else { //校验主合同的被保险人寿险职业等级 + console.log(1111, resultData) if (riskRules.lifeGradeLimit(resultData, this)) { return } @@ -196,9 +280,10 @@ export default { let isRemit = resultData.productTrialInfoDTO.isRemit if (isRemit == 1) return false let remitType = resultData.productTrialInfoDTO.remitType + let remitTypeLimit = resultData.productTrialInfoDTO.remitTypeLimit let relationToAppnt = this.saleInsuredPersonInfo.relationToAppnt let currentMainRiskInfo = this.getCurrentMainRiskInfo() - if (relationToAppnt == 1 && remitType == '0') { + if (relationToAppnt == 1 && remitType == '0' && !remitTypeLimit) { this.$toast('投被同人不能选取此款险种!') return true } diff --git a/src/views/ebiz/common/CalculatePremium.vue b/src/views/ebiz/common/CalculatePremium.vue index bfd497cda..2268f5a1e 100644 --- a/src/views/ebiz/common/CalculatePremium.vue +++ b/src/views/ebiz/common/CalculatePremium.vue @@ -49,7 +49,7 @@ /> -
    +
    {{ riskFactor.name }}
    - {{ dutyItem.dutyName }}({{ dutyItem.suffix }}) + {{ dutyItem.dutyName }}({{ dutyItem.suffix }}) + {{ dutyItem.dutyName }}
    - {{ - riskFactor.name + '(' + item.productTrialYearDTOS[payEndYearColumnsIndex]['suffix'] + ')' - }} + + {{ riskFactor.name + '(' + item.productTrialYearDTOS[payEndYearColumnsIndex]['suffix'] + ')' }} + {{ riskFactor.name }}       @@ -261,8 +264,9 @@ 首期保费(元): + 首期保费(元): + 保额(元): {{ trialList[index].showPrem.toFixed(2) | moneyFormat }}
    @@ -273,16 +277,14 @@ - - - +
    + + diff --git a/src/views/ebiz/product-store/ForwardRecord.vue b/src/views/ebiz/product-store/ForwardRecord.vue new file mode 100644 index 000000000..b1f7f91e1 --- /dev/null +++ b/src/views/ebiz/product-store/ForwardRecord.vue @@ -0,0 +1,156 @@ + + + + + + diff --git a/src/views/ebiz/product-store/LoginMsg.vue b/src/views/ebiz/product-store/LoginMsg.vue new file mode 100644 index 000000000..0bad20c25 --- /dev/null +++ b/src/views/ebiz/product-store/LoginMsg.vue @@ -0,0 +1,140 @@ + + + + + + diff --git a/src/views/ebiz/product-store/Protocol.vue b/src/views/ebiz/product-store/Protocol.vue new file mode 100644 index 000000000..d763f6fff --- /dev/null +++ b/src/views/ebiz/product-store/Protocol.vue @@ -0,0 +1,66 @@ + + + diff --git a/src/views/ebiz/product-store/StoreDetail.vue b/src/views/ebiz/product-store/StoreDetail.vue new file mode 100644 index 000000000..007d77c88 --- /dev/null +++ b/src/views/ebiz/product-store/StoreDetail.vue @@ -0,0 +1,247 @@ + + + + + + diff --git a/src/views/ebiz/product-store/StoreList.vue b/src/views/ebiz/product-store/StoreList.vue new file mode 100644 index 000000000..c2d8b4906 --- /dev/null +++ b/src/views/ebiz/product-store/StoreList.vue @@ -0,0 +1,63 @@ + + + + + + \ No newline at end of file diff --git a/src/views/ebiz/product/HomeProduct.vue b/src/views/ebiz/product/HomeProduct.vue index 3a8774616..aa6987c95 100644 --- a/src/views/ebiz/product/HomeProduct.vue +++ b/src/views/ebiz/product/HomeProduct.vue @@ -45,7 +45,7 @@
    - +
    diff --git a/src/views/ebiz/product/ProductDetail.vue b/src/views/ebiz/product/ProductDetail.vue index 5927b504b..d1c3184ac 100644 --- a/src/views/ebiz/product/ProductDetail.vue +++ b/src/views/ebiz/product/ProductDetail.vue @@ -31,6 +31,8 @@