From 7bec45c3da050deda516f96b0a89f94b06814ae9 Mon Sep 17 00:00:00 2001 From: liuwh <964324856@qq.com> Date: Tue, 10 Sep 2024 16:59:11 +0800 Subject: [PATCH] Merge branch 'master' of http://120.79.193.119:9090/r/gzzfw/frontEnd/gzDyh into master --- gz-customerSystem/src/views/register/handleFeedback/index.jsx | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/gz-customerSystem/src/views/register/handleFeedback/index.jsx b/gz-customerSystem/src/views/register/handleFeedback/index.jsx index ad57e3c..99f4559 100644 --- a/gz-customerSystem/src/views/register/handleFeedback/index.jsx +++ b/gz-customerSystem/src/views/register/handleFeedback/index.jsx @@ -3,7 +3,7 @@ * @Author: dminyi 1301963064@qq.com * @Date: 2024-08-09 09:59:43 * @LastEditors: dminyi 1301963064@qq.com - * @LastEditTime: 2024-09-08 11:53:51 + * @LastEditTime: 2024-09-10 16:22:30 * @FilePath: \gzDyh\gz-customerSystem\src\views\basicInformation\organization\index.jsx * @Description: 来访登记 * @@ -40,14 +40,16 @@ -function getTabButton(data) { - return $$.ax.request({ url: `caseTask/getTabButton`, type: 'get', service: 'mediate', data }); +function getTabButton(caseTaskId) { + return $$.ax.request({ url: `caseTask/getTabButton?caseTaskId=` + caseTaskId, type: 'get', service: 'mediate' }); } const Organization = () => { const routeData = useParams(); + const caseTaskId = $$.getQueryString('caseTaskId') + const caseId = $$.getQueryString('caseId') const [current, setCurrent] = useState(3); const [tabsActive, setTabsActive] = useState('sxxq'); const [AiQuestionView, setAiQuestionView] = useState(false) @@ -106,9 +108,7 @@ const getAuthor = async () => { - const res = await getTabButton({ - caseTaskId: routeData.caseTaskId - }) + const res = await getTabButton(caseTaskId) if (res.type) { const { tabList } = res.data console.log(tabList, 'tabList1') @@ -144,7 +144,7 @@ return ( - <div style={{ position: 'relative' ,height:'100vh'}}> + <div style={{ position: 'relative', height: '100vh' }}> <NewPage pageHead={ { breadcrumbData: [{ title: '工作台' }, { title: '事件中心' }], title: '办理反馈' } @@ -178,16 +178,16 @@ </div> } {tabsActive === 'sxxq' && - <MatterDetail hasApplet={true} hasEditBtn={true} caseId={routeData.caseId}/> + <MatterDetail hasApplet={true} hasEditBtn={true} authorData={authorData} caseId={caseId} /> } { tabsActive === 'sxbl' && <Typography.Paragraph style={style}> - <Handle /> + <Handle authorData={authorData} caseId={caseId} caseTaskId={caseTaskId} /> </Typography.Paragraph> } { tabsActive === 'sqjl' && <Typography.Paragraph style={style}> - <AuditView /> + <AuditView authorData={authorData} /> </Typography.Paragraph> } </TabPane> -- Gitblit v1.8.0