|
|
@@ -9,7 +9,7 @@ import { api_corpUser_allOfUser } from '@/API/global';
|
|
|
import { useAjax } from '@/Hook/useAjax';
|
|
|
import { useForm } from 'antd/es/form/Form'
|
|
|
import moment from 'dayjs'
|
|
|
-import tableConfig from './tableConfig';
|
|
|
+import tableConfig, { obj } from './tableConfig';
|
|
|
const { RangePicker } = DatePicker;
|
|
|
|
|
|
const ChatRecord: React.FC = () => {
|
|
|
@@ -134,6 +134,20 @@ const ChatRecord: React.FC = () => {
|
|
|
}
|
|
|
]}
|
|
|
/>
|
|
|
+ <Select
|
|
|
+ style={{ minWidth: 125 }}
|
|
|
+ placeholder='消息类型'
|
|
|
+ allowClear
|
|
|
+ autoClearSearchValue={false}
|
|
|
+ mode='multiple'
|
|
|
+ maxTagCount={2}
|
|
|
+ onChange={(e) => { setQueryForm({ ...queryForm, msgType: e, pageNum: 1 }) }}
|
|
|
+ value={queryForm?.msgType}
|
|
|
+ filterOption={(input, option) =>
|
|
|
+ ((option?.label ?? '') as any).toLowerCase().includes(input.toLowerCase())
|
|
|
+ }
|
|
|
+ options={Object.keys(obj).map((item) => ({ label: obj[item], value: item }))}
|
|
|
+ />
|
|
|
<Select
|
|
|
style={{ minWidth: 125 }}
|
|
|
placeholder='风险等级'
|