| | |
| | | routes: [ |
| | | { |
| | | name: '诉求管理', |
| | | path: '/complaint/list', |
| | | path: '/appeal-management/list', |
| | | component: './appeal-management/index', |
| | | access: '/message_notification', |
| | | access: '/complaint/list', |
| | | }, |
| | | { |
| | | name: '述求详情', |
| | |
| | | { |
| | | key: '1', |
| | | label: '述求状态', |
| | | children: ['正在办理', '延期办理', '超时办理', '已办结', '已办结', '上报待审核', '上报待审核'][detail.status], |
| | | children: ['正在办理', '延期办理', '超时办理', '已办结', '待审核', '上报待审核'][detail.status], |
| | | }, |
| | | { |
| | | key: '2', |
| | |
| | | label: '上传图片', |
| | | children: <> |
| | | {detail.images && (detail.images || '').split(',').map((item, index) => ( |
| | | <image width={80} height={80} src={item} key={index} alt="example" /> |
| | | <img width={80} height={80} src={item} key={index} alt="example" /> |
| | | ))} |
| | | </>, |
| | | span: 4, |
| | |
| | | message.error('导出失败,请重试'); |
| | | console.error('Export error:', error); |
| | | } |
| | | }} >协调通知到导出</Button> |
| | | }} >协调通知单导出</Button> |
| | | </div> |
| | | </Card> |
| | | |
| | |
| | | import { buildProTableDataSource, sendRequest, showDelConfirm } from '@/utils/antdUtils'; |
| | | import { buildProTableDataSource } from '@/utils/antdUtils'; |
| | | import { PageContainer, ProTable } from '@ant-design/pro-components'; |
| | | import { Button, InputNumber, Select, Space } from 'antd'; |
| | | import { useRef, useState } from 'react'; |
| | | import { Button, Space } from 'antd'; |
| | | import { useRef } from 'react'; |
| | | import { Access, useAccess,history } from 'umi'; |
| | | import moment from 'moment'; |
| | | import { getList } from './service'; |
| | |
| | | |
| | | const Account = () => { |
| | | const actionRef = useRef(); |
| | | const addViewRef = useRef(); |
| | | const [modalVisible, handleModalVisible] = useState(false); |
| | | const access = useAccess(); |
| | | const formRef = useRef(); |
| | | |
| | |
| | | const params = { |
| | | ...formRef.current.getFieldsValue(), |
| | | }; |
| | | exportExcell('述求管理.xlsx', params, '/api/huacheng-sangeshenbian/complaint/export'); |
| | | exportExcell('诉求管理.xlsx', params, '/api/huacheng-sangeshenbian/complaint/export'); |
| | | }} |
| | | > |
| | | 导出 |