Commit 35fd8762 authored by KeYong's avatar KeYong

修改电力设备查询bug

parent 2fa6c57a
...@@ -166,6 +166,10 @@ class EquipmentFireEquipmentAdd extends Component { ...@@ -166,6 +166,10 @@ class EquipmentFireEquipmentAdd extends Component {
} }
getFireEquipmentListData = (param) => { getFireEquipmentListData = (param) => {
this.setState({
dataList: [],
totalCount: 0
});
const { searchParam } = this.state; const { searchParam } = this.state;
if (param.current != null) { if (param.current != null) {
// 前端的current 即后端的pageNumber // 前端的current 即后端的pageNumber
...@@ -263,7 +267,7 @@ class EquipmentFireEquipmentAdd extends Component { ...@@ -263,7 +267,7 @@ class EquipmentFireEquipmentAdd extends Component {
onChange={(value, b) => this.onSelectChange(value)} onChange={(value, b) => this.onSelectChange(value)}
/> />
{/* <span>名称:</span> */} {/* <span>名称:</span> */}
<Input value={name} onChange={e => this.onChange('name', e.target.value)} placeholder='按名称搜索' /> <Input value={name} onChange={e => this.onChange('name', e.target.value)} placeholder='按名称或编码搜索' />
</div> </div>
</div> </div>
<AmosGridTable <AmosGridTable
......
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