| | |
| | | |
| | | <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"; |
| | |
| | | "付款登记": "/pages/procurementManagement/paymentEntry/index", |
| | | "付款流水": "/pages/procurementManagement/receiptPaymentHistory/index", |
| | | "供应商往来": "/pages/procurementManagement/paymentLedger/index", |
| | | "采购退货单": "/pages/procurementManagement/purchaseReturnOrder/index", |
| | | "供应商管理": "/pages/basicData/supplierManage/index", |
| | | "公出管理": "/pages/cooperativeOffice/collaborativeApproval/index1", |
| | | "请假管理": "/pages/cooperativeOffice/collaborativeApproval/index2", |
| | | "出差管理": "/pages/cooperativeOffice/collaborativeApproval/index3", |
| | |
| | | { 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 }); |
| | |
| | | box-shadow: 0 0.375rem 1.25rem rgba(0, 0, 0, 0.4); |
| | | } |
| | | } |
| | | </style> |
| | | </style> |