讲师费用管理,页面跳转,刷新页面

This commit is contained in:
gengxin
2025-02-18 11:11:05 +08:00
parent 24109ab423
commit 8fbb6d9912

View File

@@ -268,9 +268,7 @@ export default {
},
setup(props) {
let initData = ref(false);
onMounted(() => {
console.log("props.activeKeyProps",props.activeKeyProps)
// const search = sessionStorage.getItem('searchApprlval')
@@ -280,7 +278,6 @@ export default {
// state.searchdate = state.searchParam.searchdate
// }
getTableDate()
initData.value = true;
})
const router = useRouter()
const state = reactive({
@@ -825,8 +822,6 @@ export default {
state.tableDataParams.pageSize = pageSize
gettableDataExamine();
};
//TODO1
const deleteModal = (record) => {
dialog({
content: '是否确认进行删除?',
@@ -1104,9 +1099,10 @@ export default {
}
}
//TODO1
watchEffect(() => {
console.log('Item changed:', props.activeKeyProps);
if(!initData.value && props.activeKeyProps == 2){
if(props.activeKeyProps == 2){
getTableDate()
}
// 在这里你可以根据 props.item 进行一些操作