diff --git a/web/client/src/sections/fillion/containers/luzheng.js b/web/client/src/sections/fillion/containers/luzheng.js index 5158c3e7..b2153fac 100644 --- a/web/client/src/sections/fillion/containers/luzheng.js +++ b/web/client/src/sections/fillion/containers/luzheng.js @@ -38,6 +38,7 @@ function Assess(props) { const [datasource,setdatasource] = useState([]) const [dateRange, setDateRange] = useState(['1970-1-1', '2099-12-31']); const { RangePicker } = DatePicker + const [total,settotal]= useState(0) const [editAble, setEditAble] = useState(user?.username !== 'SuperAdmin' && user?.userResources?.find(i => i.resourceId === 'ASSESSMANAGE')?.isshow === "true" ? true : '') useEffect(() => { @@ -53,6 +54,7 @@ function Assess(props) { dispatch(getRoadadministration(query)).then(res => { if(res?.success){ setdatasource(res?.payload?.data?.rows) + settotal(res?.payload?.data?.count) setLoading(false) } }) @@ -63,8 +65,8 @@ function Assess(props) {