export type B1formType = {
  pageSize: number
  pageNum: number
  num: string
  businessTimeStart: string
  businessTimeEnd: string
  deptName: string
  userName: string
  startTime: string
  endTime: string
  status: string
  userType: string
}

export type B1InputKeyType = keyof B1formType

export const B1baseFormData: B1formType = {
  pageSize: 10,
  pageNum: 1,

  num: '',
  businessTimeStart: '',
  businessTimeEnd: '',
  deptName: '',
  userName: '',
  startTime: '',
  endTime: '',
  status: '',
  userType: ''
}

export type B1Xtype = {
  addr: string
  createTime: string
  creatorId: number
  creatorName: string
  file: []
  fileIds: string
  id: number
  linkman: string
  name: string
  phone: string
  rtf: string
  type: string
  updateTime: string
  img: []
}

export const B3aForm1 = [
  { name: '业务名称', key: 'typeName' },
  { name: '发起人', key: 'creatorName' },
  { name: '发起部门', key: 'deptName' },
  { name: '业务单号', key: 'num' }
]

export type D3InputKeyType = 'num' | 'name' | 'deptName' | 'userName'

export const B3_4inputKeyArr: {
  name: string
  key: D3InputKeyType
}[] = [
  { name: '业务单号', key: 'num' },
  { name: '申请名称', key: 'name' },
  { name: '发起部门', key: 'deptName' },
  { name: '发起人', key: 'userName' }
]
