mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 20:36:45 +08:00
讲师费用管理,页面跳转,刷新页面
This commit is contained in:
@@ -268,8 +268,6 @@ export default {
|
|||||||
},
|
},
|
||||||
setup(props) {
|
setup(props) {
|
||||||
|
|
||||||
let initData = ref(false);
|
|
||||||
|
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
console.log("props.activeKeyProps",props.activeKeyProps)
|
console.log("props.activeKeyProps",props.activeKeyProps)
|
||||||
@@ -280,7 +278,6 @@ export default {
|
|||||||
// state.searchdate = state.searchParam.searchdate
|
// state.searchdate = state.searchParam.searchdate
|
||||||
// }
|
// }
|
||||||
getTableDate()
|
getTableDate()
|
||||||
initData.value = true;
|
|
||||||
})
|
})
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
@@ -825,8 +822,6 @@ export default {
|
|||||||
state.tableDataParams.pageSize = pageSize
|
state.tableDataParams.pageSize = pageSize
|
||||||
gettableDataExamine();
|
gettableDataExamine();
|
||||||
};
|
};
|
||||||
|
|
||||||
//TODO1
|
|
||||||
const deleteModal = (record) => {
|
const deleteModal = (record) => {
|
||||||
dialog({
|
dialog({
|
||||||
content: '是否确认进行删除?',
|
content: '是否确认进行删除?',
|
||||||
@@ -1104,9 +1099,10 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//TODO1
|
||||||
watchEffect(() => {
|
watchEffect(() => {
|
||||||
console.log('Item changed:', props.activeKeyProps);
|
console.log('Item changed:', props.activeKeyProps);
|
||||||
if(!initData.value && props.activeKeyProps == 2){
|
if(props.activeKeyProps == 2){
|
||||||
getTableDate()
|
getTableDate()
|
||||||
}
|
}
|
||||||
// 在这里你可以根据 props.item 进行一些操作
|
// 在这里你可以根据 props.item 进行一些操作
|
||||||
|
|||||||
Reference in New Issue
Block a user