import {SET_ALLCHECKS,SHOW_IN_ICSSS,SELECT_ONE_CHECKS,SEARCH_HOSPITAL_PAC_SON,SEARCH_HOSPITAL_PAC} from '../types/wrapModalBodyPac';

export const showInIcsss = () => ({         //确认选择显示到页面
  type:SHOW_IN_ICSSS
})
export const selectOneChecks = (name,checkItem,item,idx) => ({         //选一个
  type:SELECT_ONE_CHECKS,
  name,
  checkItem,
  item,
  idx
})
export const allCheckImports = () => ({         //全选反选
  type:SET_ALLCHECKS
})
export const getHospitalPacDetailList = (list,name) => ({         //检索医院辅检项
  type:SEARCH_HOSPITAL_PAC_SON,
  list,
  name
})
export const getHospitalPacList = (list,msg) => ({         //检索医院辅检项
  type:SEARCH_HOSPITAL_PAC,
  list,msg
})