personProfileActions.js 459 Bytes
Newer Older
李彥志's avatar
李彥志 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
import ActionTypes from '../../actions';

export const getEmrRelationship = () => ({
  type: ActionTypes.GET_PERSONPROFILE_EMRRELATIONSHIP_REQUEST
});

export const getPersonalInfo = () => ({
  type: ActionTypes.GET_PERSONPROFILE_PERSONALINFO_REQUEST
});

export const editPhoto = params => ({
  type: ActionTypes.EDIT_PERSONALPHOTO_REQUEST,
  payload: { params }
});

export const deletePhoto = () => ({
  type: ActionTypes.DELETE_PERSONALPHOTO_REQUEST,
});