Browse Source

告警默认查询 new

dev
巴林闲侠 2 years ago
parent
commit
603efef6f2
  1. 3
      web/client/src/sections/problem/components/tableData.jsx

3
web/client/src/sections/problem/components/tableData.jsx

@ -17,7 +17,7 @@ const TableData = ({ route, dispatch, actions, collectData, setSetup, exhibition
const [checkAll, setCheckAll] = useState(true) //
const api = useRef();
const search = useRef({
state: '', keywordTarget: '', keyword: '', kindId: '', groupUnitId: '', statusId: '',
state: 'new', keywordTarget: '', keyword: '', kindId: '', groupUnitId: '', statusId: '',
errType: '', confirmState: '', onlineState: '', sustainTimeStart: '', sustainTimeEnd: ''
})
const kindName = useRef()
@ -285,6 +285,7 @@ const TableData = ({ route, dispatch, actions, collectData, setSetup, exhibition
field={v.field}
key={v.field}
maxLength="10"
initValue={v.field == 'state' ? 'new' : undefined}
style={{ width: 116, marginRight: 16, color: "#F9F9F9", }}
placeholder="全部"
filter

Loading…
Cancel
Save