讲师管理等级更新

This commit is contained in:
wangxuemei
2024-08-06 18:47:13 +08:00
parent 36200b08ef
commit 4e963fc9cf
10 changed files with 64 additions and 33 deletions

View File

@@ -924,7 +924,7 @@ export default {
height:40px; height:40px;
} }
.ant-col-12{ .ant-col-12{
height:80px; height:90px;
} }
.item_inp { .item_inp {
flex: 1; flex: 1;

View File

@@ -2,7 +2,7 @@
<template> <template>
<div > <div >
<!-- 搜索框及按钮 --> <!-- 搜索框及按钮 -->
<div class="filter" style="min-width: 1380px;"> <div class="filter" style="min-width: 1270px;">
<a-form layout="inline"> <a-form layout="inline">
<a-form-item class="select"> <a-form-item class="select">
<div style="width: 276px; height: 40px; border-radius: 8px" > <div style="width: 276px; height: 40px; border-radius: 8px" >
@@ -67,7 +67,12 @@
</a-select> </a-select>
</a-form-item> </a-form-item>
<a-form-item v-if="moreid == 2" class="select"> <a-form-item v-if="moreid == 2" class="select">
<a-select style="width: 276px ;margin-bottom:20px" v-model:value="searchParam.certStatus" placeholder="认证状态" allowClear <a-select style="width: 276px ;" v-model:value="searchParam.certStatus" placeholder="认证状态" allowClear
:options="AuthenticationStatusList">
</a-select>
</a-form-item>
<a-form-item v-if="moreid == 2" class="select">
<a-select style="width: 276px " v-model:value="searchParam.certStatus" placeholder="擅长课程" allowClear
:options="AuthenticationStatusList"> :options="AuthenticationStatusList">
</a-select> </a-select>
</a-form-item> </a-form-item>
@@ -490,6 +495,26 @@ export default {
} }
const AddContentList = (data) => { const AddContentList = (data) => {
console.log(data,'treedatalist') console.log(data,'treedatalist')
[ {
title: 'parent 1',
key: '0-0',
children: [
{
title: 'parent 1-0',
key: '0-0-0',
disabled: true,
children: [
{ title: 'leaf', key: '0-0-0-0', disableCheckbox: true },
{ title: 'leaf', key: '0-0-0-1' },
],
},
{
title: 'parent 1-1',
key: '0-0-1',
children: [{ key: '0-0-1-0', slots: { title: 'title0010' } }],
},
],
}]
//组件获取返回的所有值,调用以前接口,现环境不可用,示例: //组件获取返回的所有值,调用以前接口,现环境不可用,示例:
// [{ // [{
// "id": "966459050400600064", // "id": "966459050400600064",
@@ -522,7 +547,7 @@ export default {
]) ])
const changetlevel = (val) => { const changetlevel = (val) => {
console.log( "讲师体系id" +val); console.log( "讲师体系id" +val);
getLevel( {systemid:val}).then((res) => { getLevel( {kid:val}).then((res) => {
if (res.data.code === 200) { if (res.data.code === 200) {
let arr = res.data.data; let arr = res.data.data;
let array = []; let array = [];
@@ -1357,7 +1382,7 @@ position: relative;
line-height: 40px; line-height: 40px;
} }
.ant-col-12{ .ant-col-12{
height:80px; height:90px;
} }
.item_inp { .item_inp {
flex: 1; flex: 1;

View File

@@ -1356,6 +1356,6 @@ export default {
height:40px; height:40px;
} }
.ant-col-12{ .ant-col-12{
height:80px; height:90px;
} }
</style> </style>

View File

@@ -65,7 +65,7 @@
</a-select> </a-select>
</a-form-item> </a-form-item>
<a-form-item class="select" v-if="moreid == 2"> <a-form-item class="select" v-if="moreid == 2">
<a-select style="width: 230px ;margin-bottom:20px" v-model:value="searchParam.tlevelId" placeholder="请选择讲师级别" allowClear :disabled="getLevelList.length!==0 ? false:true" <a-select style="width: 230px ;margin-bottom:10px" v-model:value="searchParam.tlevelId" placeholder="请选择讲师级别" allowClear :disabled="getLevelList.length!==0 ? false:true"
:options="getLevelList"> :options="getLevelList">
</a-select> </a-select>
</a-form-item> </a-form-item>
@@ -76,7 +76,7 @@
<a-button @click="handleExport()" class="resetbtn"> <a-button @click="handleExport()" class="resetbtn">
<UploadOutlined /> 导出 <UploadOutlined /> 导出
</a-button> </a-button>
<div v-if="moreid == 2" style="line-height: 40px;" >当前页面汇总金额:<span style="line-height: 40px; font-size: 26px; color: rgb(207, 34, 34) ;font-weight: 600;">1,230,490</span>元 当前总汇总金额:<span style="line-height: 40px; font-size: 26px; color: rgb(207, 34, 34) ;font-weight: 600;">9,230,490</span></div> <div v-if="moreid == 2" style="line-height: 40px;" >当前页面汇总金额:<span style="line-height: 40px; font-size: 24px; color: rgb(207, 34, 34) ;font-weight: 600;">1,230,490</span>元 当前总汇总金额:<span style="line-height: 40px; font-size: 24px; color: rgb(207, 34, 34) ;font-weight: 600;">9,230,490</span></div>
</div> </div>
<!-- 表格 --> <!-- 表格 -->
<div style="padding: 10px 0"> <div style="padding: 10px 0">
@@ -940,7 +940,7 @@
.select { .select {
margin-right: 20px; margin-right: 20px;
margin-bottom: 20px; margin-bottom: 10px;
} }
} }
} }
@@ -1179,6 +1179,6 @@
height:40px; height:40px;
} }
.ant-col-12{ .ant-col-12{
height:80px; height:90px;
} }
</style> </style>

View File

@@ -87,7 +87,7 @@
<UploadOutlined /> 导出 <UploadOutlined /> 导出
</a-button> </a-button>
<div v-if="moreid == 2" style="line-height: 40px;" >当前页面汇总金额:<span style="line-height: 40px; font-size: 26px; color: rgb(207, 34, 34) ;font-weight: 600;">1,230,490</span>元 当前总汇总金额:<span style="line-height: 40px; font-size: 26px; color: rgb(207, 34, 34) ;font-weight: 600;">9,230,490</span></div> <div v-if="moreid == 2" style="line-height: 40px;" >当前页面汇总金额:<span style="line-height: 40px; font-size: 24px; color: rgb(207, 34, 34) ;font-weight: 600;">1,230,490</span>元 当前总汇总金额:<span style="line-height: 40px; font-size: 24px; color: rgb(207, 34, 34) ;font-weight: 600;">9,230,490</span></div>
</div> </div>
<!-- 表格 --> <!-- 表格 -->
<div style="padding: 10px 0"> <div style="padding: 10px 0">
@@ -432,7 +432,7 @@
tableDataTotal: -1,//table列表总条数 tableDataTotal: -1,//table列表总条数
formParam: { formParam: {
teachingDate:null , teachingDate:null ,
defaultTeachingTime:"0", defaultTeachingTime:0,
courseName:0 courseName:0
}, },
searchParam: { searchParam: {
@@ -1181,7 +1181,7 @@ console.log( "讲师体系id" +val);
.select { .select {
margin-right: 20px; margin-right: 20px;
margin-bottom: 20px; margin-bottom: 10px;
} }
} }
} }
@@ -1420,6 +1420,6 @@ console.log( "讲师体系id" +val);
height:40px; height:40px;
} }
.ant-col-12{ .ant-col-12{
height:80px; height:90px;
} }
</style> </style>

