From 9f872e468c2d3f133da705aaa70cd3d1cab7e637 Mon Sep 17 00:00:00 2001
From: 刘帅 <rr.iii@qq.com>
Date: 星期一, 14 九月 2026 14:14:08 +0800
Subject: [PATCH] 通话记录页面样式更改

---
 management/src/pages/order/callRecords/index.jsx |   20 ++++----------------
 1 files changed, 4 insertions(+), 16 deletions(-)

diff --git a/management/src/pages/order/callRecords/index.jsx b/management/src/pages/order/callRecords/index.jsx
index d40d190..81ad4cb 100644
--- a/management/src/pages/order/callRecords/index.jsx
+++ b/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: '通话录音',

--
Gitblit v1.7.1