mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-24 18:22:55 +08:00
讲师管理bug
This commit is contained in:
@@ -225,6 +225,7 @@
|
||||
</a-modal>
|
||||
</div>
|
||||
<!-- <div> <Upload/> </div> -->
|
||||
<LecturerAppEdit v-model:visible="editTeacherDialog" :id="editId" ></LecturerAppEdit>
|
||||
</div>
|
||||
</template>
|
||||
<script lang="jsx">
|
||||
@@ -247,6 +248,7 @@
|
||||
// lecturerFeeManagement
|
||||
// import {getProjSt} from "../../api/indexProjStu";
|
||||
// import AddTeacher from "../../components/drawers/project/AddTeacher"
|
||||
import LecturerAppEdit from "./LecturerAPPEdit"
|
||||
export default {
|
||||
name: "LecturerApproval",
|
||||
components: {
|
||||
@@ -256,22 +258,25 @@
|
||||
DownloadOutlined,//图标-导入
|
||||
FolderAddOutlined,//图标--新增
|
||||
ProjectManager,
|
||||
LecturerAppEdit,
|
||||
},
|
||||
setup(props,emit) {
|
||||
watch(()=>props.key,(val)=>{
|
||||
console.log(val,'valllllll')
|
||||
})
|
||||
onMounted(()=>{
|
||||
const search = sessionStorage.getItem('searchApprlval')
|
||||
console.log(search,'search')
|
||||
if(search){
|
||||
state.searchParam = JSON.parse(search)
|
||||
state.searchdate = state.searchParam.searchdate
|
||||
}
|
||||
// const search = sessionStorage.getItem('searchApprlval')
|
||||
// console.log(search,'search')
|
||||
// if(search){
|
||||
// state.searchParam = JSON.parse(search)
|
||||
// state.searchdate = state.searchParam.searchdate
|
||||
// }
|
||||
getTableDate()
|
||||
})
|
||||
const router = useRouter()
|
||||
const state = reactive({
|
||||
editId: null,
|
||||
editTeacherDialog: false,
|
||||
tableDataExamineLoading: false,
|
||||
tableDataExamineTwo: [],
|
||||
tableDataParams:{
|
||||
@@ -514,7 +519,7 @@
|
||||
const searchSubmit = () => {
|
||||
state.searchParam.pageNo = 1;
|
||||
getTableDate();
|
||||
sessionStorage.removeItem('searchApprlval')
|
||||
// sessionStorage.removeItem('searchApprlval')
|
||||
};
|
||||
//重置
|
||||
const searchReset = () => {
|
||||
@@ -534,7 +539,7 @@
|
||||
pageSize: 10 ,
|
||||
};
|
||||
getTableDate();
|
||||
sessionStorage.removeItem('searchApprlval')
|
||||
// sessionStorage.removeItem('searchApprlval')
|
||||
};
|
||||
// //修改时间
|
||||
// function searchTimeChange(time, timeStr) {
|
||||
@@ -627,14 +632,16 @@
|
||||
}
|
||||
}
|
||||
const goDdit = (record) => {
|
||||
state.searchParam.searchdate = state.searchdate
|
||||
sessionStorage.setItem('searchApprlval', JSON.stringify(state.searchParam))
|
||||
router.push({
|
||||
path:'/LecturerAppEdit',
|
||||
query:{
|
||||
id: record.id
|
||||
}
|
||||
})
|
||||
state.editTeacherDialog = true
|
||||
state.editId = record.id
|
||||
// state.searchParam.searchdate = state.searchdate
|
||||
// sessionStorage.setItem('searchApprlval', JSON.stringify(state.searchParam))
|
||||
// router.push({
|
||||
// path:'/LecturerAppEdit',
|
||||
// query:{
|
||||
// id: record.id
|
||||
// }
|
||||
// })
|
||||
}
|
||||
//表格内查看数据操作
|
||||
const handleLook = (record) => {
|
||||
|
||||
Reference in New Issue
Block a user