View File

@@ -2,7 +2,7 @@
<template> <template>
<div style="margin: 20px;"> <div style="margin: 20px;">
<!-- 搜索框及按钮 --> <!-- 搜索框及按钮 -->
<div class="filter" style="min-width: 1380px;"> <div class="filter" >
<a-form layout="inline"> <a-form layout="inline">
<a-form-item class="select"> <a-form-item class="select">
<a-select style="width: 276px" v-model:value="searchParam.payrollPlaceId" placeholder="发薪地" <a-select style="width: 276px" v-model:value="searchParam.payrollPlaceId" placeholder="发薪地"
@@ -28,7 +28,7 @@
<a-button @click="searchResetPrevious()" type="primary" class="langbtn" style="width: 150px; height: 40px; border-radius: 8px" > <a-button @click="searchResetPrevious()" type="primary" class="langbtn" style="width: 150px; height: 40px; border-radius: 8px" >
<FolderAddOutlined /> 重新汇总上月讲师费 <FolderAddOutlined /> 重新汇总上月讲师费
</a-button> </a-button>
<div style="line-height: 40px;" >当前页面汇总金额<span style="line-height: 40px; font-size: 26px; color: rgb(207, 34, 34) ;font-weight: 600;">1,230,490</span> 当前总汇总金额<span style="line-height: 40px; font-size: 26px; color: rgb(207, 34, 34) ;font-weight: 600;">9,230,490</span></div> <div style="line-height: 40px; margin-left: 14px;" >当前页面汇总金额<span style="line-height: 40px; font-size: 24px; color: rgb(207, 34, 34) ;font-weight: 600;">1,230,490</span> 当前总汇总金额<span style="line-height: 40px; font-size: 24px; color: rgb(207, 34, 34) ;font-weight: 600;">9,230,490</span></div>
</div> </div>
<!-- 表格 --> <!-- 表格 -->
<div style="padding: 10px 0"> <div style="padding: 10px 0">
@@ -870,7 +870,7 @@ export default {
flex-wrap: wrap; flex-wrap: wrap;
.select { .select {
margin-right: 20px; margin-right: 20px;
margin-bottom: 20px; margin-bottom: 10px;
} }
}} }}
@@ -1081,7 +1081,7 @@ export default {
height:40px; height:40px;
} }
.ant-col-12{ .ant-col-12{
height:80px; height:90px;
} }
.item_inp { .item_inp {
flex: 1; flex: 1;

View File

@@ -393,8 +393,8 @@ export default {
getTableDate(); getTableDate();
}; };
const rules = { const rules = {
trainorgId: [{ required: true, message: '讲师体系编号不能为空' }], kid: [{ required: true, message: '讲师体系编号不能为空' }],
trainorgName: [{ required: true, message: '讲师体系名称不能为空' }], systemName: [{ required: true, message: '讲师体系名称不能为空' }],
} }
const handleLook =(record)=>{ const handleLook =(record)=>{
let id = record.kid let id = record.kid
@@ -827,4 +827,8 @@ export default {
height: 100%; height: 100%;
font-size: 33px; font-size: 33px;
} }
}</style> }
.ant-col-12{
height:90px;
}
</style>

