|
|
@ -197,7 +197,7 @@ const InForTable = (props) => { |
|
|
|
dataIndex: 'createdAt', |
|
|
|
valueType: 'date', |
|
|
|
render: (dom, record) => { |
|
|
|
return record.testTime?.slice(0,10) |
|
|
|
return record.testTime?.slice(0, 10) |
|
|
|
}, |
|
|
|
fieldProps: { |
|
|
|
onChange: (value, cs) => { |
|
|
@ -447,10 +447,13 @@ const InForTable = (props) => { |
|
|
|
defaultCollapsed: false, |
|
|
|
optionRender: (searchConfig, formProps, dom) => [ |
|
|
|
...dom.reverse(), |
|
|
|
<Popconfirm title="确认导出?" onConfirm={() => { |
|
|
|
<Popconfirm title={rowSelected.length === 0 ? '请勾选内容' : "确认导出?"} |
|
|
|
showCancel={rowSelected.length === 0 ? false : true} |
|
|
|
onConfirm={() => { |
|
|
|
// console.log(rowSelected)
|
|
|
|
|
|
|
|
props.exports(rowSelected, counts) }}> |
|
|
|
rowSelected.length === 0 ? null : props.exports(rowSelected, counts) |
|
|
|
}} |
|
|
|
> |
|
|
|
<Button |
|
|
|
> |
|
|
|
导出 |
|
|
|