|
@@ -109,7 +109,7 @@ export default {
|
|
|
this.dialog = true;
|
|
|
},
|
|
|
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 (res.data.errorcode == '1') {
|
|
|
this.$message.error('数据错误,请按错误信息提示修改数据');
|