Commit 0c4b38e7 by 陈玉桐

fix

parent 3838517b
...@@ -264,6 +264,7 @@ export default { ...@@ -264,6 +264,7 @@ export default {
}, },
methods: { methods: {
create() { create() {
if(this.enrollStatus==1){//已报名
if(this.status==2){ if(this.status==2){
this.tipDialogText = '活动已结束' this.tipDialogText = '活动已结束'
this.tipDialogShow = true this.tipDialogShow = true
...@@ -284,7 +285,6 @@ export default { ...@@ -284,7 +285,6 @@ export default {
this.tipDialogShow = true this.tipDialogShow = true
return return
} }
if(this.enrollStatus==1){//已报名
html2canvas(document.getElementById('posterOut'), { html2canvas(document.getElementById('posterOut'), {
useCORS: true, useCORS: true,
backgroundColor:null, backgroundColor:null,
...@@ -357,6 +357,7 @@ export default { ...@@ -357,6 +357,7 @@ export default {
this.$router.push({name: 'index'}) this.$router.push({name: 'index'})
}, },
selectPic() { selectPic() {
if(this.enrollStatus==1){//已报名
if(this.status==2){ if(this.status==2){
this.tipDialogText = '活动已结束' this.tipDialogText = '活动已结束'
this.tipDialogShow = true this.tipDialogShow = true
...@@ -376,6 +377,9 @@ export default { ...@@ -376,6 +377,9 @@ export default {
me.uploadPic = res.localIds[0] // 返回选定照片的本地ID列表,localId可以作为img标签的src属性显示图片 me.uploadPic = res.localIds[0] // 返回选定照片的本地ID列表,localId可以作为img标签的src属性显示图片
} }
}) })
}else{
this.applyDialogShow = true
}
}, },
inputBlur(){ inputBlur(){
var u = navigator.userAgent, app = navigator.appVersion var u = navigator.userAgent, app = navigator.appVersion
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment