讲师管理审批

This commit is contained in:
zhangsir
2024-11-05 19:45:16 +08:00
parent 5ee9a77b07
commit d0d8eaea90
4 changed files with 236 additions and 64 deletions

View File

@@ -14,9 +14,10 @@
</div>
</template>
<script lang="jsx">
import { reactive, toRefs, ref, watch } from "vue";
import { reactive, toRefs, ref, watch,onMounted } from "vue";
import LecturerFee from "../lecturer/LecturerFee.vue"
import LecturerApproval from "../lecturer/LecturerApproval.vue"
import { useRoute } from "vue-router";
export default {
name: "LecturerFeeManagement",
components: {
@@ -24,11 +25,17 @@ import LecturerApproval from "../lecturer/LecturerApproval.vue"
LecturerApproval
},
setup() {
const route = useRoute();
const state = reactive({
activeKey:'1'
activeKey:'1',
})
watch(
)
onMounted(() => {
if(route.query.activeKey){
state.activeKey = '2'
}
})
return {
...toRefs(state),