| | |
| | | /* |
| | | * @Author: dminyi 1301963064@qq.com |
| | | * @Date: 2024-09-08 15:14:12 |
| | | * @LastEditors: dminyi 1301963064@qq.com |
| | | * @LastEditTime: 2024-09-12 15:42:34 |
| | | * @LastEditors: lwh |
| | | * @LastEditTime: 2024-09-13 10:35:03 |
| | | * @FilePath: \gzDyh\gz-customerSystem\src\views\register\index.jsx |
| | | * @Description: 工作台 |
| | | */ |
| | |
| | | }, |
| | | { |
| | | title: '回退部门', |
| | | dataIndex: 'backUnit', |
| | | key: 'backUnit', |
| | | dataIndex: 'organizingUnit', |
| | | key: 'organizingUnit', |
| | | width: 150, |
| | | }, |
| | | { |
| | |
| | | }, |
| | | tabList: [ |
| | | { |
| | | value: '0', |
| | | value: '2', |
| | | label: '办理中', |
| | | columns: [ |
| | | { |
| | |
| | | ] |
| | | }, |
| | | { |
| | | value: '1', |
| | | value: '0', |
| | | label: '结案申请', |
| | | columns: [ |
| | | { |
| | |
| | | ] |
| | | }, |
| | | { |
| | | value: '2', |
| | | value: '1', |
| | | label: '已结案', |
| | | columns: [ |
| | | { |
| | |
| | | title: '督办部门', |
| | | dataIndex: 'caseGrade', |
| | | key: 'caseGrade', |
| | | width: 80, |
| | | width: 110, |
| | | }, |
| | | { |
| | | title: '督办意见', |
| | |
| | | title: '督办部门', |
| | | dataIndex: 'caseGrade', |
| | | key: 'caseGrade', |
| | | width: 80, |
| | | width: 110, |
| | | }, |
| | | { |
| | | title: '督办意见', |
| | |
| | | break; |
| | | case '4'://办理中 |
| | | const { status, ...most } = searchData |
| | | if (status && status === '0') { |
| | | if (status && status === '2') { |
| | | res = await pageMyTaskBlzApi({ |
| | | ...pageData, |
| | | ...most |
| | |
| | | |
| | | //改变tab |
| | | const handleColumnType = (type) => { |
| | | setPageData({ |
| | | page: 1, |
| | | size: 10, |
| | | }) |
| | | setSearchData({ |
| | | ...searchData, |
| | | status: type |
| | |
| | | |
| | | //改变工作总览 |
| | | const tabActive = (key, data) => { |
| | | setPageData({ |
| | | page: 1, |
| | | size: 10, |
| | | }) |
| | | //默认第一个tab |
| | | if (key == '5') { |
| | | setSearchData({ |
| | |
| | | status: '0', |
| | | type: 1 |
| | | }) |
| | | } else if (key == '4' || key == '6') { |
| | | } else if (key == '4') { |
| | | setSearchData({ |
| | | sortType: 1, |
| | | sortColmn: 1, |
| | | status: '2', |
| | | }) |
| | | } else if (key == '6') { |
| | | setSearchData({ |
| | | sortType: 1, |
| | | sortColmn: 1, |
| | |
| | | } |
| | | setTabActivekey(key); |
| | | setTableTab(data.tabList) |
| | | getCountData(); |
| | | } |
| | | |
| | | //获取工作总览数据 |
| | | const getCountData = async () => { |
| | | const res = await getCountListApi() |
| | | if (res.type) { |
| | | const data = res.data |
| | | const data = res.data || {}; |
| | | setCountData(data) |
| | | } |
| | | } |
| | |
| | | </span> |
| | | } |
| | | > |
| | | <Typography.Paragraph key={item.value}> |
| | | <Typography.Paragraph key={tabActivekey + item.value}> |
| | | {tabActivekey == '5' && |
| | | <Radio.Group |
| | | type='button' |
| | |
| | | setPageData({ |
| | | ...pageData, |
| | | page, |
| | | pageSize |
| | | size: pageSize |
| | | }) |
| | | }, |
| | | }} |
| | |
| | | <div className='VisitWorkBench-bottom-title' style={{ color: '#206BCD' }}>大厅来访</div> |
| | | {/* <img src={visitInto} alt='' className='VisitWorkBench-bottom-img' /> */} |
| | | </div> |
| | | <div className='bottomTab2'> |
| | | <div className='bottomTab2' onClick={() => navigate(`/mediate/selfInspection`)}> |
| | | <div className='VisitWorkBench-bottom-title' style={{ color: '#D46B08' }}>自行排查</div> |
| | | {/* <img src={checkInto} alt='' className='VisitWorkBench-bottom-img' /> */} |
| | | </div> |