讲师管理bug

This commit is contained in:
zhangsir
2025-01-03 10:31:20 +08:00
parent 3248383627
commit ef32cde8c9
2 changed files with 6 additions and 4 deletions

View File

@@ -27,6 +27,8 @@ export const withdrawRecord= (obj) => http.post('/admin/expenseBill/withdrawReco
export const confirm= (obj) => http.post('/admin/teacherExpense/confirm',obj)
//获取培训发生组织列表
export const getTrainOrg= (obj) => http.get('/admin/affiliation/list',{params: obj})
//获取资源归属所有
export const getParentAapprovallist= (obj) => http.get('/admin/affiliation/getParentAapprovallist',{params: obj})
// 根据发生组织查询汇总的讲师费数据(一键确认弹框使用)
export const getListByIds= (obj) => http.get('/admin/teacherExpense/getListByIds',{params: obj})
//根据发生组织查询汇总的数据(一键确认弹框使用)

View File

@@ -181,7 +181,7 @@ import { useRouter } from "vue-router";
import { getOrganization } from "../../api/Teaching";
import { queryTeacherFeeMonthly, getTeacherFeeDetailListByTeacherNo, getTeacherFeeListByTeacherNo,TeacherFeeTotalList,createMonthSummary} from "../../api/lecturerFeeStatistics"
;
import {expenseSummaryList,getTrainOrg,CreateMonthSummary,isShowReimport} from "../../api/lecturerFeeManagement";
import {expenseSummaryList,getTrainOrg,getParentAapprovallist,CreateMonthSummary,isShowReimport} from "../../api/lecturerFeeManagement";
import dialog from '@/utils/dialog'
import MonthlyStatistics from './MonthlyStatistics'
export default {
@@ -383,10 +383,10 @@ export default {
])
//获取培训发生组织
const TrainOrglista = () => {
getTrainOrg().then((res) => {
getParentAapprovallist().then((res) => {
console.log(res,'ressss')
if (res.data.code === 200) {
let arr = res.data.data.records;
let arr = res.data.data;
let array = [];
arr?.map((value) => {
let obj = {
@@ -427,7 +427,7 @@ export default {
}
})
}
getOrganizationLista()
// getOrganizationLista()
//二级页面取消按钮
const cancelTeacherDialog = () => {
if (state.teacherdialog = true) {