1 | import React, {Component} from 'react'
|
2 | import {getBtnData, getSelectedData} from './constant';
|
3 | import SelectedComponent from '@beisen-platform/selected-component';
|
4 | import BaseButton from '@beisen-platform/base-button';
|
5 |
|
6 | export default class Search_Filters extends Component {
|
7 | render() {
|
8 | const {isSearchAutoTreeEdit, DropDownData, showDropDown, isPanelShow = true} = this.props;
|
9 | if (isSearchAutoTreeEdit && showDropDown) {
|
10 | return (
|
11 | <div className={`auto-tree__panel-bottom ${isPanelShow ? 'border-top-1px':''}`}>
|
12 | <div className='selectedComponent' >
|
13 | <SelectedComponent {...getSelectedData(this.props.changeFilter,DropDownData)} />
|
14 | <div className="submitBtn">
|
15 | <BaseButton {...getBtnData("default","small","确定",this.props.handelSubmit)} />
|
16 | </div>
|
17 | </div>
|
18 | </div>
|
19 | )
|
20 | } else {
|
21 | return null
|
22 | }
|
23 | }
|
24 | } |
\ | No newline at end of file |