|
@@ -3,7 +3,7 @@
|
|
<!-- <h4>单次课次参考时长:30min</h4> -->
|
|
<!-- <h4>单次课次参考时长:30min</h4> -->
|
|
<div class="tableList">
|
|
<div class="tableList">
|
|
<div class="left">
|
|
<div class="left">
|
|
- <h3>单次课次参考时长:30min
|
|
|
|
|
|
+ <h3>
|
|
<el-button @click="onMusicGroupSave2()" type="text">保存</el-button>
|
|
<el-button @click="onMusicGroupSave2()" type="text">保存</el-button>
|
|
</h3>
|
|
</h3>
|
|
<el-table :data='teamTable'
|
|
<el-table :data='teamTable'
|
|
@@ -13,12 +13,22 @@
|
|
{{ scope.row.courseScheduleType | coursesType }}
|
|
{{ scope.row.courseScheduleType | coursesType }}
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="主教课酬">
|
|
|
|
|
|
+ <el-table-column label="主教30min课酬">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-input v-model="scope.row.mainTeacherSalary" placeholder="请输入课酬"></el-input>
|
|
<el-input v-model="scope.row.mainTeacherSalary" placeholder="请输入课酬"></el-input>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="助教课酬">
|
|
|
|
|
|
+ <el-table-column label="助教30min课酬">
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <el-input v-model="scope.row.assistantTeacherSalary" placeholder="请输入课酬"></el-input>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column label="主教3.0梯度课酬">
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <el-input v-model="scope.row.mainTeacherSalary" placeholder="请输入课酬"></el-input>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column label="助教3.0梯度课酬">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-input v-model="scope.row.assistantTeacherSalary" placeholder="请输入课酬"></el-input>
|
|
<el-input v-model="scope.row.assistantTeacherSalary" placeholder="请输入课酬"></el-input>
|
|
</template>
|
|
</template>
|
|
@@ -28,7 +38,7 @@
|
|
<h3>单次课次参考时长:30min
|
|
<h3>单次课次参考时长:30min
|
|
<el-button @click="onVIPSave()" type="text">保存</el-button>
|
|
<el-button @click="onVIPSave()" type="text">保存</el-button>
|
|
</h3>
|
|
</h3>
|
|
- <el-table :data='vipTable'
|
|
|
|
|
|
+ <el-table :data='vipTable' style="width: 70%"
|
|
:header-cell-style="{background:'#EDEEF0',color:'#444'}">
|
|
:header-cell-style="{background:'#EDEEF0',color:'#444'}">
|
|
<el-table-column label="VIP课课酬参考值" prop="vipGroupCategoryName">
|
|
<el-table-column label="VIP课课酬参考值" prop="vipGroupCategoryName">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -44,7 +54,7 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
</div>
|
|
</div>
|
|
- <div class="right">
|
|
|
|
|
|
+ <!-- <div class="right">
|
|
<h3>乐团课梯度课酬结算
|
|
<h3>乐团课梯度课酬结算
|
|
<el-button @click="onMusicGroupSave()" type="text">保存</el-button>
|
|
<el-button @click="onMusicGroupSave()" type="text">保存</el-button>
|
|
</h3>
|
|
</h3>
|
|
@@ -70,7 +80,7 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
|
|
|
|
- </div>
|
|
|
|
|
|
+ </div> -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -87,7 +97,7 @@ export default {
|
|
courseScheduleType: "SINGLE",
|
|
courseScheduleType: "SINGLE",
|
|
mainTeacherSalary: null,
|
|
mainTeacherSalary: null,
|
|
settlementType: "FIXED_SALARY",
|
|
settlementType: "FIXED_SALARY",
|
|
- userId: this.$route.query.teacherId
|
|
|
|
|
|
+ userId: this.$route.query.teacherId,
|
|
},{
|
|
},{
|
|
assistantTeacherSalary: null,
|
|
assistantTeacherSalary: null,
|
|
courseScheduleType: "HIGH",
|
|
courseScheduleType: "HIGH",
|
|
@@ -100,6 +110,30 @@ export default {
|
|
mainTeacherSalary: null,
|
|
mainTeacherSalary: null,
|
|
settlementType: "FIXED_SALARY",
|
|
settlementType: "FIXED_SALARY",
|
|
userId: this.$route.query.teacherId
|
|
userId: this.$route.query.teacherId
|
|
|
|
+ },{
|
|
|
|
+ assistantTeacherSalary: null,
|
|
|
|
+ courseScheduleType: "COMPREHENSIVE",
|
|
|
|
+ mainTeacherSalary: null,
|
|
|
|
+ settlementType: "FIXED_SALARY",
|
|
|
|
+ userId: this.$route.query.teacherId
|
|
|
|
+ },{
|
|
|
|
+ assistantTeacherSalary: null,
|
|
|
|
+ courseScheduleType: "TRAINING_SINGLE",
|
|
|
|
+ mainTeacherSalary: null,
|
|
|
|
+ settlementType: "FIXED_SALARY",
|
|
|
|
+ userId: this.$route.query.teacherId
|
|
|
|
+ },{
|
|
|
|
+ assistantTeacherSalary: null,
|
|
|
|
+ courseScheduleType: "TRAINING_MIX",
|
|
|
|
+ mainTeacherSalary: null,
|
|
|
|
+ settlementType: "FIXED_SALARY",
|
|
|
|
+ userId: this.$route.query.teacherId
|
|
|
|
+ },{
|
|
|
|
+ assistantTeacherSalary: null,
|
|
|
|
+ courseScheduleType: "CLASSROOM",
|
|
|
|
+ mainTeacherSalary: null,
|
|
|
|
+ settlementType: "FIXED_SALARY",
|
|
|
|
+ userId: this.$route.query.teacherId
|
|
}],
|
|
}],
|
|
vipTable: [],
|
|
vipTable: [],
|
|
musicGroupTable: [],
|
|
musicGroupTable: [],
|
|
@@ -120,8 +154,10 @@ export default {
|
|
let vipData = []
|
|
let vipData = []
|
|
res.data.forEach(item => {
|
|
res.data.forEach(item => {
|
|
vipData.push({
|
|
vipData.push({
|
|
- offlineClassesSalary: item.offlineClassesUnitPrice,
|
|
|
|
- onlineClassesSalary: item.onlineClassesUnitPrice,
|
|
|
|
|
|
+ offlineClassesSalary: null,
|
|
|
|
+ // offlineClassesSalary: item.offlineClassesUnitPrice,
|
|
|
|
+ onlineClassesSalary: null,
|
|
|
|
+ // onlineClassesSalary: item.onlineClassesUnitPrice,
|
|
vipGroupCategoryId: item.id,
|
|
vipGroupCategoryId: item.id,
|
|
vipGroupCategoryName: item.name,
|
|
vipGroupCategoryName: item.name,
|
|
userId: this.teacherId
|
|
userId: this.teacherId
|
|
@@ -155,52 +191,52 @@ export default {
|
|
})
|
|
})
|
|
|
|
|
|
// 乐团梯度结算
|
|
// 乐团梯度结算
|
|
- sysConfigList({ group: 'settlement_rule' }).then(res => {
|
|
|
|
- if(res.code == 200 && res.data.length > 0) {
|
|
|
|
- let domain = []
|
|
|
|
- res.data.forEach(item => {
|
|
|
|
- let courseScheduleType
|
|
|
|
- if(item.paramName == 'sigle_gradient_settlement_rule') {
|
|
|
|
- courseScheduleType = "SINGLE"
|
|
|
|
- }
|
|
|
|
- if(item.paramName == "max_gradient_settlement_rule") {
|
|
|
|
- courseScheduleType = "MIX"
|
|
|
|
- }
|
|
|
|
- if(item.paramName == "high_gradient_settlement_rule") {
|
|
|
|
- courseScheduleType = "HIGH"
|
|
|
|
- }
|
|
|
|
- if(item.paranValue) {
|
|
|
|
- let value = JSON.parse(item.paranValue)
|
|
|
|
- value.forEach(type => {
|
|
|
|
- domain.push({
|
|
|
|
- courseScheduleType: courseScheduleType,
|
|
|
|
- durationMax: type.max,
|
|
|
|
- durationMin: type.min,
|
|
|
|
- mainTeacherSalary: null,
|
|
|
|
- assistantTeacherSalary: null,
|
|
|
|
- userId: this.teacherId,
|
|
|
|
- settlementType: 'GRADIENT_SALARY'
|
|
|
|
- })
|
|
|
|
- })
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
- // this.ruleList.push(domain)
|
|
|
|
|
|
+ // sysConfigList({ group: 'settlement_rule' }).then(res => {
|
|
|
|
+ // if(res.code == 200 && res.data.length > 0) {
|
|
|
|
+ // let domain = []
|
|
|
|
+ // res.data.forEach(item => {
|
|
|
|
+ // let courseScheduleType
|
|
|
|
+ // if(item.paramName == 'sigle_gradient_settlement_rule') {
|
|
|
|
+ // courseScheduleType = "SINGLE"
|
|
|
|
+ // }
|
|
|
|
+ // if(item.paramName == "max_gradient_settlement_rule") {
|
|
|
|
+ // courseScheduleType = "MIX"
|
|
|
|
+ // }
|
|
|
|
+ // if(item.paramName == "high_gradient_settlement_rule") {
|
|
|
|
+ // courseScheduleType = "HIGH"
|
|
|
|
+ // }
|
|
|
|
+ // if(item.paranValue) {
|
|
|
|
+ // let value = JSON.parse(item.paranValue)
|
|
|
|
+ // value.forEach(type => {
|
|
|
|
+ // domain.push({
|
|
|
|
+ // courseScheduleType: courseScheduleType,
|
|
|
|
+ // durationMax: type.max,
|
|
|
|
+ // durationMin: type.min,
|
|
|
|
+ // mainTeacherSalary: null,
|
|
|
|
+ // assistantTeacherSalary: null,
|
|
|
|
+ // userId: this.teacherId,
|
|
|
|
+ // settlementType: 'GRADIENT_SALARY'
|
|
|
|
+ // })
|
|
|
|
+ // })
|
|
|
|
+ // }
|
|
|
|
+ // })
|
|
|
|
+ // // this.ruleList.push(domain)
|
|
|
|
|
|
- // 乐团
|
|
|
|
- teacherSalaryList({
|
|
|
|
- rows: 9999,
|
|
|
|
- page: 1,
|
|
|
|
- teacherId: this.teacherId,
|
|
|
|
- settlementType: 'GRADIENT_SALARY'
|
|
|
|
- }).then(res => {
|
|
|
|
- if(res.code == 200) {
|
|
|
|
- let rows = res.data.rows
|
|
|
|
- // this.musicGroupTable = res.data.rows
|
|
|
|
- this.teacherSalaryList(domain, rows)
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
|
|
+ // // 乐团
|
|
|
|
+ // teacherSalaryList({
|
|
|
|
+ // rows: 9999,
|
|
|
|
+ // page: 1,
|
|
|
|
+ // teacherId: this.teacherId,
|
|
|
|
+ // settlementType: 'GRADIENT_SALARY'
|
|
|
|
+ // }).then(res => {
|
|
|
|
+ // if(res.code == 200) {
|
|
|
|
+ // let rows = res.data.rows
|
|
|
|
+ // // this.musicGroupTable = res.data.rows
|
|
|
|
+ // this.teacherSalaryList(domain, rows)
|
|
|
|
+ // }
|
|
|
|
+ // })
|
|
|
|
+ // }
|
|
|
|
+ // })
|
|
},
|
|
},
|
|
vipListCompare(vipData, rows) { // vip 做对比
|
|
vipListCompare(vipData, rows) { // vip 做对比
|
|
if(!rows) { // 判断是否有数据
|
|
if(!rows) { // 判断是否有数据
|
|
@@ -372,11 +408,10 @@ export default {
|
|
}
|
|
}
|
|
.tableList {
|
|
.tableList {
|
|
.left, .right {
|
|
.left, .right {
|
|
-
|
|
|
|
float: left;
|
|
float: left;
|
|
}
|
|
}
|
|
.left {
|
|
.left {
|
|
- width: 40%;
|
|
|
|
|
|
+ width: 70%;
|
|
margin-right: 2%;
|
|
margin-right: 2%;
|
|
}
|
|
}
|
|
.right {
|
|
.right {
|