({
getListApi: DictDataApi.getDictDataPageApi,
delListApi: DictDataApi.deleteDictDataApi
})
@@ -79,7 +79,7 @@ const handleDataDelete = async (row: DictTypeVO) => {
const parentType = ref('')
const onClickType = async (data: { [key: string]: any }) => {
tableTypeSelect.value = true
- dataTableObject.paramsObj.params = {
+ dataTableObject.params = {
dictType: data.type
}
getDataList()
@@ -161,7 +161,7 @@ onMounted(async () => {
- {{ t('action.add') }}
+ {{ t('action.add') }}
@@ -221,7 +221,7 @@ onMounted(async () => {
- {{ t('action.add') }}
+ {{ t('action.add') }}
, ErrorCodeVO>({
+const { register, tableObject, methods } = useTable({
getListApi: ErrorCodeApi.getErrorCodePageApi,
delListApi: ErrorCodeApi.deleteErrorCodeApi
})
@@ -96,7 +96,7 @@ getList()
- {{ t('action.add') }}
+ {{ t('action.add') }}
diff --git a/yudao-ui-admin-vue3/src/views/system/loginlog/index.vue b/yudao-ui-admin-vue3/src/views/system/loginlog/index.vue
index f4d78aa56..b627d4859 100644
--- a/yudao-ui-admin-vue3/src/views/system/loginlog/index.vue
+++ b/yudao-ui-admin-vue3/src/views/system/loginlog/index.vue
@@ -10,7 +10,7 @@ import { useI18n } from '@/hooks/web/useI18n'
const { t } = useI18n() // 国际化
// ========== 列表相关 ==========
-const { register, tableObject, methods } = useTable, LoginLogVO>({
+const { register, tableObject, methods } = useTable({
getListApi: getLoginLogPageApi,
exportListApi: exportLoginLogApi
})
diff --git a/yudao-ui-admin-vue3/src/views/system/loginlog/loginLog.data.ts b/yudao-ui-admin-vue3/src/views/system/loginlog/loginLog.data.ts
index d6e07dd1a..2a38fc460 100644
--- a/yudao-ui-admin-vue3/src/views/system/loginlog/loginLog.data.ts
+++ b/yudao-ui-admin-vue3/src/views/system/loginlog/loginLog.data.ts
@@ -80,7 +80,7 @@ const crudSchemas = reactive([
{
label: t('table.action'),
field: 'action',
- width: '80px',
+ width: '120px',
form: {
show: false
},
diff --git a/yudao-ui-admin-vue3/src/views/system/menu/index.vue b/yudao-ui-admin-vue3/src/views/system/menu/index.vue
index 667bb353c..137d0d901 100644
--- a/yudao-ui-admin-vue3/src/views/system/menu/index.vue
+++ b/yudao-ui-admin-vue3/src/views/system/menu/index.vue
@@ -195,7 +195,7 @@ onMounted(async () => {
- {{ t('action.add') }}
+ {{ t('action.add') }}
([
- {
- label: '上级菜单',
- field: 'parentId',
- component: 'Input',
- formItemProps: {
- rules: [required]
- }
- },
- {
- label: '菜单类型',
- field: 'type',
- component: 'RadioButton',
- formItemProps: {
- rules: [required]
- },
- componentProps: {
- options: [
- {
- label: '目录',
- value: 1
- },
- {
- label: '菜单',
- value: 2
- },
- {
- label: '按钮',
- value: 3
- }
- ]
- }
- },
- {
- label: '菜单图标',
- field: 'icon',
- component: 'Input',
- formItemProps: {
- rules: [required]
- }
- },
- {
- label: '菜单名称',
- field: 'name',
- component: 'Input',
- formItemProps: {
- rules: [required]
- }
- },
- {
- label: '显示排序',
- field: 'sort',
- component: 'Input'
- },
- {
- label: '路由地址',
- field: 'path',
- component: 'Input',
- labelMessage: '访问的路由地址,如:`user`。如需外网地址时,则以 `http(s)://` 开头'
- },
- {
- label: '组件路径',
- field: 'component',
- component: 'Input'
- },
- {
- label: '权限标识',
- field: 'permission',
- component: 'Input',
- labelMessage:
- 'Controller 方法上的权限字符,如:@PreAuthorize(`@ss.hasPermission(`system:user:list`)`)'
- },
- {
- label: t('common.status'),
- field: 'status',
- component: 'RadioButton',
- value: 0,
- formItemProps: {
- rules: [required]
- },
- componentProps: {
- options: [
- {
- label: '开启',
- value: 0
- },
- {
- label: '关闭',
- value: 1
- }
- ]
- },
- labelMessage: '选择停用时,路由将不会出现在侧边栏,也不能被访问'
- },
- {
- label: '是否显示',
- field: 'visible',
- component: 'RadioButton',
- value: 0,
- formItemProps: {
- rules: [required]
- },
- componentProps: {
- options: [
- {
- label: '显示',
- value: 0
- },
- {
- label: '隐藏',
- value: 1
- }
- ]
- },
- labelMessage: '选择隐藏时,路由将不会出现在侧边栏,但仍然可以访问'
- },
- {
- label: '是否缓存',
- field: 'keepAlive',
- component: 'RadioButton',
- value: 0,
- componentProps: {
- options: [
- {
- label: '缓存',
- value: 0
- },
- {
- label: '不缓存',
- value: 1
- }
- ]
- },
- labelMessage: '选择缓存时,则会被 `keep-alive` 缓存,需要匹配组件的 `name` 和路由地址保持一致'
- }
-])
-// 列表
-export const columns = reactive([
- {
- label: '菜单名称',
- field: 'name'
- },
- {
- label: '权限标识',
- field: 'permission',
- component: 'Input',
- formItemProps: {
- rules: [required]
- }
- },
- {
- label: '排序',
- field: 'sort'
- },
- {
- label: t('table.action'),
- field: 'action',
- width: '180px'
- }
-])
diff --git a/yudao-ui-admin-vue3/src/views/system/menu/old.vue b/yudao-ui-admin-vue3/src/views/system/menu/old.vue
deleted file mode 100644
index e87693ce0..000000000
--- a/yudao-ui-admin-vue3/src/views/system/menu/old.vue
+++ /dev/null
@@ -1,226 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/yudao-ui-admin-vue3/src/views/system/notice/index.vue b/yudao-ui-admin-vue3/src/views/system/notice/index.vue
index 5bee1f262..637f13c41 100644
--- a/yudao-ui-admin-vue3/src/views/system/notice/index.vue
+++ b/yudao-ui-admin-vue3/src/views/system/notice/index.vue
@@ -11,7 +11,7 @@ import { rules, allSchemas } from './notice.data'
import * as NoticeApi from '@/api/system/notice'
const { t } = useI18n() // 国际化
// ========== 列表相关 ==========
-const { register, tableObject, methods } = useTable, NoticeVO>({
+const { register, tableObject, methods } = useTable({
getListApi: NoticeApi.getNoticePageApi,
delListApi: NoticeApi.deleteNoticeApi
})
@@ -95,7 +95,7 @@ getList()
- {{ t('action.add') }}
+ {{ t('action.add') }}
diff --git a/yudao-ui-admin-vue3/src/views/system/oauth2/client/index.vue b/yudao-ui-admin-vue3/src/views/system/oauth2/client/index.vue
index da0c38007..ee5b4c724 100644
--- a/yudao-ui-admin-vue3/src/views/system/oauth2/client/index.vue
+++ b/yudao-ui-admin-vue3/src/views/system/oauth2/client/index.vue
@@ -12,7 +12,7 @@ import * as ClientApi from '@/api/system/oauth2/client'
const { t } = useI18n() // 国际化
// ========== 列表相关 ==========
-const { register, tableObject, methods } = useTable, OAuth2ClientVo>({
+const { register, tableObject, methods } = useTable({
getListApi: ClientApi.getOAuth2ClientPageApi,
delListApi: ClientApi.deleteOAuth2ClientApi
})
@@ -96,7 +96,7 @@ getList()
- {{ t('action.add') }}
+ {{ t('action.add') }}
diff --git a/yudao-ui-admin-vue3/src/views/system/oauth2/token/index.vue b/yudao-ui-admin-vue3/src/views/system/oauth2/token/index.vue
index 2e198d2ba..ba96f8314 100644
--- a/yudao-ui-admin-vue3/src/views/system/oauth2/token/index.vue
+++ b/yudao-ui-admin-vue3/src/views/system/oauth2/token/index.vue
@@ -9,7 +9,7 @@ import * as TokenApi from '@/api/system/oauth2/token'
import { ref } from 'vue'
const { t } = useI18n() // 国际化
// ========== 列表相关 ==========
-const { register, tableObject, methods } = useTable, OAuth2TokenVo>({
+const { register, tableObject, methods } = useTable({
getListApi: TokenApi.getAccessTokenPageApi,
delListApi: TokenApi.deleteAccessTokenApi
})
diff --git a/yudao-ui-admin-vue3/src/views/system/operatelog/index.vue b/yudao-ui-admin-vue3/src/views/system/operatelog/index.vue
index acfdb3c8e..f4218689c 100644
--- a/yudao-ui-admin-vue3/src/views/system/operatelog/index.vue
+++ b/yudao-ui-admin-vue3/src/views/system/operatelog/index.vue
@@ -1,15 +1,15 @@