Commit 39acf00e by zhaochengxiang

项目视角增加状态过滤

parent 838a88a7
...@@ -861,6 +861,18 @@ class Model extends React.Component { ...@@ -861,6 +861,18 @@ class Model extends React.Component {
} }
{ {
currentView === 'branch' && <Select
placeholder='请选择状态'
style={{ width: 150 }}
value={this.state.currentModelState}
onChange={(val) => { this.onModelStateChange(val) }}
allowClear
>
{ (this.state.modelStates??[]).map(item => (<Select.Option key={item.id} value={item.id}>{item.cnName}</Select.Option>)) }
</Select>
}
{
currentView !== 'branch' && <TagSelect currentView !== 'branch' && <TagSelect
options={this.state.tagSelectOptions} options={this.state.tagSelectOptions}
onChange={(val) => { onChange={(val) => {
......
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