|
|
|
@ -6,9 +6,17 @@ import { getWeekMonthQuarterYear } from '/src/utils'; |
|
|
|
|
//列表数据 |
|
|
|
|
export const columns: BasicColumn[] = [ |
|
|
|
|
{ |
|
|
|
|
title: '用户名', |
|
|
|
|
title: '姓名', |
|
|
|
|
align: "center", |
|
|
|
|
dataIndex: 'seusername' |
|
|
|
|
dataIndex: 'realname' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
title: '性别', |
|
|
|
|
align: "center", |
|
|
|
|
dataIndex: 'sex', |
|
|
|
|
customRender:({text}) => { |
|
|
|
|
return render.renderSwitch(text, [{text:'男',value:'1'},{text:'女',value:'2'}]); |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
title: '毕业院校', |
|
|
|
@ -21,7 +29,7 @@ export const columns: BasicColumn[] = [ |
|
|
|
|
dataIndex: 'major' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
title: '研究方向', |
|
|
|
|
title: '研究领域', |
|
|
|
|
align: "center", |
|
|
|
|
dataIndex: 'directioncal_dictText' |
|
|
|
|
}, |
|
|
|
@ -33,12 +41,12 @@ export const columns: BasicColumn[] = [ |
|
|
|
|
{ |
|
|
|
|
title: '学历', |
|
|
|
|
align: "center", |
|
|
|
|
dataIndex: 'educationcal' |
|
|
|
|
dataIndex: 'educationcal_dictText' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
title: '专家简介', |
|
|
|
|
title: '职称', |
|
|
|
|
align: "center", |
|
|
|
|
dataIndex: 'expinfo' |
|
|
|
|
dataIndex: 'zc_dictText' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
title: '部门审核', |
|
|
|
@ -54,13 +62,11 @@ export const columns: BasicColumn[] = [ |
|
|
|
|
|
|
|
|
|
// 高级查询数据 |
|
|
|
|
export const superQuerySchema = { |
|
|
|
|
seusername: {title: '用户名',order: 0,view: 'text', type: 'string',}, |
|
|
|
|
colleges: {title: '毕业院校',order: 1,view: 'text', type: 'string',}, |
|
|
|
|
major: {title: '专业',order: 2,view: 'text', type: 'string',}, |
|
|
|
|
directioncal: {title: '研究方向',order: 3,view: 'text', type: 'string',}, |
|
|
|
|
directioncal: {title: '研究领域',order: 3,view: 'text', type: 'string',}, |
|
|
|
|
research: {title: '研究类型',order: 4,view: 'text', type: 'string',}, |
|
|
|
|
educationcal: {title: '学历',order: 5,view: 'text', type: 'string',}, |
|
|
|
|
expinfo: {title: '专家简介',order: 6,view: 'text', type: 'string',}, |
|
|
|
|
compopen: {title: '部门审核',order: 7,view: 'switch', type: 'string',}, |
|
|
|
|
adminopen: {title: '管理员审核',order: 8,view: 'switch', type: 'string',}, |
|
|
|
|
}; |
|
|
|
|