讲师管理bug

This commit is contained in:
zhangsir
2024-11-17 17:35:41 +08:00
parent 26a377cb39
commit 35ea32332e
16 changed files with 378 additions and 369 deletions

View File

@@ -417,14 +417,14 @@
title: '培训发生组织 ',
dataIndex: 'trainOrgName',
key: 'trainOrgName',
elipsis: true, align: "center",
ellipsis: true, align: "center",
width: 120,
},
{
title: '汇总周期 ',
dataIndex: 'summaryDate',
key: 'summaryDate',
elipsis: true,
ellipsis: true,
align: "center",
width:200
},
@@ -432,7 +432,7 @@
title: '汇总金额 ',
dataIndex: 'summaryTotal',
key: 'summaryTotal',
elipsis: true,
ellipsis: true,
align: "center",
width: 200,
},
@@ -440,14 +440,14 @@
title: '提交时间',
dataIndex: 'summaryTime',
key: 'summaryTime',
elipsis: true, align: "center",
ellipsis: true, align: "center",
width: 200,
},
{
title: '状态 ',
dataIndex: 'status',
key: 'status',
elipsis: true,
ellipsis: true,
align: "center",
width: 120,
customCell: (record) => {return{style:{color:['#67C23A','#F56C6C'][record.status]}}},
@@ -474,7 +474,7 @@
title: '操作 ',
dataIndex: 'operation',
key: 'operation',
elipsis: true, align: "right",
ellipsis: true, align: "right",
fixed: "right",
width: 200,
scopedSlots: { customRender: "action" },
@@ -529,7 +529,11 @@
tableData.value = res.data.data.records
state.tableDataTotal = Number(res.data.data.total);
state.tableLoading=false
})
}).catch(err=>{
state.tableLoading=false
message.destroy()
message.error(err.data.msg)
})
};
getTableDate()
// // 翻页
@@ -713,7 +717,7 @@
title: '审批层级 ',
dataIndex: 'name',
key: 'name',
elipsis: true,
ellipsis: true,
align: "center",
width: 120,
},
@@ -721,7 +725,7 @@
title: '层级审批人 ',
dataIndex: 'name',
key: 'name',
elipsis: true,
ellipsis: true,
align: "center",
width: 120,
},
@@ -729,7 +733,7 @@
title: '操作 ',
dataIndex: 'name',
key: 'name',
elipsis: true,
ellipsis: true,
align: "center",
width: 120,
},
@@ -737,7 +741,7 @@
title: '审批人 ',
dataIndex: 'name',
key: 'name',
elipsis: true,
ellipsis: true,
align: "center",
width: 120,
},
@@ -745,7 +749,7 @@
title: '审批时间 ',
dataIndex: 'name',
key: 'name',
elipsis: true,
ellipsis: true,
align: "center",
width: 120,
},
@@ -753,7 +757,7 @@
title: '审批建议 ',
dataIndex: 'name',
key: 'name',
elipsis: true,
ellipsis: true,
align: "center",
width: 120,
},
@@ -764,7 +768,7 @@
title: '讲师姓名 ',
dataIndex: 'name',
key: 'name',
elipsis: true,
ellipsis: true,
align: "center",
width: 120,
},
@@ -772,7 +776,7 @@
title: '讲师工号 ',
dataIndex: 'userNo',
key: 'userNo',
elipsis: true,
ellipsis: true,
align: "center",
width: 120,
},
@@ -780,7 +784,7 @@
title: '课程名称 ',
dataIndex: 'courseName',
key: 'courseName',
elipsis: true,
ellipsis: true,
align: "center",
width: 200,
},
@@ -788,7 +792,7 @@
title: '培训发生组织',
dataIndex: 'trainOrg',
key: 'trainOrg',
elipsis: true,
ellipsis: true,
align: "center",
width: 120,
},
@@ -797,7 +801,7 @@
title: '授课时长 ',
dataIndex: 'teachingTime',
key: 'teachingTime',
elipsis: true,
ellipsis: true,
align: "center",
width: 120,
@@ -806,7 +810,7 @@
title: '授课时间 ',
dataIndex: 'teachingTime',
key: 'teachingTime',
elipsis: true,
ellipsis: true,
align: "center",
width: 120,
@@ -815,7 +819,7 @@
title: '讲师体系',
dataIndex: 'systemName',
key: 'systemName',
elipsis: true,
ellipsis: true,
align: "center",
width: 120,
},
@@ -823,7 +827,7 @@
title: '讲师级别 ',
dataIndex: 'levelName',
key: 'levelName',
elipsis: true,
ellipsis: true,
align: "center",
width: 120,
},
@@ -831,7 +835,7 @@
title: '发薪地 ',
dataIndex: 'teacherpayrollPlace',
key: 'teacherpayrollPlace',
elipsis: true,
ellipsis: true,
align: "center",
width: 120,
},
@@ -839,7 +843,7 @@
title: '基准课酬 ',
dataIndex: 'teacherlevelPay',
key: 'teacherlevelPay',
elipsis: true,
ellipsis: true,
align: "center",
width: 120,
},
@@ -847,7 +851,7 @@
title: '计划费用 ',
dataIndex: 'expense',
key: 'expense',
elipsis: true,
ellipsis: true,
align: "center",
width: 120,
},
@@ -855,7 +859,7 @@
title: '参训人数 ',
dataIndex: 'studentNum',
key: 'studentNum',
elipsis: true,
ellipsis: true,
align: "center",
width: 120,
},
@@ -863,7 +867,7 @@
title: '评分 ',
dataIndex: 'courseAssess',
key: 'courseAssess',
elipsis: true,
ellipsis: true,
align: "center",
width: 120,
},
@@ -871,7 +875,7 @@
title: '课程类型 ',
dataIndex: ' courseType',
key: ' courseType',
elipsis: true,
ellipsis: true,
align: "center",
width: 120,
customRender: (value) => {