From 2fc58fbb10745abd97168b8da21d4142e11d7f2e Mon Sep 17 00:00:00 2001
From: chenhj <1263187585@qq.com>
Date: 星期四, 18 十二月 2025 13:36:43 +0800
Subject: [PATCH] 新增设备维修保养过程描述,上传对应附件
---
src/plugins/tab.js | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/plugins/tab.js b/src/plugins/tab.js
index 440271e..16755f0 100644
--- a/src/plugins/tab.js
+++ b/src/plugins/tab.js
@@ -59,8 +59,10 @@
return useTagsViewStore().delOthersViews(obj || router.currentRoute.value)
},
// 鎵撳紑tab椤电
- openPage(url) {
- return router.push(url)
+ openPage(title, url, params) {
+ const obj = { path: url, meta: { title: title } }
+ useTagsViewStore().addView(obj)
+ return router.push({ path: url, query: params })
},
// 淇敼tab椤电
updatePage(obj) {
--
Gitblit v1.9.3