讲师管理修改

This commit is contained in:
zhangsir
2024-10-30 14:37:02 +08:00
parent 1efd0901da
commit cbc1b28809
8 changed files with 173 additions and 92 deletions

View File

@@ -69,3 +69,8 @@ export const queryDetailId = (obj) => http.get(`/admin/expenseSummary/queryDetai
export const getListByStatus = (obj) => http.get(`/admin/teacherExpense/getListByStatus`) export const getListByStatus = (obj) => http.get(`/admin/teacherExpense/getListByStatus`)
//根据发生组织查询汇总的数据(一键确认弹框使用) //根据发生组织查询汇总的数据(一键确认弹框使用)
export const getListByAffiliation = (obj) => http.get(`/admin/teacherExpense/getListByAffiliation?ids=${obj.ids}&beginTime=${obj.beginTime}&endTime=${obj.endTime}&name=${obj.name}&`) export const getListByAffiliation = (obj) => http.get(`/admin/teacherExpense/getListByAffiliation?ids=${obj.ids}&beginTime=${obj.beginTime}&endTime=${obj.endTime}&name=${obj.name}&`)
//确认/一键确认
export const teacherExpenseConfirm = (obj) => http.post('/admin/teacherExpense/confirm',obj)
//提交/撤回
export const isConfirm = (obj) => http.post('/admin/expenseBill/isConfirm',obj)

View File

@@ -37,3 +37,7 @@ export const getTeacherFeeApprovalList= (obj) => http.post('/teacher/fee/getTeac
export const queryTeacherFeeTotalList= (obj) => http.post('/teacher/fee/queryTeacherFeeTotalList',obj) export const queryTeacherFeeTotalList= (obj) => http.post('/teacher/fee/queryTeacherFeeTotalList',obj)
//汇总上月讲师费 //汇总上月讲师费
export const getPreviousTeacherFee= (obj) => http.post('/teacher/fee/getPreviousTeacherFee',obj) export const getPreviousTeacherFee= (obj) => http.post('/teacher/fee/getPreviousTeacherFee',obj)
//汇总上月讲师费月度数据
export const CreateMonthSummary= (obj) => http.post('/admin/expenseSummary/CreateMonthSummary',obj)
//讲师费统计列表
export const expenseSummaryList= (obj) => http.get('/admin/expenseSummary/list',{params:obj})

View File

@@ -16,7 +16,7 @@
</div> </div>
<div class="content"> <div class="content">
<div class="box"> <div class="box">
<div style="margin-bottom: 20px;font-size: 18px;font-weight: 700;">选择讲师费汇总:<span style="color:red;margin-left:20px;">256</span></div> <div style="margin-bottom: 20px;font-size: 18px;font-weight: 700;">选择讲师费汇总:<span style="color:red;margin-left:20px;">{{levelPay||0}}</span></div>
<div class="table"> <div class="table">
<a-table <a-table
:columns="columns" :columns="columns"
@@ -81,6 +81,16 @@ const addList = (item) => {
selectedRowKeys.value.push(item.id) selectedRowKeys.value.push(item.id)
selectsData.value.push(item) selectsData.value.push(item)
} }
const levelPay = ref(0)
watch(()=>selectsData.value.length,(val)=>{
if(val){
levelPay.value = selectsData.value.reduce((a,b)=>{
return a + b.levelPay
},0)
}else{
levelPay.value = 0
}
})
const removeList = (item) => { const removeList = (item) => {
selectedRowKeys.value = selectedRowKeys.value.filter(t=> t != item.id) selectedRowKeys.value = selectedRowKeys.value.filter(t=> t != item.id)
selectsData.value = selectsData.value.filter(t=>t.id != item.id) selectsData.value = selectsData.value.filter(t=>t.id != item.id)

View File

@@ -16,40 +16,40 @@
</div> </div>
<div class="content"> <div class="content">
<div class="head"> <div class="head">
<div class="list" :class="item.id==indexList?'active':''" @click="clickItem(item,index)" v-for="(item,index) in forData"> <div class="list" :class="index==indexList?'active':''" @click="clickItem(item,index)" v-for="(item,index) in forData">
<div class="left"> <div class="left">
<div>培训发生组织</div> <div>培训发生组织</div>
<div class="text">汇总金额</div> <div class="text">汇总金额</div>
</div> </div>
<div class="right"> <div class="right">
<div>{{item.name}}</div> <div>{{item?.trainOrgName}}</div>
<div class="text">{{item.name}}</div> <div class="text">{{item?.summaryTotal}}</div>
</div> </div>
</div> </div>
</div> </div>
<div class="box"> <div class="box">
<div class="top"> <div class="top">
<div class="item"> <div class="item">
<a-input style="border-radius: 8px;width:240px;height: 40px;" v-model:value="search" placeholder="请输入工号/讲师名称进行搜索" allowClear /> <a-input style="border-radius: 8px;width:240px;height: 40px;" v-model:value="nameUserNo" placeholder="请输入工号/讲师名称进行搜索" allowClear />
</div> </div>
<div class="item"> <div class="item">
<a-range-picker style="border-radius: 8px;width:360px;height: 40px;" v-model:value="value1" /> <a-range-picker format="YYYY-MM-DD" valueFormat="YYYY-MM-DD" style="border-radius: 8px;width:360px;height: 40px;" v-model:value="dateValue" />
</div> </div>
<div class="item"> <div class="item">
<a-button type="primary" style="margin-right:20px;border-radius:8px;width: 100px;height: 40px;">搜索</a-button> <a-button type="primary" @click="searchData(true)" style="margin-right:20px;border-radius:8px;width: 100px;height: 40px;">搜索</a-button>
<a-button type="primary" style="border-radius:8px;width: 100px;height: 40px;">重置</a-button> <a-button type="primary" @click="resetData()" style="border-radius:8px;width: 100px;height: 40px;">重置</a-button>
</div> </div>
</div> </div>
<div class="table"> <div class="table">
<a-table <a-table
:columns="columns" :columns="columns"
:data-source="tableData" :data-source="searchTrue?searchList:expenseList"
:pagination="false" :pagination="false"
:scroll="{ x: 'max-content' }" :scroll="{ x: 'max-content' }"
> >
<template #action="{ text, record }"> <template #action="{ record,index }">
<div class="action"> <div class="action">
<div class="btn">移除</div> <div @click="removeId(record,index)" class="btn" style="color: #40a9ff;cursor: pointer;">移除</div>
</div> </div>
</template> </template>
</a-table> </a-table>
@@ -134,19 +134,25 @@ const handleConfirm = () => {
} }
numTime.value+=1 numTime.value+=1
localStorage.setItem('numTime',numTime.value) localStorage.setItem('numTime',numTime.value)
close() const obj = {
id: '1',
status: 1
}
api.isConfirm(obj).then(res=>{
console.log(res,'resssss')
message.success('提交成功')
close()
closeDrawer()
})
} }
const forData = ref([ const forData = ref()
{name:'a',id:1}, const indexList = ref(0)
{name:'b',id:2}, const expenseList = ref([])
{name:'c',id:3}, const searchList = ref([])
{name:'c',id:3},
{name:'c',id:3},
{name:'c',id:3},
])
const indexList = ref(1)
const clickItem = (item,i) => { const clickItem = (item,i) => {
indexList.value = i+1 expenseList.value = item.expenseList
indexList.value = i
resetData()
} }
watch(()=>props.visible,(val)=>{ watch(()=>props.visible,(val)=>{
if(val){ if(val){
@@ -159,10 +165,49 @@ watch(()=>props.visible,(val)=>{
endTime: '', endTime: '',
} }
).then(res=>{ ).then(res=>{
console.log(res,'resss') if(res.data.code === 200){
forData.value = res.data.data
expenseList.value = res.data.data[indexList.value]?.expenseList
}
}) })
}else{
nameUserNo.value = null
dateValue.value = null
} }
}) })
const removeId = (e,i) =>{
if(searchTrue.value){
searchList.value = searchList.value.filter(item=>item.id !== e.id)
expenseList.value = expenseList.value.filter(item=>item.id !== e.id)
}else{
expenseList.value = expenseList.value.filter(item=>item.id !== e.id)
}
}
const nameUserNo = ref(null)
const dateValue = ref(null)
const searchTrue = ref(false)
const searchData = (val) => {
searchTrue.value = val
if(!nameUserNo.value&&!dateValue.value){
searchList.value = expenseList.value;
return
}
//搜索 数组expenseList.value 参数名字或者工号nameUserNo.value 日期dateValue.value
const filteredList = expenseList.value.filter(item => {
const isNameMatch = (item.name + item.userNo).includes(nameUserNo.value);
const teachingDateTimestamp = new Date(item.teachingDate).getTime();
const startDateTimestamp = new Date(dateValue.value[0]).getTime();
const endDateTimestamp = new Date(dateValue.value[1]).getTime();
const isDateInRange = teachingDateTimestamp >= startDateTimestamp && teachingDateTimestamp <= endDateTimestamp;
return isNameMatch || isDateInRange;
});
searchList.value = filteredList;
}
const resetData = () => {
nameUserNo.value = null
dateValue.value = null
searchData(false)
}
const emit = defineEmits({}) const emit = defineEmits({})
const columns = [ const columns = [
{ {
@@ -173,8 +218,8 @@ const columns = [
}, },
{ {
title: '讲师工号', title: '讲师工号',
dataIndex: 'name', dataIndex: 'userNo',
key: 'name', key: 'userNo',
align: 'center', align: 'center',
}, },
{ {
@@ -192,76 +237,92 @@ const columns = [
}, },
{ {
title: '讲师等级', title: '讲师等级',
dataIndex: 'name', dataIndex: 'tlevelName',
key: 'name', key: 'tlevelName',
align: 'center', align: 'center',
}, },
{ {
title: '发薪地', title: '发薪地',
dataIndex: 'name', dataIndex: 'payrollPlace',
key: 'name', key: 'payrollPlace',
align: 'center', align: 'center',
}, },
{ {
title: '课程类型', title: '课程类型',
dataIndex: 'name', dataIndex: 'courseType',
key: 'name', key: 'courseType',
align: 'center', align: 'center',
customRender: ({ text,record })=>{
switch (text) {
case 0:
return "在线"
case 1:
return "面授"
case 2:
return "授课"
case 3:
return "课程开发"
case 4:
return "作业员如模培训"
default:
return "-"
}
}
}, },
{ {
title: '课程名称', title: '课程名称',
dataIndex: 'name', dataIndex: 'courseName',
key: 'name', key: 'courseName',
align: 'center', align: 'center',
}, },
{ {
title: '授课/开发课程日期', title: '授课/开发课程日期',
dataIndex: 'name', dataIndex: 'teachingDate',
key: 'name', key: 'teachingDate',
align: 'center', align: 'center',
}, },
{ {
title: '授课/开发课程时长', title: '授课/开发课程时长',
dataIndex: 'name', dataIndex: 'teachingTime',
key: 'name', key: 'teachingTime',
align: 'center', align: 'center',
}, },
{ {
title: '参训人数', title: '参训人数',
dataIndex: 'name', dataIndex: 'studys',
key: 'name', key: 'studys',
align: 'center', align: 'center',
}, },
{ {
title: '评分', title: '评分',
dataIndex: 'name', dataIndex: 'score',
key: 'name', key: 'score',
align: 'center', align: 'center',
}, },
{ {
title: '课酬基准', title: '课酬基准',
dataIndex: 'name', dataIndex: 'levelPay',
key: 'name', key: 'levelPay',
align: 'center', align: 'center',
}, },
{ {
title: '计划费用', title: '计划费用',
dataIndex: 'name', dataIndex: 'expense',
key: 'name', key: 'expense',
align: 'center', align: 'center',
}, },
{ {
title: '应发费用', title: '应发费用',
dataIndex: 'name', dataIndex: 'payableExpense',
key: 'name', key: 'payableExpense',
align: 'center', align: 'center',
}, },
{ {
title: '操作', title: '操作',
align: 'center', align: 'center',
fixed: 'right', fixed: 'right',
scopedSlots: { customRender: "action" }, slots: { customRender: "action" },
}, },
] ]
const closeDrawer = () => emit("update:visible", false); const closeDrawer = () => emit("update:visible", false);
@@ -269,7 +330,12 @@ const qureyDrawer = () => {
dialog({ dialog({
content: '是否确认讲师费信息无误?提交后按“培训发生组织”汇总至审批中心,等待验证后“提交”进入审批流程。', content: '是否确认讲师费信息无误?提交后按“培训发生组织”汇总至审批中心,等待验证后“提交”进入审批流程。',
ok: () => { ok: () => {
closeDrawer() const ids = expenseList.value.map(item=>item.id)
api.teacherExpenseConfirm(ids).then(res=>{
console.log(res,'resssss')
message.success('提交成功')
closeDrawer()
})
} }
}) })
} }
@@ -460,6 +526,7 @@ const config = () => {
} }
} }
.box{ .box{
padding-bottom: 80px;
.top{ .top{
display: flex; display: flex;
align-items: center; align-items: center;
@@ -483,7 +550,7 @@ const config = () => {
justify-content: end; justify-content: end;
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.16); box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.16);
background-color: #fff; background-color: #fff;
z-index: 9;
.btn2 { .btn2 {
width: 100px; width: 100px;
height: 40px; height: 40px;

View File

@@ -169,7 +169,7 @@ const searchMember = (keyword) => {
level: item.realName+'('+item.userNo+')'+item.sLevelName, level: item.realName+'('+item.userNo+')'+item.sLevelName,
key: item.id, key: item.id,
orgName: item.orgName, orgName: item.orgName,
orgId: item.kid, orgId: item.departId,
tSystemName:item.tSystemName, tSystemName:item.tSystemName,
sLevelName:item.sLevelName sLevelName:item.sLevelName
} }
@@ -237,7 +237,7 @@ function stuStuOrgSelect(e, {selected: bool, selectedNodes, node, event}) {
if(selectedNodes[0].isLeaf){ if(selectedNodes[0].isLeaf){
teacherName.value = selectedNodes[0].name teacherName.value = selectedNodes[0].name
orgName.value = selectedNodes[0].orgName orgName.value = selectedNodes[0].orgName
orgId.value = selectedNodes[0].kid orgId.value = selectedNodes[0].departId
// systemName.value = selectedNodes[0].systemName // systemName.value = selectedNodes[0].systemName
levelName.value = selectedNodes[0].levelName levelName.value = selectedNodes[0].levelName
teacherId.value = selectedNodes[0].id teacherId.value = selectedNodes[0].id

View File

@@ -232,7 +232,7 @@
</a-form-item> </a-form-item>
</a-col> </a-col>
</a-row> </a-row>
<!-- 授课日期 teachingDate 授课时长 defaultTeachingTime --> <!-- 授课日期 teachingDate 授课时长 teachingTime -->
<a-row :gutter="16"> <a-row :gutter="16">
<a-col :span="12"> <a-col :span="12">
<a-form-item label="授课/课程日期 :" name="teachingDate"> <a-form-item label="授课/课程日期 :" name="teachingDate">
@@ -241,13 +241,13 @@
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12"> <a-col :span="12">
<a-form-item label="授课时长" name="defaultTeachingTime"> <a-form-item label="授课时长" name="teachingTime">
<a-input v-model:value="formParam.defaultTeachingTime" style="width:80%; height: 40px; border-radius: 8px; " <a-input v-model:value="formParam.teachingTime" style="width:80%; height: 40px; border-radius: 8px; "
@blur="clearNonNumber" placeholder="0" allowClear showSearch suffix="分钟"> @blur="clearNonNumber" placeholder="0" allowClear showSearch suffix="分钟">
</a-input> </a-input>
<span style="margin-left: 5px ;" v-if="formParam.defaultTeachingTime != null">{{ <span style="margin-left: 5px ;" v-if="formParam.teachingTime != null">{{
(formParam.defaultTeachingTime / 60).toFixed(2) }}小时</span> (formParam.teachingTime / 60).toFixed(2) }}小时</span>
<span style="margin-left: 5px ;" v-if="formParam.defaultTeachingTime == null">0.00小时</span> <span style="margin-left: 5px ;" v-if="formParam.teachingTime == null">0.00小时</span>
</a-form-item> </a-form-item>
</a-col> </a-col>
</a-row> </a-row>
@@ -467,7 +467,7 @@
teachingDate:null, teachingDate:null,
formParam: { formParam: {
teachingDate:null , teachingDate:null ,
defaultTeachingTime:null, teachingTime:null,
name: null, name: null,
userNo: null userNo: null
}, },
@@ -499,6 +499,7 @@
}, },
tSystemNames:{ tSystemNames:{
systemName:null, systemName:null,
systemId: null,
levelVoList: [] levelVoList: []
}, },
}) })
@@ -878,6 +879,7 @@ console.log( "讲师体系id" +val);
state.formParam.expense = String(state.formParam.expense) state.formParam.expense = String(state.formParam.expense)
state.formParam.teachingDate=state.teachingDate ? dayjs(state.teachingDate).format("YYYY-MM-DD").toString() : "" state.formParam.teachingDate=state.teachingDate ? dayjs(state.teachingDate).format("YYYY-MM-DD").toString() : ""
state.formParam.tSystemName = state.tSystemNames.systemName state.formParam.tSystemName = state.tSystemNames.systemName
state.formParam.tSystemId = state.tSystemNames.systemId
const formItemNames = Object.keys(rules); const formItemNames = Object.keys(rules);
for(let i=0;i<formItemNames.length;i++){ for(let i=0;i<formItemNames.length;i++){
const result = await validateField(formItemNames[i]); const result = await validateField(formItemNames[i]);
@@ -979,7 +981,7 @@ console.log( "讲师体系id" +val);
courseType: null, courseType: null,
courseName:null, courseName:null,
teachingDate:null, teachingDate:null,
defaultTeachingTime:null, teachingTime:null,
courseType:null, courseType:null,
studys:null, studys:null,
teacherlevelPay:null, teacherlevelPay:null,
@@ -1063,8 +1065,8 @@ console.log( "讲师体系id" +val);
state.teachingdialog = false state.teachingdialog = false
}; };
const clearNonNumber = () => { const clearNonNumber = () => {
state.formParam.defaultTeachingTime = state.formParam.defaultTeachingTime.replace(/\D/g, ''); state.formParam.teachingTime = state.formParam.teachingTime.replace(/\D/g, '');
state.formParam.expense = state.formParam.levelPay*state.formParam.defaultTeachingTime state.formParam.expense = state.formParam.levelPay*state.formParam.teachingTime
} }
const clearstudysNumber = () => { const clearstudysNumber = () => {
state.formParam.studys = state.formParam.studys.replace(/\D/g, ''); state.formParam.studys = state.formParam.studys.replace(/\D/g, '');
@@ -1074,7 +1076,7 @@ console.log( "讲师体系id" +val);
} }
const clearlevelPayNumber = () => { const clearlevelPayNumber = () => {
state.formParam.levelPay = state.formParam.levelPay.replace(/\D/g, ''); state.formParam.levelPay = state.formParam.levelPay.replace(/\D/g, '');
state.formParam.expense = state.formParam.levelPay*state.formParam.defaultTeachingTime state.formParam.expense = state.formParam.levelPay*state.formParam.teachingTime
} }
const rules = { const rules = {
name: [{ required: true, message:'',log: '讲师不能为空' }], name: [{ required: true, message:'',log: '讲师不能为空' }],
@@ -1086,7 +1088,7 @@ console.log( "讲师体系id" +val);
courseType: [{ required: true, message: '',log:'费用类型不能为空' }], courseType: [{ required: true, message: '',log:'费用类型不能为空' }],
courseName: [{ required: true, message:'',log: '课程名称不能为空' }], courseName: [{ required: true, message:'',log: '课程名称不能为空' }],
teachingDate: [{ required: true, message:'',log: '授课日期不能为空' }], teachingDate: [{ required: true, message:'',log: '授课日期不能为空' }],
defaultTeachingTime: [{ required: true, message:'',log: ' 授课时长不能为空' }], teachingTime: [{ required: true, message:'',log: ' 授课时长不能为空' }],
studys: [{ required: true, message: '',log:' 参训人数不能为空' }], studys: [{ required: true, message: '',log:' 参训人数不能为空' }],
score: [{ required: true, message:'',log: ' 评分不能为空' }], score: [{ required: true, message:'',log: ' 评分不能为空' }],
levelPay: [{ required: true, message:'',log: '课酬基准 不能为空' }], levelPay: [{ required: true, message:'',log: '课酬基准 不能为空' }],

View File

@@ -183,7 +183,8 @@ import { useRouter } from "vue-router";
import { getOrganization } from "../../api/Teaching"; import { getOrganization } from "../../api/Teaching";
import { queryTeacherFeeMonthly, getTeacherFeeDetailListByTeacherNo, getTeacherFeeListByTeacherNo} from "../../api/lecturerFeeStatistics" import { queryTeacherFeeMonthly, getTeacherFeeDetailListByTeacherNo, getTeacherFeeListByTeacherNo} from "../../api/lecturerFeeStatistics"
; ;
import {getTeacherFeeList,getTrainOrg} from "../../api/lecturerFeeManagement"; import {expenseSummaryList,getTrainOrg,CreateMonthSummary} from "../../api/lecturerFeeManagement";
import dialog from '@/utils/dialog'
export default { export default {
name: "LecturerFeeStatistics", name: "LecturerFeeStatistics",
components: { components: {
@@ -306,7 +307,7 @@ export default {
let objA = { ...state.searchParam }; let objA = { ...state.searchParam };
objA.searchdate=state.searchdate!==null? state.searchdate: "", objA.searchdate=state.searchdate!==null? state.searchdate: "",
console.log(objA) console.log(objA)
getTeacherFeeList(objA) expenseSummaryList(objA)
.then((res) => { .then((res) => {
tableData.value = res.data.data.records tableData.value = res.data.data.records
state.tableDataTotal = Number(res.data.data.total); state.tableDataTotal = Number(res.data.data.total);
@@ -316,23 +317,14 @@ export default {
getTableDate() getTableDate()
//重新汇总上月数据 //重新汇总上月数据
const searchResetPrevious=()=>{ const searchResetPrevious=()=>{
state.tableLoading = true dialog({
const now = new Date(); content: '正在重新汇总上月数据,请稍后手动刷新列表...',
const year = now.getFullYear(); ok: () => {
const month = now.getMonth(); CreateMonthSummary().then(res=>{
console.log(res,'ersssss')
const lastMonthStart = new Date(year, month - 1, 1); // 上个月的月初 getTableDate();
const lastMonthEnd = new Date(year, month, 1); // 上个月的月末 })
let obj = { }
beginTime:'',
endTime:'',
}
obj.beginTime = lastMonthStart.toISOString().split('T')[0];
obj.endTime = lastMonthEnd.toISOString().split('T')[0];
getTeacherFeeList(obj).then((res)=>{
tableData.value = res.data.data.records
state.tableDataTotal = Number(res.data.data.total);
state.tableLoading = false
}) })
} }
//重置 //重置
@@ -431,7 +423,7 @@ export default {
} }
//表格内查看数据操作 //表格内查看数据操作
const handleLook = (record) => { const handleLook = (record) => {
let id = record.summaryDate let id = record.id
router.push({ path: '/MonthlyStatistics', query: { id } }) router.push({ path: '/MonthlyStatistics', query: { id } })
// state.teacherdialog = true; // state.teacherdialog = true;
// state.teacherdialogtitle = '讲师费月度统计详情' // state.teacherdialogtitle = '讲师费月度统计详情'

View File

@@ -125,7 +125,7 @@
</template> </template>
<script lang="jsx"> <script lang="jsx">
import { reactive, toRefs, ref, watch } from "vue"; import { reactive, toRefs, ref, watch } from "vue";
import { useRouter,useRoute } from "vue-router"; import {useRouter, useRoute} from "vue-router";
import { import {
UploadOutlined, UploadOutlined,
} from '@ant-design/icons-vue'; } from '@ant-design/icons-vue';
@@ -144,6 +144,7 @@ export default {
}, },
setup() { setup() {
const router=useRouter(); const router=useRouter();
const route = useRoute();
const { query: { id }} = useRoute(); const { query: { id }} = useRoute();
const state = reactive({ const state = reactive({
opendrawer:false, opendrawer:false,
@@ -168,9 +169,9 @@ export default {
payrollPlaceId: null, payrollPlaceId: null,
departId: null, departId: null,
summaryDate:null, summaryDate:null,
id: '5', id: route.query.id,
name: '李玉冰', name: '',
trainOrgId: '1820781519658237968', trainOrgId: '',
}, },
teacherNo:null, teacherNo:null,
drawer: { drawer: {
@@ -185,16 +186,16 @@ export default {
const columns = ref([ const columns = ref([
{ {
title: '讲师姓名 ', title: '讲师姓名 ',
dataIndex: 'teacherName', dataIndex: 'name',
key: 'teacherName', key: 'name',
elipsis: true, elipsis: true,
align: "center", align: "center",
width: 200, width: 200,
}, },
{ {
title: '讲师工号', title: '讲师工号',
dataIndex: 'teacherNo', dataIndex: 'userNo',
key: 'teacherNo', key: 'userNo',
align: "center", align: "center",
elipsis: true, elipsis: true,
width: 200, width: 200,