From 0355f89ca88519a1a69b2e2272f08b36ddeebf36 Mon Sep 17 00:00:00 2001 From: zjl Date: Fri, 13 Dec 2024 15:36:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=9B=BA=E5=AE=9A=E6=A8=A1?= =?UTF-8?q?=E5=9D=97ID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/content/layoutItem/layout/article/columns.ts | 6 ++++++ src/views/content/layoutItem/layout/notice/columns.ts | 6 ++++++ src/views/data/dict/columns.ts | 4 ++++ src/views/data/notice/columns.ts | 3 ++- src/views/data/param/columns.ts | 3 ++- src/views/system/level/columns.ts | 3 ++- src/views/system/logger/loginLog/columns.ts | 1 + src/views/system/logger/operLog/columns.ts | 1 + src/views/system/position/columns.ts | 3 ++- src/views/system/role/columns.ts | 3 ++- src/views/system/tenant/columns.ts | 3 ++- src/views/system/user/columns.ts | 3 ++- 12 files changed, 32 insertions(+), 7 deletions(-) diff --git a/src/views/content/layoutItem/layout/article/columns.ts b/src/views/content/layoutItem/layout/article/columns.ts index 0ea50c5..dbcf117 100644 --- a/src/views/content/layoutItem/layout/article/columns.ts +++ b/src/views/content/layoutItem/layout/article/columns.ts @@ -2,6 +2,12 @@ import { h } from 'vue'; import { ElTag } from 'element-plus'; export const columns = [ + { + label: 'ID', + prop: 'id', + fixed: 'left', + width: 50, + }, { label: '文章标题', prop: 'title', diff --git a/src/views/content/layoutItem/layout/notice/columns.ts b/src/views/content/layoutItem/layout/notice/columns.ts index 0752500..1cc9975 100644 --- a/src/views/content/layoutItem/layout/notice/columns.ts +++ b/src/views/content/layoutItem/layout/notice/columns.ts @@ -2,6 +2,12 @@ import { h } from 'vue'; import { ElTag } from 'element-plus'; export const columns2 = [ + { + label: 'ID', + prop: 'id', + fixed: 'left', + width: 50, + }, { label: '通知标题', prop: 'title', diff --git a/src/views/data/dict/columns.ts b/src/views/data/dict/columns.ts index 1f69475..d879bd2 100644 --- a/src/views/data/dict/columns.ts +++ b/src/views/data/dict/columns.ts @@ -5,13 +5,17 @@ export const columns = [ { label: 'ID', prop: 'id', + fixed: 'left', + width: 50, }, { label: '字典名称', prop: 'name', + width: 100, }, { label: '字典编码', prop: 'code', + width: 100, }, ]; diff --git a/src/views/data/notice/columns.ts b/src/views/data/notice/columns.ts index 4dbfae7..1f723dd 100644 --- a/src/views/data/notice/columns.ts +++ b/src/views/data/notice/columns.ts @@ -8,7 +8,8 @@ export const columns = [ { label: 'ID', prop: 'id', - width: 100, + fixed: 'left', + width: 50, }, { label: '通知标题', diff --git a/src/views/data/param/columns.ts b/src/views/data/param/columns.ts index 4ff94a2..56047c8 100644 --- a/src/views/data/param/columns.ts +++ b/src/views/data/param/columns.ts @@ -8,7 +8,8 @@ export const columns = [ { label: 'ID', prop: 'id', - width: 100, + fixed: 'left', + width: 50, }, { label: '参数名称', diff --git a/src/views/system/level/columns.ts b/src/views/system/level/columns.ts index e759363..6f3491f 100644 --- a/src/views/system/level/columns.ts +++ b/src/views/system/level/columns.ts @@ -8,7 +8,8 @@ export const columns = [ { label: 'ID', prop: 'id', - width: 80, + fixed: 'left', + width: 50, }, { label: '职级名称', diff --git a/src/views/system/logger/loginLog/columns.ts b/src/views/system/logger/loginLog/columns.ts index d5c9fa2..089c962 100644 --- a/src/views/system/logger/loginLog/columns.ts +++ b/src/views/system/logger/loginLog/columns.ts @@ -8,6 +8,7 @@ export const columns = [ { label: 'ID', prop: 'id', + fixed: 'left', width: 100, }, { diff --git a/src/views/system/logger/operLog/columns.ts b/src/views/system/logger/operLog/columns.ts index f20d393..5fcbb86 100644 --- a/src/views/system/logger/operLog/columns.ts +++ b/src/views/system/logger/operLog/columns.ts @@ -8,6 +8,7 @@ export const columns = [ { label: 'ID', prop: 'id', + fixed: 'left', width: 100, }, { diff --git a/src/views/system/position/columns.ts b/src/views/system/position/columns.ts index de83088..41cb900 100644 --- a/src/views/system/position/columns.ts +++ b/src/views/system/position/columns.ts @@ -8,7 +8,8 @@ export const columns = [ { label: 'ID', prop: 'id', - width: 100, + fixed: 'left', + width: 50, }, { label: '岗位名称', diff --git a/src/views/system/role/columns.ts b/src/views/system/role/columns.ts index e46e53f..4f7a1ca 100644 --- a/src/views/system/role/columns.ts +++ b/src/views/system/role/columns.ts @@ -8,7 +8,8 @@ export const columns = [ { label: 'ID', prop: 'id', - width: 100, + fixed: 'left', + width: 50, }, { label: '角色名称', diff --git a/src/views/system/tenant/columns.ts b/src/views/system/tenant/columns.ts index bcbcaf9..582298c 100644 --- a/src/views/system/tenant/columns.ts +++ b/src/views/system/tenant/columns.ts @@ -8,7 +8,8 @@ export const columns = [ { label: 'ID', prop: 'id', - width: 100, + fixed: 'left', + width: 50, }, { label: '租户名称', diff --git a/src/views/system/user/columns.ts b/src/views/system/user/columns.ts index 6acbfc0..1bc06f9 100644 --- a/src/views/system/user/columns.ts +++ b/src/views/system/user/columns.ts @@ -8,7 +8,8 @@ export const columns = [ { label: 'ID', prop: 'id', - width: 100, + fixed: 'left', + width: 50, }, { label: '登录账号',