修改页面显示

This commit is contained in:
zhangsir
2024-05-15 11:41:40 +08:00
parent bd9f9d16d8
commit 363ee432fd
4 changed files with 24 additions and 5 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" v-if="checkMenu('trainingnewmanager')||getReportOrgs()">
<a-menu-item key="sub17-4" v-if="checkMenu('trainingnewmanager')||checkOrgs()">
<span
:class="{
circleActive: selectedKeys[0] === 'sub17-4' ? true : false,
@@ -706,11 +706,11 @@
</template>
<script>
import {reactive, toRefs, onMounted, onUnmounted, watch} from "vue";
import {reactive, toRefs, onMounted, onUnmounted, watch } from "vue";
import {useRoute} from "vue-router";
import {useStore} from "vuex";
import {checkMenu} from "@/utils/utils";
import {checkMenu,checkOrgs} from "@/utils/utils";
import { reportOrgs } from "@/api/indexProject";
export default {
name: "NavLeft",
setup() {
@@ -1186,6 +1186,7 @@ export default {
return {
...toRefs(state),
checkMenu,
checkOrgs,
onOpenChange,
selectItem,
packUp,