diff --git a/src/api/modular/main/scrfactoryheat/scrFactoryHeatManage.js b/src/api/modular/main/scrfactoryheat/scrFactoryHeatManage.js new file mode 100644 index 0000000..3ebed4a --- /dev/null +++ b/src/api/modular/main/scrfactoryheat/scrFactoryHeatManage.js @@ -0,0 +1,86 @@ +import { axios } from '@/utils/request' + +/** + * 查询分厂炉号对应关系 + * + * @author zhangyn + * @date 2025-10-14 15:21:44 + */ +export function scrFactoryHeatPage (parameter) { + return axios({ + url: '/scrFactoryHeat/page', + method: 'get', + params: parameter + }) +} + +/** + * 分厂炉号对应关系列表 + * + * @author zhangyn + * @date 2025-10-14 15:21:44 + */ +export function scrFactoryHeatList (parameter) { + return axios({ + url: '/scrFactoryHeat/list', + method: 'get', + params: parameter + }) +} + +/** + * 添加分厂炉号对应关系 + * + * @author zhangyn + * @date 2025-10-14 15:21:44 + */ +export function scrFactoryHeatAdd (parameter) { + return axios({ + url: '/scrFactoryHeat/add', + method: 'post', + data: parameter + }) +} + +/** + * 编辑分厂炉号对应关系 + * + * @author zhangyn + * @date 2025-10-14 15:21:44 + */ +export function scrFactoryHeatEdit (parameter) { + return axios({ + url: '/scrFactoryHeat/edit', + method: 'post', + data: parameter + }) +} + +/** + * 删除分厂炉号对应关系 + * + * @author zhangyn + * @date 2025-10-14 15:21:44 + */ +export function scrFactoryHeatDelete (parameter) { + return axios({ + url: '/scrFactoryHeat/delete', + method: 'post', + data: parameter + }) +} + +/** + * 导出分厂炉号对应关系 + * + * @author zhangyn + * @date 2025-10-14 15:21:44 + */ +export function scrFactoryHeatExport (parameter) { + return axios({ + url: '/scrFactoryHeat/export', + method: 'get', + params: parameter, + responseType: 'blob' + }) +} diff --git a/src/api/modular/main/scrproduction/scrProductionManage.js b/src/api/modular/main/scrproduction/scrProductionManage.js new file mode 100644 index 0000000..eafa6a7 --- /dev/null +++ b/src/api/modular/main/scrproduction/scrProductionManage.js @@ -0,0 +1,86 @@ +import { axios } from '@/utils/request' + +/** + * 查询产量 + * + * @author zyn + * @date 2025-10-14 15:23:48 + */ +export function scrProductionPage (parameter) { + return axios({ + url: '/scrProduction/page', + method: 'get', + params: parameter + }) +} + +/** + * 产量列表 + * + * @author zyn + * @date 2025-10-14 15:23:48 + */ +export function scrProductionList (parameter) { + return axios({ + url: '/scrProduction/list', + method: 'get', + params: parameter + }) +} + +/** + * 添加产量 + * + * @author zyn + * @date 2025-10-14 15:23:48 + */ +export function scrProductionAdd (parameter) { + return axios({ + url: '/scrProduction/add', + method: 'post', + data: parameter + }) +} + +/** + * 编辑产量 + * + * @author zyn + * @date 2025-10-14 15:23:48 + */ +export function scrProductionEdit (parameter) { + return axios({ + url: '/scrProduction/edit', + method: 'post', + data: parameter + }) +} + +/** + * 删除产量 + * + * @author zyn + * @date 2025-10-14 15:23:48 + */ +export function scrProductionDelete (parameter) { + return axios({ + url: '/scrProduction/delete', + method: 'post', + data: parameter + }) +} + +/** + * 导出产量 + * + * @author zyn + * @date 2025-10-14 15:23:48 + */ +export function scrProductionExport (parameter) { + return axios({ + url: '/scrProduction/export', + method: 'get', + params: parameter, + responseType: 'blob' + }) +} diff --git a/src/api/modular/main/scrrawmaterials/scrRawMaterialsManage.js b/src/api/modular/main/scrrawmaterials/scrRawMaterialsManage.js new file mode 100644 index 0000000..f091a8f --- /dev/null +++ b/src/api/modular/main/scrrawmaterials/scrRawMaterialsManage.js @@ -0,0 +1,86 @@ +import { axios } from '@/utils/request' + +/** + * 查询原材料 + * + * @author zyn + * @date 2025-10-14 15:26:34 + */ +export function scrRawMaterialsPage (parameter) { + return axios({ + url: '/scrRawMaterials/page', + method: 'get', + params: parameter + }) +} + +/** + * 原材料列表 + * + * @author zyn + * @date 2025-10-14 15:26:34 + */ +export function scrRawMaterialsList (parameter) { + return axios({ + url: '/scrRawMaterials/list', + method: 'get', + params: parameter + }) +} + +/** + * 添加原材料 + * + * @author zyn + * @date 2025-10-14 15:26:34 + */ +export function scrRawMaterialsAdd (parameter) { + return axios({ + url: '/scrRawMaterials/add', + method: 'post', + data: parameter + }) +} + +/** + * 编辑原材料 + * + * @author zyn + * @date 2025-10-14 15:26:34 + */ +export function scrRawMaterialsEdit (parameter) { + return axios({ + url: '/scrRawMaterials/edit', + method: 'post', + data: parameter + }) +} + +/** + * 删除原材料 + * + * @author zyn + * @date 2025-10-14 15:26:34 + */ +export function scrRawMaterialsDelete (parameter) { + return axios({ + url: '/scrRawMaterials/delete', + method: 'post', + data: parameter + }) +} + +/** + * 导出原材料 + * + * @author zyn + * @date 2025-10-14 15:26:34 + */ +export function scrRawMaterialsExport (parameter) { + return axios({ + url: '/scrRawMaterials/export', + method: 'get', + params: parameter, + responseType: 'blob' + }) +} diff --git a/src/api/modular/main/scrsecurity/scrSecurityManage.js b/src/api/modular/main/scrsecurity/scrSecurityManage.js new file mode 100644 index 0000000..4919102 --- /dev/null +++ b/src/api/modular/main/scrsecurity/scrSecurityManage.js @@ -0,0 +1,86 @@ +import { axios } from '@/utils/request' + +/** + * 查询安全异常事件 + * + * @author zyn + * @date 2025-10-14 15:27:08 + */ +export function scrSecurityPage (parameter) { + return axios({ + url: '/scrSecurity/page', + method: 'get', + params: parameter + }) +} + +/** + * 安全异常事件列表 + * + * @author zyn + * @date 2025-10-14 15:27:08 + */ +export function scrSecurityList (parameter) { + return axios({ + url: '/scrSecurity/list', + method: 'get', + params: parameter + }) +} + +/** + * 添加安全异常事件 + * + * @author zyn + * @date 2025-10-14 15:27:08 + */ +export function scrSecurityAdd (parameter) { + return axios({ + url: '/scrSecurity/add', + method: 'post', + data: parameter + }) +} + +/** + * 编辑安全异常事件 + * + * @author zyn + * @date 2025-10-14 15:27:08 + */ +export function scrSecurityEdit (parameter) { + return axios({ + url: '/scrSecurity/edit', + method: 'post', + data: parameter + }) +} + +/** + * 删除安全异常事件 + * + * @author zyn + * @date 2025-10-14 15:27:08 + */ +export function scrSecurityDelete (parameter) { + return axios({ + url: '/scrSecurity/delete', + method: 'post', + data: parameter + }) +} + +/** + * 导出安全异常事件 + * + * @author zyn + * @date 2025-10-14 15:27:08 + */ +export function scrSecurityExport (parameter) { + return axios({ + url: '/scrSecurity/export', + method: 'get', + params: parameter, + responseType: 'blob' + }) +} diff --git a/src/components/tools/UserMenu.vue b/src/components/tools/UserMenu.vue index 657f746..4836597 100644 --- a/src/components/tools/UserMenu.vue +++ b/src/components/tools/UserMenu.vue @@ -18,19 +18,19 @@ 切换应用 - + + + diff --git a/src/config/defaultSettings.js b/src/config/defaultSettings.js index a95c913..8e170df 100644 --- a/src/config/defaultSettings.js +++ b/src/config/defaultSettings.js @@ -20,11 +20,11 @@ export default { navTheme: 'dark', // theme for nav menu layout: 'sidemenu', // nav menu position: sidemenu or topmenu contentWidth: 'Fixed', // layout of content: Fluid or Fixed, only works when layout is topmenu - fixedHeader: false, // sticky header - fixSiderbar: false, // sticky siderbar + fixedHeader: true, // sticky header + fixSiderbar: true, // sticky siderbar autoHideHeader: false, // auto hide header colorWeak: false, - multiTab: false, + multiTab: true, production: process.env.NODE_ENV === 'production' && process.env.VUE_APP_PREVIEW !== 'true', // vue-ls options storageOptions: { diff --git a/src/layouts/PageView.vue b/src/layouts/PageView.vue index 7d9c6e1..c70eea9 100644 --- a/src/layouts/PageView.vue +++ b/src/layouts/PageView.vue @@ -1,7 +1,7 @@