From b8b0dc58ae09bdd81384ac61c61f2ea6778b0afc Mon Sep 17 00:00:00 2001
From: "li.yuetong"
Date: Mon, 29 Aug 2022 13:21:50 +0800
Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=85=B3=E4=BA=8E=E9=99=84=E5=8A=A0?=
=?UTF-8?q?=E7=BB=BC=E5=90=88=E6=84=8F=E5=A4=96=E4=BC=A4=E5=AE=B3=E4=BF=9D?=
=?UTF-8?q?=E9=99=A9=EF=BC=88=E4=B9=90=E4=BA=AB=E7=89=88=EF=BC=89=E6=8A=95?=
=?UTF-8?q?=E4=BF=9D=E6=B5=81=E7=A8=8B=E5=A2=9E=E5=8A=A0=E3=80=8A=E4=B8=AA?=
=?UTF-8?q?=E4=BA=BA=E4=BF=A1=E6=81=AF=E4=BD=BF=E7=94=A8=E6=8E=88=E6=9D=83?=
=?UTF-8?q?=E3=80=8B=E9=98=85=E7=9F=A5=E5=8B=BE=E9=80=89=E7=9A=84=E7=94=B3?=
=?UTF-8?q?=E8=AF=B7=E3=80=91=E8=AE=A2=E5=8D=95=E8=AF=A6=E6=83=85=E8=8E=B7?=
=?UTF-8?q?=E5=8F=96pdf=E8=B7=AF=E5=BE=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/ebiz/sale/PersonalInformation.vue | 35 ++++++++++++++++++---
1 file changed, 30 insertions(+), 5 deletions(-)
diff --git a/src/views/ebiz/sale/PersonalInformation.vue b/src/views/ebiz/sale/PersonalInformation.vue
index 2975cde3f..a55e8b0de 100644
--- a/src/views/ebiz/sale/PersonalInformation.vue
+++ b/src/views/ebiz/sale/PersonalInformation.vue
@@ -5,7 +5,7 @@
-
+
本人确认已阅读《个人信息使用授权》
@@ -17,9 +17,7 @@
import { RadioGroup, Radio, Dialog, NoticeBar } from 'vant'
import { saveInformation, getOrderDetail } from '@/api/ebiz/sale/sale'
import utils from '@/assets/js/utils/date-utils'
-
-// import config from '@/config'
-// import axios from 'axios'
+import config from '@/config'
export default {
data() {
let isWeixin = this.$utils.device().isWeixin //判断环境
@@ -119,6 +117,7 @@ export default {
let dateTime
dateTime=date.setDate(date.getDate()-1);
this.cvalidateStrOneDayOff = utils.formatDate(new Date(dateTime), 'yyyy年MM月dd日');
+ this.getOrderDetail()
},
timeOut() {
let that = this
@@ -138,8 +137,34 @@ export default {
that.number = `${time}`
}, 1000)
},
+ // 获取PDF的路径
+ getOrderDetail() {
+ let that = this
+ let data = {
+ orderNo: window.localStorage.getItem('orderNo')
+ }
+ return new Promise((resolve, reject) => {
+ getOrderDetail(data).then(res => {
+ if (res.result == '0') {
+ res.orderDTO.ebizSignDTOS.map(item => {
+ if (item.documentCode == '12') {
+ if (item.signType == '0' || item.signType == '2') {
+ console.log('000000000', item)
+ // that.appntSign = item
+ that.tipsPolicyUrl = item.policyUrl
+ console.log('that.appntSign', item.policyUrl)
+ }
+ }
+ })
+ that.pdfUrl = encodeURIComponent(config.imgDomain + `/returnDirectStream?imgPath=${that.tipsPolicyUrl}`)
+ console.log(' that.pdfUrl', that.pdfUrl)
+ resolve('success')
+ }
+ })
+ })
+ },
// 点击阅读时
- click() {
+ readClick() {
let that = this
if (that.isOver == false) {
Dialog.confirm({