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

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, ProjectManager,
LecturerAppEdit, LecturerAppEdit,
}, },
props: {
activeKeyProps: String,
},
setup() { setup() {
onMounted(() => { onMounted(() => {
console.log("activeKeyProps",activeKeyProps)
// const search = sessionStorage.getItem('searchApprlval') // const search = sessionStorage.getItem('searchApprlval')
// console.log(search,'search') // console.log(search,'search')
// if(search){ // if(search){

View File

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

View File

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