From eed3a4b151debcd9a3b8e02b44873d935c23ed71 Mon Sep 17 00:00:00 2001
From: dwq <15731277156@163.com>
Date: Wed, 16 Jun 2021 16:44:32 +0800
Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=AD=A6=E5=B9=B3=E9=99=A9=E4=B8=9A?=
=?UTF-8?q?=E5=8A=A1=E5=AD=97=E6=AE=B5=E9=9C=80=E6=B1=82=E3=80=91=20=20h5?=
=?UTF-8?q?=E9=A1=B5=E9=9D=A2=E9=80=89=E6=8B=A9=E7=8F=AD=E7=BA=A7=E5=AD=A6?=
=?UTF-8?q?=E6=A0=A1?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/ebiz/poster/PosterPreview.vue | 59 +++++++++++++++++++++++--
1 file changed, 55 insertions(+), 4 deletions(-)
diff --git a/src/views/ebiz/poster/PosterPreview.vue b/src/views/ebiz/poster/PosterPreview.vue
index ab792567d..a24664a4b 100644
--- a/src/views/ebiz/poster/PosterPreview.vue
+++ b/src/views/ebiz/poster/PosterPreview.vue
@@ -1,6 +1,7 @@
+
学校班级设置
分享
+
+
+
+
@@ -32,7 +45,11 @@ export default {
imgUrl: '', // 分享的图片
base64: '', // 分享的base64
imgPath: '',
- isShow: false
+ isShow: false,
+ showBut:false,
+ showDialog: false,
+ schoolName:"",
+ className:""
}
},
async created() {
@@ -72,6 +89,9 @@ export default {
this.$toast.clear()
if (res.result == 0) {
this.posterInfo = res.infoDTOList[0]
+ if(res.infoDTOList[0].isLearn=='0'){
+ this.showBut=true;
+ }
resolve()
} else {
reject()
@@ -116,7 +136,10 @@ export default {
},
agentMobile: this.userMobile,
agentName: this.userName,
- companyName: this.manageComName || '国富人寿保险股份有限公司'
+ companyName: this.manageComName || '国富人寿保险股份有限公司',
+ schoolName:this.schoolName,
+ className:this.className
+
}
if (this.posterType == 'product') {
shareUrlWithQR(params).then(res => {
@@ -171,7 +194,26 @@ export default {
}
}
xhr.send()
- }
+ },
+ showPopup() {
+ this.showDialog = true;
+ },
+ // 弹窗提交处理
+ checkModelConfirm() {
+ let that = this
+ if(that.schoolName.trim()==''){
+ that.schoolName="0";
+ };
+ if(that.className.trim()==''){
+ that.className="0";
+ };
+ that.getShareImg();
+ that.schoolName="";
+ that.className="";
+ location.reload();
+ },
+
+
},
filters: {
urlFormat(url) {
@@ -226,4 +268,13 @@ export default {
}
-
+