|
...
|
...
|
@@ -23,6 +23,7 @@ import type { ModalProps } from 'antd'; |
|
23
|
23
|
import {QxBaseIcon} from '@qx/common';
|
|
24
|
24
|
|
|
25
|
25
|
import './styles.less';
|
|
|
26
|
+import '../style/reset.less'
|
|
26
|
27
|
|
|
27
|
28
|
const { Title, Text } = Typography;
|
|
28
|
29
|
/**
|
|
...
|
...
|
@@ -99,11 +100,11 @@ export const QxAppSelector: React.FC<QxAppSelectProps> = ({ |
|
99
|
100
|
return;
|
|
100
|
101
|
}
|
|
101
|
102
|
if (props?.haveChildren) {
|
|
102
|
|
- getFunList(request, targetItem.code, { hasChild: true }).then((re) => {
|
|
|
103
|
+ getFunList(request, targetItem.code, { hasChild: true }).then((re: any) => {
|
|
103
|
104
|
setFormList(re);
|
|
104
|
105
|
});
|
|
105
|
106
|
} else {
|
|
106
|
|
- getFunList(request, targetItem.code).then((re) => {
|
|
|
107
|
+ getFunList(request, targetItem.code).then((re: any) => {
|
|
107
|
108
|
setFormList(re);
|
|
108
|
109
|
});
|
|
109
|
110
|
}
|
|
...
|
...
|
@@ -318,7 +319,7 @@ export const QxAppSelector: React.FC<QxAppSelectProps> = ({ |
|
318
|
319
|
getPopupContainer={(triggerNode) => triggerNode}
|
|
319
|
320
|
>
|
|
320
|
321
|
<div
|
|
321
|
|
- className={`ant-input qx-fr-input--fake select-source`}
|
|
|
322
|
+ className={`ant-input qx-fr-input--fake select-source css-dev-only-do-not-override-nnuwmp`}
|
|
322
|
323
|
style={{
|
|
323
|
324
|
height: '36px',
|
|
324
|
325
|
}}
|
|
...
|
...
|
@@ -332,6 +333,7 @@ export const QxAppSelector: React.FC<QxAppSelectProps> = ({ |
|
332
|
333
|
</div>
|
|
333
|
334
|
<DownOutlined />
|
|
334
|
335
|
</div>
|
|
|
336
|
+ {/*<Input/>*/}
|
|
335
|
337
|
</Popover>
|
|
336
|
338
|
</div>
|
|
337
|
339
|
</>
|
|
...
|
...
|
@@ -406,6 +408,13 @@ export const QxAppSelector: React.FC<QxAppSelectProps> = ({ |
|
406
|
408
|
<Modal
|
|
407
|
409
|
bodyStyle={{ padding: 0 }}
|
|
408
|
410
|
className={'qx-query-designer'}
|
|
|
411
|
+ wrapClassName={'qx-common__modal qx-app-selector__modal'}
|
|
|
412
|
+ closeIcon={
|
|
|
413
|
+ <QxBaseIcon
|
|
|
414
|
+ className={'qx-common__modal--close'}
|
|
|
415
|
+ type={'icon-close'}
|
|
|
416
|
+ />
|
|
|
417
|
+ }
|
|
409
|
418
|
keyboard={false}
|
|
410
|
419
|
maskClosable={false}
|
|
411
|
420
|
{...props.modalProps}
|
...
|
...
|
|