接口调整

This commit is contained in:
wangxuemei
2024-10-22 08:48:38 +08:00
parent afcc4a35cb
commit f84172b037
14 changed files with 316 additions and 163 deletions

View File

@@ -27,8 +27,6 @@ export const updateTeacherState = (obj) => http.post('/admin/teacher/updateTeach
//删除内部讲师
// export const deleteInTeacher= (obj) => http.post(`/admin/teacher/delById?id=${obj}`)
//获取内部讲师发薪地
export const getPayRollPlace = (obj) => http.post('/admin/teacher/getPayRollPlace', obj)
@@ -36,23 +34,13 @@ export const getPayRollPlace = (obj) => http.post('/admin/teacher/getPayRollPlac
export const getTeacherCourseList = (obj) => http.post('/admin/teacher/getTeacherCourseList' ,obj)
//获取内部讲师晋升接口
export const getTeacherLogList = (obj) => http.post('/admin/teacher/queryTeacherLevelRecord' ,obj)
//导出内部讲师列表
// http://pretest.zcwytd.com/manageApi/lesson_records/export
export const exportteacher = (obj) => http.post('/admin/lesson_records/export' ,obj)
// 所有教师专长
export const getTeacherExpertise = (obj) => http.post('/admin/teacher/getTeacherExpertise' ,obj)
//根据父级教师专长(pid)查找子级教师专长
export const getTeacherExpertiseByPid = (obj) => http.post(`/admin/teacher/deleteInTeacher?id=${obj}`)
// 新增页面内部姓名
export const infoteacher = (obj) => http.get('/admin/thirdApi/org/info' ,{params: obj})
//外部讲师列表
export const getOutTeacherList = (obj) => http.post('/admin/teacher/getOutTeacherList', obj)
//外部讲师详情
export const getOuterTeacherById = (obj) => http.post(`/admin/teacher/getOuterTeacherById?id=${obj}`)
//新增外部讲师
export const insertTeacherOutSide = (obj) => http.post('/admin/teacher/insertTeacherOutSide', obj)
//修改外部讲师
export const updateOutTeacher = (obj) => http.post('/admin/teacher/updateOutTeacher', obj)
export const fileUp = (obj) => http.post('/file/upload', obj)
//组织树查询讲师

View File

@@ -20,12 +20,6 @@ export const getexport = (obj) => http.post('/lesson_records/export', obj)
export const importTeacherCourseRecord = (obj) => http.post('/importTeacherCourseRecord', obj)
//获取开课场地
export const getAddress = (obj) => http.post('/admin/teacher/getAddress', obj)
//外部讲师授课记录
export const getOuterTeacherCourseList = (obj) => http.post('/admin/teacher/getOuterTeacherCourseList', obj)
//获取外部授课记录详情
export const getOuterTeacherCourseDetail = (obj) => http.post(`/admin/teacher/getOuterTeacherCourseDetail?id=${obj}`)
//新增外部授课记录
export const insertOutTeaherCourse = (obj) => http.post('/admin/teacher/insertOutTeaherCourse', obj)
//讲师费发放情况
export const getCharges = (obj) => http.post('/teacher/fee/getCharges', obj)
//上传组件

View File

@@ -1,16 +1,25 @@
import http from "./config";
// 获取讲师费列表
export const getTeacherFeeList = (obj) => http.post('/teacher/fee/getTeacherFeeList',obj)
export const getTeacherFeeList = (obj) => http.get('/admin/teacherExpense/list', {params: obj})
//获取讲师费详情
export const getTeacherFeeDetail= (obj) => http.post('/teacher/fee/getTeacherFeeDetail',obj)
export const getTeacherFeeDetail= (obj) => http.get('/admin/teacherExpense/queryById',{params: obj})
//添加讲师费
export const addTeacherFee= (obj) => http.post('/teacher/fee/addTeacherFee',obj)
export const addTeacherFee= (obj) => http.post('/admin/teacherExpense/addTeacherExpense',obj)
//删除讲师费
export const deleteInTeacher= (obj) => http.post(`/admin/teacher/delByIdr?id=${obj}`)
//修改讲师费信息
export const updateTeacherFee= (obj) => http.post('/teacher/fee/updateTeacherFee',obj)
//修改讲师费状态(已提交)
export const updateStatusSubmit= (obj) => http.post('/teacher/fee/updateStatusSubmit',obj)
//修改讲师费状态(已撤回)
export const approveTeacherFee= (obj) => http.post('/teacher/fee/approveTeacherFee',obj)
export const updateTeacherFee= (obj) => http.post('/admin/teacherExpense/editTeacherExpense',obj)
//修改讲师费状态提交
export const updateStatusSubmit= (obj) => http.post('/admin/teacherExpense/confirm',obj)
//修改讲师费状态撤回
export const approveTeacherFee= (obj) => http.post('/admin/teacherExpense/withdraw',obj)
//讲师费汇总审批列表
export const expenseBillList= (obj) => http.get('/admin/expenseBill/list',{params: obj})
//讲师费汇总审批详情
export const queryById= (obj) => http.get('/admin/expenseBill/queryById',{params: obj})
//移除讲师费
export const withdrawRecord= (obj) => http.post('/admin/expenseBill/withdrawRecord',obj)
//获取培训发生组织列表
export const getTrainOrg= (obj) => http.post('/teacher/fee/getTrainOrg',obj)
//获取讲师级别

View File

@@ -1,18 +1,18 @@
import http from "./config";
// 列表分页查看归属组织
export const queryTrainOrg = (obj) => http.post( '/configuration/queryTrainOrg', obj)
// 列表查看归属组织
export const queryTrainOrg = (obj) => http.get( '/admin/affiliation/list', {params: obj})
//新增归属组织
export const addReviewer = (obj) => http.post('/admin/affiliation/addAffiliation', obj)
// 删除归属组织
export const deleteTrainOrg = (obj) => http.post(`/admin/affiliation/delById?id=${obj}`)
//修改归属组织
export const updateTrainOrg = (obj) => http.post('/admin/affiliation/editInfo', obj)
//列表分页查看讲师体系
export const systemList = (obj) => http.get('/configuration/list',{params: obj})
// 根据体系id查看讲师体系对应的讲师等级详情
export const querySystemLevelByKid = (obj) => http.post('/configuration/querySystemLevelByKid', obj)
//新增归属组织
export const addReviewer = (obj) => http.post('/configuration/addReviewer', obj)
//修改归属组织
export const updateTrainOrg = (obj) => http.post('/configuration/updateTrainOrg', obj)
// 删除归属组织
export const deleteTrainOrg = (obj) => http.post('/configuration/deleteTrainOrg', obj)
//新增讲师体系
export const addLecturerSystem = (obj) => http.post('/configuration/addLecturerSystem', obj)
//删除讲师体系

View File

@@ -1044,4 +1044,30 @@ export default {
border: 0px !important;
border-radius: 50%!important;
}
::v-deep .ant-select-selection-overflow-item {
margin-top: -2px;
}
::v-deep .ant-select-multiple .ant-select-selection-item {
height: 34px
}
.tableBox {
padding-bottom: 20px;
margin: 20px 38px 30px;
::v-deep .ant-select-dropdown{
display: inline-block;
}
::v-deep .ant-select-selection-item{
margin-left: 3px;
}
::v-deep .ant-pagination-options-size-changer.ant-select{
width: 84px;
}
.pa {
width: 100%;
display: flex;
justify-content: right;
}
}
</style>

View File

@@ -551,7 +551,6 @@ export default {
});
LecturerSystemList.value = array;
}
console.log("获取讲师", LecturerSystemList);
})
}
const isupload = (val) => {

View File

@@ -72,9 +72,23 @@
</a-select>
</a-form-item>
<a-form-item class="select" v-if="moreid == 2">
<a-select style="width: 230px" v-model:value="searchParam.sysType1" placeholder="内容分类"
:options="getTeacherExpertiseList" allowClear showSearch>
</a-select>
<a-tree-select
:fieldNames="{
children: 'children',
label: 'name',
value: 'code',
}"
allow-clear
:getPopupContainer="triggerNode => triggerNode.parentNode || document.body"
v-model:value="searchParam.courseTypeId"
show-search
:dropdown-style="{ maxHeight: '400px', overflow: 'auto' }"
placeholder="请选择内容分类"
tree-default-expand-all
:tree-data="sysTypeOptions">
</a-tree-select>
</a-form-item>
<div style="width: 100%;"></div>
<a-form-item class="select" v-if="moreid == 2">
@@ -186,10 +200,22 @@
<!-- 内容分类 id 课程名称 name -->
<a-row :gutter="16">
<a-col :span="12">
<a-form-item label="内容分类" name="id">
<a-select class="draitem" allowClear v-model:value="formParam.id" placeholder="内容分类"
:options="getTeacherExpertiseList">
</a-select>
<a-form-item label="内容分类" name="courseTypeId">
<a-tree-select
:fieldNames="{
children: 'children',
label: 'name',
value: 'code',
}"
allow-clear
:getPopupContainer="triggerNode => triggerNode.parentNode || document.body"
v-model:value="formParam.courseTypeId"
show-search
:dropdown-style="{ maxHeight: '400px', overflow: 'auto' }"
placeholder="请选择内容分类"
tree-default-expand-all
:tree-data="sysTypeOptions">
</a-tree-select>
</a-form-item>
</a-col>
<a-col :span="12">
@@ -294,7 +320,7 @@
<a-descriptions-item label="授课/课程日期 ">{{ formParam.beginTime }}</a-descriptions-item>
<a-descriptions-item label="参训人数 ">{{ formParam.studys }}</a-descriptions-item>
<a-descriptions-item label="评分 ">{{ formParam.score }}</a-descriptions-item>
<a-descriptions-item label="内容分类 ">{{ formParam.sysType1 }}</a-descriptions-item>
<a-descriptions-item label="内容分类 ">{{ formParam.courseTypeId }}</a-descriptions-item>
<a-descriptions-item label="备注 ">{{ formParam.remark }}</a-descriptions-item>
</a-descriptions>
<div style="margin-top:20px ;line-height: 24px;" >
@@ -358,7 +384,7 @@
</div>
</template>
<script lang="jsx">
import { reactive, toRefs, ref } from "vue";
import { reactive, toRefs, ref,computed } from "vue";
import moment, { Moment } from 'moment';
import { useRouter } from "vue-router";
import {
@@ -486,26 +512,7 @@ export default {
}
LecturerSystemLista()
//获取内容分类
const getTeacherExpertiseList = ref([
// { value: 0, label: "未定级" },
])
const getTeacherExpertiseLista = () => {
getTeacherExpertise().then((res) => {
if (res.data.code === 200) {
let arr = res.data.data;
let array = [];
arr.map((value) => {
let obj = {
value: value.id,
label: value.name,
};
array.push(obj);
});
getTeacherExpertiseList.value = array;
}
})
}
getTeacherExpertiseLista()
const sysTypeOptions = computed(() => store.state.content_type);
const OnTheJobStatusList = ref([
{ value: 1, label: "项目开课" },
{ value: 2, label: "路径开课" },
@@ -681,8 +688,8 @@ export default {
},
{
title: '内容分类',
dataIndex: 'sysType1',
key: 'sysType1',
dataIndex: 'courseTypeId',
key: 'courseTypeId',
elipsis: true, align: "center",
width: 120,
},
@@ -1181,6 +1188,7 @@ export default {
}
return {
...toRefs(state),
sysTypeOptions,
// managerChange,
clearNonNumber,
clearscoreNumber,
@@ -1196,11 +1204,9 @@ export default {
handleExport,
handleImport,
LecturerSystemList,
getTeacherExpertiseList,
scoreList,
studysList,
OnTheJobStatusList,
getTeacherExpertiseLista,
AuthenticationStatusList,
entryTypeList,
searchSubmit,

View File

@@ -11,11 +11,10 @@
</a-form-item>
<a-form-item class="select ">
<div class="select addTimeBox">
<div class="addTime" >汇总周期</div>
<div class="addTime" >创建时间</div>
<a-range-picker
v-model:value="searchdate"
style="width: 420px"
@change="searchTimeChange"
format="YYYY-MM-DD"
valueFormat="YYYY-MM-DD"
separator="至"
@@ -206,7 +205,7 @@
} from '@ant-design/icons-vue';
import ProjectManager from "@/components/project/ProjectManagerNew";
import {getPayRollPlace} from "../../api/Lecturer";
import {getTeacherFeeList,getTeacherFeeDetail,getTeacherFeeApprovalList ,updateTeacherFee,updateStatusSubmit,approveTeacherFee,getTrainOrg,getTeacherLevel} from "../../api/lecturerFeeManagement";
import {expenseBillList,queryById,getTeacherFeeApprovalList ,updateTeacherFee,updateStatusSubmit,approveTeacherFee,getTrainOrg,getTeacherLevel} from "../../api/lecturerFeeManagement";
import { getTeacherExpertise,getTeacherSystemList } from "../../api/Lecturer";
// lecturerFeeManagement
// import {getProjSt} from "../../api/indexProjStu";
@@ -268,8 +267,8 @@
status:null,
pageNo: "1",
pageSize: "10",
startDate: null,
endDate: null,
beginTime: null,
endTime: null,
},
})
//费用类型
@@ -435,13 +434,6 @@
elipsis: true, align: "center",
width: 120,
},
{
title: '提交时间(未命名)',
dataIndex: 'trainOrg',
key: 'trainOrg',
elipsis: true, align: "center",
width: 120,
},
{
title: '汇总周期 ',
dataIndex: 'summaryDate',
@@ -458,6 +450,13 @@
align: "center",
width: 200,
},
{
title: '提交时间(未命名)',
dataIndex: 'trainOrg',
key: 'trainOrg',
elipsis: true, align: "center",
width: 120,
},
{
title: '状态 ',
dataIndex: 'status',
@@ -503,8 +502,8 @@
const searchReset = () => {
state.searchdate= null,
state.searchParam = {
endDate:null,
startDate:null,
endTime:null,
beginTime:null,
teacherNo:null,
id:null,
levelId:null,
@@ -518,24 +517,24 @@
};
getTableDate();
};
//修改时间
function searchTimeChange(time, timeStr) {
let startTime = timeStr[0]
let endTime = timeStr[1] ;
state.startTime = new Date(startTime).getTime();
state.endTime = new Date(endTime).getTime();
// state.searchParam.startDate = new Date(startDate).getTime() ;
// state.searchParam.endDate = new Date(endDate).getTime() ;
state.searchParam.startDate = state.startTime ? state.startTime : null,
state.searchParam.endDate = state.endTime ? state.endTime : null
}
// //修改时间
// function searchTimeChange(time, timeStr) {
// let startTime = timeStr[0]
// let endTime = timeStr[1] ;
// state.startTime = new Date(startTime).getTime();
// state.endTime = new Date(endTime).getTime();
// // state.searchParam.beginTime = new Date(beginTime).getTime() ;
// // state.searchParam.endTime = new Date(endTime).getTime() ;
// state.searchParam.beginTime = state.startTime ? state.startTime : null,
// state.searchParam.endTime = state.endTime ? state.endTime : null
// }
// List接口数据
const getTableDate = (obj) => {
state.tableLoading=true
let objA = {...state.searchParam};
objA.startDate= state.searchParam.startDate!==null? dayjs(new Date(state.searchParam.startDate).getTime()).format("YYYY-MM-DD"): "",
objA.endDate=state.searchParam.endDate!==null? dayjs(new Date(state.searchParam.endDate).getTime()).format("YYYY-MM-DD"): "",
getTeacherFeeList(objA)
let objA = { ...state.searchParam };
objA.beginTime = state.searchdate ? dayjs(state.searchdate[0]).format("YYYY-MM-DD") : "",
objA.endTime = state.searchdate ? dayjs(state.searchdate[1]).format("YYYY-MM-DD") : "",
expenseBillList(objA)
.then((res) => {
tableData.value = res.data.data.records
state.tableDataTotal = Number(res.data.data.total);
@@ -614,7 +613,7 @@
//详情
const TeacherSystem=()=>{
getTeacherFeeDetail({id : state.id}).then((res) => {
queryById({id : state.id}).then((res) => {
// state.formParam=Object.assign({} ,res.data.data)
state.formParam=res.data.data
console.log( state.formParam)
@@ -694,7 +693,7 @@
state.searchParam.levelId ? state.searchParam.levelId : ""
}&courseType=${ state.searchParam.courseType ? state.searchParam.courseType : ""}&certStatus=${
state.searchParam.certStatus ? state.searchParam.certStatus : ""
}&salaryName=${state.searchParam.salaryName ? state.searchParam.salaryName : ""}&payrollPlaceId=${state.searchParam.payrollPlaceId ? state.searchParam.payrollPlaceId : ""}&status=${state.searchParam.status ? state.searchParam.status : ""}&startDate=${state.searchParam.startDate ? state.searchParam.startDate : ""}&endDate=${state.searchParam.endDate ? state.searchParam.endDate : ""}`
}&salaryName=${state.searchParam.salaryName ? state.searchParam.salaryName : ""}&payrollPlaceId=${state.searchParam.payrollPlaceId ? state.searchParam.payrollPlaceId : ""}&status=${state.searchParam.status ? state.searchParam.status : ""}&beginTime=${state.searchParam.beginTime ? state.searchParam.beginTime : ""}&endTime=${state.searchParam.endTime ? state.searchParam.endTime : ""}`
);
// this.download('lesson_records/export', {
// ...state.searchParam
@@ -702,7 +701,7 @@
}
return {
...toRefs(state),
searchTimeChange,
// searchTimeChange,
gettableDataExamine,
courseTypeList,
managerChange,
@@ -1086,4 +1085,29 @@
.ant-col-12{
height:90px;
}
::v-deep .ant-select-selection-overflow-item {
margin-top: -2px;
}
::v-deep .ant-select-multiple .ant-select-selection-item {
height: 34px
}
.tableBox {
padding-bottom: 20px;
margin: 20px 38px 30px;
::v-deep .ant-select-dropdown{
display: inline-block;
}
::v-deep .ant-select-selection-item{
margin-left: 3px;
}
::v-deep .ant-pagination-options-size-changer.ant-select{
width: 84px;
}
.pa {
width: 100%;
display: flex;
justify-content: right;
}
}
</style>

View File

@@ -10,7 +10,7 @@
placeholder="请输入工号/讲师姓名进行检索" allowClear showSearch>
</a-input>
--> <div style="width: 276px; height: 40px; border-radius: 8px" >
<a-input v-model:value="searchParam.teacherNameOrUserNo" style="width: 276px; height: 40px; border-radius: 8px"
<a-input v-model:value="searchParam.name" style="width: 276px; height: 40px; border-radius: 8px"
placeholder="请输入工号/讲师姓名进行检索" allowClear showSearch>
</a-input>
</div>
@@ -26,7 +26,6 @@
<a-range-picker
v-model:value="searchdate"
style="width: 420px"
@change="searchTimeChange"
format="YYYY-MM-DD"
valueFormat="YYYY-MM-DD"
separator="至"
@@ -69,7 +68,7 @@
</a-select>
</a-form-item>
<a-form-item class="select" v-if="moreid == 2">
<a-select style="width: 230px ;margin-bottom:20px" placeholder="请选择讲师体系" v-model:value="searchParam.id" allowClear
<a-select style="width: 230px ;margin-bottom:20px" placeholder="请选择讲师体系" v-model:value="searchParam.tsystemid" allowClear
:options="lecturerSystemList" @change="changetlevel">
</a-select>
</a-form-item>
@@ -136,8 +135,8 @@
<div style="float: right;">
<a-pagination
v-if="tableDataTotal > 10"
:showSizeChanger="false"
:showQuickJumper="true"
:showSizeChanger="true"
:showQuickJumper="false"
:hideOnSinglePage="true"
:pageSize="searchParam.pageSize"
:current="searchParam.pageNo"
@@ -184,7 +183,7 @@
</a-col>
<a-col :span="12">
<a-form-item label="讲师体系" name="systemId">
<a-select disabled class="draitem" v-model:value="formParam.id" placeholder="请选择讲师体系"
<a-select disabled class="draitem" v-model:value="formParam.tsystemid" placeholder="请选择讲师体系"
:options="lecturerSystemList">
</a-select>
</a-form-item>
@@ -396,7 +395,7 @@
@closa="cancelallFeedialog" :maskClosable="true" width="60%" title="批量审核">
<a-form layout="inline">
<a-form-item class="select">
<a-input v-model:value="searchall.teacherNameOrUserNo" style="width: 276px; height: 40px; border-radius: 8px"
<a-input v-model:value="searchall.name" style="width: 276px; height: 40px; border-radius: 8px"
placeholder="请输入工号/讲师姓名进行检索" allowClear showSearch>
</a-input>
</a-form-item>
@@ -447,7 +446,7 @@
} from '@ant-design/icons-vue';
import ImportWork from "../../components/project/ImportWork.vue";
import SearchTeacher from "@/components/project/SearchTeacher";
import {getTeacherFeeList,getTeacherFeeDetail,addTeacherFee ,updateTeacherFee,updateStatusSubmit,approveTeacherFee,getTrainOrg,getTeacherLevel} from "../../api/lecturerFeeManagement";4
import {getTeacherFeeList,getTeacherFeeDetail,addTeacherFee ,updateTeacherFee,updateStatusSubmit,approveTeacherFee,getTrainOrg,getTeacherLevel,deleteInTeacher} from "../../api/lecturerFeeManagement";4
import { getTeacherExpertise,getTeacherSystemList,getLevel,getPayRollPlace,fileUp } from "../../api/Lecturer";
// lecturerFeeManagement
// import {getProjSt} from "../../api/indexProjStu";
@@ -502,7 +501,7 @@
teacherNo:null,
teacherName:null,
trainorgId:null,
id:null,
tsystemid:null,
levelId:null,
courseType:null,
certStatus:null,
@@ -511,11 +510,11 @@
status:null,
pageNo: "1",
pageSize: "10",
startDate: null,
endDate: null,
beginTime: null,
endTime: null,
},
searchall:{
teacherNameOrUserNo:null,
name:null,
status:null,
pageNo: "1",
pageSize: "10",
@@ -562,23 +561,26 @@
const lecturerSystemList = ref([
]);
///获取讲师体系列表
const LecturerSystemLista =() => {
// console.log('点击了LecturerSystemLista')
getTeacherSystemList().then((res) => {
if (res.data.code === 200) {
let arr = res.data.data;
let array = [];
arr.map((value) => {
let obj = {
value: value.kid,
label: value.systemName,
};
array.push(obj);
});
lecturerSystemList.value = array;
}
})
const LecturerSystemLista = () => {
let obj ={
pageNo:1,
pageSize:1000,
}
getTeacherSystemList(obj).then((res) => {
if (res.data.code === 200) {
let arr = res.data.data.records;
let array = [];
arr.map((value) => {
let obj = {
value: value.id,
label: value.systemName,
};
array.push(obj);
});
LecturerSystemList.value = array;
}
})
}
const getLevelList = ref([
// { value: 0, label: "未定级" },
])
@@ -847,10 +849,10 @@ console.log( "讲师体系id" +val);
const searchReset = () => {
state.searchdate= null,
state.searchParam = {
endDate:null,
startDate:null,
endTime:null,
beginTime:null,
teacherNo:null,
id:null,
tsystemid:null,
levelId:null,
courseType:null,
certStatus:null,
@@ -862,23 +864,23 @@ console.log( "讲师体系id" +val);
};
getTableDate();
};
//修改时间
function searchTimeChange(time, timeStr) {
let startTime = timeStr[0]
let endTime = timeStr[1] ;
state.startTime = new Date(startTime).getTime();
state.endTime = new Date(endTime).getTime();
// state.searchParam.startDate = new Date(startDate).getTime() ;
// state.searchParam.endDate = new Date(endDate).getTime() ;
state.searchParam.startDate = state.startTime ? state.startTime : null,
state.searchParam.endDate = state.endTime ? state.endTime : null
}
// //修改时间
// function searchTimeChange(time, timeStr) {
// let startTime = timeStr[0]
// let beginTime = timeStr[1] ;
// state.startTime = new Date(startTime).getTime();
// state.beginTime = new Date(beginTime).getTime();
// // state.searchParam.beginTime = new Date(beginTime).getTime() ;
// // state.searchParam.endTime = new Date(endTime).getTime() ;
// state.searchParam.beginTime = state.startTime ? state.startTime : null,
// state.searchParam.endTime = state.beginTime ? state.beginTime : null
// }
// List接口数据
const getTableDate = (obj) => {
state.tableLoading=true
let objA = {...state.searchParam};
objA.startDate= state.searchParam.startDate!==null? dayjs(new Date(state.searchParam.startDate).getTime()).format("YYYY-MM-DD"): "",
objA.endDate=state.searchParam.endDate!==null? dayjs(new Date(state.searchParam.endDate).getTime()).format("YYYY-MM-DD"): "",
let objA = { ...state.searchParam };
objA.beginTime = state.searchdate ? dayjs(state.searchdate[0]).format("YYYY-MM-DD") : "",
objA.endTime = state.searchdate ? dayjs(state.searchdate[1]).format("YYYY-MM-DD") : "",
getTeacherFeeList(objA)
.then((res) => {
tableData.value = res.data.data.records
@@ -1006,7 +1008,7 @@ console.log( "讲师体系id" +val);
teacher:null,
teacherNo:null,
departId:null,
id:null,
tsystemid:null,
levelId:null,
payrollPlaceId:null,
// 费用类型 : null
@@ -1127,7 +1129,7 @@ const cancelallFeedialog= ()=>{
}
const searchResetdrawer=()=>{
state.searchall={
teacherNameOrUserNo:null,
name:null,
status:null,
pageNo: "1",
pageSize: "10",
@@ -1326,11 +1328,11 @@ const column = ref([
state.currentPage1
}&pageSize=${state.pageSize1}&teacherNo=${
state.searchParam.teacherNo ? state.searchParam.teacherNo : ""
}&id=${ state.searchParam.id ? state.searchParam.id : ""}&levelId=${
}&tsystemid=${ state.searchParam.tsystemid ? state.searchParam.tsystemid : ""}&levelId=${
state.searchParam.levelId ? state.searchParam.levelId : ""
}&courseType=${ state.searchParam.courseType ? state.searchParam.courseType : ""}&certStatus=${
state.searchParam.certStatus ? state.searchParam.certStatus : ""
}&salaryName=${state.searchParam.salaryName ? state.searchParam.salaryName : ""}&payrollPlaceId=${state.searchParam.payrollPlaceId ? state.searchParam.payrollPlaceId : ""}&status=${state.searchParam.status ? state.searchParam.status : ""}&startDate=${state.searchParam.startDate ? state.searchParam.startDate : ""}&endDate=${state.searchParam.endDate ? state.searchParam.endDate : ""}`
}&salaryName=${state.searchParam.salaryName ? state.searchParam.salaryName : ""}&payrollPlaceId=${state.searchParam.payrollPlaceId ? state.searchParam.payrollPlaceId : ""}&status=${state.searchParam.status ? state.searchParam.status : ""}&beginTime=${state.searchParam.beginTime ? state.searchParam.beginTime : ""}&endTime=${state.searchParam.endTime ? state.searchParam.endTime : ""}`
);
// this.download('lesson_records/export', {
// ...state.searchParam
@@ -1378,7 +1380,7 @@ const column = ref([
cancelTeachingDialog,
managerChange,
courseTypeList,
searchTimeChange,
// searchTimeChange,
trainOrglist,
trainOrglista,
getTeacherExpertiseList,
@@ -1769,4 +1771,30 @@ const column = ref([
.ant-col-12{
height:90px;
}
::v-deep .ant-select-selection-overflow-item {
margin-top: -2px;
}
::v-deep .ant-select-multiple .ant-select-selection-item {
height: 34px
}
.tableBox {
padding-bottom: 20px;
margin: 20px 38px 30px;
::v-deep .ant-select-dropdown{
display: inline-block;
}
::v-deep .ant-select-selection-item{
margin-left: 3px;
}
::v-deep .ant-pagination-options-size-changer.ant-select{
width: 84px;
}
.pa {
width: 100%;
display: flex;
justify-content: right;
}
}
</style>

View File

@@ -6,12 +6,12 @@
<a-form layout="inline">
<a-form-item class="select">
<a-select style="width: 276px" v-model:value="searchParam.trainorgId" placeholder="请选择资源归属" allowClear
:options="trainOrglist" />
:options="TrainOrglist" />
</a-form-item>
<a-form-item class="select " >
<a-date-picker style="width: 260px; height: 40px; border-radius: 8px" v-model:value="searchdate"
:placeholder="['请选择汇总周期']" @change="searchTimeChange" />
</a-form-item>
:placeholder="[ '请选择汇总周期']" @change="searchTimeChange" />
</a-form-item >
<!-- <a-form-item class="select">
<a-month-picker placeholder="重新汇总上月周期" @change="onChange" style="width: 260px; height: 40px; border-radius: 8px" v-model:value="searchdate" />
</a-form-item> -->

View File

@@ -66,8 +66,8 @@ ExternalLecturer
<a-pagination
v-if="tableDataTotal > 10"
:showSizeChanger="false"
:showQuickJumper="true"
:showSizeChanger="true"
:showQuickJumper="false"
:hideOnSinglePage="true"
:pageSize="searchParam.pageSize"
:current="searchParam.pageNo"
@@ -329,4 +329,30 @@ export default{
font-size: 14px;
}
}
::v-deep .ant-select-selection-overflow-item {
margin-top: -2px;
}
::v-deep .ant-select-multiple .ant-select-selection-item {
height: 34px
}
.tableBox {
padding-bottom: 20px;
margin: 20px 38px 30px;
::v-deep .ant-select-dropdown{
display: inline-block;
}
::v-deep .ant-select-selection-item{
margin-left: 3px;
}
::v-deep .ant-pagination-options-size-changer.ant-select{
width: 84px;
}
.pa {
width: 100%;
display: flex;
justify-content: right;
}
}
</style>

View File

@@ -87,8 +87,8 @@
<div style="float: right;">
<a-pagination
v-if="tableDataTotal > 10"
:showSizeChanger="false"
:showQuickJumper="true"
:showSizeChanger="true"
:showQuickJumper="false"
:hideOnSinglePage="true"
:pageSize="searchParam.pageSize"
:current="searchParam.pageNo"
@@ -108,8 +108,8 @@
<div style="float: right;">
<a-pagination
v-if="teacherrepromotableDataTotal > 10"
:showSizeChanger="false"
:showQuickJumper="true"
:showSizeChanger="true"
:showQuickJumper="false"
:hideOnSinglePage="true"
:pageSize="teacherrepromo.pageSize"
:current="teacherrepromo.pageNo"
@@ -461,4 +461,30 @@ const handleup = ()=>{
color: #4ea6ff;
width: 80px
}
::v-deep .ant-select-selection-overflow-item {
margin-top: -2px;
}
::v-deep .ant-select-multiple .ant-select-selection-item {
height: 34px
}
.tableBox {
padding-bottom: 20px;
margin: 20px 38px 30px;
::v-deep .ant-select-dropdown{
display: inline-block;
}
::v-deep .ant-select-selection-item{
margin-left: 3px;
}
::v-deep .ant-pagination-options-size-changer.ant-select{
width: 84px;
}
.pa {
width: 100%;
display: flex;
justify-content: right;
}
}
</style>

View File

@@ -47,8 +47,8 @@ ExternalLecturer
<div style="float: right;">
<a-pagination
v-if="teacherrecordstableDataTotal > 10"
:showSizeChanger="true"
:hideOnSinglePage="true"
:showSizeChanger="true" :showQuickJumper="false"
:hideOnSinglePage="true"
:pageSize="pageSize"
v-model:current="teacherrecords.pageNo"
:total="teacherrecordstableDataTotal"
@@ -234,4 +234,30 @@ export default{
font-size: 14px;
}
}
::v-deep .ant-select-selection-overflow-item {
margin-top: -2px;
}
::v-deep .ant-select-multiple .ant-select-selection-item {
height: 34px
}
.tableBox {
padding-bottom: 20px;
margin: 20px 38px 30px;
::v-deep .ant-select-dropdown{
display: inline-block;
}
::v-deep .ant-select-selection-item{
margin-left: 3px;
}
::v-deep .ant-pagination-options-size-changer.ant-select{
width: 84px;
}
.pa {
width: 100%;
display: flex;
justify-content: right;
}
}
</style>

View File

@@ -29,6 +29,7 @@
<template #bodyCell="{ record, column }">
<template v-if="column.key === 'operation'">
<a-space >
<a-button type="link" @click="() => handleModify(record, String(record.courseform))">查看</a-button>
<a-button type="link" @click="() => handleModify(record, String(record.courseform))">编辑</a-button>
<a-button type="link" @click="() => deleteModal(record, String(record.courseform))">删除</a-button>
</a-space>