|
@@ -275,14 +275,16 @@ export default {
|
|
|
toUpload(attachment) {
|
|
|
this.curUploadType = "paper";
|
|
|
this.curAttachment = {
|
|
|
- ...attachment
|
|
|
+ ...attachment,
|
|
|
+ courseNameCode: this.task.courseNameCode
|
|
|
};
|
|
|
this.$refs.UploadPaperDialog.open();
|
|
|
},
|
|
|
toUploadPaperConfirm() {
|
|
|
this.curUploadType = "paperConfirm";
|
|
|
this.curAttachment = {
|
|
|
- ...this.paperConfirmAttachmentId
|
|
|
+ ...this.paperConfirmAttachmentId,
|
|
|
+ courseNameCode: this.task.courseNameCode
|
|
|
};
|
|
|
this.$refs.UploadPaperDialog.open();
|
|
|
},
|