|
@ -523,10 +523,6 @@ export default { |
|
|
async initForm (type, actId) { |
|
|
async initForm (type, actId) { |
|
|
this.$refs.ref_form.resetFields(); |
|
|
this.$refs.ref_form.resetFields(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.formType = type |
|
|
this.formType = type |
|
|
if (actId) { |
|
|
if (actId) { |
|
|
this.startLoading() |
|
|
this.startLoading() |
|
@ -536,6 +532,8 @@ export default { |
|
|
this.endLoading() |
|
|
this.endLoading() |
|
|
|
|
|
|
|
|
} else { |
|
|
} else { |
|
|
|
|
|
this.actId = '' |
|
|
|
|
|
this.formData.actId = '' |
|
|
// this.formData = JSON.parse(JSON.stringify(this.formDataTemp)); |
|
|
// this.formData = JSON.parse(JSON.stringify(this.formDataTemp)); |
|
|
// this.agencyIdArray = this.formData.sponsorPath.split(',') |
|
|
// this.agencyIdArray = this.formData.sponsorPath.split(',') |
|
|
} |
|
|
} |
|
@ -922,6 +920,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
resetData () { |
|
|
resetData () { |
|
|
|
|
|
this.actId = '' |
|
|
this.replayImgList = [] |
|
|
this.replayImgList = [] |
|
|
this.agencyIdArray = [] |
|
|
this.agencyIdArray = [] |
|
|
this.hideUploadBtn = false |
|
|
this.hideUploadBtn = false |
|
|