From 55ceed2b2e8877bde2a4d4ab589552ee33ef2af5 Mon Sep 17 00:00:00 2001 From: chashaobao Date: Fri, 19 Sep 2025 22:45:32 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=8F=91=E5=B8=83=E4=BA=BA=E4=BC=98?= =?UTF-8?q?=E5=85=88=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/table-list/publisher/index.tsx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/pages/table-list/publisher/index.tsx b/src/pages/table-list/publisher/index.tsx index 9f82323..4685a7c 100644 --- a/src/pages/table-list/publisher/index.tsx +++ b/src/pages/table-list/publisher/index.tsx @@ -30,6 +30,11 @@ const HAS_DECLARE_OPTIONS = [ { label: '无报单', value: false }, ]; +const PRIORITY_OPTIONS = [ + { label: '优先处理', value: 1 }, + { label: '正常处理', value: 2 }, +]; + const TableList: React.FC = () => { const [updateModalOpen, handleUpdateModalOpen] = useState(false); const [currentRow, setCurrentRow] = useState(); @@ -49,6 +54,16 @@ const TableList: React.FC = () => { valueType: 'textarea', copyable: true, }, + { + title: '优先级', + dataIndex: 'priority', + renderText(status: number) { + return PRIORITY_OPTIONS.find(option => option.value === status)?.label; + }, + renderFormItem() { + return