|
|
@ -59,6 +59,7 @@ function Management(props) { |
|
|
|
key: 'build_time', |
|
|
|
align: 'center', |
|
|
|
defaultSortOrder: 'descend', |
|
|
|
sortOrder:'descend' , |
|
|
|
sorter: { |
|
|
|
compare: (a, b) => { |
|
|
|
const one = moment(a.build_time).format('YYYYMMDD') |
|
|
@ -109,17 +110,12 @@ function Management(props) { |
|
|
|
dataIndex: 'name_people', |
|
|
|
key: 'name_people', |
|
|
|
ellipsis: true, |
|
|
|
width: 300, |
|
|
|
hideInSearch: true, |
|
|
|
width: 100, |
|
|
|
render: (dom, record) => { |
|
|
|
return record.name_people; |
|
|
|
}, |
|
|
|
fieldProps: { |
|
|
|
onChange: (value, cs) => { |
|
|
|
setName(value.target.value); |
|
|
|
}, |
|
|
|
placeholder: '请输入人员名称进行搜索', |
|
|
|
getPopupContainer: (triggerNode) => triggerNode.parentNode, |
|
|
|
}, |
|
|
|
|
|
|
|
}, { |
|
|
|
title: '岗位', |
|
|
|
key: 'post_people', |
|
|
@ -222,6 +218,21 @@ function Management(props) { |
|
|
|
return <div>{record.ssd=='undefined'?'--' :record.ssd}</div>; |
|
|
|
}, |
|
|
|
}, |
|
|
|
{title: "关键字搜索", |
|
|
|
key: "direction", |
|
|
|
hideInTable: true, |
|
|
|
dataIndex: "direction", |
|
|
|
order: 6, |
|
|
|
fieldProps: { |
|
|
|
onChange: (value, cs) => { |
|
|
|
setName(value.target.value); |
|
|
|
}, |
|
|
|
placeholder: '请输入关键字进行搜索', |
|
|
|
getPopupContainer: (triggerNode) => triggerNode.parentNode, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
]; |
|
|
|
|
|
|
|
const waitCol = [ |
|
|
|