From 6d16a5ccbb2737a0725697616af951c6719b4a25 Mon Sep 17 00:00:00 2001 From: amypeng Date: Tue, 16 Jun 2026 10:16:04 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BD=AE=E9=A1=B6=E6=96=87=E7=AB=A0=E5=92=8C?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E5=A2=9E=E5=8A=A0=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 置顶文章和项目增加跳转 --- src/forge/Information/Component/pointsDoc.jsx | 7 ++++--- src/forge/Information/Component/pointsProject.jsx | 4 ++-- src/forge/Information/Pages/zoneUser.jsx | 4 ++-- 3 files changed, 8 insertions(+), 7 deletions(-) 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();}} />