左侧列表权限受控,修改备注

This commit is contained in:
zhangsir
2024-05-13 19:00:32 +08:00
parent 2069cadc5c
commit 095f661918
6 changed files with 39 additions and 8 deletions

View File

@@ -573,7 +573,7 @@
<router-link to="/employeelearning">员工学习数据</router-link>
</a-menu-item>
</a-sub-menu>
<a-menu-item key="sub17-4">
<a-menu-item key="sub17-4" v-if="checkMenu('trainingnewmanager')||getReportOrgs()">
<span
:class="{
circleActive: selectedKeys[0] === 'sub17-4' ? true : false,
@@ -1175,7 +1175,6 @@ export default {
const getClientHeight = () => {
state.screenHeight = document.body.clientHeight;
};
onMounted(() => {
// console.log("11111", 1);
window.addEventListener("resize", getClientHeight, false);

View File

@@ -441,6 +441,10 @@ const props = defineProps({
type: Object,
default: () => ({}),
},
remarksTrue: {
type: Boolean,
default: false,
}
});
const { loading: stuAsyncLoading, start } = useAsyncStu(props.id, props.type, getStuList);