From 4b2001d6a3d642784c4bfec7f274f64a676358ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9A=AE=E4=BC=9F?= Date: Fri, 27 Sep 2019 17:54:22 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E5=91=8A=E7=9F=A5?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/sale/NotifyingMessage.vue | 122 +++++++++++++++++------ 1 file changed, 94 insertions(+), 28 deletions(-) diff --git a/src/views/ebiz/sale/NotifyingMessage.vue b/src/views/ebiz/sale/NotifyingMessage.vue index 0a822e743..3c2751d06 100644 --- a/src/views/ebiz/sale/NotifyingMessage.vue +++ b/src/views/ebiz/sale/NotifyingMessage.vue @@ -248,36 +248,102 @@ export default { } }) - let data = { - orderType: 'IMPART_ORDER', - orderDTO: { - orderInfoDTO: { - orderNo: window.localStorage.getItem('orderNo') - }, - // 投保人 - appntDTO: { - impartDTO: obj, - financeImpartDTO: financeImpartDTO - }, - // 被保人 - insuredDTOs: [{ impartDTO: objInsured, financeImpartDTO: financeImpart }] - } - } - saveInformation(data).then(res => { - if (res.result == '0') { - that.$jump({ - flag: 'h5', - extra: { - url: location.origin + '/#/sale/accountInformation' + if (financeImpartDTO == {}) { + let data = { + orderType: 'IMPART_ORDER', + orderDTO: { + orderInfoDTO: { + orderNo: window.localStorage.getItem('orderNo') }, - routerInfo: { - path: '/sale/accountInformation' - } - }) - } else { - this.$toast(res.resultMessage) + + // 投保人 + appntDTO: { + impartDTO: obj + }, + // 被保人 + insuredDTOs: [{ impartDTO: objInsured, financeImpartDTO: financeImpart }] + } } - }) + saveInformation(data).then(res => { + if (res.result == '0') { + that.$jump({ + flag: 'h5', + extra: { + url: location.origin + '/#/sale/accountInformation' + }, + routerInfo: { + path: '/sale/accountInformation' + } + }) + } else { + this.$toast(res.resultMessage) + } + }) + } else if (financeImpart == {}) { + let data = { + orderType: 'IMPART_ORDER', + orderDTO: { + orderInfoDTO: { + orderNo: window.localStorage.getItem('orderNo') + }, + + // 投保人 + appntDTO: { + impartDTO: obj, + financeImpartDTO: financeImpartDTO + }, + // 被保人 + insuredDTOs: [{ impartDTO: objInsured }] + } + } + saveInformation(data).then(res => { + if (res.result == '0') { + that.$jump({ + flag: 'h5', + extra: { + url: location.origin + '/#/sale/accountInformation' + }, + routerInfo: { + path: '/sale/accountInformation' + } + }) + } else { + this.$toast(res.resultMessage) + } + }) + } else { + let data = { + orderType: 'IMPART_ORDER', + orderDTO: { + orderInfoDTO: { + orderNo: window.localStorage.getItem('orderNo') + }, + + // 投保人 + appntDTO: { + impartDTO: obj, + financeImpartDTO: financeImpartDTO + }, + // 被保人 + insuredDTOs: [{ impartDTO: objInsured, financeImpartDTO: financeImpart }] + } + } + saveInformation(data).then(res => { + if (res.result == '0') { + that.$jump({ + flag: 'h5', + extra: { + url: location.origin + '/#/sale/accountInformation' + }, + routerInfo: { + path: '/sale/accountInformation' + } + }) + } else { + this.$toast(res.resultMessage) + } + }) + } } else { this.$toast(this.$validator.errors.all()[0]) } From b56f0b87ab04a1f876804262e764b56ea3957548 Mon Sep 17 00:00:00 2001 From: shishengjie Date: Fri, 27 Sep 2019 18:12:56 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=81=8F=E7=A7=BB?= =?UTF-8?q?=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/sale/SignatureOfElectronic.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/ebiz/sale/SignatureOfElectronic.vue b/src/views/ebiz/sale/SignatureOfElectronic.vue index f193b1a0c..efb543b5d 100644 --- a/src/views/ebiz/sale/SignatureOfElectronic.vue +++ b/src/views/ebiz/sale/SignatureOfElectronic.vue @@ -431,7 +431,7 @@ export default { keyword: '法定监护人', pageNo: '1', index: '1', - offset: '-500', + offset: '-800', pos: '3' }).then(data => { console.log(`--签名返回:val:${val},this.detailJump:${this.detailJump},this.relationToAppnt:${this.relationToAppnt}`, JSON.stringify(data)) @@ -510,7 +510,7 @@ export default { keyword: '法定监护人', pageNo: '1', index: '1', - offset: '150', + offset: '350', pos: '3' }).then(data => { console.log(`--签名返回:val:${val},this.detailJump:${this.detailJump},this.relationToAppnt:${this.relationToAppnt}`, JSON.stringify(data))