|
@@ -148,7 +148,11 @@ export default {
|
|
|
// 保存班主任计划
|
|
|
toSave() {},
|
|
|
// 一键分配
|
|
|
- toArrange() {},
|
|
|
+ async toArrange() {
|
|
|
+ let trainplanid = _.get(this.defaultOption, 'planid');
|
|
|
+ let res = await this.divide({ trainplanid: trainplanid });
|
|
|
+ console.log(res);
|
|
|
+ },
|
|
|
},
|
|
|
computed: {
|
|
|
...mapState(['user', 'defaultOption']),
|