import axios from "@/tools/axios.js";
//登录
export const Login =   (data) =>  {
    	return 	axios({url:import.meta.env.VITE_APP_API+'admin/login',data:data})
}
//admin后台获取当前用户菜单
export const GetAdminBaseMenuList =   (data={}) =>  {
    	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/getBaseMenuList',data:data})
}
//Token刷新
export const TokenRefresh =   (data={}) =>  {
    	return 	axios({url:import.meta.env.VITE_APP_API+'tokenRefresh',data:data})
}
//获取admin后台用户list
export const getAdminUserList =   (data={}) =>  {
    	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/getUserList',data:data})
}
//admin后台获取所有菜单列表
export const GetAdminMenuList =   (data={}) =>  {
    	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/getMenuList',data:data})
}
//admin后台获取一级菜单
export const GetFatherMenuList =   (data={}) =>  {
    	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/GetFatherMenuList',data:data})
}
//admin后台添加菜单
export const AddMenu =   (data={}) =>  {
    	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/AddMenu',data:data})
}
//admin后台编辑菜单
export const EditMenu =   (data={}) =>  {
    	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/EditMenu',data:data})
}
//admin后台组列表
export const getGroupList =   (data={}) =>  {
    	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/getGroupList',data:data})
}
//admin后台修改组菜单
export const GroupChangeMenu =   (data={}) =>  {
    	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/GroupChangeMenu',data:data})
}
//admin后台添加组
export const SaveGroup =   (data={}) =>  {
    	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/SaveGroup',data:data})
}
//admin后台保存用户信息
export const SaveSystemUserInfo =   (data={}) =>  {
    	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/SaveSystemUserInfo',data:data})
}
//admin后台获取用户详细信息
export const GetSystemUserDetail =   (data={}) =>  {
    	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/GetSystemUserDetail',data:data})
}
//admin后台修改密码
export const adminChangePwd =   (data={}) =>  {
    	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/adminChangePwd',data:data})
}
//admin后台获取登录用户基本信息
export const GetBaseAdminUserInfo =   (data={}) =>  {
    	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/GetBaseUserInfo',data:data})
}
//admin后台管理员查询分组使用的菜单
export const AdminGetGroupMenuList =   (data={}) =>  {
    	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/GetGroupMenuList',data:data})
}
//admin后台获取可用体检机构列表
export const GetHealthOrganizationEnableList =   (data={}) =>  {
    	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/GetHealthOrganizationEnableList',data:data})
}
//admin后台创建体检日历
export const CreateCalendar =   (data={}) =>  {
    	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/CreateCalendar',data:data})
}
//admin后台获取日历列表
export const CalendarGetList =   (data={}) =>  {
    	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/CalendarGetList',data:data})
}
//admin后台删除日历列表
export const CalendarDel =   (data={}) =>  {
    	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/CalendarListDel',data:data})
}
//admin后台更新日历
export const CalendarChangeInfo =   (data={}) =>  {
    	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/CalendarChangeInfo',data:data})
}
//admin后台更新日历
export const CheckMenuAuth =   (data={}) =>  {
	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/CheckMenuAuth',data:data})
}
//admin后台获取体检记录
export const GetCheckUpList =   (data={}) =>  {
	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/GetCheckUpList',data:data})
}
//admin后台获取预约记录
export const GetAppointmentList =   (data={}) =>  {
	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/GetAppointmentList',data:data})
}
//admin后台删除预约记录
export const DelAppointment =   (data={}) =>  {
	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/DelAppointment',data:data})
}
//请求登录二维码
export const addSignJob =   (data={}) =>  {
	return 	axios({url:import.meta.env.VITE_APP_API+'addSignJob',data:data})
}
//检查扫码回调结果
export const XTSignCheckNotify =   (data={}) =>  {
	return 	axios({url:import.meta.env.VITE_APP_API+'XTSignCheckNotify',data:data})
}
//admin后台用户绑定协同签名useid
export const XTSignBindUser =   (data={}) =>  {
	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/XTSignBindUser',data:data})
}

//admin后台用户绑定ukey
export const UkeyBindUser =   (data={}) =>  {
	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/UkeyBindUser',data:data})
}

//Ukey获取服务器参数
export const UkeyGetServeInfo =   (data={}) =>  {
	return 	axios({url:import.meta.env.VITE_APP_API+'UkeyGetServeInfo',data:data})
}
//Ukey登陆
export const UkeyUserInfoLogin =   (data={}) =>  {
	return 	axios({url:import.meta.env.VITE_APP_API+'UkeyLogin',data:data})
}
//获取日志列表
export const SystemLogGetList =   (data={}) =>  {
	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/SystemLogGetList',data:data})
}
//获取日志表名
export const GetLogTableName =   (data={}) =>  {
	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/GetLogTableName',data:data})
}
//预约登记统计
export const AppointmentCount =   (data={}) =>  {
	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/AppointmentCount',data:data})
}
//预约登记统计(按月)
export const AppointmentCountByMonth =   (data={}) =>  {
	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/AppointmentCountByMonth',data:data})
}
//机构管理获取列表
export const InstitutionGetList =   (data={}) =>  {
	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/InstitutionGetList',data:data})
}
//保存机构设置
export const InstitutionSavdSeting =   (data={}) =>  {
	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/InstitutionSavdSeting',data:data})
}
//获取机构设置详情
export const InstitutionGetSetingDetail =   (data={}) =>  {
	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/InstitutionGetSetingDetail',data:data})
}

//获取系统参数设置
export const GetConfigs =   (data={}) =>  {
	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/GetConfigs',data:data})
}

//保存系统参数设置
export const SaveConfig =   (data={}) =>  {
	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/SaveConfig',data:data})
}

//体检数量统计
export const CheckUpCount =   (data={}) =>  {
	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/CheckUpCount',data:data})
}

//获取预约记录图片
export const AppointmentGetPicList =   (data={}) =>  {
	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/AppointmentGetPicList',data:data})
}

//平台推送相关
export const PingTaiPushGetList =   (data={}) =>  {
	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/PingTaiPushGetList',data:data})
}
export const PingTaiPushCountByOrg =   (data={}) =>  {
	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/PingTaiPushCountByOrg',data:data})
}
export const PingTaiPushCountByMonth =   (data={}) =>  {
	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/PingTaiPushCountByMonth',data:data})
}
export const PingTaiPushGetDetail =   (data={}) =>  {
	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/PingTaiPushGetDetail',data:data})
}
export const GetPingTaiOrgList =   (data={}) =>  {
	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/GetPingTaiOrgList',data:data})
}

export const ConflictRecordGetList =   (data={}) =>  {
	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/ConflictRecordGetList',data:data})
}

export const ConflictRecordExport =   (data={}) =>  {
	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/ConflictRecordExport',data:data})
}

export const DeleteOperationLogGetList =   (data={}) =>  {
	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/DeleteOperationLogGetList',data:data})
}

export const DeleteOperationLogExport =   (data={}) =>  {
	return 	axios({url:import.meta.env.VITE_APP_API+'v1/admin/DeleteOperationLogExport',data:data})
}