import { TableConfigData } from "@/table/type";

const projectListData: TableConfigData = {
  title: '项目',
  tableTitle: [
    {
      label: '快捷',
      prop: 'quick',
      type: '',
      viewType: 'module',
      width: '80',
      fixed: 'left'
    },
    {
      label: '状态',
      prop: 'delayLevelName',
      type: '',
      viewType: 'module',
      width: '80',
      fixed: 'left'
    },
    {
      label: '项目编号',
      prop: 'code',
      type: '',
      viewType: 'field',
      fixed: 'left'
    },
    {
      label: '项目名称',
      prop: 'name',
      type: '',
      viewType: 'module',
      width: '200',
      fixed: 'left'
    },
    {
      label: '项目经理',
      prop: 'managerName',
      type: '',
      viewType: 'field',
      width: '120'
    },
    {
      label: '项目阶段',
      prop: 'phase',
      type: '',
      viewType: 'field',
      width: '120'
    },
    {
      label: '项目状态',
      prop: 'state',
      type: '',
      viewType: 'field',
      width: '120'
    }
  ],
  drawerformData: {
  },
  btnObj: {
    width: '100',
    isAdd: false,
    isDelete: false
  },
  apiKey: 'project',
  tableApi: '/projectList',
  dataKey: ''
}

export { projectListData }
