From d35b6d6ad761fda8c812282d695d099bb34dfe4d Mon Sep 17 00:00:00 2001 From: lj7788 Date: Fri, 10 Apr 2026 17:03:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=89=E5=85=A8=E7=A9=BF=E9=80=8F=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E5=AE=9E=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docsql/2026/04/sys_menu.sql | 118 +++++++ .../AfterSafeConfirmController.java | 106 ++++++ .../BeforeSafeCheckController.java | 106 ++++++ .../FollowUpAssignmentCfgController.java | 106 ++++++ .../HorizontalCheckCfgController.java | 106 ++++++ .../HorizontalCheckController.java | 106 ++++++ .../KeyConstructionController.java | 106 ++++++ .../VerticalCheckCfgController.java | 106 ++++++ .../src/api/manage/afterSafeConfirm.js | 44 +++ .../src/api/manage/beforeSafeCheck.js | 44 +++ .../src/api/manage/followUpAssignmentCfg.js | 44 +++ .../src/api/manage/horizontalCheck.js | 44 +++ .../src/api/manage/horizontalCheckCfg.js | 44 +++ .../src/api/manage/keyConstruction.js | 44 +++ .../src/api/manage/verticalCheckCfg.js | 44 +++ yanzhu-ui-vue3/src/assets/styles/sidebar.scss | 2 + .../afterSafeConfirm/index.vue | 281 ++++++++++++++++ .../safePenetration/beforeSafeCheck/index.vue | 281 ++++++++++++++++ .../followUpAssignmentCfg/index.vue | 310 ++++++++++++++++++ .../safePenetration/horizontalCheck/index.vue | 281 ++++++++++++++++ .../horizontalCheckCfg/index.vue | 310 ++++++++++++++++++ .../safePenetration/keyConstruction/index.vue | 281 ++++++++++++++++ .../verticalCheckCfg/index.vue | 310 ++++++++++++++++++ 23 files changed, 3224 insertions(+) create mode 100644 docsql/2026/04/sys_menu.sql create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/AfterSafeConfirmController.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/BeforeSafeCheckController.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/FollowUpAssignmentCfgController.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/HorizontalCheckCfgController.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/HorizontalCheckController.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/KeyConstructionController.java create mode 100644 yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/VerticalCheckCfgController.java create mode 100644 yanzhu-ui-vue3/src/api/manage/afterSafeConfirm.js create mode 100644 yanzhu-ui-vue3/src/api/manage/beforeSafeCheck.js create mode 100644 yanzhu-ui-vue3/src/api/manage/followUpAssignmentCfg.js create mode 100644 yanzhu-ui-vue3/src/api/manage/horizontalCheck.js create mode 100644 yanzhu-ui-vue3/src/api/manage/horizontalCheckCfg.js create mode 100644 yanzhu-ui-vue3/src/api/manage/keyConstruction.js create mode 100644 yanzhu-ui-vue3/src/api/manage/verticalCheckCfg.js create mode 100755 yanzhu-ui-vue3/src/views/safePenetration/afterSafeConfirm/index.vue create mode 100755 yanzhu-ui-vue3/src/views/safePenetration/beforeSafeCheck/index.vue create mode 100755 yanzhu-ui-vue3/src/views/safePenetration/followUpAssignmentCfg/index.vue create mode 100755 yanzhu-ui-vue3/src/views/safePenetration/horizontalCheck/index.vue create mode 100755 yanzhu-ui-vue3/src/views/safePenetration/horizontalCheckCfg/index.vue create mode 100755 yanzhu-ui-vue3/src/views/safePenetration/keyConstruction/index.vue create mode 100755 yanzhu-ui-vue3/src/views/safePenetration/verticalCheckCfg/index.vue diff --git a/docsql/2026/04/sys_menu.sql b/docsql/2026/04/sys_menu.sql new file mode 100644 index 00000000..c1d41d6b --- /dev/null +++ b/docsql/2026/04/sys_menu.sql @@ -0,0 +1,118 @@ +/* + Navicat Premium Dump SQL + + Source Server : 62.234.3.186 + Source Server Type : MySQL + Source Server Version : 80037 (8.0.37) + Source Host : 62.234.3.186:3306 + Source Schema : yanzhu_project_cloud + + Target Server Type : MySQL + Target Server Version : 80037 (8.0.37) + File Encoding : 65001 + + Date: 10/04/2026 16:21:07 +*/ + +SET NAMES utf8mb4; +SET FOREIGN_KEY_CHECKS = 0; + +-- ---------------------------- +-- Table structure for sys_menu +-- ---------------------------- +DROP TABLE IF EXISTS `sys_menu`; +CREATE TABLE `sys_menu` ( + `menu_id` bigint NOT NULL AUTO_INCREMENT COMMENT '菜单ID', + `menu_name` varchar(50) NOT NULL COMMENT '菜单名称', + `parent_id` bigint DEFAULT '0' COMMENT '父菜单ID', + `order_num` int DEFAULT '0' COMMENT '显示顺序', + `path` varchar(200) DEFAULT '' COMMENT '路由地址', + `component` varchar(255) DEFAULT NULL COMMENT '组件路径', + `query` varchar(255) DEFAULT NULL COMMENT '路由参数', + `is_frame` int DEFAULT '1' COMMENT '是否为外链(0是 1否)', + `is_cache` int DEFAULT '0' COMMENT '是否缓存(0缓存 1不缓存)', + `menu_type` char(1) DEFAULT '' COMMENT '菜单类型(M目录 C菜单 F按钮)', + `visible` char(1) DEFAULT '0' COMMENT '菜单状态(0显示 1隐藏)', + `status` char(1) DEFAULT '0' COMMENT '菜单状态(0正常 1停用)', + `perms` varchar(100) DEFAULT NULL COMMENT '权限标识', + `icon` varchar(100) DEFAULT '#' COMMENT '菜单图标', + `create_by` varchar(64) DEFAULT '' COMMENT '创建者', + `create_time` datetime DEFAULT NULL COMMENT '创建时间', + `update_by` varchar(64) DEFAULT '' COMMENT '更新者', + `update_time` datetime DEFAULT NULL COMMENT '更新时间', + `remark` varchar(500) DEFAULT '' COMMENT '备注', + PRIMARY KEY (`menu_id`) +) ENGINE=InnoDB AUTO_INCREMENT=3467 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='菜单权限表'; + +-- ---------------------------- +-- Records of sys_menu +-- ---------------------------- +BEGIN; + +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3403, 'LED监控', 5, 65, 'ledRunInfo', 'system/ledscreen/ledRunInfo', NULL, 1, 0, 'C', '0', '0', 'system:ledruninfo:list', 'logininfor', 'yzadmin', '2026-01-04 16:06:47', 'yzadmin', '2026-01-04 16:07:20', ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3404, '安全穿透式管理', 0, 25, 'safe_penetration', NULL, NULL, 1, 0, 'M', '0', '0', '', 'validCode', 'yzadmin', '2026-04-10 14:24:57', 'yzadmin', '2026-04-10 14:25:17', ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3405, '基础信息设置', 3404, 10, 'base_setting', NULL, NULL, 1, 0, 'M', '0', '0', NULL, 'system', 'yzadmin', '2026-04-10 14:26:14', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3406, '管理穿透', 3404, 20, 'mgr_penetration', NULL, NULL, 1, 0, 'M', '0', '0', NULL, 'validCode', 'yzadmin', '2026-04-10 14:27:53', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3407, '网格管理', 3404, 1, 'safePenetrationGrid', 'manage/safePenetrationGrid/index', NULL, 1, 0, 'C', '0', '0', 'manage:safePenetrationGrid:list', '9screen', 'admin', '2026-04-10 14:59:28', 'yzadmin', '2026-04-10 16:16:32', '网格菜单'); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3408, '网格查询', 3407, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetrationGrid:query', '#', 'admin', '2026-04-10 14:59:28', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3409, '网格新增', 3407, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetrationGrid:add', '#', 'admin', '2026-04-10 14:59:28', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3410, '网格修改', 3407, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetrationGrid:edit', '#', 'admin', '2026-04-10 14:59:28', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3411, '网格删除', 3407, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetrationGrid:remove', '#', 'admin', '2026-04-10 14:59:29', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3412, '网格导出', 3407, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetrationGrid:export', '#', 'admin', '2026-04-10 14:59:29', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3413, '工点管理', 3405, 1, 'safePenetrationWorkspace', 'manage/safePenetrationWorkspace/index', NULL, 1, 0, 'C', '0', '0', 'manage:safePenetrationWorkspace:list', 'system', 'admin', '2026-04-10 15:00:31', 'yzadmin', '2026-04-10 16:17:20', '工点菜单'); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3414, '工点查询', 3413, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetrationWorkspace:query', '#', 'admin', '2026-04-10 15:00:31', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3415, '工点新增', 3413, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetrationWorkspace:add', '#', 'admin', '2026-04-10 15:00:31', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3416, '工点修改', 3413, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetrationWorkspace:edit', '#', 'admin', '2026-04-10 15:00:31', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3417, '工点删除', 3413, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetrationWorkspace:remove', '#', 'admin', '2026-04-10 15:00:31', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3418, '工点导出', 3413, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetrationWorkspace:export', '#', 'admin', '2026-04-10 15:00:31', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3419, '横向检查配置', 3405, 1, 'horizontalCheckCfg', 'manage/safePenetration/horizontalCheckCfg/index', NULL, 1, 0, 'C', '0', '0', 'manage:safePenetration:horizontalCheckCfg:list', 'system', 'admin', '2026-04-10 15:07:50', 'yzadmin', '2026-04-10 16:17:30', '横向检查配置'); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3420, '横向检查配置查询', 3419, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:horizontalCheckCfg:query', '#', 'admin', '2026-04-10 15:07:50', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3421, '横向检查配置新增', 3419, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:horizontalCheckCfg:add', '#', 'admin', '2026-04-10 15:07:50', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3422, '横向检查配置修改', 3419, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:horizontalCheckCfg:edit', '#', 'admin', '2026-04-10 15:07:50', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3423, '横向检查配置删除', 3419, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:horizontalCheckCfg:remove', '#', 'admin', '2026-04-10 15:07:50', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3424, '横向检查配置导出', 3419, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:horizontalCheckCfg:export', '#', 'admin', '2026-04-10 15:07:50', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3425, '纵向检查配置', 3405, 1, 'verticalCheckCfg', 'manage/safePenetration/verticalCheckCfg/index', NULL, 1, 0, 'C', '0', '0', 'manage:safePenetration:verticalCheckCfg:list', 'system', 'admin', '2026-04-10 15:14:37', 'yzadmin', '2026-04-10 16:17:37', '纵向检查配置'); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3426, '纵向检查配置查询', 3425, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:verticalCheckCfg:query', '#', 'admin', '2026-04-10 15:14:37', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3427, '纵向检查配置新增', 3425, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:verticalCheckCfg:add', '#', 'admin', '2026-04-10 15:14:37', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3428, '纵向检查配置修改', 3425, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:verticalCheckCfg:edit', '#', 'admin', '2026-04-10 15:14:37', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3429, '纵向检查配置删除', 3425, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:verticalCheckCfg:remove', '#', 'admin', '2026-04-10 15:14:37', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3430, '纵向检查配置导出', 3425, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:verticalCheckCfg:export', '#', 'admin', '2026-04-10 15:14:37', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3431, '跟班作业配置', 3405, 1, 'followUpAssignmentCfg', 'manage/safePenetration/followUpAssignmentCfg/index', NULL, 1, 0, 'C', '0', '0', 'manage:safePenetration:followUpAssignmentCfg:list', 'system', 'admin', '2026-04-10 15:18:34', 'yzadmin', '2026-04-10 16:17:52', '跟班作业配置'); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3432, '跟班作业配置查询', 3431, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:followUpAssignmentCfg:query', '#', 'admin', '2026-04-10 15:18:34', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3433, '跟班作业配置新增', 3431, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:followUpAssignmentCfg:add', '#', 'admin', '2026-04-10 15:18:34', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3434, '跟班作业配置修改', 3431, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:followUpAssignmentCfg:edit', '#', 'admin', '2026-04-10 15:18:34', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3435, '跟班作业配置删除', 3431, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:followUpAssignmentCfg:remove', '#', 'admin', '2026-04-10 15:18:34', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3436, '跟班作业配置导出', 3431, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:followUpAssignmentCfg:export', '#', 'admin', '2026-04-10 15:18:34', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3437, '横向监督表', 3406, 1, 'horizontalCheck', 'manage/safePenetration/horizontalCheck/index', NULL, 1, 0, 'C', '0', '0', 'manage:safePenetration:horizontalCheck:list', 'table', 'admin', '2026-04-10 15:32:13', 'yzadmin', '2026-04-10 16:18:01', '横向监督表'); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3438, '横向监督表查询', 3437, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:horizontalCheck:query', '#', 'admin', '2026-04-10 15:32:13', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3439, '横向监督表新增', 3437, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:horizontalCheck:add', '#', 'admin', '2026-04-10 15:32:13', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3440, '横向监督表修改', 3437, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:horizontalCheck:edit', '#', 'admin', '2026-04-10 15:32:13', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3441, '横向监督表删除', 3437, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:horizontalCheck:remove', '#', 'admin', '2026-04-10 15:32:13', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3442, '横向监督表导出', 3437, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:horizontalCheck:export', '#', 'admin', '2026-04-10 15:32:13', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3443, '班前安全检查', 3406, 1, 'beforeSafeCheck', 'manage/safePenetration/beforeSafeCheck/index', NULL, 1, 0, 'C', '0', '0', 'manage:safePenetration:beforeSafeCheck:list', 'table', 'admin', '2026-04-10 16:04:50', 'yzadmin', '2026-04-10 16:18:06', '班前安全检查'); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3444, '班前安全检查查询', 3443, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:beforeSafeCheck:query', '#', 'admin', '2026-04-10 16:04:50', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3445, '班前安全检查新增', 3443, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:beforeSafeCheck:add', '#', 'admin', '2026-04-10 16:04:50', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3446, '班前安全检查修改', 3443, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:beforeSafeCheck:edit', '#', 'admin', '2026-04-10 16:04:51', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3447, '班前安全检查删除', 3443, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:beforeSafeCheck:remove', '#', 'admin', '2026-04-10 16:04:51', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3448, '班前安全检查导出', 3443, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:beforeSafeCheck:export', '#', 'admin', '2026-04-10 16:04:51', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3449, '班后安全条件确认', 3406, 1, 'afterSafeConfirm', 'manage/safePenetration/afterSafeConfirm/index', NULL, 1, 0, 'C', '0', '0', 'manage:safePenetration:afterSafeConfirm:list', 'table', 'admin', '2026-04-10 16:08:44', 'yzadmin', '2026-04-10 16:18:18', '班后安全确认'); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3450, '班后安全条件确认查询', 3449, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:afterSafeConfirm:query', '#', 'admin', '2026-04-10 16:08:44', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3451, '班后安全条件确认新增', 3449, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:afterSafeConfirm:add', '#', 'admin', '2026-04-10 16:08:44', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3452, '班后安全条件确认修改', 3449, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:afterSafeConfirm:edit', '#', 'admin', '2026-04-10 16:08:44', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3453, '班后安全条件确认删除', 3449, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:afterSafeConfirm:remove', '#', 'admin', '2026-04-10 16:08:44', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3454, '班后安全条件确认导出', 3449, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:afterSafeConfirm:export', '#', 'admin', '2026-04-10 16:08:44', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3455, '关键施工条件确认', 3406, 1, 'keyConstruction', 'manage/safePenetration/keyConstruction/index', NULL, 1, 0, 'C', '0', '0', 'manage:safePenetration:keyConstruction:list', 'table', 'admin', '2026-04-10 16:13:12', 'yzadmin', '2026-04-10 16:18:23', '关键施工条件确认'); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3456, '关键施工条件确认查询', 3455, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:keyConstruction:query', '#', 'admin', '2026-04-10 16:13:12', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3457, '关键施工条件确认新增', 3455, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:keyConstruction:add', '#', 'admin', '2026-04-10 16:13:12', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3458, '关键施工条件确认修改', 3455, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:keyConstruction:edit', '#', 'admin', '2026-04-10 16:13:12', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3459, '关键施工条件确认删除', 3455, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:keyConstruction:remove', '#', 'admin', '2026-04-10 16:13:12', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3460, '关键施工条件确认导出', 3455, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:keyConstruction:export', '#', 'admin', '2026-04-10 16:13:12', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3461, '跟班作业记录', 3406, 1, 'followUpAssignment', 'manage/safePenetration/followUpAssignment/index', NULL, 1, 0, 'C', '0', '0', 'manage:safePenetration:followUpAssignment:list', 'table', 'admin', '2026-04-10 16:15:35', 'yzadmin', '2026-04-10 16:18:27', '跟班作业记录'); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3462, '跟班作业记录查询', 3461, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:followUpAssignment:query', '#', 'admin', '2026-04-10 16:15:35', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3463, '跟班作业记录新增', 3461, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:followUpAssignment:add', '#', 'admin', '2026-04-10 16:15:35', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3464, '跟班作业记录修改', 3461, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:followUpAssignment:edit', '#', 'admin', '2026-04-10 16:15:36', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3465, '跟班作业记录删除', 3461, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:followUpAssignment:remove', '#', 'admin', '2026-04-10 16:15:36', '', NULL, ''); +INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3466, '跟班作业记录导出', 3461, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'manage:safePenetration:followUpAssignment:export', '#', 'admin', '2026-04-10 16:15:36', '', NULL, ''); +COMMIT; + +SET FOREIGN_KEY_CHECKS = 1; diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/AfterSafeConfirmController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/AfterSafeConfirmController.java new file mode 100644 index 00000000..6d6665c9 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/AfterSafeConfirmController.java @@ -0,0 +1,106 @@ +package com.yanzhu.manage.controller.safePenetration; + +import java.util.List; +import java.io.IOException; +import javax.servlet.http.HttpServletResponse; + +import com.yanzhu.common.core.utils.poi.ExcelUtil; +import com.yanzhu.common.core.web.controller.BaseController; +import com.yanzhu.common.core.web.domain.AjaxResult; +import com.yanzhu.common.core.web.page.TableDataInfo; +import com.yanzhu.common.log.annotation.Log; +import com.yanzhu.common.log.enums.BusinessType; +import com.yanzhu.common.security.annotation.RequiresPermissions; +import com.yanzhu.manage.domain.SafePenetrationCheck; +import com.yanzhu.manage.service.ISafePenetrationCheckService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + * 班后安全条件确认Controller + * + * @author yanzhu + * @date 2026-04-10 + */ +@RestController +@RequestMapping("/afterSafeConfirm") +public class AfterSafeConfirmController extends BaseController +{ + @Autowired + private ISafePenetrationCheckService safePenetrationCheckService; + + /** + * 查询班后安全条件确认列表 + */ + @RequiresPermissions("manage:safePenetration:afterSafeConfirm:list") + @GetMapping("/list") + public TableDataInfo list(SafePenetrationCheck safePenetrationCheck) + { + startPage(); + List list = safePenetrationCheckService.selectSafePenetrationCheckList(safePenetrationCheck); + return getDataTable(list); + } + + /** + * 导出班后安全条件确认列表 + */ + @RequiresPermissions("manage:safePenetration:afterSafeConfirm:export") + @Log(title = "班后安全条件确认", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, SafePenetrationCheck safePenetrationCheck) + { + List list = safePenetrationCheckService.selectSafePenetrationCheckList(safePenetrationCheck); + ExcelUtil util = new ExcelUtil(SafePenetrationCheck.class); + util.exportExcel(response, list, "班后安全条件确认数据"); + } + + /** + * 获取班后安全条件确认详细信息 + */ + @RequiresPermissions("manage:safePenetration:afterSafeConfirm:query") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(safePenetrationCheckService.selectSafePenetrationCheckById(id)); + } + + /** + * 新增班后安全条件确认 + */ + @RequiresPermissions("manage:safePenetration:afterSafeConfirm:add") + @Log(title = "班后安全条件确认", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody SafePenetrationCheck safePenetrationCheck) + { + return toAjax(safePenetrationCheckService.insertSafePenetrationCheck(safePenetrationCheck)); + } + + /** + * 修改班后安全条件确认 + */ + @RequiresPermissions("manage:safePenetration:afterSafeConfirm:edit") + @Log(title = "班后安全条件确认", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody SafePenetrationCheck safePenetrationCheck) + { + return toAjax(safePenetrationCheckService.updateSafePenetrationCheck(safePenetrationCheck)); + } + + /** + * 删除班后安全条件确认 + */ + @RequiresPermissions("manage:safePenetration:afterSafeConfirm:remove") + @Log(title = "班后安全条件确认", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(safePenetrationCheckService.deleteSafePenetrationCheckByIds(ids)); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/BeforeSafeCheckController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/BeforeSafeCheckController.java new file mode 100644 index 00000000..55e2ed58 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/BeforeSafeCheckController.java @@ -0,0 +1,106 @@ +package com.yanzhu.manage.controller.safePenetration; + +import java.util.List; +import java.io.IOException; +import javax.servlet.http.HttpServletResponse; + +import com.yanzhu.common.core.utils.poi.ExcelUtil; +import com.yanzhu.common.core.web.controller.BaseController; +import com.yanzhu.common.core.web.domain.AjaxResult; +import com.yanzhu.common.core.web.page.TableDataInfo; +import com.yanzhu.common.log.annotation.Log; +import com.yanzhu.common.log.enums.BusinessType; +import com.yanzhu.common.security.annotation.RequiresPermissions; +import com.yanzhu.manage.domain.SafePenetrationCheck; +import com.yanzhu.manage.service.ISafePenetrationCheckService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + * 班前安全检查Controller + * + * @author yanzhu + * @date 2026-04-10 + */ +@RestController +@RequestMapping("/beforeSafeCheck") +public class BeforeSafeCheckController extends BaseController +{ + @Autowired + private ISafePenetrationCheckService safePenetrationCheckService; + + /** + * 查询班前安全检查列表 + */ + @RequiresPermissions("manage:safePenetration:beforeSafeCheck:list") + @GetMapping("/list") + public TableDataInfo list(SafePenetrationCheck safePenetrationCheck) + { + startPage(); + List list = safePenetrationCheckService.selectSafePenetrationCheckList(safePenetrationCheck); + return getDataTable(list); + } + + /** + * 导出班前安全检查列表 + */ + @RequiresPermissions("manage:safePenetration:beforeSafeCheck:export") + @Log(title = "班前安全检查", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, SafePenetrationCheck safePenetrationCheck) + { + List list = safePenetrationCheckService.selectSafePenetrationCheckList(safePenetrationCheck); + ExcelUtil util = new ExcelUtil(SafePenetrationCheck.class); + util.exportExcel(response, list, "班前安全检查数据"); + } + + /** + * 获取班前安全检查详细信息 + */ + @RequiresPermissions("manage:safePenetration:beforeSafeCheck:query") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(safePenetrationCheckService.selectSafePenetrationCheckById(id)); + } + + /** + * 新增班前安全检查 + */ + @RequiresPermissions("manage:safePenetration:beforeSafeCheck:add") + @Log(title = "班前安全检查", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody SafePenetrationCheck safePenetrationCheck) + { + return toAjax(safePenetrationCheckService.insertSafePenetrationCheck(safePenetrationCheck)); + } + + /** + * 修改班前安全检查 + */ + @RequiresPermissions("manage:safePenetration:beforeSafeCheck:edit") + @Log(title = "班前安全检查", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody SafePenetrationCheck safePenetrationCheck) + { + return toAjax(safePenetrationCheckService.updateSafePenetrationCheck(safePenetrationCheck)); + } + + /** + * 删除班前安全检查 + */ + @RequiresPermissions("manage:safePenetration:beforeSafeCheck:remove") + @Log(title = "班前安全检查", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(safePenetrationCheckService.deleteSafePenetrationCheckByIds(ids)); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/FollowUpAssignmentCfgController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/FollowUpAssignmentCfgController.java new file mode 100644 index 00000000..7e18d148 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/FollowUpAssignmentCfgController.java @@ -0,0 +1,106 @@ +package com.yanzhu.manage.controller.safePenetration; + +import java.util.List; +import java.io.IOException; +import javax.servlet.http.HttpServletResponse; + +import com.yanzhu.common.core.utils.poi.ExcelUtil; +import com.yanzhu.common.core.web.controller.BaseController; +import com.yanzhu.common.core.web.domain.AjaxResult; +import com.yanzhu.common.core.web.page.TableDataInfo; +import com.yanzhu.common.log.annotation.Log; +import com.yanzhu.common.log.enums.BusinessType; +import com.yanzhu.common.security.annotation.RequiresPermissions; +import com.yanzhu.manage.domain.SafePenetrationItem; +import com.yanzhu.manage.service.ISafePenetrationItemService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + * 跟班作业配置Controller + * + * @author yanzhu + * @date 2026-04-10 + */ +@RestController +@RequestMapping("/followUpAssignmentCfg") +public class FollowUpAssignmentCfgController extends BaseController +{ + @Autowired + private ISafePenetrationItemService safePenetrationItemService; + + /** + * 查询跟班作业配置列表 + */ + @RequiresPermissions("manage:safePenetration:followUpAssignmentCfg:list") + @GetMapping("/list") + public TableDataInfo list(SafePenetrationItem safePenetrationItem) + { + startPage(); + List list = safePenetrationItemService.selectSafePenetrationItemList(safePenetrationItem); + return getDataTable(list); + } + + /** + * 导出跟班作业配置列表 + */ + @RequiresPermissions("manage:safePenetration:followUpAssignmentCfg:export") + @Log(title = "跟班作业配置", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, SafePenetrationItem safePenetrationItem) + { + List list = safePenetrationItemService.selectSafePenetrationItemList(safePenetrationItem); + ExcelUtil util = new ExcelUtil(SafePenetrationItem.class); + util.exportExcel(response, list, "跟班作业配置数据"); + } + + /** + * 获取跟班作业配置详细信息 + */ + @RequiresPermissions("manage:safePenetration:followUpAssignmentCfg:query") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(safePenetrationItemService.selectSafePenetrationItemById(id)); + } + + /** + * 新增跟班作业配置 + */ + @RequiresPermissions("manage:safePenetration:followUpAssignmentCfg:add") + @Log(title = "跟班作业配置", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody SafePenetrationItem safePenetrationItem) + { + return toAjax(safePenetrationItemService.insertSafePenetrationItem(safePenetrationItem)); + } + + /** + * 修改跟班作业配置 + */ + @RequiresPermissions("manage:safePenetration:followUpAssignmentCfg:edit") + @Log(title = "跟班作业配置", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody SafePenetrationItem safePenetrationItem) + { + return toAjax(safePenetrationItemService.updateSafePenetrationItem(safePenetrationItem)); + } + + /** + * 删除跟班作业配置 + */ + @RequiresPermissions("manage:safePenetration:followUpAssignmentCfg:remove") + @Log(title = "跟班作业配置", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(safePenetrationItemService.deleteSafePenetrationItemByIds(ids)); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/HorizontalCheckCfgController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/HorizontalCheckCfgController.java new file mode 100644 index 00000000..ae783a82 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/HorizontalCheckCfgController.java @@ -0,0 +1,106 @@ +package com.yanzhu.manage.controller.safePenetration; + +import java.util.List; +import java.io.IOException; +import javax.servlet.http.HttpServletResponse; + +import com.yanzhu.common.core.utils.poi.ExcelUtil; +import com.yanzhu.common.core.web.controller.BaseController; +import com.yanzhu.common.core.web.domain.AjaxResult; +import com.yanzhu.common.core.web.page.TableDataInfo; +import com.yanzhu.common.log.annotation.Log; +import com.yanzhu.common.log.enums.BusinessType; +import com.yanzhu.common.security.annotation.RequiresPermissions; +import com.yanzhu.manage.domain.SafePenetrationItem; +import com.yanzhu.manage.service.ISafePenetrationItemService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + * 横向检查配置Controller + * + * @author yanzhu + * @date 2026-04-10 + */ +@RestController +@RequestMapping("/horizontalCheckCfg") +public class HorizontalCheckCfgController extends BaseController +{ + @Autowired + private ISafePenetrationItemService safePenetrationItemService; + + /** + * 查询横向检查配置列表 + */ + @RequiresPermissions("manage:safePenetration:horizontalCheckCfg:list") + @GetMapping("/list") + public TableDataInfo list(SafePenetrationItem safePenetrationItem) + { + startPage(); + List list = safePenetrationItemService.selectSafePenetrationItemList(safePenetrationItem); + return getDataTable(list); + } + + /** + * 导出横向检查配置列表 + */ + @RequiresPermissions("manage:safePenetration:horizontalCheckCfg:export") + @Log(title = "横向检查配置", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, SafePenetrationItem safePenetrationItem) + { + List list = safePenetrationItemService.selectSafePenetrationItemList(safePenetrationItem); + ExcelUtil util = new ExcelUtil(SafePenetrationItem.class); + util.exportExcel(response, list, "横向检查配置数据"); + } + + /** + * 获取横向检查配置详细信息 + */ + @RequiresPermissions("manage:safePenetration:horizontalCheckCfg:query") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(safePenetrationItemService.selectSafePenetrationItemById(id)); + } + + /** + * 新增横向检查配置 + */ + @RequiresPermissions("manage:safePenetration:horizontalCheckCfg:add") + @Log(title = "横向检查配置", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody SafePenetrationItem safePenetrationItem) + { + return toAjax(safePenetrationItemService.insertSafePenetrationItem(safePenetrationItem)); + } + + /** + * 修改横向检查配置 + */ + @RequiresPermissions("manage:safePenetration:horizontalCheckCfg:edit") + @Log(title = "横向检查配置", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody SafePenetrationItem safePenetrationItem) + { + return toAjax(safePenetrationItemService.updateSafePenetrationItem(safePenetrationItem)); + } + + /** + * 删除横向检查配置 + */ + @RequiresPermissions("manage:safePenetration:horizontalCheckCfg:remove") + @Log(title = "横向检查配置", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(safePenetrationItemService.deleteSafePenetrationItemByIds(ids)); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/HorizontalCheckController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/HorizontalCheckController.java new file mode 100644 index 00000000..90828efc --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/HorizontalCheckController.java @@ -0,0 +1,106 @@ +package com.yanzhu.manage.controller.safePenetration; + +import java.util.List; +import java.io.IOException; +import javax.servlet.http.HttpServletResponse; + +import com.yanzhu.common.core.utils.poi.ExcelUtil; +import com.yanzhu.common.core.web.controller.BaseController; +import com.yanzhu.common.core.web.domain.AjaxResult; +import com.yanzhu.common.core.web.page.TableDataInfo; +import com.yanzhu.common.log.annotation.Log; +import com.yanzhu.common.log.enums.BusinessType; +import com.yanzhu.common.security.annotation.RequiresPermissions; +import com.yanzhu.manage.domain.SafePenetrationCheck; +import com.yanzhu.manage.service.ISafePenetrationCheckService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + * 横向监督表Controller + * + * @author yanzhu + * @date 2026-04-10 + */ +@RestController +@RequestMapping("/horizontalCheck") +public class HorizontalCheckController extends BaseController +{ + @Autowired + private ISafePenetrationCheckService safePenetrationCheckService; + + /** + * 查询横向监督表列表 + */ + @RequiresPermissions("manage:safePenetration:horizontalCheck:list") + @GetMapping("/list") + public TableDataInfo list(SafePenetrationCheck safePenetrationCheck) + { + startPage(); + List list = safePenetrationCheckService.selectSafePenetrationCheckList(safePenetrationCheck); + return getDataTable(list); + } + + /** + * 导出横向监督表列表 + */ + @RequiresPermissions("manage:safePenetration:horizontalCheck:export") + @Log(title = "横向监督表", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, SafePenetrationCheck safePenetrationCheck) + { + List list = safePenetrationCheckService.selectSafePenetrationCheckList(safePenetrationCheck); + ExcelUtil util = new ExcelUtil(SafePenetrationCheck.class); + util.exportExcel(response, list, "横向监督表数据"); + } + + /** + * 获取横向监督表详细信息 + */ + @RequiresPermissions("manage:safePenetration:horizontalCheck:query") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(safePenetrationCheckService.selectSafePenetrationCheckById(id)); + } + + /** + * 新增横向监督表 + */ + @RequiresPermissions("manage:safePenetration:horizontalCheck:add") + @Log(title = "横向监督表", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody SafePenetrationCheck safePenetrationCheck) + { + return toAjax(safePenetrationCheckService.insertSafePenetrationCheck(safePenetrationCheck)); + } + + /** + * 修改横向监督表 + */ + @RequiresPermissions("manage:safePenetration:horizontalCheck:edit") + @Log(title = "横向监督表", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody SafePenetrationCheck safePenetrationCheck) + { + return toAjax(safePenetrationCheckService.updateSafePenetrationCheck(safePenetrationCheck)); + } + + /** + * 删除横向监督表 + */ + @RequiresPermissions("manage:safePenetration:horizontalCheck:remove") + @Log(title = "横向监督表", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(safePenetrationCheckService.deleteSafePenetrationCheckByIds(ids)); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/KeyConstructionController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/KeyConstructionController.java new file mode 100644 index 00000000..c795fe23 --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/KeyConstructionController.java @@ -0,0 +1,106 @@ +package com.yanzhu.manage.controller.safePenetration; + +import java.util.List; +import java.io.IOException; +import javax.servlet.http.HttpServletResponse; + +import com.yanzhu.common.core.utils.poi.ExcelUtil; +import com.yanzhu.common.core.web.controller.BaseController; +import com.yanzhu.common.core.web.domain.AjaxResult; +import com.yanzhu.common.core.web.page.TableDataInfo; +import com.yanzhu.common.log.annotation.Log; +import com.yanzhu.common.log.enums.BusinessType; +import com.yanzhu.common.security.annotation.RequiresPermissions; +import com.yanzhu.manage.domain.SafePenetrationCheck; +import com.yanzhu.manage.service.ISafePenetrationCheckService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + * 关键施工条件确认Controller + * + * @author yanzhu + * @date 2026-04-10 + */ +@RestController +@RequestMapping("/keyConstruction") +public class KeyConstructionController extends BaseController +{ + @Autowired + private ISafePenetrationCheckService safePenetrationCheckService; + + /** + * 查询关键施工条件确认列表 + */ + @RequiresPermissions("manage:safePenetration:keyConstruction:list") + @GetMapping("/list") + public TableDataInfo list(SafePenetrationCheck safePenetrationCheck) + { + startPage(); + List list = safePenetrationCheckService.selectSafePenetrationCheckList(safePenetrationCheck); + return getDataTable(list); + } + + /** + * 导出关键施工条件确认列表 + */ + @RequiresPermissions("manage:safePenetration:keyConstruction:export") + @Log(title = "关键施工条件确认", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, SafePenetrationCheck safePenetrationCheck) + { + List list = safePenetrationCheckService.selectSafePenetrationCheckList(safePenetrationCheck); + ExcelUtil util = new ExcelUtil(SafePenetrationCheck.class); + util.exportExcel(response, list, "关键施工条件确认数据"); + } + + /** + * 获取关键施工条件确认详细信息 + */ + @RequiresPermissions("manage:safePenetration:keyConstruction:query") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(safePenetrationCheckService.selectSafePenetrationCheckById(id)); + } + + /** + * 新增关键施工条件确认 + */ + @RequiresPermissions("manage:safePenetration:keyConstruction:add") + @Log(title = "关键施工条件确认", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody SafePenetrationCheck safePenetrationCheck) + { + return toAjax(safePenetrationCheckService.insertSafePenetrationCheck(safePenetrationCheck)); + } + + /** + * 修改关键施工条件确认 + */ + @RequiresPermissions("manage:safePenetration:keyConstruction:edit") + @Log(title = "关键施工条件确认", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody SafePenetrationCheck safePenetrationCheck) + { + return toAjax(safePenetrationCheckService.updateSafePenetrationCheck(safePenetrationCheck)); + } + + /** + * 删除关键施工条件确认 + */ + @RequiresPermissions("manage:safePenetration:keyConstruction:remove") + @Log(title = "关键施工条件确认", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(safePenetrationCheckService.deleteSafePenetrationCheckByIds(ids)); + } +} diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/VerticalCheckCfgController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/VerticalCheckCfgController.java new file mode 100644 index 00000000..8fe00b1c --- /dev/null +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/safePenetration/VerticalCheckCfgController.java @@ -0,0 +1,106 @@ +package com.yanzhu.manage.controller.safePenetration; + +import java.util.List; +import java.io.IOException; +import javax.servlet.http.HttpServletResponse; + +import com.yanzhu.common.core.utils.poi.ExcelUtil; +import com.yanzhu.common.core.web.controller.BaseController; +import com.yanzhu.common.core.web.domain.AjaxResult; +import com.yanzhu.common.core.web.page.TableDataInfo; +import com.yanzhu.common.log.annotation.Log; +import com.yanzhu.common.log.enums.BusinessType; +import com.yanzhu.common.security.annotation.RequiresPermissions; +import com.yanzhu.manage.domain.SafePenetrationItem; +import com.yanzhu.manage.service.ISafePenetrationItemService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + * 纵向检查配置Controller + * + * @author yanzhu + * @date 2026-04-10 + */ +@RestController +@RequestMapping("/verticalCheckCfg") +public class VerticalCheckCfgController extends BaseController +{ + @Autowired + private ISafePenetrationItemService safePenetrationItemService; + + /** + * 查询纵向检查配置列表 + */ + @RequiresPermissions("manage:safePenetration:verticalCheckCfg:list") + @GetMapping("/list") + public TableDataInfo list(SafePenetrationItem safePenetrationItem) + { + startPage(); + List list = safePenetrationItemService.selectSafePenetrationItemList(safePenetrationItem); + return getDataTable(list); + } + + /** + * 导出纵向检查配置列表 + */ + @RequiresPermissions("manage:safePenetration:verticalCheckCfg:export") + @Log(title = "纵向检查配置", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, SafePenetrationItem safePenetrationItem) + { + List list = safePenetrationItemService.selectSafePenetrationItemList(safePenetrationItem); + ExcelUtil util = new ExcelUtil(SafePenetrationItem.class); + util.exportExcel(response, list, "纵向检查配置数据"); + } + + /** + * 获取纵向检查配置详细信息 + */ + @RequiresPermissions("manage:safePenetration:verticalCheckCfg:query") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(safePenetrationItemService.selectSafePenetrationItemById(id)); + } + + /** + * 新增纵向检查配置 + */ + @RequiresPermissions("manage:safePenetration:verticalCheckCfg:add") + @Log(title = "纵向检查配置", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody SafePenetrationItem safePenetrationItem) + { + return toAjax(safePenetrationItemService.insertSafePenetrationItem(safePenetrationItem)); + } + + /** + * 修改纵向检查配置 + */ + @RequiresPermissions("manage:safePenetration:verticalCheckCfg:edit") + @Log(title = "纵向检查配置", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody SafePenetrationItem safePenetrationItem) + { + return toAjax(safePenetrationItemService.updateSafePenetrationItem(safePenetrationItem)); + } + + /** + * 删除纵向检查配置 + */ + @RequiresPermissions("manage:safePenetration:verticalCheckCfg:remove") + @Log(title = "纵向检查配置", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(safePenetrationItemService.deleteSafePenetrationItemByIds(ids)); + } +} diff --git a/yanzhu-ui-vue3/src/api/manage/afterSafeConfirm.js b/yanzhu-ui-vue3/src/api/manage/afterSafeConfirm.js new file mode 100644 index 00000000..92712524 --- /dev/null +++ b/yanzhu-ui-vue3/src/api/manage/afterSafeConfirm.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询班后安全条件确认列表 +export function listAfterSafeConfirm(query) { + return request({ + url: '/manage/afterSafeConfirm/list', + method: 'get', + params: query + }) +} + +// 查询班后安全条件确认详细 +export function getAfterSafeConfirm(id) { + return request({ + url: '/manage/afterSafeConfirm/' + id, + method: 'get' + }) +} + +// 新增班后安全条件确认 +export function addAfterSafeConfirm(data) { + return request({ + url: '/manage/afterSafeConfirm', + method: 'post', + data: data + }) +} + +// 修改班后安全条件确认 +export function updateAfterSafeConfirm(data) { + return request({ + url: '/manage/afterSafeConfirm', + method: 'put', + data: data + }) +} + +// 删除班后安全条件确认 +export function delAfterSafeConfirm(id) { + return request({ + url: '/manage/afterSafeConfirm/' + id, + method: 'delete' + }) +} diff --git a/yanzhu-ui-vue3/src/api/manage/beforeSafeCheck.js b/yanzhu-ui-vue3/src/api/manage/beforeSafeCheck.js new file mode 100644 index 00000000..ed52d67c --- /dev/null +++ b/yanzhu-ui-vue3/src/api/manage/beforeSafeCheck.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询班前安全检查列表 +export function listBeforeSafeCheck(query) { + return request({ + url: '/manage/beforeSafeCheck/list', + method: 'get', + params: query + }) +} + +// 查询班前安全检查详细 +export function getBeforeSafeCheck(id) { + return request({ + url: '/manage/beforeSafeCheck/' + id, + method: 'get' + }) +} + +// 新增班前安全检查 +export function addBeforeSafeCheck(data) { + return request({ + url: '/manage/beforeSafeCheck', + method: 'post', + data: data + }) +} + +// 修改班前安全检查 +export function updateBeforeSafeCheck(data) { + return request({ + url: '/manage/beforeSafeCheck', + method: 'put', + data: data + }) +} + +// 删除班前安全检查 +export function delBeforeSafeCheck(id) { + return request({ + url: '/manage/beforeSafeCheck/' + id, + method: 'delete' + }) +} diff --git a/yanzhu-ui-vue3/src/api/manage/followUpAssignmentCfg.js b/yanzhu-ui-vue3/src/api/manage/followUpAssignmentCfg.js new file mode 100644 index 00000000..6ad3b64b --- /dev/null +++ b/yanzhu-ui-vue3/src/api/manage/followUpAssignmentCfg.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询跟班作业配置列表 +export function listFollowUpAssignmentCfg(query) { + return request({ + url: '/manage/followUpAssignmentCfg/list', + method: 'get', + params: query + }) +} + +// 查询跟班作业配置详细 +export function getFollowUpAssignmentCfg(id) { + return request({ + url: '/manage/followUpAssignmentCfg/' + id, + method: 'get' + }) +} + +// 新增跟班作业配置 +export function addFollowUpAssignmentCfg(data) { + return request({ + url: '/manage/followUpAssignmentCfg', + method: 'post', + data: data + }) +} + +// 修改跟班作业配置 +export function updateFollowUpAssignmentCfg(data) { + return request({ + url: '/manage/followUpAssignmentCfg', + method: 'put', + data: data + }) +} + +// 删除跟班作业配置 +export function delFollowUpAssignmentCfg(id) { + return request({ + url: '/manage/followUpAssignmentCfg/' + id, + method: 'delete' + }) +} diff --git a/yanzhu-ui-vue3/src/api/manage/horizontalCheck.js b/yanzhu-ui-vue3/src/api/manage/horizontalCheck.js new file mode 100644 index 00000000..459bea29 --- /dev/null +++ b/yanzhu-ui-vue3/src/api/manage/horizontalCheck.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询横向监督表列表 +export function listHorizontalCheck(query) { + return request({ + url: '/manage/horizontalCheck/list', + method: 'get', + params: query + }) +} + +// 查询横向监督表详细 +export function getHorizontalCheck(id) { + return request({ + url: '/manage/horizontalCheck/' + id, + method: 'get' + }) +} + +// 新增横向监督表 +export function addHorizontalCheck(data) { + return request({ + url: '/manage/horizontalCheck', + method: 'post', + data: data + }) +} + +// 修改横向监督表 +export function updateHorizontalCheck(data) { + return request({ + url: '/manage/horizontalCheck', + method: 'put', + data: data + }) +} + +// 删除横向监督表 +export function delHorizontalCheck(id) { + return request({ + url: '/manage/horizontalCheck/' + id, + method: 'delete' + }) +} diff --git a/yanzhu-ui-vue3/src/api/manage/horizontalCheckCfg.js b/yanzhu-ui-vue3/src/api/manage/horizontalCheckCfg.js new file mode 100644 index 00000000..b2b98f58 --- /dev/null +++ b/yanzhu-ui-vue3/src/api/manage/horizontalCheckCfg.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询横向检查配置列表 +export function listHorizontalCheckCfg(query) { + return request({ + url: '/manage/horizontalCheckCfg/list', + method: 'get', + params: query + }) +} + +// 查询横向检查配置详细 +export function getHorizontalCheckCfg(id) { + return request({ + url: '/manage/horizontalCheckCfg/' + id, + method: 'get' + }) +} + +// 新增横向检查配置 +export function addHorizontalCheckCfg(data) { + return request({ + url: '/manage/horizontalCheckCfg', + method: 'post', + data: data + }) +} + +// 修改横向检查配置 +export function updateHorizontalCheckCfg(data) { + return request({ + url: '/manage/horizontalCheckCfg', + method: 'put', + data: data + }) +} + +// 删除横向检查配置 +export function delHorizontalCheckCfg(id) { + return request({ + url: '/manage/horizontalCheckCfg/' + id, + method: 'delete' + }) +} diff --git a/yanzhu-ui-vue3/src/api/manage/keyConstruction.js b/yanzhu-ui-vue3/src/api/manage/keyConstruction.js new file mode 100644 index 00000000..6aacd658 --- /dev/null +++ b/yanzhu-ui-vue3/src/api/manage/keyConstruction.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询关键施工条件确认列表 +export function listKeyConstruction(query) { + return request({ + url: '/manage/keyConstruction/list', + method: 'get', + params: query + }) +} + +// 查询关键施工条件确认详细 +export function getKeyConstruction(id) { + return request({ + url: '/manage/keyConstruction/' + id, + method: 'get' + }) +} + +// 新增关键施工条件确认 +export function addKeyConstruction(data) { + return request({ + url: '/manage/keyConstruction', + method: 'post', + data: data + }) +} + +// 修改关键施工条件确认 +export function updateKeyConstruction(data) { + return request({ + url: '/manage/keyConstruction', + method: 'put', + data: data + }) +} + +// 删除关键施工条件确认 +export function delKeyConstruction(id) { + return request({ + url: '/manage/keyConstruction/' + id, + method: 'delete' + }) +} diff --git a/yanzhu-ui-vue3/src/api/manage/verticalCheckCfg.js b/yanzhu-ui-vue3/src/api/manage/verticalCheckCfg.js new file mode 100644 index 00000000..f1604198 --- /dev/null +++ b/yanzhu-ui-vue3/src/api/manage/verticalCheckCfg.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询纵向检查配置列表 +export function listVerticalCheckCfg(query) { + return request({ + url: '/manage/verticalCheckCfg/list', + method: 'get', + params: query + }) +} + +// 查询纵向检查配置详细 +export function getVerticalCheckCfg(id) { + return request({ + url: '/manage/verticalCheckCfg/' + id, + method: 'get' + }) +} + +// 新增纵向检查配置 +export function addVerticalCheckCfg(data) { + return request({ + url: '/manage/verticalCheckCfg', + method: 'post', + data: data + }) +} + +// 修改纵向检查配置 +export function updateVerticalCheckCfg(data) { + return request({ + url: '/manage/verticalCheckCfg', + method: 'put', + data: data + }) +} + +// 删除纵向检查配置 +export function delVerticalCheckCfg(id) { + return request({ + url: '/manage/verticalCheckCfg/' + id, + method: 'delete' + }) +} diff --git a/yanzhu-ui-vue3/src/assets/styles/sidebar.scss b/yanzhu-ui-vue3/src/assets/styles/sidebar.scss index 8b3c472d..d4239c9b 100644 --- a/yanzhu-ui-vue3/src/assets/styles/sidebar.scss +++ b/yanzhu-ui-vue3/src/assets/styles/sidebar.scss @@ -68,6 +68,8 @@ border: none; height: 100%; width: 100% !important; + + --el-menu-base-level-padding: 10px; } .el-menu-item, .menu-title { diff --git a/yanzhu-ui-vue3/src/views/safePenetration/afterSafeConfirm/index.vue b/yanzhu-ui-vue3/src/views/safePenetration/afterSafeConfirm/index.vue new file mode 100755 index 00000000..7b51839e --- /dev/null +++ b/yanzhu-ui-vue3/src/views/safePenetration/afterSafeConfirm/index.vue @@ -0,0 +1,281 @@ + + + \ No newline at end of file diff --git a/yanzhu-ui-vue3/src/views/safePenetration/beforeSafeCheck/index.vue b/yanzhu-ui-vue3/src/views/safePenetration/beforeSafeCheck/index.vue new file mode 100755 index 00000000..db615388 --- /dev/null +++ b/yanzhu-ui-vue3/src/views/safePenetration/beforeSafeCheck/index.vue @@ -0,0 +1,281 @@ + + + diff --git a/yanzhu-ui-vue3/src/views/safePenetration/followUpAssignmentCfg/index.vue b/yanzhu-ui-vue3/src/views/safePenetration/followUpAssignmentCfg/index.vue new file mode 100755 index 00000000..7026acd0 --- /dev/null +++ b/yanzhu-ui-vue3/src/views/safePenetration/followUpAssignmentCfg/index.vue @@ -0,0 +1,310 @@ + + + diff --git a/yanzhu-ui-vue3/src/views/safePenetration/horizontalCheck/index.vue b/yanzhu-ui-vue3/src/views/safePenetration/horizontalCheck/index.vue new file mode 100755 index 00000000..411381de --- /dev/null +++ b/yanzhu-ui-vue3/src/views/safePenetration/horizontalCheck/index.vue @@ -0,0 +1,281 @@ + + + diff --git a/yanzhu-ui-vue3/src/views/safePenetration/horizontalCheckCfg/index.vue b/yanzhu-ui-vue3/src/views/safePenetration/horizontalCheckCfg/index.vue new file mode 100755 index 00000000..eb074740 --- /dev/null +++ b/yanzhu-ui-vue3/src/views/safePenetration/horizontalCheckCfg/index.vue @@ -0,0 +1,310 @@ + + + diff --git a/yanzhu-ui-vue3/src/views/safePenetration/keyConstruction/index.vue b/yanzhu-ui-vue3/src/views/safePenetration/keyConstruction/index.vue new file mode 100755 index 00000000..bb177d5d --- /dev/null +++ b/yanzhu-ui-vue3/src/views/safePenetration/keyConstruction/index.vue @@ -0,0 +1,281 @@ + + + \ No newline at end of file diff --git a/yanzhu-ui-vue3/src/views/safePenetration/verticalCheckCfg/index.vue b/yanzhu-ui-vue3/src/views/safePenetration/verticalCheckCfg/index.vue new file mode 100755 index 00000000..0f218c27 --- /dev/null +++ b/yanzhu-ui-vue3/src/views/safePenetration/verticalCheckCfg/index.vue @@ -0,0 +1,310 @@ + + +