import useSelectStore from '@/store/commonSelect/common'


export const modalConfig = {
  formItems: [
    {
      required : true ,
      field: 'callnum',
      type: 'input',
      label: '来电号码',
      placeholder: '请输入岗位名称'
    },
    {
      required : true ,
      field: 'caller',
      type: 'input',
      label: '来电人',
      placeholder: '请输入来电人'
    },
    {
      required : true ,
      field: 'project',
      type: 'select',
      label: '项目',
      placeholder: '请输入项目',
      options : useSelectStore().dictProjectList
    },
    {
		required : true ,
		field: 'workordercate',
		type: 'elCascader',
		label: '工单类型',
		placeholder: '请输入工单类型',
		options : useSelectStore().dictOrderTypeList,
		props: {
		  value: 'id',
		  children: 'children',
		}
    },
    {
      required : true ,
      field: 'content',
      type: 'textarea',
      label: '工单内容',
      placeholder: '请输入工单内容'
    },
  ],
  colLayout: { span: 24 },
  subimitLoding : false,
  itemStyle: {}
}
