| | |
| | | icon: "/static/images/icon/caigoutaizhang@2x.png", |
| | | label: "人员薪资", |
| | | }, |
| | | { |
| | | icon: "/static/images/icon/caigoutaizhang@2x.png", |
| | | label: "合同管理", |
| | | }, |
| | | ]); |
| | | const safetyItems = reactive([ |
| | | { |
| | |
| | | url: "/pages/humanResources/monthlyStatistics/index", |
| | | }); |
| | | break; |
| | | case "合同管理": |
| | | uni.navigateTo({ |
| | | url: "/pages/humanResources/contractManagement/index", |
| | | }); |
| | | break; |
| | | default: |
| | | uni.showToast({ |
| | | title: `点击了${item.label}`, |
| | |
| | | const originalHumanResources = [ |
| | | { icon: "/static/images/icon/caigoutaizhang@2x.png", label: "打卡签到" }, |
| | | { icon: "/static/images/icon/caigoutaizhang@2x.png", label: "人员薪资" }, |
| | | { icon: "/static/images/icon/caigoutaizhang@2x.png", label: "合同管理" }, |
| | | ]; |
| | | const filteredHumanResources = originalHumanResources.filter(item => { |
| | | return allowedMenuTitles.has(item.label); |