This commit is contained in:
sjl
2024-11-18 09:02:57 +08:00
parent a8eaccc53e
commit 5cdbee88b4
54 changed files with 375 additions and 836 deletions

View File

@@ -28,18 +28,17 @@
</template>
<script setup lang='tsx' name='useRole'>
import { type Role } from '@/api/role/interface'
import { type Function } from '@/api/function/interface'
import { type Role } from '@/api/user/interface/role'
import { type Function } from '@/api/user/interface/function'
import { useHandleData } from '@/hooks/useHandleData'
import ProTable from '@/components/ProTable/index.vue'
import type{ ProTableInstance, ColumnProps } from '@/components/ProTable/interface'
import { CirclePlus, Delete, EditPen, Share, Download, Upload, View, Refresh } from '@element-plus/icons-vue'
import {getRoleList,deleteRole,getFunctionList} from '@/api/role/role'
import {getRoleList,deleteRole,getFunctionList} from '@/api/user/role/index'
import RolePopup from './components/rolePopup.vue'
import RoleResourcePopup from './components/roleResourcePopup.vue'
import { onMounted, reactive, ref } from 'vue'
import {useDictStore} from '@/stores/modules/dict'
import { fa } from 'element-plus/es/locale/index.mjs'
const rolePopup = ref()
const roleResourcePopup = ref()
const dictStore = useDictStore()