import useSelectStore from '@/store/commonSelect/common'
let templateData = useSelectStore().templateListData

export const searchFormConfig = {
  labelWidth: '120px',
  itemStyle: {
    padding: '0px'
  },
  colLayout: {
    span: 6
  },
  formItems: [
    {
      field: 'phoneNumber',
      type: 'input',
      label: '手机号',
      placeholder: '请输入手机号'
    },
    {
      field: 'templateId',
      type: 'select',
      label: '模版',
      placeholder: '请选择模版',
      options: templateData
    },
    {
      field: 'sendDirection',
      type: 'select',
      label: '方向',
      placeholder: '请选择方向',
      options: [
        { title: '发送', value: '发送' },
        { title: '接收', value: '接收' }
      ]
    }
  ]
}
