src/views/register/closingReview/index.jsx | ●●●●● patch | view | raw | blame | history | |
src/views/register/matterDetail/fileMessage.jsx | ●●●●● patch | view | raw | blame | history | |
src/views/register/matterDetail/index.jsx | ●●●●● patch | view | raw | blame | history | |
src/views/windowDetail/index.jsx | ●●●●● patch | view | raw | blame | history |
src/views/register/closingReview/index.jsx
@@ -14,6 +14,9 @@ function getTabButton(caseTaskId) { return $$.ax.request({ url: `caseTask/getTabButton?caseTaskId=${caseTaskId}`, type: 'get', service: 'mediate' }); } function listFeedbackApi(id) { return $$.ax.request({ url: `caseFeedback/listFeedback?id=` + id, type: 'get', service: 'mediate' }); } const myTab = [ { @@ -44,11 +47,18 @@ const [authorData, setAuthorData] = useState({}); const [tabsList, setTabsList] = useState([]); const [tabsActive, setTabsActive] = useState(); const [list, setList] = useState([]) useEffect(() => { getAuthor(); listFeedback(caseId); }, []) const listFeedback = async (id) => { const res = await listFeedbackApi(id) if (res.type) { let data = res.data.caseFeedbackList setList(data) } } //获取权限tab和按钮权限 const getAuthor = async () => { const res = await getTabButton(caseTaskId) @@ -86,7 +96,7 @@ //根据id定义组件 const getTypeDom = (key) => { if (key === 'dslxq' || key === 'sxxq') { return <EventFlow authorData={authorData} caseId={caseId} /> return <EventFlow listFeedback={list} authorData={authorData} caseId={caseId} /> } if (key === 'sqjl') { return <ApplyInfo caseId={caseId}/> src/views/register/matterDetail/fileMessage.jsx
@@ -495,7 +495,7 @@ return <ApplyInfo caseId={caseId} /> } if (key === 'dslxq' || key === 'sxxq') { return <EventFlow authorType={key} authorData={{ buttonList: staticButtonList }} caseId={caseId} caseTaskId={caseTaskId} moutedTab={moutedTab} /> return <EventFlow listFeedback={list} authorType={key} authorData={{ buttonList: staticButtonList }} caseId={caseId} caseTaskId={caseTaskId} moutedTab={moutedTab} /> } if (key === 'sfqr') { return <div style={{ backgroundColor: '#ffff', margin: '0 16px 0px 16px', padding: '12px', marginTop: '8px' }}> src/views/register/matterDetail/index.jsx
@@ -320,7 +320,7 @@ </Col> <FileTable mainId={props.caseId} fileInfoList={infoData.fileInfoList} isReview={true} /> {console.log('props', props)} {((props?.windowDetail || props?.gridDetail) && props?.listFeedback?.length != 0) && {(props?.listFeedback?.length != 0) && (<div style={{ backgroundColor: '#ffff', margin: '0px', paddingBottom: '12px' }}> <Space size='small'> <div className='MediationInfo-subTitle' style={{ marginTop: '-9px' }}></div><h4>办理记录({props?.listFeedback?.length})</h4> src/views/windowDetail/index.jsx
@@ -375,6 +375,7 @@ //根据id定义组件 const getTypeDom = (key) => { console.log('key', key); if (key === 'byslxq') { return <Fragment> <Scrollbars style={{ height: 'calc(100vh - 219px)' }} autoHide>