Commit 453ee33e by zhaochengxiang

模型去掉状态过滤

parent 4e1c3ea3
...@@ -655,36 +655,14 @@ class Model extends React.Component { ...@@ -655,36 +655,14 @@ class Model extends React.Component {
</Space> </Space>
</Space> </Space>
<Space> <Space>
{ <InputDebounce
(currentView==='dir'||keyword!=='') && <Space> placeholder="通过模型名称全文搜索"
<Select allowClear
style={{ width: 120 }} value={keyword}
onChange={(value) => { onChange={(value) => { this.onSearchInputChange(value); }}
this.onModelStateChange(value); style={{ width: inputWidth, marginLeft: 'auto' }}
}} />
loading={loadingStates}
value={loadingStates? '': currentModelState}
>
{
(modelStates||[]).map(item => {
return (
<Option key={item.id} value={item.id}>{item.cnName||''}</Option>
);
})
}
</Select>
</Space>
}
<Space>
<InputDebounce
placeholder="通过模型名称全文搜索"
allowClear
value={keyword}
onChange={(value) => { this.onSearchInputChange(value); }}
style={{ width: inputWidth, marginLeft: 'auto' }}
/>
</Space>
<Button onClick={this.onSearchPropertiesClick}>筛选</Button> <Button onClick={this.onSearchPropertiesClick}>筛选</Button>
</Space> </Space>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment