| | |
| | | return info({ type: 'success', content }); |
| | | } |
| | | |
| | | |
| | | |
| | | // 手机号码正则 |
| | | export const mobileRegExp = new RegExp('^1([0-9][0-9]|[0-9][0-9]|[0-9][0-9]|[0-9][0-9]|[0-9][0-9])\\d{8}$', 'g'); |
| | | |
| | |
| | | const TabPane = Tabs.TabPane; |
| | | const Step = Steps.Step; |
| | | |
| | | function getListCaseFlow(data) { |
| | | return $$.ax.request({ url: `caseTask/listCaseFlow`, type: 'get', service: 'mediate', data }); |
| | | function getListCaseFlow(caseId) { |
| | | return $$.ax.request({ url: `caseTask/listCaseFlow?caseId=${caseId}`, type: 'get', service: 'mediate' }); |
| | | } |
| | | |
| | | function accept(data) { |
| | |
| | | |
| | | //获取流程信息 |
| | | const getData = async () => { |
| | | const res = await getListCaseFlow({ |
| | | caseId: props.caseId |
| | | }) |
| | | const res = await getListCaseFlow( |
| | | props.caseId |
| | | ) |
| | | if (res.type) { |
| | | setProgressData(res.data) |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | return ( |
| | | <Fragment> |
| | | <div style={{ backgroundColor: '#fff', margin: '0 16px 0px 16px', paddingTop: '16px', paddingLeft: '91px' }}> |
| | |
| | | ] |
| | | const Organization = () => { |
| | | const routeData = useParams(); |
| | | const caseTaskId = $$.getQueryString('caseTaskId') |
| | | const caseId = $$.getQueryString('caseId') |
| | | const [authorData, setAuthorData] = useState({}); |
| | | const [tabsList, setTabsList] = useState([]); |
| | | const [tabsActive, setTabsActive] = useState(); |
| | |
| | | |
| | | //获取权限tab和按钮权限 |
| | | const getAuthor = async () => { |
| | | console.log(routeData, 'routeData') |
| | | const res = await getTabButton({ |
| | | caseTaskId: routeData.caseTaskId |
| | | caseTaskId: caseTaskId |
| | | }) |
| | | if (res.type) { |
| | | const { tabList } = res.data |
| | |
| | | //根据id定义组件 |
| | | const getTypeDom = (key) => { |
| | | if (key === 'dslxq' || key === 'sxxq') { |
| | | return <EventFlow authorData={authorData} caseId={routeData.caseId} /> |
| | | return <EventFlow authorData={authorData} caseId={caseId} caseTaskId={caseTaskId}/> |
| | | } |
| | | if (key === 'sqjl') { |
| | | return <ApplyInfo /> |
| | |
| | | } |
| | | } |
| | | |
| | | console.log(caseId, 'caseId') |
| | | |
| | | return ( |
| | | <div style={{ position: 'relative' }}> |
| | | <NewPage |
| | |
| | | * @Author: dminyi 1301963064@qq.com |
| | | * @Date: 2024-09-02 14:49:13 |
| | | * @LastEditors: dminyi 1301963064@qq.com |
| | | * @LastEditTime: 2024-09-08 18:25:54 |
| | | * @LastEditTime: 2024-09-09 22:14:40 |
| | | * @FilePath: \gzDyh\gz-customerSystem\src\views\register\handleFeedback\component\CaseResult.jsx |
| | | * @Description: 结案申请 |
| | | */ |
| | |
| | | |
| | | |
| | | |
| | | const CaseResult = ({ visible = false, handleOnCancel, caseResultId, caseId }) => { |
| | | const CaseResult = ({ visible = false, handleOnCancel, caseResultId, caseId ,caseTaskId}) => { |
| | | const formRef = useRef(); |
| | | const formRefWrite = useRef(); |
| | | const failRef = useRef(); |
| | |
| | | |
| | | const windupApply = async (submitData) => { |
| | | const res = await windupApplyApi({ |
| | | caseTaskId: caseTaskId, |
| | | caseId:caseId, |
| | | caseResultId: caseResultId, |
| | | ...submitData |
| | | }) |
| | |
| | | ]; |
| | | |
| | | |
| | | function choosePrincipalApi(id) { |
| | | return $$.ax.request({ url: 'caseInfoUnfold/choosePrincipal?caseId=24083010062110001&userId=' + id, type: 'get', service: 'mediate' }); |
| | | function choosePrincipalApi(caseId, userId) { |
| | | return $$.ax.request({ url: `caseInfoUnfold/choosePrincipal?caseId=${caseId}&userId=` + userId, type: 'get', service: 'mediate' }); |
| | | } |
| | | |
| | | function delFile(id) { |
| | |
| | | |
| | | |
| | | |
| | | const Handle = () => { |
| | | const Handle = ({ authorData, caseTaskId, caseId }) => { |
| | | const formRef = useRef(); |
| | | const routeData = useParams(); |
| | | const [selectedTab, setSelectedTab] = useState('1'); // 默认选中第一个 tab |
| | |
| | | const [id, setId] = useState(''); |
| | | const [uniteHandleId, setUniteHandleId] = useState(''); |
| | | const [caseResultId, setCaseResultId] = useState(''); |
| | | |
| | | const [managerName,setManagerName] = useState('') |
| | | |
| | | |
| | | const tabs = [ |
| | |
| | | { value: '1', label: '一' }, { value: '2', label: '二' }, { value: '3', label: '三' } |
| | | ]; |
| | | |
| | | const tabs2 = [ |
| | | { index: '1', label: '公共模板1:回复督办内容收到通用范本' }, |
| | | ] |
| | | |
| | | |
| | | |
| | | |
| | | const handleTabChange = (newTabIndex) => { |
| | |
| | | |
| | | const choosePrincipal = async (id) => { |
| | | console.log(id, 'choosePrincipalId') |
| | | const res = await choosePrincipalApi(id) |
| | | const res = await choosePrincipalApi(caseId, id) |
| | | if (res.type) { |
| | | let data = res.data |
| | | console.log(data, 'choosePrincipalchoosePrincipal') |
| | |
| | | }) |
| | | if (res.type) { |
| | | $$.infoSuccess({ content: '修改成功' }); |
| | | listFeedback('24083010062110001') |
| | | listFeedback(caseId) |
| | | } |
| | | } else { |
| | | const res = await saveFeedbackApi({ |
| | | ...submitData, |
| | | caseId: "24083010062110001", |
| | | caseId: caseId, |
| | | id: id, |
| | | caseTaskId: '', |
| | | }) |
| | | if (res.type) { |
| | | $$.infoSuccess({ content: '保存成功' }); |
| | | listFeedback('24083010062110001') |
| | | listFeedback(caseId) |
| | | } |
| | | } |
| | | } |
| | | |
| | | const getFeedbackInfo = async () => { |
| | | const res = await getFeedbackInfoApi('24083010062110001') |
| | | const res = await getFeedbackInfoApi(caseTaskId) |
| | | setFeedbackInfoData(res.data) |
| | | console.log(res.data, 'res.data') |
| | | } |
| | |
| | | const listFeedback = async (id) => { |
| | | const res = await listFeedbackApi(id) |
| | | if (res.type) { |
| | | let data = res.data.caseFeedbackList |
| | | let data = res.data.caseFeedbackList; |
| | | let manager = res.data.manager |
| | | setList(data) |
| | | setManagerName(manager) |
| | | } |
| | | } |
| | | |
| | |
| | | |
| | | |
| | | useEffect(() => { |
| | | listFeedback('24083010062110001'); |
| | | listFeedback(caseId); |
| | | getFeedbackInfo(); |
| | | getByIdRole(); |
| | | }, []) |
| | | |
| | | // useEffect(() => { |
| | | // if (authorData) { |
| | | // const { buttonList } = authorData; |
| | | // setStaticButtonList(myButton.filter(item => { |
| | | // const flag = buttonList.some(result => { |
| | | // if (result.id === item.key) { |
| | | // return true |
| | | // } |
| | | // }) |
| | | // return flag |
| | | // })) |
| | | // } |
| | | // }, [authorData]) |
| | | |
| | | |
| | | |
| | | return ( |
| | |
| | | field='level' > |
| | | {wantUser.wantUserId ? |
| | | <WantUserTag name={wantUser.wantUserName} onClose={() => setWantUser({ wantUserId: null, wantUserName: null })} /> |
| | | : |
| | | caseId ? |
| | | <WantUserTag name={managerName} onClose={() => setWantUser({ wantUserId: null, wantUserName: null })} /> |
| | | : |
| | | <Button onClick={() => setIsModalVisible(true)} style={{ color: '#1A6FB8', border: '1px solid #1A6FB8' }} type='outline'>选择</Button> |
| | | } |
| | |
| | | visible={isModalVisible} |
| | | checkKeys={wantUser.wantUserId ? [{ label: wantUser.wantUserName, value: wantUser.wantUserId }] : undefined} |
| | | onOk={(value) => { |
| | | console.log(value, 'value') |
| | | console.log(value.key, value, 'value.key', 'value') |
| | | setIsModalVisible(false); |
| | | setWantUser({ wantUserId: value.keys[0], wantUserName: value.items[0].name }); |
| | | handleCheckedKeys(value.keys?.[0]) |
| | | }} |
| | | onClose={() => setIsModalVisible(false)} |
| | | type='person' |
| | | /> |
| | | |
| | | <DocumentScanner |
| | |
| | | </Form> |
| | | </Modal> |
| | | <UniteHandle id={uniteHandleId} visible={uniteHandleView} handleOnCancel={() => setUniteHandleView(false)} /> |
| | | <CaseResult visible={caseResult} handleOnCancel={() => SetCaseResult(false)} caseResultId={caseResultId} caseId={routeData.caseId} /> |
| | | <CaseResult visible={caseResult} handleOnCancel={() => SetCaseResult(false)} caseResultId={caseResultId} caseId={caseId} caseTaskId={caseTaskId}/> |
| | | |
| | | </div> |
| | | </> |
| | |
| | | * @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-09 21:14:14 |
| | | * @FilePath: \gzDyh\gz-customerSystem\src\views\basicInformation\organization\index.jsx |
| | | * @Description: 来访登记 |
| | | * |
| | |
| | | |
| | | 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) |
| | |
| | | |
| | | const getAuthor = async () => { |
| | | const res = await getTabButton({ |
| | | caseTaskId: routeData.caseTaskId |
| | | caseTaskId: caseTaskId |
| | | }) |
| | | if (res.type) { |
| | | const { tabList } = res.data |
| | |
| | | </div> |
| | | } |
| | | {tabsActive === 'sxxq' && |
| | | <MatterDetail hasApplet={true} hasEditBtn={true} /> |
| | | <MatterDetail hasApplet={true} hasEditBtn={true} authorData={authorData} /> |
| | | } |
| | | { |
| | | 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> |
| | |
| | | * @Author: dminyi 1301963064@qq.com |
| | | * @Date: 2024-09-08 15:14:12 |
| | | * @LastEditors: dminyi 1301963064@qq.com |
| | | * @LastEditTime: 2024-09-09 17:06:20 |
| | | * @LastEditTime: 2024-09-09 22:29:34 |
| | | * @FilePath: \gzDyh\gz-customerSystem\src\views\register\index.jsx |
| | | * @Description: 工作台 |
| | | */ |
| | |
| | | function getCountListApi(data) { |
| | | return $$.ax.request({ url: `caseTask/getCountList`, type: 'get', service: 'mediate', data }); |
| | | } |
| | | //分派 |
| | | function pageMyTaskFpApi(data) { |
| | | return $$.ax.request({ url: `caseTask/pageMyTaskFp?page=1&size=10&sortType=1&sortColmn=1&status=1`, type: 'get', service: 'mediate', data }); |
| | | } |
| | | |
| | | //签收 |
| | | function pageMyTaskQsApi(data) { |
| | | return $$.ax.request({ url: `caseTask/pageMyTaskQs?page=1&size=10&sortType=1&sortColmn=1&status=1`, type: 'get', service: 'mediate', data }); |
| | | } |
| | | |
| | | //受理 |
| | | function pageMyTaskSlApi(data) { |
| | | return $$.ax.request({ url: `caseTask/pageMyTaskSl?page=1&size=10&sortType=1&sortColmn=1&status=1`, type: 'get', service: 'mediate', data }); |
| | | } |
| | | |
| | | //办理中 |
| | | function pageMyTaskBlzApi(data) { |
| | | return $$.ax.request({ url: `caseTask/pageMyTaskBlz?page=1&size=10&sortType=1&sortColmn=1&status=1`, type: 'get', service: 'mediate', data }); |
| | | } |
| | | |
| | | //签收 |
| | | function signApi(data) { |
| | | return $$.ax.request({ url: `caseTask/sign`, type: 'post', service: 'mediate', data }); |
| | | } |
| | | |
| | | const VisitWorkBench = () => { |
| | | const navigate = useNavigate(); |
| | |
| | | key: '1', |
| | | label: '待分派', |
| | | bgColor: '#E8F8FF', |
| | | num: `${CountList?.waitDisp}`, |
| | | num: `${CountList?.waitDisp || '0'}`, |
| | | img: tab1 |
| | | }, |
| | | { |
| | | key: '2', |
| | | label: '待签收', |
| | | bgColor: '#E8FFEA', |
| | | num: `${CountList?.waitSign}`, |
| | | num: `${CountList?.waitSign || '0'}`, |
| | | img: tab2 |
| | | |
| | | }, |
| | |
| | | key: '3', |
| | | label: '待受理', |
| | | bgColor: '#F5E8FF', |
| | | num: `${CountList?.waitAccept}`, |
| | | num: `${CountList?.waitAccept || '0'}`, |
| | | img: tab3 |
| | | |
| | | }, |
| | |
| | | key: '4', |
| | | label: '办理中', |
| | | bgColor: '#E6FFFB', |
| | | num: `${CountList?.waitReview}`, |
| | | num: `${CountList?.waitReview || '0'}`, |
| | | img: tab4 |
| | | |
| | | }, |
| | |
| | | key: '5', |
| | | label: '待审核', |
| | | bgColor: '#E8F7FF', |
| | | num: `${CountList?.supervise}`, |
| | | num: `${CountList?.supervise || '0'}`, |
| | | img: tab5 |
| | | |
| | | }, |
| | |
| | | key: '6', |
| | | label: '督办', |
| | | bgColor: '#FFF7E6', |
| | | num: `${CountList?.processing}`, |
| | | num: `${CountList?.processing || '0'}`, |
| | | img: tab6 |
| | | |
| | | }, |
| | | ] |
| | | |
| | | const fakeData1 = |
| | | const [fakeData1, setFakeData1] = useState( |
| | | [ |
| | | { |
| | | id: 1, |
| | |
| | | }, |
| | | |
| | | // 更多数据... |
| | | ] |
| | | ]) |
| | | |
| | | const [columnType, setColumnType] = useState([ |
| | | { |
| | |
| | | width: 180, |
| | | render: (text, record) => ( |
| | | <Space style={{ color: '#1A6FB8' }}> |
| | | <div onClick={() => navigate(`/mediate/visit/fileMessage?caseTaskId=${'1'}&caseId=${'1'}`)} style={{ cursor: 'pointer' }}>详情</div> |
| | | <div onClick={() => navigate(`/mediate/visit/eventFlow?caseTaskId=${'1'}&caseId=${'1'}`)} style={{ cursor: 'pointer' }}>处理</div> |
| | | <div onClick={() => navigate(`/mediate/visit/fileMessage?caseTaskId=${record.ownerId}&caseId=${record.caseId}`)} style={{ cursor: 'pointer' }}>详情</div> |
| | | <div onClick={() => navigate(`/mediate/visit/eventFlow?caseTaskId=${record.ownerId}&caseId=${record.caseId}`)} style={{ cursor: 'pointer' }}>处理</div> |
| | | </Space> |
| | | ), |
| | | }, |
| | |
| | | ), |
| | | }, |
| | | ]; |
| | | const fakeColumns3Info = [ |
| | | { |
| | | title: '流转时间', |
| | | dataIndex: 'turnaroundTime', |
| | | key: 'turnaroundTime', |
| | | width: 100, |
| | | render: (text, record, index) => <span>{index + 1}</span>, |
| | | }, |
| | | { |
| | | title: '分派时限', |
| | | dataIndex: 'timeLimit', |
| | | key: 'timeLimit', |
| | | width: 60, |
| | | }, |
| | | { |
| | | title: '事项等级', |
| | | dataIndex: 'caseGrade', |
| | | key: 'caseGrade', |
| | | width: 180, |
| | | }, |
| | | { |
| | | title: '事项来源', |
| | | dataIndex: 'caseSource', |
| | | key: 'caseSource', |
| | | width: 180, |
| | | }, |
| | | { |
| | | title: '事项类型', |
| | | dataIndex: 'caseType', |
| | | key: 'caseType', |
| | | width: 180, |
| | | }, |
| | | { |
| | | title: '申请方', |
| | | dataIndex: 'plaintiffs', |
| | | key: 'plaintiffs', |
| | | width: 180, |
| | | }, |
| | | { |
| | | title: '被申请方', |
| | | dataIndex: 'defendants', |
| | | key: 'defendants', |
| | | width: 180, |
| | | }, |
| | | { |
| | | title: '操作', |
| | | dataIndex: 'actions', |
| | | key: 'actions', |
| | | width: 180, |
| | | render: (text, record) => ( |
| | | <Space style={{ color: '#1A6FB8' }}> |
| | | <div onClick={() => navigate(`/mediate/visit/fileMessage?caseTaskId=${'1'}&caseId=${'1'}`)} style={{ cursor: 'pointer' }}>详情</div> |
| | | </Space> |
| | | ), |
| | | }, |
| | | ]; |
| | | const fakeColumns1 = [ |
| | | { |
| | | title: '流转时间', |
| | | dataIndex: 'turnaroundTime', |
| | | key: 'turnaroundTime', |
| | | width: 100, |
| | | render: (text, record, index) => <span>{index + 1}</span>, |
| | | }, |
| | | { |
| | | title: '签收时限', |
| | | dataIndex: 'timeLimit', |
| | | key: 'timeLimit', |
| | | width: 60, |
| | | }, |
| | | { |
| | | title: '事项等级', |
| | | dataIndex: 'caseGrade', |
| | | key: 'caseGrade', |
| | | width: 180, |
| | | }, |
| | | { |
| | | title: '事项来源', |
| | | dataIndex: 'caseSource', |
| | | key: 'caseSource', |
| | | width: 180, |
| | | }, |
| | | { |
| | | title: '事项类型', |
| | | dataIndex: 'caseType', |
| | | key: 'caseType', |
| | | width: 180, |
| | | }, |
| | | { |
| | | title: '申请方', |
| | | dataIndex: 'plaintiffs', |
| | | key: 'plaintiffs', |
| | | width: 180, |
| | | }, |
| | | { |
| | | title: '被申请方', |
| | | dataIndex: 'defendants', |
| | | key: 'defendants', |
| | | width: 180, |
| | | }, |
| | | { |
| | | title: '操作', |
| | | dataIndex: 'actions', |
| | | key: 'actions', |
| | | width: 180, |
| | | render: (text, record) => ( |
| | | <Space style={{ color: '#1A6FB8' }}> |
| | | <div onClick={() => navigate(`/mediate/visit/fileMessage?caseTaskId=${'1'}&caseId=${'1'}`)} style={{ cursor: 'pointer' }}>详情</div> |
| | | <div onClick={() => handleSign(record.caseId, record.ownerId)}>签收</div> |
| | | </Space> |
| | | ), |
| | | }, |
| | | ]; |
| | | const fakeColumns1Info = [ |
| | | { |
| | | title: '流转时间', |
| | | dataIndex: 'turnaroundTime', |
| | |
| | | render: (text, record) => ( |
| | | <Space style={{ color: '#1A6FB8' }}> |
| | | <div onClick={() => navigate(`/mediate/visit/fileMessage?caseTaskId=${'1'}&caseId=${'1'}`)} style={{ cursor: 'pointer' }}>详情</div> |
| | | <div onClick={() => navigate(`/mediate/visit/eventFlow?caseTaskId=${'1'}&caseId=${'1'}`)} style={{ cursor: 'pointer' }}>处理</div> |
| | | <div onClick={() => navigate(`/mediate/visit/eventFlow?caseTaskId=${record.ownerId}&caseId=${record.caseId}`)} style={{ cursor: 'pointer' }}>处理</div> |
| | | </Space> |
| | | ), |
| | | }, |
| | | ]; |
| | | |
| | | const [column, setColumn] = useState([ |
| | | const fakeColumns2Info = [ |
| | | { |
| | | title: '流转时间', |
| | | dataIndex: 'turnaroundTime', |
| | |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: '已办天数', |
| | | dataIndex: 'processingDays', |
| | | key: 'processingDays', |
| | | title: '受理时限', |
| | | dataIndex: 'timeLimit', |
| | | key: 'timeLimit', |
| | | width: 60, |
| | | }, |
| | | { |
| | |
| | | dataIndex: 'caseType', |
| | | key: 'caseType', |
| | | width: 180, |
| | | }, |
| | | { |
| | | title: '申请方', |
| | | dataIndex: 'plaintiffs', |
| | | key: 'plaintiffs', |
| | | width: 180, |
| | | }, |
| | | { |
| | | title: '被申请方', |
| | | dataIndex: 'defendants', |
| | | key: 'defendants', |
| | | width: 180, |
| | | }, |
| | | { |
| | | title: '操作', |
| | | dataIndex: 'actions', |
| | | key: 'actions', |
| | | width: 180, |
| | | render: (text, record) => ( |
| | | <Space style={{ color: '#1A6FB8' }}> |
| | | <div onClick={() => navigate(`/mediate/visit/fileMessage?caseTaskId=${'1'}&caseId=${'1'}`)} style={{ cursor: 'pointer' }}>详情</div> |
| | | <div onClick={() => navigate(`/mediate/visit/eventFlow?caseTaskId=${'1'}&caseId=${'1'}`)} style={{ cursor: 'pointer' }}>处理</div> |
| | | </Space> |
| | | ), |
| | | }, |
| | | ]; |
| | | |
| | | const [column, setColumn] = useState([ |
| | | { |
| | | title: '流转时间', |
| | | dataIndex: 'turnaroundTime', |
| | | key: 'turnaroundTime', |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: '已办天数', |
| | | dataIndex: 'processingDays', |
| | | key: 'processingDays', |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: '事项等级', |
| | | dataIndex: 'caseGrade', |
| | | key: 'caseGrade', |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: '事项来源', |
| | | dataIndex: 'caseSource', |
| | | key: 'caseSource', |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: '事项类型', |
| | | dataIndex: 'caseType', |
| | | key: 'caseType', |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: '承办部门', |
| | |
| | | width: 180, |
| | | render: (text, record) => ( |
| | | <Space> |
| | | <div onClick={() => navigate(`/mediate/visit/fileMessage?caseTaskId=${'1'}&caseId=${'1'}`)} style={{ cursor: 'pointer' }}>详情</div> |
| | | <div onClick={() => navigate(`/mediate/visit/handleFeedback?caseTaskId=${'1'}&caseId=${'1'}`)} style={{ cursor: 'pointer' }}>处理</div> |
| | | <div onClick={() => navigate(`/mediate/visit/fileMessage?caseTaskId=${'1'}&caseId=${'1'}`)} style={{ cursor: 'pointer', color: '#1A6FB8' }}>详情</div> |
| | | <div onClick={() => navigate(`/mediate/visit/handleFeedback?caseTaskId=${record.ownerId}&caseId=${record.caseId}`)} style={{ cursor: 'pointer', color: '#1A6FB8' }}>处理</div> |
| | | </Space> |
| | | ), |
| | | }, |
| | |
| | | }, |
| | | ]) |
| | | |
| | | const sign = async (caseId, ownerId) => { |
| | | const res = await signApi({ caseId: caseId, caseTaskId: ownerId }) |
| | | if (res.type) { |
| | | $$.infoSuccess('签收成功') |
| | | } |
| | | |
| | | } |
| | | |
| | | const handleSign = (caseId, ownerId) => { |
| | | sign(caseId, ownerId) |
| | | } |
| | | |
| | | const pageMyTaskFpNew = async () => { |
| | | const res = await pageMyTaskFpApi() |
| | | if (res.type) { |
| | | setFakeData1(res.data?.content) |
| | | } |
| | | } |
| | | |
| | | const pageMyTaskFp = async (type) => { |
| | | if (type === '1') { |
| | | const res = await pageMyTaskFpApi() |
| | | if (res.type) { |
| | | setFakeData1(res.data?.content) |
| | | } |
| | | } |
| | | if (type === '2') { |
| | | const res = await pageMyTaskQsApi() |
| | | if (res.type) { |
| | | setFakeData1(res.data?.content) |
| | | } |
| | | } |
| | | if (type === '3') { |
| | | const res = await pageMyTaskSlApi() |
| | | if (res.type) { |
| | | setFakeData1(res.data?.content) |
| | | } |
| | | } |
| | | if (type === '4') { |
| | | const res = await pageMyTaskBlzApi() |
| | | if (res.type) { |
| | | setFakeData1(res.data?.content) |
| | | } |
| | | } |
| | | |
| | | } |
| | | |
| | | const handleColumnType = (type) => { |
| | | console.log(type, 'type') |
| | | if (type === '2') { |
| | | if (tabActivekey === '1') { |
| | | setColumnType(fakeColumns3Info) |
| | | } |
| | | if (tabActivekey === '2') { |
| | | setColumnType(fakeColumns1Info) |
| | | } |
| | | if (tabActivekey === '3') { |
| | | setColumnType(fakeColumns2Info) |
| | | } |
| | | } |
| | | if (type === '1') { |
| | | if (tabActivekey === '1') { |
| | | setColumnType(fakeColumns3) |
| | | } |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | |
| | | setTabActivekey(key); |
| | | if (key === '1') { |
| | | setColumnType(fakeColumns3) |
| | | pageMyTaskFp('1') |
| | | } |
| | | if (key === '2') { |
| | | setColumnType(fakeColumns1) |
| | | pageMyTaskFp('2') |
| | | |
| | | } |
| | | if (key === '3') { |
| | | setColumnType(fakeColumns2) |
| | | pageMyTaskFp('3') |
| | | |
| | | } |
| | | if (key === '4') { |
| | | setColumnType(column) |
| | | pageMyTaskFp('4') |
| | | } |
| | | if (key === '5') { |
| | | setColumnType(backColumn) |
| | | pageMyTaskFp('5') |
| | | |
| | | } |
| | | if (key === '6') { |
| | | setColumnType(mangeColumn) |
| | | pageMyTaskFp('6') |
| | | |
| | | } |
| | | } |
| | | |
| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | useEffect(() => { |
| | | |
| | | pageMyTaskFpNew() |
| | | // pageMyTaskBl(); |
| | | getCountList(); |
| | | }, [columnType,direction]) |
| | | }, []) |
| | | |
| | | |
| | | |
| | |
| | | </div> |
| | | </div> |
| | | <div className='VisitWorkBench-middle'> |
| | | <Tabs defaultActiveTab='1'> |
| | | <Tabs defaultActiveTab='1' onChange={handleColumnType}> |
| | | <TabPane |
| | | // onChange={handleColumnType} |
| | | key='1' |
| | |
| | | columns={columnType} |
| | | dataSource={fakeData1} |
| | | size="small" |
| | | rowKey="id" |
| | | rowKey="caseId" |
| | | bordered={true} |
| | | // style={{ marginBottom: '65px', marginTop: '-16px' }} |
| | | rowSelection={{ |
| | |
| | | } |
| | | > |
| | | <Typography.Paragraph> |
| | | <TableView |
| | | columns={columnType} |
| | | dataSource={fakeData1} |
| | | size="small" |
| | | rowKey="id" |
| | | bordered={true} |
| | | // style={{ marginBottom: '65px', marginTop: '-16px' }} |
| | | rowSelection={{ |
| | | type: 'Checkbox' |
| | | }} |
| | | /> |
| | | </Typography.Paragraph> |
| | | </TabPane> |
| | | {tabActivekey === '4' && |
| | |
| | | background: #ffffff; |
| | | padding: 12px 16px 16px 16px; |
| | | margin-top: 12px; |
| | | |
| | | height: 54vh; |
| | | } |
| | | |
| | | &-bottom { |
| | |
| | | listIdTypeInfo() |
| | | }, [props.id]) |
| | | |
| | | |
| | | //获取id |
| | | const getCaseInfo = async (id) => { |
| | | const res = await getCaseInfoApi('24083010062110001') |
| | |
| | | <div>{infoData.createTime || '-'}</div> |
| | | </Col> |
| | | </Row> |
| | | {props.hasEditBtn && <Button type='primary' style={{ marginTop: '20px' }}>修改</Button>} |
| | | {/* {props.hasEditBtn && <Button type='primary' style={{ marginTop: '20px' }}>修改</Button>} */} |
| | | </div> |
| | | |
| | | </Typography.Paragraph> |
| | |
| | | </Space> |
| | | </Col> |
| | | <FileTable mainId={props.mainId} fileInfoList={props.fileInfoList}/> |
| | | |
| | | <DocumentScanner |
| | | visible={scanFile} |
| | | onConfirm={handleConfirm} |