import { BasicColumn, FormSchema } from '@/components/Table';

export const tableColums: BasicColumn[] = [
  {
    title: '案件编号',
    dataIndex: 'case_no',
    width: 120,
  },
  {
    title: '上报时间',
    dataIndex: 'createtime',
    width: 120,
  },
  {
    title: '地点',
    dataIndex: 'address',
    width: 150,
  },
  {
    title: '案件描述',
    dataIndex: 'case_description',
    width: 150,
  },
  {
    title: '处理时间',
    dataIndex: 'deal_time',
    width: 120,
  },
  {
    title: '案件处理人',
    dataIndex: 'deal_username',
    width: 100,
  },
  {
    title: '处理进度',
    dataIndex: 'verifystatusname',
    width: 80,
  },
  {
    title: '处理状态',
    dataIndex: 'handle_status_name',
    width: 80,
  },
  {
    title: '案件审核人',
    dataIndex: 'verifyuser',
    width: 100,
  },
  {
    title: '办结时间',
    dataIndex: 'verifytime',
    width: 120,
  },
];

export const searchFormSchema: FormSchema[] = [
  {
    field: 'keyword',
    label: '关键字',
    component: 'Input',
    colProps: { span: 8 },
  },
];
