mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-13 04:46:46 +08:00
讲师费用管理,页面跳转,刷新页面
This commit is contained in:
@@ -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){
|
||||||
|
|||||||
@@ -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, //图标--展开
|
||||||
|
|||||||
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user