完善考勤审批功能模块
This commit is contained in:
@@ -36,8 +36,9 @@ import { computed, onMounted, reactive, ref } from "vue";
|
||||
import store from "../../store/index.js";
|
||||
import menuItems from "./components/menuItems.vue";
|
||||
// 引入本地路由表渲染导航栏
|
||||
import menuTable from "./menuTable.js";
|
||||
// import menuTable from "./menuTable.js";
|
||||
import { useRouter, useRoute } from "vue-router";
|
||||
import {menuTable} from "../../router/generateMenu.js"
|
||||
const route = useRoute();
|
||||
const activeMenu = computed(() => {
|
||||
return route.path;
|
||||
|
||||
@@ -14,5 +14,20 @@ const menuTable = [
|
||||
url: "/performance/attendance/general",
|
||||
icon: "Notebook",
|
||||
},
|
||||
{
|
||||
title: "主管审批列表",
|
||||
url: "/performance/attendance/manager",
|
||||
icon: "Notebook",
|
||||
},
|
||||
{
|
||||
title: "综合部复审列表",
|
||||
url: "/performance/attendance/reviewed",
|
||||
icon: "Notebook",
|
||||
},
|
||||
{
|
||||
title: "财务考勤列表",
|
||||
url: "/performance/attendance/finance",
|
||||
icon: "Notebook",
|
||||
},
|
||||
];
|
||||
export default menuTable;
|
||||
|
||||
Reference in New Issue
Block a user