|
@@ -195,6 +195,7 @@ export default {
|
|
subsidy: [{ required: true, message: '请输入课时补贴', trigger: 'blur' }],
|
|
subsidy: [{ required: true, message: '请输入课时补贴', trigger: 'blur' }],
|
|
radio: [{ required: true, message: '请选择调整范围', trigger: 'blur' }]
|
|
radio: [{ required: true, message: '请选择调整范围', trigger: 'blur' }]
|
|
},
|
|
},
|
|
|
|
+ tempSelectRow: {}, // 选中班级数据
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
@@ -237,6 +238,7 @@ export default {
|
|
})
|
|
})
|
|
},
|
|
},
|
|
setCourseInfo (row) {
|
|
setCourseInfo (row) {
|
|
|
|
+ this.tempSelectRow = row
|
|
getTeacherSalary({ courseScheduleId: row.courseScheduleId }).then(res => {
|
|
getTeacherSalary({ courseScheduleId: row.courseScheduleId }).then(res => {
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
this.dialogTableVisible = true;
|
|
this.dialogTableVisible = true;
|
|
@@ -252,6 +254,7 @@ export default {
|
|
this.activeTeacher = row;
|
|
this.activeTeacher = row;
|
|
},
|
|
},
|
|
resetSalary () {
|
|
resetSalary () {
|
|
|
|
+ let that = this
|
|
this.$refs['teacherMask'].validate(res => {
|
|
this.$refs['teacherMask'].validate(res => {
|
|
if (res) {
|
|
if (res) {
|
|
updateTeacherCoursesSalary({
|
|
updateTeacherCoursesSalary({
|
|
@@ -268,9 +271,10 @@ export default {
|
|
salary: '',
|
|
salary: '',
|
|
subsidy: '',
|
|
subsidy: '',
|
|
radio: ''
|
|
radio: ''
|
|
- },
|
|
|
|
|
|
+ }
|
|
// this.dialogTableVisible = false;
|
|
// this.dialogTableVisible = false;
|
|
- this.innerVisible = false;
|
|
|
|
|
|
+ this.innerVisible = false;
|
|
|
|
+ that.setCourseInfo(this.tempSelectRow)
|
|
}
|
|
}
|
|
})
|
|
})
|
|
} else {
|
|
} else {
|