From 9defb9a669080be30250bc1befdb8dc266cd3afe Mon Sep 17 00:00:00 2001 From: gssong <1742057357@qq.com> Date: 星期六, 09 三月 2024 11:22:28 +0800 Subject: [PATCH] remove 删除无用组件 调整修改办理人,已完成单据可查看审批记录等 --- src/views/system/user/authRole.vue | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/src/views/system/user/authRole.vue b/src/views/system/user/authRole.vue index b661811..9b9927d 100644 --- a/src/views/system/user/authRole.vue +++ b/src/views/system/user/authRole.vue @@ -58,6 +58,8 @@ import { RoleVO } from '@/api/system/role/types'; import { getAuthRole, updateAuthRole } from '@/api/system/user'; import { UserForm } from '@/api/system/user/types'; +import { RouteLocationNormalized } from 'vue-router'; +import { parseTime } from "@/utils/ruoyi"; const route = useRoute(); const { proxy } = getCurrentInstance() as ComponentInternalInstance; @@ -91,7 +93,17 @@ }; /** 鍏抽棴鎸夐挳 */ const close = () => { - const obj = { path: '/system/user' }; + const obj: RouteLocationNormalized = { + fullPath: '', + hash: '', + matched: [], + meta: undefined, + name: undefined, + params: undefined, + query: undefined, + redirectedFrom: undefined, + path: '/system/user' + }; proxy?.$tab.closeOpenPage(obj); }; /** 鎻愪氦鎸夐挳 */ -- Gitblit v1.9.3