13404089107
2025-03-17 7ba0063d788c5353c22f08433e2e24aaf4b00974
修改问题及添加权限
3个文件已修改
20 ■■■■■ 已修改文件
management/config/routes.ts 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
management/src/pages/appeal-management/detail.jsx 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
management/src/pages/appeal-management/index.jsx 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
management/config/routes.ts
@@ -134,9 +134,9 @@
    routes: [
      {
        name: '诉求管理',
        path: '/complaint/list',
        path: '/appeal-management/list',
        component: './appeal-management/index',
        access: '/message_notification',
        access: '/complaint/list',
      },
      {
        name: '述求详情',
management/src/pages/appeal-management/detail.jsx
@@ -27,7 +27,7 @@
        {
            key: '1',
            label: '述求状态',
            children: ['正在办理', '延期办理', '超时办理', '已办结', '已办结', '上报待审核', '上报待审核'][detail.status],
            children: ['正在办理', '延期办理', '超时办理', '已办结', '待审核', '上报待审核'][detail.status],
        },
        {
            key: '2',
@@ -95,7 +95,7 @@
            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,
@@ -248,7 +248,7 @@
                                message.error('导出失败,请重试');
                                console.error('Export error:', error);
                            }
                        }} >协调通知到导出</Button>
                        }} >协调通知单导出</Button>
                    </div>
                </Card>
management/src/pages/appeal-management/index.jsx
@@ -1,7 +1,7 @@
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';
@@ -9,8 +9,6 @@
const Account = () => {
    const actionRef = useRef();
    const addViewRef = useRef();
    const [modalVisible, handleModalVisible] = useState(false);
    const access = useAccess();
    const formRef = useRef();
@@ -149,7 +147,7 @@
                                        const params = {
                                          ...formRef.current.getFieldsValue(),
                                        };
                                        exportExcell('述求管理.xlsx', params, '/api/huacheng-sangeshenbian/complaint/export');
                                        exportExcell('诉求管理.xlsx', params, '/api/huacheng-sangeshenbian/complaint/export');
                                    }}
                                >
                                    导出