From dde861c0ae8f1fd20a8219226ecbffbd02b0a895 Mon Sep 17 00:00:00 2001 From: thinkgem Date: Thu, 17 Jun 2021 16:11:13 +0800 Subject: [PATCH] =?UTF-8?q?DataGrid=E6=96=B0=E5=A2=9E=E5=8F=B3=E4=BE=A7?= =?UTF-8?q?=E9=94=81=E5=AE=9A=E5=88=97=EF=BC=9A=E6=94=AF=E6=8C=81=E7=9A=84?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E5=88=97=E7=9A=84=E6=9B=B4=E5=A4=9A=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E7=BB=84=EF=BC=9B=E6=94=AF=E6=8C=81=E5=B0=8F=E5=B1=8F?= =?UTF-8?q?=E5=B9=95=E6=88=96=E5=A4=A7=E5=B1=8F=E5=B9=95=E6=83=85=E5=86=B5?= =?UTF-8?q?=E4=B8=8B=E8=87=AA=E5=8A=A8=E9=9A=90=E8=97=8F=E9=94=81=E5=AE=9A?= =?UTF-8?q?=E5=88=97=EF=BC=9B=E6=94=AF=E6=8C=81=E5=A4=9A=E8=A1=A8=E5=A4=B4?= =?UTF-8?q?=E6=83=85=E5=86=B5=E4=B8=8B=E7=9A=84=E9=94=81=E5=AE=9A=E5=88=97?= =?UTF-8?q?=EF=BC=9B=E6=94=AF=E6=8C=81=E5=88=86=E7=BB=84=E8=A1=A8=E7=9A=84?= =?UTF-8?q?=E5=B1=95=E5=BC=80=E5=92=8C=E6=8A=98=E5=8F=A0=E9=94=81=E5=AE=9A?= =?UTF-8?q?=E5=88=97=EF=BC=9B=E5=AE=8C=E6=88=90ie9+=E5=8F=8A=E5=85=B6?= =?UTF-8?q?=E4=BB=96=E6=89=80=E6=9C=89=E6=B5=8F=E8=A7=88=E5=99=A8=E7=9A=84?= =?UTF-8?q?=E9=94=81=E5=AE=9A=E5=88=97=E6=B5=8B=E8=AF=95=EF=BC=9B=E5=88=97?= =?UTF-8?q?=E5=90=8D=E4=B8=BAactions=E7=9A=84=E5=88=97=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E4=B8=BA=E9=94=81=E5=AE=9A=E5=88=97=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/views/modules/sys/user/empUserList.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/modules/core/src/main/resources/views/modules/sys/user/empUserList.html b/modules/core/src/main/resources/views/modules/sys/user/empUserList.html index aa3e5bcb..0b4f2e4c 100644 --- a/modules/core/src/main/resources/views/modules/sys/user/empUserList.html +++ b/modules/core/src/main/resources/views/modules/sys/user/empUserList.html @@ -123,18 +123,18 @@ $('#dataGrid').dataGrid({ searchForm: $("#searchForm"), columnModel: [ - {header:'${text("登录账号")}', name:'loginCode', index:'a.login_code', width:120, align:"center", frozen:true, formatter: function(val, obj, row, act){ + {header:'${text("登录账号")}', name:'loginCode', index:'a.login_code', width:125, align:"center", frozen:true, formatter: function(val, obj, row, act){ return ''+(val||row.id)+''; }}, - {header:'${text("用户昵称")}', name:'userName', index:'a.user_name', width:120, align:"center"}, - {header:'${text("员工姓名")}', name:'refName', index:'a.ref_name', width:120, align:"center"}, + {header:'${text("用户昵称")}', name:'userName', index:'a.user_name', width:125, align:"center"}, + {header:'${text("员工姓名")}', name:'refName', index:'a.ref_name', width:125, align:"center"}, {header:'${text("归属机构")}', name:'employee.office.officeName', index:'o.office_name', width:135, align:"center"}, {header:'${text("归属公司")}', name:'employee.company.companyName', index:'c.company_name', width:135, align:"center"}, {header:'${text("电子邮箱")}', name:'email', index:'a.email', width:120, align:"center"}, {header:'${text("手机号码")}', name:'mobile', index:'a.mobile', width:120, align:"center"}, {header:'${text("办公电话")}', name:'phone', index:'a.phone', width:120, align:"center"}, - {header:'${text("更新时间")}', name:'updateDate', index:'a.update_date', width:120, align:"center", frozen:true}, - {header:'${text("状态")}', name:'status', index:'a.status', width:80, align:"center", frozen:true, formatter: function(val, obj, row, act){ + {header:'${text("更新时间")}', name:'updateDate', index:'a.update_date', width:125, align:"center", frozen:true}, + {header:'${text("状态")}', name:'status', index:'a.status', width:60, align:"center", frozen:true, formatter: function(val, obj, row, act){ return js.getDictLabel(${@DictUtils.getDictListJson('sys_status')}, val, '未知', true); }}, {header:'${text("操作")}', name:'actions', width:120, formatter: function(val, obj, row, act){ @@ -169,6 +169,7 @@ $('#dataGrid').dataGrid({ return actions.join(''); }} ], + frozenCols: true, // 加载成功后执行事件 ajaxSuccess: function(data){