Browse Source

治超导出问题

dev
xingyongchun 2 years ago
parent
commit
8bdb90a165
  1. 11
      web/client/src/sections/fillion/components/inforTable.js

11
web/client/src/sections/fillion/components/inforTable.js

@ -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
>
导出

Loading…
Cancel
Save