|
@@ -335,26 +335,34 @@ export default {
|
|
|
})
|
|
|
// 判断输入的值是否正确
|
|
|
if (!checkStatus) return false
|
|
|
- teacherSalaryBatchUpset({
|
|
|
- teacherDefaultMusicGroupSalaries: teamTable,
|
|
|
- startDate: this.startDate
|
|
|
- }).then(res => {
|
|
|
- if (res.code == 200) {
|
|
|
- // 判断输入的值是否正确
|
|
|
- vipGroupSalarySet({
|
|
|
- teacherDefaultVipGroupSalaries: this.vipTable,
|
|
|
- startDate: this.startDate
|
|
|
- }).then(res => {
|
|
|
- if (res.code == 200) {
|
|
|
- this.$message.success('保存成功')
|
|
|
|
|
|
- // if(this.$route.query.type == 'create') {
|
|
|
- this.$router.push({ path: '/business/teacherList', query: { rules: this.Frules, search: this.Fsearch } })
|
|
|
- // }
|
|
|
- }
|
|
|
- })
|
|
|
- }
|
|
|
- })
|
|
|
+ this.$confirm('您确定更改老师课酬', '提示', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning'
|
|
|
+ }).then(() => {
|
|
|
+ teacherSalaryBatchUpset({
|
|
|
+ teacherDefaultMusicGroupSalaries: teamTable,
|
|
|
+ startDate: this.startDate
|
|
|
+ }).then(res => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ // 判断输入的值是否正确
|
|
|
+ vipGroupSalarySet({
|
|
|
+ teacherDefaultVipGroupSalaries: this.vipTable,
|
|
|
+ startDate: this.startDate
|
|
|
+ }).then(res => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.$message.success('保存成功')
|
|
|
+
|
|
|
+ // if(this.$route.query.type == 'create') {
|
|
|
+ this.$router.push({ path: '/business/teacherList', query: { rules: this.Frules, search: this.Fsearch } })
|
|
|
+ // }
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }).catch(() => {})
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
}
|