|
@@ -89,23 +89,27 @@
|
|
|
<template slot-scope="scope">
|
|
|
<div v-if='scope.row.teacherDefaultMusicGroupSalaryList'>
|
|
|
<div v-for="(item,index) in scope.row.teacherDefaultMusicGroupSalaryList"
|
|
|
- v-if="scope.row.teacherRole =='TEACHING'"
|
|
|
style="display: table-cell;"
|
|
|
:key='item.id'>
|
|
|
+ <div v-if="scope.row.teacherRole =='TEACHING'">
|
|
|
+ <span>课酬:</span>
|
|
|
+ <el-input style="width: 80px;margin-right:10px"
|
|
|
+ v-model="scope.row.teacherDefaultMusicGroupSalaryList[index].assistantTeacher90MinSalary"></el-input>
|
|
|
+ </div>
|
|
|
<!-- 梯度{{index+1}}: -->
|
|
|
- <span>课酬:</span>
|
|
|
- <el-input style="width: 80px;margin-right:10px"
|
|
|
- v-model="scope.row.teacherDefaultMusicGroupSalaryList[index].assistantTeacher90MinSalary"></el-input>
|
|
|
+ <div v-if="scope.row.teacherRole =='BISHOP'">
|
|
|
+ <span>课酬:</span>
|
|
|
+ <el-input style="width: 80px;margin-right:10px"
|
|
|
+ v-model="scope.row.teacherDefaultMusicGroupSalaryList[index].mainTeacher90MinSalary"></el-input>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
|
|
|
- <div v-for="(item,index) in scope.row.teacherDefaultMusicGroupSalaryList"
|
|
|
+ <!-- <div v-for="(item,index) in scope.row.teacherDefaultMusicGroupSalaryList"
|
|
|
v-if="scope.row.teacherRole =='BISHOP'"
|
|
|
style="display: table-cell;"
|
|
|
- :key='item.id'>
|
|
|
- <span>课酬:</span>
|
|
|
- <el-input style="width: 80px;margin-right:10px"
|
|
|
- v-model="scope.row.teacherDefaultMusicGroupSalaryList[index].mainTeacher90MinSalary"></el-input>
|
|
|
- </div>
|
|
|
+ :key='index'>
|
|
|
+
|
|
|
+ </div> -->
|
|
|
|
|
|
<!-- <el-input v-if='scope.row.teacherDefaultMusicGroupSalaryList&&scope.row.teacherDefaultMusicGroupSalaryList[0]&&scope.row.teacherDefaultMusicGroupSalaryList[0].mainTeacherSalary&&scope.row.teacherRole =="TEACHING"'
|
|
|
v-model="scope.row.teacherDefaultMusicGroupSalaryList[0].mainTeacherSalary"></el-input>
|
|
@@ -151,8 +155,8 @@ export default {
|
|
|
sessionStorage.setItem('setStep', 4)
|
|
|
getTeamDetail({ musicGroupId: this.teamid }).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
- this.searchForm.salary = res.data.musicGroup.settlementType;
|
|
|
- if (!res.data.musicGroup.settlementType) {
|
|
|
+ this.searchForm.salary = res.data.settlementType;
|
|
|
+ if (!res.data.settlementType) {
|
|
|
this.hasDate = true;
|
|
|
}
|
|
|
if (this.searchForm.salary == 'TEACHER_DEFAULT') {
|
|
@@ -237,6 +241,7 @@ export default {
|
|
|
},
|
|
|
changeSalary (val) {
|
|
|
this.searchForm.salary = val;
|
|
|
+ this.hasDate = false;
|
|
|
this.getList()
|
|
|
return
|
|
|
if (val == 'TEACHER_DEFAULT') {
|
|
@@ -266,10 +271,8 @@ export default {
|
|
|
getList () {
|
|
|
getTeamDetail({ musicGroupId: this.teamid }).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
- this.searchForm.salary = res.data.musicGroup.settlementType;
|
|
|
- if (!res.data.settlementType) {
|
|
|
- this.hasDate = true;
|
|
|
- }
|
|
|
+
|
|
|
+ // this.searchForm.salary = res.data.settlementType;
|
|
|
if (this.searchForm.salary == 'TEACHER_DEFAULT') {
|
|
|
findMusicGroupClassTeacherSalary({ musicGroupId: this.teamid, type: 'TEACHER_DEFAULT' }).then(res => {
|
|
|
if (res.code == 200) {
|