From 552ec6b7d8ccc56c379da195fc6c9c74312b1070 Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期五, 22 五月 2026 17:57:46 +0800
Subject: [PATCH] OA部分查询条件变更
---
src/pages/indexItem.vue | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/pages/indexItem.vue b/src/pages/indexItem.vue
index 61f6c15..35d13cf 100644
--- a/src/pages/indexItem.vue
+++ b/src/pages/indexItem.vue
@@ -27,6 +27,7 @@
<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";
@@ -110,10 +111,15 @@
{ 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 });
--
Gitblit v1.9.3