二手回收后台,师傅端,用户端
刘帅
2026-09-14 9f872e468c2d3f133da705aaa70cd3d1cab7e637
通话记录页面样式更改
1个文件已修改
20 ■■■■■ 已修改文件
management/src/pages/order/callRecords/index.jsx 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
management/src/pages/order/callRecords/index.jsx
@@ -1,6 +1,6 @@
import { maskPhoneNumber } from '@/utils/utils';
import { PageContainer, ProTable } from '@ant-design/pro-components';
import { DatePicker, Input, message, Select, Tag, Typography } from 'antd';
import { DatePicker, message, Select, Tag, Typography } from 'antd';
import moment from 'moment';
import { useRef } from 'react';
import { getCallRecords } from './service';
@@ -29,6 +29,8 @@
  ANSWER: '已接通',
  NO_ANSWER: '未接通',
};
const callStatusOptions = Object.entries(callStatusLabels).map(([value, label]) => ({ value, label }));
const hangupPartyLabels = {
  CUSTOMER: '客户',
@@ -91,7 +93,7 @@
      title: '通话状态',
      dataIndex: 'status',
      width: 140,
      renderFormItem: () => <Input placeholder="如 ANSWER" />,
      renderFormItem: () => <Select allowClear options={callStatusOptions} placeholder="请选择通话状态" />,
      hideInTable: true,
    },
    {
@@ -195,20 +197,6 @@
      hideInSearch: true,
      ellipsis: true,
      render: renderText,
    },
    {
      title: '通话路径',
      dataIndex: 'recordUrl',
      width: 120,
      hideInSearch: true,
      render: (url) =>
        url ? (
          <Typography.Link href={url} download>
            下载录音
          </Typography.Link>
        ) : (
          '-'
        ),
    },
    {
      title: '通话录音',