diff --git a/src/api/sys/sop.js b/src/api/sys/sop.js new file mode 100644 index 0000000..6323e3f --- /dev/null +++ b/src/api/sys/sop.js @@ -0,0 +1,47 @@ +import { createAPI } from "@/utils/httpRequest.js"; + +// ========== URL配置相关 ========== - rqrq + +// 查询URL配置列表 - rqrq +export const getUrlConfigList = data => createAPI('/sys/sop/urlConfig/list', 'post', data) + +// 查询所有启用的URL配置(下拉选择)- rqrq +export const getActiveUrlList = data => createAPI('/sys/sop/urlConfig/activeList', 'post', data) + +// 获取平台列表(PC/PDA)- rqrq +export const getPlatformList = data => createAPI('/sys/sop/urlConfig/platformList', 'post', data) + +// 根据平台获取模块列表 - rqrq +export const getModuleListByPlatform = data => createAPI('/sys/sop/urlConfig/moduleList', 'post', data) + +// 根据平台和模块获取功能页面列表 - rqrq +export const getPageListByPlatformAndModule = data => createAPI('/sys/sop/urlConfig/pageList', 'post', data) + +// 根据URL查询配置 - rqrq +export const getUrlConfigByUrl = data => createAPI('/sys/sop/urlConfig/getByUrl', 'post', data) + +// 保存URL配置 - rqrq +export const saveUrlConfig = data => createAPI('/sys/sop/urlConfig/save', 'post', data) + +// 删除URL配置 - rqrq +export const deleteUrlConfig = data => createAPI('/sys/sop/urlConfig/delete', 'post', data) + +// ========== 错误详情相关 ========== - rqrq + +// 查询错误详情列表 - rqrq +export const getErrorDetailList = data => createAPI('/sys/sop/errorDetail/list', 'post', data) + +// 根据URL查询错误详情 - rqrq +export const getErrorDetailByUrl = data => createAPI('/sys/sop/errorDetail/getByUrl', 'post', data) + +// 根据URL获取按钮列表 - rqrq +export const getFunctionButtonsByUrl = data => createAPI('/sys/sop/errorDetail/getFunctionButtons', 'post', data) + +// 保存错误详情 - rqrq +export const saveErrorDetail = data => createAPI('/sys/sop/errorDetail/save', 'post', data) + +// 更新错误详情 - rqrq +export const updateErrorDetail = data => createAPI('/sys/sop/errorDetail/update', 'post', data) + +// 删除错误详情 - rqrq +export const deleteErrorDetail = data => createAPI('/sys/sop/errorDetail/delete', 'post', data) diff --git a/src/views/modules/automatedWarehouse/sopManagement.vue b/src/views/modules/automatedWarehouse/sopManagement.vue new file mode 100644 index 0000000..b62c81a --- /dev/null +++ b/src/views/modules/automatedWarehouse/sopManagement.vue @@ -0,0 +1,447 @@ + + + + +