讲师管理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

@@ -12,7 +12,7 @@
</router-link>
</a-layout-header>
<a-divider style="height: 1px; background-color: #b7b8b7 ;margin: 0;" />
<div class="filter" style="min-width: 1380px;">
<div class="filter">
<a-form layout="inline" >
<a-form-item class="select">
<a-input v-model:value="searchParam.name" style="width: 276px; height: 40px; border-radius: 8px"
@@ -61,7 +61,7 @@
<!-- 表格 -->
<div style="padding: 10px 0">
<a-table :header-cell-style="{ 'text-align': 'center' }" style="border: 1px solid #f2f6fe" :columns="columns"
:data-source="tableData" :loading="tableLoading" @expand="expandTable" :pagination="false">
:data-source="tableData" :loading="tableLoading" :scroll="{ x: 600}" :pagination="false">
<template #bodyCell="{ record, column }">
<template v-if="column.key === 'operation'">
<a-space >
@@ -209,7 +209,7 @@ export default {
title: '讲师名称',
dataIndex: 'name',
key: 'name',
elipsis: true,
ellipsis: true,
align: "center",
width: 200,
},
@@ -218,23 +218,23 @@ export default {
dataIndex: 'userNo',
key: 'userNo',
align: "center",
elipsis: true,
ellipsis: true,
width: 200,
},
{
title: '所属组织 ',
dataIndex: 'orgName',
key: 'orgName',
elipsis: true,
ellipsis: true,
align: "center",
width: 300,
width: 200,
scopedSlots: { customRender: "teacherOrg" },
},
{
title: '发薪地',
dataIndex: 'trainOrgName',
key: 'trainOrgName',
elipsis: true,
ellipsis: true,
align: "center",
width: 200,
},
@@ -242,7 +242,7 @@ export default {
title: '授课时长(系统 ) ',
dataIndex: 'teachingSystem',
key: 'teachingSystem',
elipsis: true,
ellipsis: true,
align: "center",
width: 200,
},
@@ -250,7 +250,7 @@ export default {
title: '授课时长(录入) ',
dataIndex: 'teachingEnter',
key: 'teachingEnter',
elipsis: true,
ellipsis: true,
align: "center",
width: 200,
},
@@ -258,7 +258,7 @@ export default {
title: '开发课程时长 ',
dataIndex: 'expense',
key: 'expense',
elipsis: true,
ellipsis: true,
align: "center",
width: 200,
},
@@ -266,7 +266,7 @@ export default {
title: '计划费用 ',
dataIndex: 'expense',
key: 'expense',
elipsis: true,
ellipsis: true,
align: "center",
width: 200,
},
@@ -274,7 +274,7 @@ export default {
title: '应发费用 ',
dataIndex: 'payableExpense',
key: 'payableExpense',
elipsis: true,
ellipsis: true,
align: "center",
width: 200,
},
@@ -282,9 +282,10 @@ export default {
title: '操作 ',
dataIndex: 'operation',
key: 'operation',
elipsis: true,
ellipsis: true,
align: "right",
width: 400,
fixed: "right",
width: 120,
scopedSlots: { customRender: "action" },
},
])
@@ -433,7 +434,7 @@ export default {
title: '讲师姓名 ',
dataIndex: 'name',
key: 'name',
elipsis: true,
ellipsis: true,
align: "center",
width: 100,
},
@@ -442,21 +443,21 @@ export default {
dataIndex: 'userNo',
key: 'userNo',
align: "center",
elipsis: true,
ellipsis: true,
width: 100,
},
{
title: '课程名称 ',
dataIndex: 'courseName',
key: 'courseName',
elipsis: true, align: "center",
ellipsis: true, align: "center",
width: 120,
},
{
title: '课程类型 ',
dataIndex: ' courseType',
key: ' courseType',
elipsis: true, align: "center",
ellipsis: true, align: "center",
width: 120,
customRender: (value) => {
return (
@@ -476,7 +477,7 @@ export default {
title: '授课时长 ',
dataIndex: 'teachingTime',
key: 'teachingTime',
elipsis: true, align: "center",
ellipsis: true, align: "center",
width: 120,
},
@@ -484,7 +485,7 @@ export default {
title: '授课时间',
dataIndex: 'teachingDate',
key: 'teachingDate',
elipsis: true,
ellipsis: true,
align: "center",
width: 120,
scopedSlots: { customRender: "teacherOrg" },
@@ -493,21 +494,21 @@ export default {
title: '讲师体系',
dataIndex: 'systemName',
key: 'systemName',
elipsis: true, align: "center",
ellipsis: true, align: "center",
width: 120,
},
{
title: '讲师级别 ',
dataIndex: 'levelName',
key: 'levelName',
elipsis: true, align: "center",
ellipsis: true, align: "center",
width: 120,
},
{
title: '讲师发薪地 ',
dataIndex: 'teacherpayrollPlace',
key: 'teacherpayrollPlace',
elipsis: true,
ellipsis: true,
align: "center",
width: 120,
},
@@ -516,14 +517,14 @@ export default {
title: '基准课酬 ',
dataIndex: 'teacherlevelPay',
key: 'teacherlevelPay',
elipsis: true, align: "center",
ellipsis: true, align: "center",
width: 100,
},
{
title: '计划费用 ',
dataIndex: 'expense',
key: 'expense',
elipsis: true,
ellipsis: true,
align: "center",
width: 100,
},
@@ -531,7 +532,7 @@ export default {
title: '应发费用 ',
dataIndex: 'payableExpense',
key: 'payableExpense',
elipsis: true,
ellipsis: true,
align: "center",
width: 100,
},
@@ -595,9 +596,9 @@ export default {
margin-left: 38px;
margin-right: 38px;
margin-top: 30px;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
// display: flex;
// justify-content: space-between;
// flex-wrap: wrap;
.select {
margin-right: 20px;
margin-bottom: 20px;