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

This commit is contained in:
gengxin
2025-02-18 10:25:41 +08:00
parent f6531d34e0
commit 40f12c9fd2
3 changed files with 7 additions and 8 deletions

View File

@@ -263,11 +263,13 @@ export default {
ProjectManager,
LecturerAppEdit,
},
props: {
activeKeyProps: String,
},
setup() {
onMounted(() => {
console.log("activeKeyProps",activeKeyProps)
// const search = sessionStorage.getItem('searchApprlval')
// console.log(search,'search')
// if(search){

View File

@@ -578,8 +578,7 @@ import { checkMenu } from '@/utils/utils'
export default {
name: "LecturerFee",
props: {
activeKeyFn: Function,
default: null,
activeKeyFn: Function
},
components: {
DownOutlined, //图标--展开

View File

@@ -8,7 +8,7 @@
</a-tab-pane>
<!-- v-if="lecturerAdmin('lecturer-admin')" -->
<a-tab-pane key="2" tab="审批中心">
<LecturerApproval ref="lecturerApproval"/>
<LecturerApproval :activeKeyProps="activeKey"/>
</a-tab-pane>
</a-tabs>
</div>
@@ -39,9 +39,7 @@ export default {
return roleCode.some(t => t == admin)
}
}
watch(()=>state.activeKey,(valActiveKey)=>{
console.log("valActiveKey",valActiveKey)
})
onMounted(() => {
if (route.query.activeKey) {
state.activeKey = '2'