diff --git a/web/client/src/sections/fillion/components/operationalTable.js b/web/client/src/sections/fillion/components/operationalTable.js index 17cae8d8..a26fccf1 100644 --- a/web/client/src/sections/fillion/components/operationalTable.js +++ b/web/client/src/sections/fillion/components/operationalTable.js @@ -22,7 +22,8 @@ const OperaTionalTable = (props) => { const [recortd, setRecortd] = useState() const [rewkeys, setRewkeys] = useState('keyun') const [delet, setDelet] = useState() - +const [differentiate,setDifferentiate]=useState() +const [genre,setGenre]=useState() const ref = useRef() useEffect(() => { ref.current.reload() }, [rewkeys, activeKey, delet]) //打开弹窗 @@ -1924,7 +1925,9 @@ const OperaTionalTable = (props) => { key: 'tab3', label: { { - setRewkeys('chuzu') + setDifferentiate('vehicle') + setRewkeys('chuzu') + setGenre('出租车') } }}>出租车{activeKey === 'tab3'}, @@ -1933,7 +1936,9 @@ const OperaTionalTable = (props) => { key: 'tab4', label: { { - setRewkeys('weihuo') + setDifferentiate('vehicle') + setGenre('危货') + setRewkeys('weihuo') } }}>危险货运{activeKey === 'tab4'}, @@ -1967,6 +1972,7 @@ const OperaTionalTable = (props) => { dataSource={counts || []} request={async (params, sort, filter) => { + console.log(rewkeys) if (rewkeys == 'keyun') { const query = {} setRowSelected([]);