// 考勤记录api
import request from "@/utils/request";

export const kqjlApi = {
    bjdm_cx: (data) => {       
        return request.post( `/service?ssServ=bjdm_cx&management=1&isReady=1`,
        data,
        {
          loading: true,
          formData: true,
        }

      );
    },
    bjdm_initBzrDm: (data) => {       
        return request.post( `/service?ssServ=bjdm_initBzrdm`,
        data,
        {
          loading: true,
          formData: true,
        }

      );
    },
    bjdm_saveBzrDm: (data) => {       
      return request.post( `/service?ssServ=bjdm_saveBzrdm`,
        data,
        {
          loading: true,
          formData: true,
        }

      );
    },
    mp_bzrdmHomep_load:(data) => {
      return request.post( `/service?ssServ=mp_bzrdmHomep_load`,
        data,
        {
          loading: true,
          formData: true,
        }

      );  
    },
    mp_njdmHomep_load:(data) => {
      return request.post( `/service?ssServ=mp_njdmHomep_load`,
        data,
        {
          loading: true,
          formData: true,
        }

      );  
    },
    mp_njdmHomep_refreshLoad:(data) => {
      return request.post( `/service?ssServ=mp_njdmHomep_refresh`,
        data,
        {
          loading: false,
          formData: true,
        }
      );  
    },

}
