| | |
| | | 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'; |
| | | |
| | | const route = useRoute(); |
| | | const { proxy } = getCurrentInstance() as ComponentInternalInstance; |
| | |
| | | }; |
| | | /** 关闭按钮 */ |
| | | 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); |
| | | }; |
| | | /** 提交按钮 */ |