mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-23 07:41:53 +08:00
1. 将 BasePage 重命名为 PageParam
2. 增加代码注释 3. 调整 menu 重置表单的逻辑,避免写 2 遍 null 的数据
This commit is contained in:
parent
08c772fede
commit
c6a445c487
@ -45,6 +45,7 @@ const { gridOptions } = useVxeGrid<LoginLogVO>({
|
||||
allSchemas: allSchemas,
|
||||
getListApi: getLoginLogPageApi
|
||||
})
|
||||
|
||||
// 详情操作
|
||||
const detailRef = ref() // 详情 Ref
|
||||
const dialogVisible = ref(false) // 是否显示弹出层
|
||||
@ -54,6 +55,7 @@ const handleDetail = async (row: LoginLogVO) => {
|
||||
detailRef.value = row
|
||||
dialogVisible.value = true
|
||||
}
|
||||
|
||||
// 导出操作
|
||||
const handleExport = async () => {
|
||||
const queryParams = Object.assign(
|
||||
|
@ -43,6 +43,7 @@ const { gridOptions } = useVxeGrid<TokenApi.OAuth2TokenVO>({
|
||||
allSchemas: allSchemas,
|
||||
getListApi: TokenApi.getAccessTokenPageApi
|
||||
})
|
||||
|
||||
// ========== 详情相关 ==========
|
||||
const detailRef = ref() // 详情 Ref
|
||||
const dialogVisible = ref(false) // 是否显示弹出层
|
||||
@ -53,6 +54,7 @@ const handleDetail = async (row: TokenApi.OAuth2TokenVO) => {
|
||||
detailRef.value = row
|
||||
dialogVisible.value = true
|
||||
}
|
||||
|
||||
// 强退操作
|
||||
const handleForceLogout = (rowId: number) => {
|
||||
message
|
||||
|
Loading…
Reference in New Issue
Block a user