!40 czh-20260615-增加选人组件排序;增加用户管理中设置排序和ip

Merge pull request !40 from 陈志浩/feature/user-sortno-ip-sort
This commit is contained in:
陈志浩
2026-06-15 07:56:49 +00:00
committed by Gitee
5 changed files with 56 additions and 14 deletions
@@ -101,7 +101,7 @@
width: 120,
},
beforeFetch: (params) => {
return Object.assign({ column: 'createTime', order: 'desc' }, params);
return Object.assign({ column: 'sortno', order: 'asc' }, params);
},
},
exportConfig: {
@@ -64,6 +64,17 @@ export const columns: BasicColumn[] = [
width: 150,
dataIndex: 'isSpecial_dictText',
},
{
title: '排序号',
dataIndex: 'sortno',
width: 80,
sorter: true,
},
{
title: '用户IP',
dataIndex: 'ip',
width: 150,
},
];
export const recycleColumns: BasicColumn[] = [
@@ -137,9 +148,13 @@ export const searchFormSchema: FormSchema[] = [
//colProps: { span: 6 },
{
label: '密级',
field: 'phone',
component: 'Input',
//colProps: { span: 6 },
field: 'userSecurityLevel',
component: 'JDictSelectTag',
componentProps: {
dictCode: 'user_security_level',
placeholder: '请选择密级',
stringToNumber: true,
},
},
{
label: '手机号码',
@@ -147,6 +162,16 @@ export const searchFormSchema: FormSchema[] = [
component: 'Input',
//colProps: { span: 6 },
},
{
label: '排序号',
field: 'sortno',
component: 'InputNumber',
},
{
label: '用户IP',
field: 'ip',
component: 'Input',
},
];
export const formSchema: FormSchema[] = [
@@ -375,6 +400,23 @@ export const formSchema: FormSchema[] = [
stringToNumber: true,
},
},
{
label: '排序号',
field: 'sortno',
component: 'InputNumber',
componentProps: {
placeholder: '请输入排序号',
style: { width: '100%' },
},
},
{
label: '用户IP',
field: 'ip',
component: 'Input',
componentProps: {
placeholder: '请输入用户IP',
},
},
];
export const formPasswordSchema: FormSchema[] = [