|
@@ -114,7 +114,7 @@ export default {
|
|
|
let msg;
|
|
|
let teachersid = [];
|
|
|
teachersid.push(this.id);
|
|
|
- res = await this.update({ teachersid, ...object });
|
|
|
+ res = await this.status({ teachersid, ...object });
|
|
|
msg = `${this.keyWord}审核成功`;
|
|
|
if (this.$checkRes(res, msg)) this.$router.push({ path: '/teacher/index' });
|
|
|
},
|