import dayjs from 'dayjs';

export const columns = [
    {
      title: 'ID',
      dataIndex: 'id',
      ifShow: false,
    },
    {
      title: '影像名称',
      dataIndex: 'layerName',
      width: 100,
    },
    {
      title: '数据表名',
      dataIndex: 'dataTable',
      width: 100,
    },
    {
      title: '时间',
      dataIndex: 'dateDir',
      width: 80,
    },
    {
      title: 'accessUrl',
      dataIndex: 'accessUrl',
      ifShow: false,
      width: 300,
    },
    {
      title: 'shpPath',
      dataIndex: 'shpPath',
      width: 150,
    },
    {
      title: 'tiffPath',
      dataIndex: 'tiffPath',
      width: 150,
    },
    {
      title: '创建时间',
      dataIndex: 'createTime',
      width: 120,
    },
    {
      title: '修改时间',
      dataIndex: 'updateTime',
      width: 120,
    },
];

export const searchFormSchema = [
  {
    field: 'key',
    label: '数据表名',
    component: 'Input',
    colProps: { span: 12 },
  },
];  