| | |
| | | |
| | | <script setup> |
| | | import { onMounted, reactive, ref } from "vue"; |
| | | import { OA_WORKBENCH_ITEMS } from "@/config/oaWorkbench.js"; |
| | | import useUserStore from "@/store/modules/user"; |
| | | import { onLoad } from "@dcloudio/uni-app"; |
| | | import PageHeader from "@/components/PageHeader.vue"; |
| | |
| | | { icon: "/static/images/icon/baojiaguanli.svg", label: "报价审批" }, |
| | | { icon: "/static/images/icon/fahuoguanli.svg", label: "发货审批" }, |
| | | ], |
| | | "OA办公": OA_WORKBENCH_ITEMS.map(item => ({ ...item })), |
| | | }; |
| | | |
| | | // 处理常用功能点击 |
| | | const handleCommonItemClick = item => { |
| | | if (item.path) { |
| | | uni.navigateTo({ url: item.path }); |
| | | return; |
| | | } |
| | | const url = routeMapping[item.label]; |
| | | if (url) { |
| | | uni.navigateTo({ url }); |