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