// 文物分页的配置
export const tableTitle = [{
  prop: "title",
  label: "上传标题",
  columnAlign: 'center',
  showOverFlowToolTip: true,
},
{
  prop: "name",
  label: "上传文件(包)名",
  columnAlign: 'center',
  showOverFlowToolTip: true,
},
{
  prop: "deptName",
  label: "单位",
  columnAlign: 'center',
  isFaceImage: true,
},
{
  prop: "status",
  label: "状态",
  width: 100,
  columnAlign: 'center',
  isStatus: true
},
{
  prop: "createTime",
  label: "创建时间",
  columnAlign: 'center',
},
{
  prop: "createName",
  label: "创建人",
  columnAlign: 'center',
  showOverFlowToolTip: true,
},

{
  prop: "remark",
  label: "备注",
  columnAlign: 'center',
},
]


export const operates = {
  operate: true,
  label: "操作",
  titleAlign: "center",
  columnAlign: "center",
  width: "280px",
}

export const operations = [
  {
    type: 'view',
    title: '查看详情',
    perms: 'bizCulturalRelic:list',//暂时使用展览的列表
  },

  {
    type: 'download',
    title: '下载',
    perms: 'bizCulturalRelic:list',//暂时使用展览的列表
  },
  {
    type: 'delete',
    title: '删除',
    perms: 'bizCulturalRelic:delete',//暂时使用展览的列表
  },

]


// 搜索配置
export const searchConfig = [
  {
    prop: "name",
    type: "input",
    label: "标题",
  },
  {
    prop: "status",
    type: "select",
    label: "状态",
    selectOptions: [
      {
        label: "已完成",
        value: "1",
      },
      {
        label: "处理中",
        value: "0",
      },
      {
        label: "已失败",
        value: "-1",
      }
    ],
  },
]

