lrf402788946 4 years ago
parent
commit
d11007d848
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/new-plan/detail.vue

+ 1 - 1
src/views/new-plan/detail.vue

@@ -109,7 +109,7 @@ export default {
       this.dialog = true;
       this.dialog = true;
     },
     },
     async handleSuccess(file, fileList) {
     async handleSuccess(file, fileList) {
-      let res = await this.create({ filepath: file.uri, termid: this.form.termid, schid: this.user.code, type: this.form.type });
+      let res = await this.create({ filepath: file.uri, batchid: this.form.batchid, termid: this.form.termid, schid: this.user.code, type: this.form.type });
       if (this.$checkRes(res, null, res.errmsg || '上传失败')) {
       if (this.$checkRes(res, null, res.errmsg || '上传失败')) {
         if (res.data.errorcode == '1') {
         if (res.data.errorcode == '1') {
           this.$message.error('数据错误,请按错误信息提示修改数据');
           this.$message.error('数据错误,请按错误信息提示修改数据');