讲师管理bug

This commit is contained in:
zhangsir
2024-11-29 15:46:28 +08:00
parent deab68f634
commit cac6535256
4 changed files with 50 additions and 19 deletions

View File

@@ -35,7 +35,7 @@
<template #bodyCell="{ record, column }">
<template v-if="column.key === 'operation'">
<a-space >
<lockLecturer :id="record.id" :title="'培训发生组织详情'">
<lockLecturer :id="record.id" :title="'培训发生组织详情'" @searchList="searchList">
<div style="color: #1890ff;cursor: pointer;">查看</div>
</lockLecturer>
<a-button v-if="record.status!=2" type="link" @click="() => handleModify(record, String(record.courseform))">编辑</a-button>
@@ -447,6 +447,9 @@ const getTableDate = (obj) => {
state.searchParam.pageNo = 1;
getTableDate();
};
const searchList = (val)=>{
getTableDate();
}
//重置
const searchReset = () => {
state.searchParam = {
@@ -735,6 +738,7 @@ const getTableDate = (obj) => {
PlaceOfPayListTwo,
placeData,
searchReset,
searchList,
deleteModal,
updateModal,
cancelTeacherDialog,