diff --git a/src/api/ebiz/product/product.js b/src/api/ebiz/product/product.js index 3675ff7af..02eb8a72e 100644 --- a/src/api/ebiz/product/product.js +++ b/src/api/ebiz/product/product.js @@ -36,3 +36,12 @@ export function getSpecialAreaProList(data) { data }) } + +// 首页底部图 +export function getHomeBottomPic(data) { + return request({ + url: getUrl('/app/code/getCodeValue', 1), + method: 'post', + data + }) +} diff --git a/src/views/ebiz/product/HomeProduct.vue b/src/views/ebiz/product/HomeProduct.vue index 3be812a48..1aab8b3b3 100644 --- a/src/views/ebiz/product/HomeProduct.vue +++ b/src/views/ebiz/product/HomeProduct.vue @@ -2,7 +2,7 @@
+ +
@@ -140,6 +151,7 @@ import performance from '@/assets/images/goodStart/performanceIcon.png' import product from '@/assets/images/goodStart/product.png' import { getAgentInfo } from '@/api/ebiz/my/my' import { getCongratulationList } from '@/api/ebiz/congratulation/congratulation.js' +import { getHomeBottomPic } from '@/api/ebiz/product/product.js' import dateUtil from '@/assets/js/utils/date-utils.js' // import { orgShortNames } from '@/assets/js/utils/orgShortName' import CacheUtils from '@/assets/js/utils/cacheUtils' @@ -170,7 +182,8 @@ export default { productCenterImgUrl: '', // 产品中心图片 productCenterKmhImgUrl: this.$assetsUrl + 'images/goodStart/productKmh.png', // 产品中心开门红图片 productCenterNormalImgUrl: this.$assetsUrl + 'images/goodStart/product.png', // 产品中心普通蓝色图片 - personalInsu: ['1','N1','N2','N3','N5','T','S','JZG'] // 个险渠道编码及其他展示个险渠道类型的渠道编码 + personalInsu: ['1','N1','N2','N3','N5','T','S','JZG'], // 个险渠道编码及其他展示个险渠道类型的渠道编码 + homeBottomPicUrl: null } }, computed: { @@ -193,6 +206,12 @@ export default { } }, methods: { + async getHomeBottomImg() { + const result = await getHomeBottomPic({ operateType: 'nonRealYB' }) + if (result.result === '0' && result.content && result.content.length > 0) { + this.homeBottomPicUrl = result.content[0].picUrl + } + }, async getTableData() { let currMonth = dateUtil.formatDate(new Date(), 'yyyy-MM-dd') let data = await getCongratulationList({ date: currMonth, queryType: 'm', type: 'kmh' }) @@ -234,11 +253,14 @@ export default { // 内外勤判断 this.isInner = /^N{1}/.test(result.branchType) || /^S/.test(result.branchType) || /^T/.test(result.branchType) || /^JZG/.test(result.branchType) // 判断是否内勤 this.branchType = result.branchType //6 网销渠道 - this.isGoodStart = result.showTemplateKmh === 'KMH'? '1':'2' // 判断是否开门红 1-开门红 2-否 - this.isPersonalInsu = this.personalInsu.indexOf(result.branchType) > -1 // 判断是否个险渠道 - this.organizationImgUrl = this.isGoodStart =='1'?this.organizationKmhImgUrl:this.organizationNormalImgUrl - this.performanceImgUrl = this.isGoodStart =='1'?this.performanceKmhImgUrl:this.performanceNormalImgUrl - this.productCenterImgUrl = this.isGoodStart =='1'?this.productCenterKmhImgUrl:this.productCenterNormalImgUrl + this.isGoodStart = result.showTemplateKmh === 'KMH' ? '1' : '2' // 判断是否开门红 1-开门红 2-否 + this.isPersonalInsu = this.personalInsu.indexOf(result.branchType) > -1 // 判断是否个险渠道 + this.organizationImgUrl = this.isGoodStart == '1' ? this.organizationKmhImgUrl : this.organizationNormalImgUrl + this.performanceImgUrl = this.isGoodStart == '1' ? this.performanceKmhImgUrl : this.performanceNormalImgUrl + this.productCenterImgUrl = this.isGoodStart == '1' ? this.productCenterKmhImgUrl : this.productCenterNormalImgUrl + if (this.branchType == '14') { + this.getHomeBottomImg() + } } else { this.$toast(result.resultMessage) } diff --git a/src/views/ebiz/sale/InsuredInfo.vue b/src/views/ebiz/sale/InsuredInfo.vue index 1cd16bc3c..0e496c251 100644 --- a/src/views/ebiz/sale/InsuredInfo.vue +++ b/src/views/ebiz/sale/InsuredInfo.vue @@ -12,6 +12,12 @@ + + + +

保单信息

+ +

基本信息

@@ -401,7 +407,11 @@
- 下一步 +
+ 生成投保单号 + 下一步 +
+ @@ -441,6 +451,49 @@ 确定 + +
+

生成投保单号

+
+
+
请您输入证件号码,输入完成后系统将自动生成投保单号
+ + + +
+
+
根据您输入的证件号码,我们己为您生成投保单号
+
{{ insureInfo.orderNo }}
+
+
+ 确定 + 完成 +
+