forked from gzzfw/frontEnd/gzDyh

zhangyongtian
2024-09-15 b5aeb5f89a5af2af1ea8cc4a83a72b287916e710
gz-customerSystem/src/views/register/index.jsx
@@ -1,8 +1,8 @@
/*
 * @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: 工作台
 */
@@ -225,8 +225,8 @@
    },
    {
      title: '回退部门',
      dataIndex: 'backUnit',
      key: 'backUnit',
      dataIndex: 'organizingUnit',
      key: 'organizingUnit',
      width: 150,
    },
    {
@@ -571,7 +571,7 @@
      },
      tabList: [
        {
          value: '0',
          value: '2',
          label: '办理中',
          columns: [
            {
@@ -650,7 +650,7 @@
          ]
        },
        {
          value: '1',
          value: '0',
          label: '结案申请',
          columns: [
            {
@@ -722,7 +722,7 @@
          ]
        },
        {
          value: '2',
          value: '1',
          label: '已结案',
          columns: [
            {
@@ -954,7 +954,7 @@
              title: '督办部门',
              dataIndex: 'caseGrade',
              key: 'caseGrade',
              width: 80,
              width: 110,
            },
            {
              title: '督办意见',
@@ -1020,7 +1020,7 @@
              title: '督办部门',
              dataIndex: 'caseGrade',
              key: 'caseGrade',
              width: 80,
              width: 110,
            },
            {
              title: '督办意见',
@@ -1122,6 +1122,7 @@
      $$.infoSuccess({ content: '签收成功' });
      getCountData();
      getTableData(tabActivekey)
      navigate(`/mediate/visit/eventFlow?caseTaskId=${ownerId}&caseId=${caseId}`)
    }
  }
@@ -1150,7 +1151,7 @@
        break;
      case '4'://办理中
        const { status, ...most } = searchData
        if (status && status === '0') {
        if (status && status === '2') {
          res = await pageMyTaskBlzApi({
            ...pageData,
            ...most
@@ -1187,6 +1188,10 @@
  //改变tab
  const handleColumnType = (type) => {
    setPageData({
      page: 1,
      size: 10,
    })
    setSearchData({
      ...searchData,
      status: type
@@ -1195,6 +1200,10 @@
  //改变工作总览
  const tabActive = (key, data) => {
    setPageData({
      page: 1,
      size: 10,
    })
    //默认第一个tab
    if (key == '5') {
      setSearchData({
@@ -1203,7 +1212,13 @@
        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,
@@ -1218,13 +1233,14 @@
    }
    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)
    }
  }
@@ -1346,7 +1362,7 @@
                </span>
              }
            >
              <Typography.Paragraph key={item.value}>
              <Typography.Paragraph key={tabActivekey + item.value}>
                {tabActivekey == '5' &&
                  <Radio.Group
                    type='button'
@@ -1394,7 +1410,7 @@
                      setPageData({
                        ...pageData,
                        page,
                        pageSize
                        size: pageSize
                      })
                    },
                  }}
@@ -1456,7 +1472,7 @@
            <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>