diff --git a/src/forge/Information/Pages/selfList.jsx b/src/forge/Information/Pages/selfList.jsx index b7b315c21..d1b36a39d 100644 --- a/src/forge/Information/Pages/selfList.jsx +++ b/src/forge/Information/Pages/selfList.jsx @@ -19,6 +19,7 @@ function SelfList(props){ const [ deleId , setDeleId] = useState(undefined); const pathname = props.location.pathname; const { id , temp } = props; + const { deptId } = props.match.params; const limit = 15; useEffect(()=>{ @@ -57,7 +58,7 @@ function SelfList(props){ function getNew(){ getNewsMyList(id,{ - auditStatus:status, + auditStatus:status===0 ? 2 : status === 2 ? 0 : 1, pageSize:limit }).then(result=>{ setList(result.data.rows); @@ -109,7 +110,7 @@ function SelfList(props){ - {source ? "资源发布":"领域资讯"} + {source ? "资源发布": temp==="zone1" ? "新闻资讯":"领域资讯"} 我的{source ? "资源":"文章"}