const request = require('@/utils/request') // 导入请求方法
const METHOD = request.METHOD
const BASE_URL = process.env.VUE_APP_API_BASE_URL // 获取环境变量VUE_APP_API_BASE_URL

module.exports = {
    BASE_URL,
	Settings: {url:`${BASE_URL}/BathroomLabor/v1/settings/list`, method:METHOD.POST }, // 用户配置
	SettingsUpdate: {url:`${BASE_URL}/BathroomLabor/v1/settings/update`, method:METHOD.POST }, // 用户配置修改
	LogList: {url:`${BASE_URL}/BathroomLabor/v1/log/list`, method:METHOD.POST }, // 操作日志列表
	LogDetail: {url:`${BASE_URL}/BathroomLabor/v1/log/detail`, method:METHOD.POST }, // 操作日志详情
	BathroomLaborList: {url:`${BASE_URL}/BathroomLabor/v1/bathroom/labor/list`, method:METHOD.POST }, // 人工费用方案列表
	BathroomLaborDetail: {url:`${BASE_URL}/BathroomLabor/v1/bathroom/labor/detail`, method:METHOD.POST }, // 人工费用方案详情
	BathroomLaborCreate: {url:`${BASE_URL}/BathroomLabor/v1/bathroom/labor/create`, method:METHOD.POST }, // 创建人工费用方案
	BathroomLaborUpdate: {url:`${BASE_URL}/BathroomLabor/v1/bathroom/labor/update`, method:METHOD.POST }, // 更新人工费用方案
	BathroomLaborDelete: {url:`${BASE_URL}/BathroomLabor/v1/bathroom/labor/detele`, method:METHOD.POST }, // 删除人工费用方案
	BathroomLaborBatchDelete: {url:`${BASE_URL}/BathroomLabor/v1/bathroom/labor/batchDelete`, method:METHOD.POST }, // 批量删除人工费用方案
	BathroomLaborBatchUpdate: {url:`${BASE_URL}/BathroomLabor/v1/bathroom/labor/batchUpdate`, method:METHOD.POST }, // 批量更新人工费用方案
	BathroomLaborBatchCreate: {url:`${BASE_URL}/BathroomLabor/v1/bathroom/labor/batchCreate`, method:METHOD.POST }, // 批量创建人工费用方案
	BathroomLaborExportExcel: {url:`${BASE_URL}/BathroomLabor/v1/bathroom/labor/export/excel`, method:METHOD.POST }, // 导出人工费用方案数据到EXCEL
	BathroomLaborImportExcel: {url:`${BASE_URL}/BathroomLabor/v1/bathroom/labor/import/excel`, method:METHOD.POST }, // 批量导入EXCEL人工费用方案数据
	BathroomLaborOpen: {url:`${BASE_URL}/BathroomLabor/v1/bathroom/labor/open`, method:METHOD.POST }, // 打开人工费用方案
	BathroomLaborClose: {url:`${BASE_URL}/BathroomLabor/v1/bathroom/labor/close`, method:METHOD.POST }, // 关闭人工费用方案
}
