This commit is contained in:
sjl
2025-01-15 09:35:36 +08:00
parent 0cace11975
commit 14e5535fd8
21 changed files with 206 additions and 36 deletions

View File

@@ -34,6 +34,9 @@
import ResourcePopup from './components/resourcePopup.vue'
import {deleteFunction,getFunctionList} from '@/api/user/function/index'
import * as Icons from '@element-plus/icons-vue'
defineOptions({
name: 'resource'
})
const dictStore = useDictStore()
const resourcePopup = ref()
// ProTable 实例

View File

@@ -39,6 +39,9 @@ import RolePopup from './components/rolePopup.vue'
import RoleResourcePopup from './components/roleResourcePopup.vue'
import { onMounted, reactive, ref } from 'vue'
import {useDictStore} from '@/stores/modules/dict'
defineOptions({
name: 'role'
})
const rolePopup = ref()
const roleResourcePopup = ref()
const dictStore = useDictStore()

View File

@@ -43,6 +43,9 @@
import {getUserList, deleteUser,getRoleList} from '@/api/user/user'
import { onMounted, reactive, ref } from 'vue'
import { type Role } from '@/api/user/interface/role'
defineOptions({
name: 'user'
})
const roleList = ref<Role.RoleBO[]>([])
const dictStore = useDictStore()
const userPopup = ref()