Showing
2 changed files
with
3 additions
and
10 deletions
@@ -339,8 +339,6 @@ const ParameterModal: React.FC<ParameterSettingProps> = (props) => { | @@ -339,8 +339,6 @@ const ParameterModal: React.FC<ParameterSettingProps> = (props) => { | ||
339 | render: (text, record) => { | 339 | render: (text, record) => { |
340 | const isShowAdd = (record && checkShowAdd(record)); | 340 | const isShowAdd = (record && checkShowAdd(record)); |
341 | const isShowTree = (record && checkShowTree(record)); | 341 | const isShowTree = (record && checkShowTree(record)); |
342 | - console.log('isShowTree', isShowTree) | ||
343 | - console.log('isShowAdd', isShowAdd) | ||
344 | return ( | 342 | return ( |
345 | <Space size="small"> | 343 | <Space size="small"> |
346 | {isShowAdd && ( | 344 | {isShowAdd && ( |
@@ -598,7 +596,7 @@ const ParameterModal: React.FC<ParameterSettingProps> = (props) => { | @@ -598,7 +596,7 @@ const ParameterModal: React.FC<ParameterSettingProps> = (props) => { | ||
598 | <DatePicker | 596 | <DatePicker |
599 | defaultValue={ | 597 | defaultValue={ |
600 | qxProps?.min | 598 | qxProps?.min |
601 | - ? moment(qxProps.min, formatEnum[qxProps?.format]) | 599 | + ? moment(qxProps.min) |
602 | : undefined | 600 | : undefined |
603 | } | 601 | } |
604 | format={formatEnum[qxProps?.format]} | 602 | format={formatEnum[qxProps?.format]} |
@@ -613,8 +611,8 @@ const ParameterModal: React.FC<ParameterSettingProps> = (props) => { | @@ -613,8 +611,8 @@ const ParameterModal: React.FC<ParameterSettingProps> = (props) => { | ||
613 | ~ | 611 | ~ |
614 | <DatePicker | 612 | <DatePicker |
615 | defaultValue={ | 613 | defaultValue={ |
616 | - qxProps?.max | ||
617 | - ? moment(qxProps.max, formatEnum[qxProps?.format]) | 614 | + qxProps?.min |
615 | + ? moment(qxProps.max) | ||
618 | : undefined | 616 | : undefined |
619 | } | 617 | } |
620 | format={formatEnum[qxProps?.format]} | 618 | format={formatEnum[qxProps?.format]} |
@@ -276,8 +276,6 @@ export const QxParameterSetting: React.FC<ParameterSettingProps> = (props) => { | @@ -276,8 +276,6 @@ export const QxParameterSetting: React.FC<ParameterSettingProps> = (props) => { | ||
276 | 276 | ||
277 | const handleCancel = (num: number) => { | 277 | const handleCancel = (num: number) => { |
278 | setInputKey(num); | 278 | setInputKey(num); |
279 | - console.log('_cancel', num); | ||
280 | - console.log('inputkey', inputKey); | ||
281 | setVisible(false); | 279 | setVisible(false); |
282 | }; | 280 | }; |
283 | 281 | ||
@@ -505,7 +503,6 @@ export const QxParameterSetting: React.FC<ParameterSettingProps> = (props) => { | @@ -505,7 +503,6 @@ export const QxParameterSetting: React.FC<ParameterSettingProps> = (props) => { | ||
505 | e.persist(); | 503 | e.persist(); |
506 | const parentNode = e.currentTarget.parentNode.parentNode.parentNode; | 504 | const parentNode = e.currentTarget.parentNode.parentNode.parentNode; |
507 | const currentNode = e.target.parentNode; | 505 | const currentNode = e.target.parentNode; |
508 | - console.log('currentNode', currentNode); | ||
509 | if (!!parentNode) { | 506 | if (!!parentNode) { |
510 | parentNode.style.backgroundColor = ''; | 507 | parentNode.style.backgroundColor = ''; |
511 | } | 508 | } |
@@ -534,8 +531,6 @@ export const QxParameterSetting: React.FC<ParameterSettingProps> = (props) => { | @@ -534,8 +531,6 @@ export const QxParameterSetting: React.FC<ParameterSettingProps> = (props) => { | ||
534 | if (!val || _.isEmpty(val)) { | 531 | if (!val || _.isEmpty(val)) { |
535 | return; | 532 | return; |
536 | } | 533 | } |
537 | - console.log('val', val) | ||
538 | - console.log('data', data) | ||
539 | const _newData = cloneDeep(treeData); | 534 | const _newData = cloneDeep(treeData); |
540 | const _qxProps = {}; | 535 | const _qxProps = {}; |
541 | 536 |