mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 12:26:47 +08:00
讲师费用管理,页面跳转,刷新页面
This commit is contained in:
@@ -232,7 +232,7 @@
|
||||
</div>
|
||||
</template>
|
||||
<script lang="jsx">
|
||||
import { reactive, toRefs, ref, watch, computed, onMounted ,defineProps} from "vue";
|
||||
import { reactive, toRefs, ref, watch, computed, onMounted} from "vue";
|
||||
import { useRouter } from "vue-router";
|
||||
import { message } from "ant-design-vue";
|
||||
import dayjs from "dayjs";
|
||||
@@ -265,16 +265,7 @@ export default {
|
||||
},
|
||||
|
||||
setup() {
|
||||
const props = defineProps({
|
||||
activeKeyProps: {
|
||||
type: String,
|
||||
default: false,
|
||||
},
|
||||
})
|
||||
|
||||
watch(()=>props.activeKeyProps, (activeKeyPropsVal) => {
|
||||
console.log("activeKeyPropsVal",activeKeyPropsVal)
|
||||
})
|
||||
|
||||
onMounted(() => {
|
||||
// const search = sessionStorage.getItem('searchApprlval')
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
</a-tab-pane>
|
||||
<!-- v-if="lecturerAdmin('lecturer-admin')" -->
|
||||
<a-tab-pane key="2" tab="审批中心">
|
||||
<LecturerApproval :activeKeyProps="activeKey" ref="lecturerApproval"/>
|
||||
<LecturerApproval ref="lecturerApproval"/>
|
||||
</a-tab-pane>
|
||||
</a-tabs>
|
||||
</div>
|
||||
@@ -39,8 +39,9 @@ export default {
|
||||
return roleCode.some(t => t == admin)
|
||||
}
|
||||
}
|
||||
watch(
|
||||
)
|
||||
watch(()=>state.activeKey,(valActiveKey)=>{
|
||||
console.log("valActiveKey",valActiveKey)
|
||||
})
|
||||
onMounted(() => {
|
||||
if (route.query.activeKey) {
|
||||
state.activeKey = '2'
|
||||
|
||||
Reference in New Issue
Block a user