From 43144fe2c0ac3bf4c937dfb3f30a8d5168088335 Mon Sep 17 00:00:00 2001
From: lion <120344285@qq.com>
Date: Tue, 25 Mar 2025 13:19:18 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E6=9F=A5=E7=9C=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/layout/components/Navbar/index.vue | 2 +-
src/views/system/DashboardComponents/toDo.vue | 20 ++++++++++++++++++-
2 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/src/layout/components/Navbar/index.vue b/src/layout/components/Navbar/index.vue
index 5da3745..9de932c 100644
--- a/src/layout/components/Navbar/index.vue
+++ b/src/layout/components/Navbar/index.vue
@@ -52,7 +52,7 @@
-
+
diff --git a/src/views/system/DashboardComponents/toDo.vue b/src/views/system/DashboardComponents/toDo.vue
index a3d4d37..0d68b91 100644
--- a/src/views/system/DashboardComponents/toDo.vue
+++ b/src/views/system/DashboardComponents/toDo.vue
@@ -39,10 +39,12 @@
:align="item.align"
:formatter="item.formatter"
/>
-
+
设为已读
办理
+ 查看
+
@@ -211,6 +213,22 @@ export default {
this.loading = false
}
},
+ showhandle(row){
+ try {
+ const data = row.data
+ console.log("row",data)
+ if (data.from === 'ht') {
+ this.modalUrl = `/${data.from}/#/contract/contractList?auth_token=${window.encodeURIComponent(getToken())}&module_name=${data.from}&flow_id=${data.other?.flow_id}&isSinglePage=1`
+ } else if (data.from === 'oa') {
+ this.modalUrl = `/${data.from}/#/flow/detail?auth_token=${window.encodeURIComponent(getToken())}&module_name=${data.from}&flow_id=${data.other?.flow_id}&isSinglePage=1`
+ }
+ console.log(this.modalUrl)
+ this.isShowModal = true
+ } catch (err) {
+ this.$message.warning('未找到流程')
+ console.error(err)
+ }
+ },
handle(row) {
try {
const data = row.data