|
@@ -106,7 +106,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
async toSubmit() {
|
|
|
- let object = { remark: this.remark, teachersid: this.teachersid, status: '1' };
|
|
|
+ let object = { remark: this.remark, teachersid: this.teachersid.map(i => i._id), status: '1' };
|
|
|
let res = await this.status(object);
|
|
|
if (this.$checkRes(res, `确认成功`, res.errmsg)) {
|
|
|
this.search();
|