|
@@ -193,7 +193,7 @@
|
|
|
type="text"
|
|
|
size="small"
|
|
|
@click="setCourseInfo(scope.row)"
|
|
|
- >课酬调整</el-button
|
|
|
+ >课酬补贴</el-button
|
|
|
>
|
|
|
</auth>
|
|
|
<auth
|
|
@@ -315,10 +315,10 @@
|
|
|
>仅限本次</el-radio
|
|
|
>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="课程课酬" prop="salary">
|
|
|
+ <el-form-item label="课程补贴" prop="subsidy">
|
|
|
<el-input
|
|
|
style="width: 180px"
|
|
|
- v-model.trim="teacherMask.salary"
|
|
|
+ v-model.trim="teacherMask.subsidy"
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
@@ -367,13 +367,13 @@ export default {
|
|
|
handVisible: null,
|
|
|
detail: null,
|
|
|
teacherMask: {
|
|
|
- salary: "",
|
|
|
+ subsidy: "",
|
|
|
subsidy: "",
|
|
|
radio: "one",
|
|
|
},
|
|
|
teacherRules: {
|
|
|
- salary: [
|
|
|
- { required: true, message: "请输入课程课酬", trigger: "blur" },
|
|
|
+ subsidy: [
|
|
|
+ { required: true, message: "请输入课程补贴", trigger: "blur" },
|
|
|
],
|
|
|
subsidy: [
|
|
|
{ required: true, message: "请输入课时补贴", trigger: "blur" },
|
|
@@ -442,6 +442,7 @@ export default {
|
|
|
for (const item of res.data) {
|
|
|
if (row.teacherId == item.teacherId) {
|
|
|
this.activeTeacher = item;
|
|
|
+ this.teacherMask.subsidy = item.subsidy
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
@@ -477,14 +478,14 @@ export default {
|
|
|
if (res) {
|
|
|
updateTeacherCoursesSalary({
|
|
|
courseScheduleId: this.courseScheduleId,
|
|
|
- salary: this.teacherMask.salary,
|
|
|
+ subsidy: this.teacherMask.subsidy,
|
|
|
teacherId: this.activeTeacher.teacherId,
|
|
|
scope: this.teacherMask.radio,
|
|
|
}).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
this.$message.success("修改成功");
|
|
|
this.teacherMask = {
|
|
|
- salary: "",
|
|
|
+ subsidy: "",
|
|
|
subsidy: "",
|
|
|
radio: "one",
|
|
|
};
|