diff --git a/src/forge/Information/Component/pointsDoc.jsx b/src/forge/Information/Component/pointsDoc.jsx index 29b4d9edc..6752ad8ab 100644 --- a/src/forge/Information/Component/pointsDoc.jsx +++ b/src/forge/Information/Component/pointsDoc.jsx @@ -1,5 +1,6 @@ import React, { useEffect, useState } from 'react'; import { Modal, Form, Input, Button, Spin, Pagination } from 'antd'; +import { Link } from 'react-router-dom'; import Nodata from '../../Nodata'; @@ -13,7 +14,7 @@ import { getImageUrl } from 'educoder' import '../indexUser.scss'; -function PointsDoc({ visible , onCancel , onSure , type , username , choosed , history , showCompeleteDialog , member }) { +function PointsDoc({ visible , onCancel , onSure , type , username , choosed , history , showCompeleteDialog , member, deptId }) { const limit = 5; const [ page , setPage ] = useState(1); @@ -112,7 +113,7 @@ function PointsDoc({ visible , onCancel , onSure , type , username , choosed , h {currentRow && (
- {currentRow.docName} + {window.scrollTo(0,450)}}>{currentRow.docName} @@ -120,7 +121,7 @@ function PointsDoc({ visible , onCancel , onSure , type , username , choosed , h )} {list && list.map((item) => (
- {item.name} + {window.scrollTo(0,450)}}>{item.name} diff --git a/src/forge/Information/Component/pointsProject.jsx b/src/forge/Information/Component/pointsProject.jsx index 699378286..41de46001 100644 --- a/src/forge/Information/Component/pointsProject.jsx +++ b/src/forge/Information/Component/pointsProject.jsx @@ -112,7 +112,7 @@ function PointsDoc({ visible , onCancel , onSure , type , username , choosed , h
{currentRow && (
- {currentRow.name} + {currentRow.name} @@ -120,7 +120,7 @@ function PointsDoc({ visible , onCancel , onSure , type , username , choosed , h )} {list && list.map((item) => (
- {item.projectProperties?.name} + {item.projectProperties?.name} diff --git a/src/forge/Information/Pages/zoneUser.jsx b/src/forge/Information/Pages/zoneUser.jsx index 7eba4e7ea..800b99a34 100644 --- a/src/forge/Information/Pages/zoneUser.jsx +++ b/src/forge/Information/Pages/zoneUser.jsx @@ -56,7 +56,7 @@ function ZoneUser(props){ const [ memberAccountInfo, setMemberAccountInfo ] = useState([]); const [msg, setMsg] = useState(''); - const { id, showNotification, checkIfLogin, showLoginDialog, temp, sectionMemberTitle } = props; + const { id, showNotification, checkIfLogin, showLoginDialog, temp, sectionMemberTitle} = props; useEffect(()=>{ let uuid = getUniqueIdentifier() @@ -399,7 +399,7 @@ function ZoneUser(props){ handleAwardSure(msg)} onCancel={()=>setAwardVisible(false)} /> - setDocVisible(false)} onSure={() => { setDocVisible(false); setMsg('首页新闻推荐'); setSuccessVisible(true);getInfo();}} />