|
@@ -182,7 +182,7 @@ export default {
|
|
|
if (!this.isok) {
|
|
|
this.$message.error('有老师未设置默认课酬,请设置后再试')
|
|
|
}
|
|
|
- if (this.searchForm.salary == 'TEACHER_DEFAULT') {
|
|
|
+ if (this.searchForm.salary == 'TEACHER_DEFAULT' || this.searchForm.salary == 'CLASSROOM_SALARY') {
|
|
|
// 组件默认课酬
|
|
|
for (let i in this.defaultTableList) {
|
|
|
for (let j in this.defaultTableList[i].classGroupTeacherMapperList) {
|
|
@@ -211,6 +211,8 @@ export default {
|
|
|
setClassGroupTeacherSalary(this.subList).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
this.subList = [];
|
|
|
+ this.$message.success('恭喜您设置成功');
|
|
|
+ this.$router.push({ path: '/business/teamDetail' })
|
|
|
}
|
|
|
}).catch(res => {
|
|
|
this.$message.error('提交失败')
|