mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 20:36:45 +08:00
讲师管理bug
This commit is contained in:
@@ -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 confirm= (obj) => http.post('/admin/teacherExpense/confirm',obj)
|
||||||
//获取培训发生组织列表
|
//获取培训发生组织列表
|
||||||
export const getTrainOrg= (obj) => http.get('/admin/affiliation/list',{params: 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})
|
export const getListByIds= (obj) => http.get('/admin/teacherExpense/getListByIds',{params: obj})
|
||||||
//根据发生组织查询汇总的数据(一键确认弹框使用)
|
//根据发生组织查询汇总的数据(一键确认弹框使用)
|
||||||
|
|||||||
@@ -181,7 +181,7 @@ import { useRouter } from "vue-router";
|
|||||||
import { getOrganization } from "../../api/Teaching";
|
import { getOrganization } from "../../api/Teaching";
|
||||||
import { queryTeacherFeeMonthly, getTeacherFeeDetailListByTeacherNo, getTeacherFeeListByTeacherNo,TeacherFeeTotalList,createMonthSummary} from "../../api/lecturerFeeStatistics"
|
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 dialog from '@/utils/dialog'
|
||||||
import MonthlyStatistics from './MonthlyStatistics'
|
import MonthlyStatistics from './MonthlyStatistics'
|
||||||
export default {
|
export default {
|
||||||
@@ -383,10 +383,10 @@ export default {
|
|||||||
])
|
])
|
||||||
//获取培训发生组织
|
//获取培训发生组织
|
||||||
const TrainOrglista = () => {
|
const TrainOrglista = () => {
|
||||||
getTrainOrg().then((res) => {
|
getParentAapprovallist().then((res) => {
|
||||||
console.log(res,'ressss')
|
console.log(res,'ressss')
|
||||||
if (res.data.code === 200) {
|
if (res.data.code === 200) {
|
||||||
let arr = res.data.data.records;
|
let arr = res.data.data;
|
||||||
let array = [];
|
let array = [];
|
||||||
arr?.map((value) => {
|
arr?.map((value) => {
|
||||||
let obj = {
|
let obj = {
|
||||||
@@ -427,7 +427,7 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
getOrganizationLista()
|
// getOrganizationLista()
|
||||||
//二级页面取消按钮
|
//二级页面取消按钮
|
||||||
const cancelTeacherDialog = () => {
|
const cancelTeacherDialog = () => {
|
||||||
if (state.teacherdialog = true) {
|
if (state.teacherdialog = true) {
|
||||||
|
|||||||
Reference in New Issue
Block a user