export const tableOption = {
  border: true,
  index: true,
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  menuBtn: false,
  editBtn: false,
  delBtn: false,
  addBtn: false,
  filterBtn:false,
  viewBtn:false,

  // title: "培训立项申报任务",
  menuType: 'menu',
  column: [
    {
      label: '任务ID',
      prop: 'taskId',
      editDisabled: true,
      addDisplay: false,
    },
    {
      label: '任务名称',
      prop: 'taskName',
      editDisabled: true,
      addDisplay: false
    },
    // {
    //   label: '模块',
    //   prop: 'category',
    //   editDisabled: true,
    //   addDisplay: false
    // },
    {
      label: '任务描述',
      prop: 'description',
      editDisabled: true,
      addDisplay: false,
      width:450,
    },

    {
      label: '提交时间',
      prop: 'time',
      type: 'datetime',
      format: 'yyyy-MM-dd HH:mm'
    }
  ]
}
export const formOption = {
  submitBtn: false,
  emptytBtn: false,
  row: true,
  span: 12,
  column: [
    {
      label: "任务编号",
      prop: "taskId",
      disabled: true
    },
    {
      label: "任务名称",
      prop: "taskName",
      disabled: true
    }
  ]
}

export const taskOption = {
  menu: false,
  page: false,
  addBtn: false,
  align: 'center',
  menuAlign: 'center',
  column: [
    {
      label: 'id',
      prop: 'id',
      hide: true
    },
    {
      label: '用户',
      prop: 'userId'
    },
    {
      label: '批注',
      prop: 'fullMessage'
    }, {
      label: "操作时间",
      prop: "time",
      type: "datetime",
      format: "yyyy-MM-dd hh:mm:ss",
      valueFormat: "yyyy-MM-dd hh:mm:ss",
    }
  ]
}
