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}/BathroomProcess/v1/settings/list`, method:METHOD.POST }, // 用户配置
	SettingsUpdate: {url:`${BASE_URL}/BathroomProcess/v1/settings/update`, method:METHOD.POST }, // 用户配置修改
	LogList: {url:`${BASE_URL}/BathroomProcess/v1/log/list`, method:METHOD.POST }, // 操作日志列表
	LogDetail: {url:`${BASE_URL}/BathroomProcess/v1/log/detail`, method:METHOD.POST }, // 操作日志详情
	BathroomProcessList: {url:`${BASE_URL}/BathroomProcess/v1/bathroom/process/list`, method:METHOD.POST }, // 加工工序列表
	BathroomProcessDetail: {url:`${BASE_URL}/BathroomProcess/v1/bathroom/process/detail`, method:METHOD.POST }, // 加工工序详情
	BathroomProcessCreate: {url:`${BASE_URL}/BathroomProcess/v1/bathroom/process/create`, method:METHOD.POST }, // 创建加工工序
	BathroomProcessUpdate: {url:`${BASE_URL}/BathroomProcess/v1/bathroom/process/update`, method:METHOD.POST }, // 更新加工工序
	BathroomProcessDelete: {url:`${BASE_URL}/BathroomProcess/v1/bathroom/process/detele`, method:METHOD.POST }, // 删除加工工序
	BathroomProcessBatchDelete: {url:`${BASE_URL}/BathroomProcess/v1/bathroom/process/batchDelete`, method:METHOD.POST }, // 批量删除加工工序
	BathroomProcessBatchUpdate: {url:`${BASE_URL}/BathroomProcess/v1/bathroom/process/batchUpdate`, method:METHOD.POST }, // 批量更新加工工序
	BathroomProcessBatchCreate: {url:`${BASE_URL}/BathroomProcess/v1/bathroom/process/batchCreate`, method:METHOD.POST }, // 批量创建加工工序
	BathroomProcessExportExcel: {url:`${BASE_URL}/BathroomProcess/v1/bathroom/process/export/excel`, method:METHOD.POST }, // 导出加工工序数据到EXCEL
	BathroomProcessImportExcel: {url:`${BASE_URL}/BathroomProcess/v1/bathroom/process/import/excel`, method:METHOD.POST }, // 批量导入EXCEL加工工序数据
}
