diff --git a/src/api/ebiz/billingDetail/billingDetail.js b/src/api/ebiz/billingDetail/billingDetail.js index 667435e18..62ad5bbc4 100644 --- a/src/api/ebiz/billingDetail/billingDetail.js +++ b/src/api/ebiz/billingDetail/billingDetail.js @@ -24,4 +24,12 @@ export function queryOutOrderList(data) { method: 'post', data }) + } + // 出单详情 + export function queryOutOrderDetail(data) { + return request({ + url: getUrl(`/sale/order/queryOutOrderDetail`, 1), + method: 'post', + data + }) } \ No newline at end of file diff --git a/src/components/ebiz/billingDetail/tableDetail2.vue b/src/components/ebiz/billingDetail/tableDetail2.vue index 39bdf69a5..610d8a00a 100644 --- a/src/components/ebiz/billingDetail/tableDetail2.vue +++ b/src/components/ebiz/billingDetail/tableDetail2.vue @@ -11,13 +11,20 @@ {{ Number(index) + 1 }} - {{ item.signDate }} - {{ item.appntDate }} - {{ item.productName }} - {{ item.prem }} - {{ item.name }} + {{ item.signDate }} + {{ item.appntDate }} + {{ item.productName }} + {{ item.prem }} + + {{ item.name }} + {{ item.manageComName }} + + 下载贺报 + 查看 + + @@ -28,6 +35,8 @@
上一页
{{ pageNum }}/{{ Math.ceil(total / pageSize) }}
下一页 >
+
+
@@ -62,9 +71,32 @@ export default { } }, data() { - return {} + return { + timeShow: false, + } + }, + watch: { + theads(newVal) { + if (newVal) { + for(let i=0;i @@ -110,6 +157,21 @@ export default { 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; @@ -117,14 +179,35 @@ export default { //width: 1000px; } .statisticsTable_table .table { - width: 1000px; + 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: 800px; + 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; @@ -150,17 +233,22 @@ table { } } } -.th-fixed { - // position: sticky; - left: 0; - width: 150px; - padding: 0 5px; -} + .td-fixed { // position: sticky; - width: 150px; + 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; +} diff --git a/src/router/ebiz/billingDetail.js b/src/router/ebiz/billingDetail.js index 4ed21fb49..fe6b32ef0 100644 --- a/src/router/ebiz/billingDetail.js +++ b/src/router/ebiz/billingDetail.js @@ -1,5 +1,7 @@ const billingDetail = () => import('@/views/ebiz/billingDetail/billingDetail') const generateImg = () => import('@/views/ebiz/generateImg/generateImg') +const policyDetails = () => import('@/views/ebiz/billingDetail/policyDetails') + export default [ { @@ -18,5 +20,13 @@ export default [ meta: { title: '业绩贺报' } - } + }, + { + path: '/policyDetails', + name: 'policyDetails', + component: policyDetails, + meta: { + title: '保单详情', + } + }, ] diff --git a/src/views/ebiz/billingDetail/billingDetail.vue b/src/views/ebiz/billingDetail/billingDetail.vue index c43f8f4ef..1ca37d31c 100644 --- a/src/views/ebiz/billingDetail/billingDetail.vue +++ b/src/views/ebiz/billingDetail/billingDetail.vue @@ -1,10 +1,24 @@ diff --git a/src/views/ebiz/billingDetail/policyDetails.vue b/src/views/ebiz/billingDetail/policyDetails.vue new file mode 100644 index 000000000..3f5ce5740 --- /dev/null +++ b/src/views/ebiz/billingDetail/policyDetails.vue @@ -0,0 +1,160 @@ + + + + + diff --git a/src/views/ebiz/common/CalculatePremium.vue b/src/views/ebiz/common/CalculatePremium.vue index 4d7a676b4..2b67eaab1 100644 --- a/src/views/ebiz/common/CalculatePremium.vue +++ b/src/views/ebiz/common/CalculatePremium.vue @@ -102,6 +102,7 @@
{{ riskFactor.name }}
+
@@ -2440,6 +2444,11 @@ export default { }) } }) + result.push({ + amt: "100000.00", + dutyCode: "jhblxbase21", + dutyName: "基本责任二方案1(身故保险金或全残保险金(保额))" + }) trialInfo.duty = result } }) @@ -3115,7 +3124,8 @@ export default { this.trialList[index].productCode == 'GFRS_M0077' || this.trialList[index].productCode == 'GFRS_M0057' || this.trialList[index].productCode == 'GFRS_M0086' || - this.trialList[index].productCode == 'GFRS_M0092' + this.trialList[index].productCode == 'GFRS_M0092' || + this.trialList[index].productCode == 'GFRS_M0096' ) { riskItem['dutyLst'] = this.trialInfos[index].duty } @@ -3431,4 +3441,25 @@ export default { border: 1px solid red; } } + +.checked { + color: #fff !important; + background-color: #E9332E !important; + border-color: #E9332E; +} +/deep/ .van-icon { + border-color: #e9332e; + color: #fff !important; +} +.duty { + position: relative; +} +.zhe { + width: 30px; + height: 30px; + position: absolute; + top: 24.66667vw; + right: -4px; + z-index: 9; +} diff --git a/src/views/ebiz/generateImg/generateImg.vue b/src/views/ebiz/generateImg/generateImg.vue index af7235081..606e8ad0e 100644 --- a/src/views/ebiz/generateImg/generateImg.vue +++ b/src/views/ebiz/generateImg/generateImg.vue @@ -4,10 +4,10 @@
-

{{ orderList.manageComName }}

+

{{ orderList.manageComNameFull }}

{{ orderList.name }}

-
{{ orderList.productName }}
+
{{ orderList.productNameFull }}
{{ orderList.outOrderType == 'accept' ? '承保规保' : '预收规保' }}
{{ orderList.prem }}
{{ orderList.outOrderType == 'accept' ? '承保时间:' : '预收时间:' }}{{ orderList.appntDate }}
@@ -17,6 +17,9 @@ 分享 下载
+
+ +
@@ -25,9 +28,23 @@ import html2canvas from 'html2canvas' import { base64Excel } from '@/api/ebiz/nbs' export default { name: 'generateImg', + // generateImgData + props: { + // generateImgData: { + // type: Object, + // default: {} + // }, + }, data() { return { - orderList: {} + orderList: {}, + isIOS: false, + } + }, + created() { + this.isIOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream; + if(this.isIOS) { + document.getElementsByClassName('box').style.top = '38%' } }, mounted() { @@ -122,6 +139,9 @@ export default { }, downLoadImagesFunc() { this.domToImage(this.$refs.generateImg) + }, + close() { + this.$emit('child-colse', '1') } } } @@ -216,10 +236,18 @@ img { border: 2px solid; border-image: radial-gradient(circle, rgba(255, 233, 124, 1), rgba(222, 144, 34, 1)) 2 2; } - +/deep/ .van-button { + border-radius: 12px; + width: 42%; +} /deep/ .van-button--danger { background: linear-gradient(to right, #f26e43, #ac0209) !important; /*设置按钮为渐变颜色*/ border: none !important; } +.close { + position: fixed; + top: 0; + right: 0; +} \ No newline at end of file diff --git a/src/views/ebiz/goodStart/PerformanceReport.vue b/src/views/ebiz/goodStart/PerformanceReport.vue index a8ac5052f..aee50c138 100644 --- a/src/views/ebiz/goodStart/PerformanceReport.vue +++ b/src/views/ebiz/goodStart/PerformanceReport.vue @@ -29,7 +29,7 @@ {{ levelNames[levelLength + index] }} - + lanC
diff --git a/src/views/ebiz/sale/InsuredInfo.vue b/src/views/ebiz/sale/InsuredInfo.vue index a6ae62812..1cd16bc3c 100644 --- a/src/views/ebiz/sale/InsuredInfo.vue +++ b/src/views/ebiz/sale/InsuredInfo.vue @@ -993,6 +993,7 @@ }, //证件起始截止日期 onDateConfirm(val, type) { + console.log(val,type,); switch (type) { case '0': { @@ -1009,9 +1010,10 @@ let age = utilsAge.getAge(this.userInfo.birthday, new Date()) // 长期按钮是否禁用 this.effectiveDateTypeAble = age <= 45 - if(this.userInfo.birthday){ + if(this.userInfo.birthday && !this.userInfo.certiexpiredate){ this.userInfo.certiexpiredate = countCredentialValidity.getEndDate(this.userInfo.birthday,val) if(this.userInfo.certiexpiredate) { + this.userInfo.certiexpiredate= this.userInfo.certiexpiredate this.effectiveDateTypeAble = true this.userInfo.effectiveDateType = false } @@ -1030,9 +1032,9 @@ } //身份证证件类型的判断 if (this.userInfo.idType == '1') { - if(this.userInfo.birthday){ - this.userInfo.certificateValidate = countCredentialValidity.getStartDate(this.userInfo.birthday,val) - } + // if(this.userInfo.birthday){ + // this.userInfo.certificateValidate = countCredentialValidity.getStartDate(this.userInfo.birthday,val) + // } } } break @@ -1057,7 +1059,7 @@ if (this.userInfo.certificateValidate && !this.userInfo.certiexpiredate) { this.userInfo.certiexpiredate = countCredentialValidity.getEndDate(this.userInfo.birthday,this.userInfo.certificateValidate) } - if (this.userInfo.certiexpiredate && !this.userInfo.certificateValidate) { + if (this.userInfo.certiexpiredate && !this.userInfo.certificateValidate) { this.userInfo.certificateValidate = countCredentialValidity.getEndDate(this.userInfo.birthday,this.userInfo.certiexpiredate) } } diff --git a/src/views/ebiz/sale/InsuredPerson.vue b/src/views/ebiz/sale/InsuredPerson.vue index ab6dd1ae7..52bdda47d 100644 --- a/src/views/ebiz/sale/InsuredPerson.vue +++ b/src/views/ebiz/sale/InsuredPerson.vue @@ -1109,9 +1109,10 @@ let age = utilsAge.getAge(this.userInfo.birthday, new Date()) // 长期按钮是否禁用 this.effectiveDateTypeAble = age <= 45 - if(this.userInfo.birthday){ + if(this.userInfo.birthday && !this.userInfo.certiexpiredate){ this.userInfo.certiexpiredate = countCredentialValidity.getEndDate(this.userInfo.birthday,val) if(this.userInfo.certiexpiredate) { + this.userInfo.certiexpiredate= this.userInfo.certiexpiredate this.effectiveDateTypeAble = true this.userInfo.effectiveDateType = false } @@ -1142,9 +1143,9 @@ //获取年龄 let age = utilsAge.getAge(this.userInfo.birthday, new Date()) console.log(age) - if(this.userInfo.birthday){ - this.userInfo.certificateValidate = countCredentialValidity.getStartDate(this.userInfo.birthday,val) - } + // if(this.userInfo.birthday){ + // this.userInfo.certificateValidate = countCredentialValidity.getStartDate(this.userInfo.birthday,val) + // } } } break