View File

@@ -54,16 +54,18 @@ ExternalLecturer
</template> </template>
</a-table> </a-table>
<div style="float: right;"> <div style="float: right;">
<a-pagination
v-if="teacherrecordstableDataTotal > 10" <a-pagination
:showSizeChanger="true" v-if="tableDataTotal > 10"
:hideOnSinglePage="true" :showSizeChanger="false"
:pageSize="pageSize" :showQuickJumper="true"
v-model:current="teacherrecords.pageNo" :hideOnSinglePage="true"
:total="teacherrecordstableDataTotal" :pageSize="searchParam.pageSize"
class="pagination" :current="searchParam.pageNo"
@change="teacherchangePagination" :total="tableDataTotal"
/> class="pagination"
@change="changePagination"
/>
</div> </div>
</a-tab-pane> </a-tab-pane>

View File

@@ -865,7 +865,7 @@ export default {
height:40px; height:40px;
} }
.ant-col-12{ .ant-col-12{
height:80px; height:90px;
} }
.goback { .goback {
float: right; float: right;

View File

@@ -691,7 +691,7 @@ position: relative;
line-height: 40px; line-height: 40px;
} }
.ant-col-12{ .ant-col-12{
height:80px; height:90px;
} }
.item_inp { .item_inp {
flex: 1; flex: 1;