From e79698c19f41adc4471352bc3208b13e421a3c8e Mon Sep 17 00:00:00 2001 From: geht <2947093423@qq.com> Date: Tue, 30 Jun 2026 17:52:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=94=A8=E6=88=B7=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E8=A1=A8=E5=88=97=E9=85=8D=E7=BD=AE=EF=BC=8C=E7=A7=BB?= =?UTF-8?q?=E9=99=A4=E4=B8=8D=E5=BF=85=E8=A6=81=E7=9A=84=E5=8F=AF=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/system/user/user.data.ts | 40 +++++-------------- 1 file changed, 10 insertions(+), 30 deletions(-) diff --git a/jeecgboot-vue3/src/views/system/user/user.data.ts b/jeecgboot-vue3/src/views/system/user/user.data.ts index d222ac72..8561c691 100644 --- a/jeecgboot-vue3/src/views/system/user/user.data.ts +++ b/jeecgboot-vue3/src/views/system/user/user.data.ts @@ -11,15 +11,11 @@ export const columns: BasicColumn[] = [ { title: '用户账号', dataIndex: 'username', - width: 120, - resizable: true, - }, + width: 120, }, { title: '用户姓名', dataIndex: 'realname', - width: 100, - resizable: true, - }, + width: 100, }, /* { title: '头像', dataIndex: 'avatar', @@ -29,9 +25,7 @@ export const columns: BasicColumn[] = [ { title: '性别', dataIndex: 'sex', - width: 80, - resizable: true, - sorter: true, + width: 80, sorter: true, customRender: ({ text }) => { return render.renderDict(text, 'sex'); }, @@ -44,9 +38,7 @@ export const columns: BasicColumn[] = [ { title: '手机号', dataIndex: 'phone', - width: 100, - resizable: true, - customRender:( { record, text })=>{ + width: 100, customRender:( { record, text })=>{ if(record.izHideContact && record.izHideContact === '1'){ return '/'; } @@ -55,9 +47,7 @@ export const columns: BasicColumn[] = [ }, { title: '部门', - width: 150, - resizable: true, - dataIndex: 'belongDepIds', + width: 150, dataIndex: 'belongDepIds', customRender:( { record, text })=>{ if(!text){ return ''; @@ -67,9 +57,7 @@ export const columns: BasicColumn[] = [ }, { title: '负责部门', - width: 150, - resizable: true, - dataIndex: 'departIds', + width: 150, dataIndex: 'departIds', customRender:( { record, text })=>{ if(!text){ return ''; @@ -79,18 +67,14 @@ export const columns: BasicColumn[] = [ }, { title: '主岗位', - width: 150, - resizable: true, - dataIndex: 'mainDepPostId', + width: 150, dataIndex: 'mainDepPostId', customRender: ({ record, text })=>{ return getDepartName(getDepartPathName(record.mainDepPostId_dictText,text,false)); } }, { title: '兼职岗位', - width: 150, - resizable: true, - dataIndex: 'otherDepPostId', + width: 150, dataIndex: 'otherDepPostId', customRender:({ record, text })=>{ if(!text){ return ''; @@ -101,16 +85,12 @@ export const columns: BasicColumn[] = [ { title: '状态', dataIndex: 'status_dictText', - width: 80, - resizable: true, - }, + width: 80, }, //update-begin---author:GHT ---date:2026-06-08 for:【XSLMES-20260608】新增钉钉ID列----------- { title: '钉钉ID', dataIndex: 'dingUserId', - width: 120, - resizable: true, - }, + width: 120, }, //update-end---author:GHT ---date:2026-06-08 for:【XSLMES-20260608】新增钉钉ID列----------- ];