|
|
|
@ -60,4 +60,39 @@ CREATE TABLE `archives_code_rule` (
|
|
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
|
|
|
|
) ENGINE = InnoDB AUTO_INCREMENT = 25 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '档案编码规则' ROW_FORMAT = Dynamic;
|
|
|
|
|
|
|
|
|
|
SET FOREIGN_KEY_CHECKS = 1;
|
|
|
|
|
SET FOREIGN_KEY_CHECKS = 1;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- 插入档案管理菜单
|
|
|
|
|
INSERT INTO `lyr-one`.`system_menu`(`name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`)
|
|
|
|
|
VALUES ('档案管理', '', 1, 2, 0, '/archives', 'tab', NULL, NULL, 0, b'1', b'1', b'1', '1', '2023-09-06 13:40:31', '1', '2023-09-06 16:14:50', b'0');
|
|
|
|
|
|
|
|
|
|
-- 获取插入的档案管理菜单ID
|
|
|
|
|
SET @menuId = LAST_INSERT_ID();
|
|
|
|
|
|
|
|
|
|
-- 插入归档管理菜单
|
|
|
|
|
INSERT INTO `lyr-one`.`system_menu`(`name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`)
|
|
|
|
|
VALUES ('归档管理', '', 2, 0, @menuId, 'record', '', 'archives/record/index', 'Record', 0, b'1', b'1', b'1', '', '2023-09-06 14:01:04', '', '2023-09-06 14:01:04', b'0');
|
|
|
|
|
|
|
|
|
|
-- 获取插入的归档管理菜单ID
|
|
|
|
|
SET @menuId2 = LAST_INSERT_ID();
|
|
|
|
|
|
|
|
|
|
-- 插入归档查询菜单
|
|
|
|
|
INSERT INTO `lyr-one`.`system_menu`(`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`)
|
|
|
|
|
VALUES (NULL, '归档查询', 'archives:record:query', 3, 1, @menuId2, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-09-06 14:01:04', '', '2023-09-06 14:01:04', b'0');
|
|
|
|
|
|
|
|
|
|
-- 插入归档创建菜单
|
|
|
|
|
INSERT INTO `lyr-one`.`system_menu`(`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`)
|
|
|
|
|
VALUES (NULL, '归档创建', 'archives:record:create', 3, 2, @menuId2, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-09-06 14:01:04', '', '2023-09-06 14:01:04', b'0');
|
|
|
|
|
|
|
|
|
|
-- 插入归档更新菜单
|
|
|
|
|
INSERT INTO `lyr-one`.`system_menu`(`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`)
|
|
|
|
|
VALUES (NULL, '归档更新', 'archives:record:update', 3, 3, @menuId2, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-09-06 14:01:04', '', '2023-09-06 14:01:04', b'0');
|
|
|
|
|
|
|
|
|
|
-- 插入归档删除菜单
|
|
|
|
|
INSERT INTO `lyr-one`.`system_menu`(`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`)
|
|
|
|
|
VALUES (NULL, '归档删除', 'archives:record:delete', 3, 4, @menuId2, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-09-06 14:01:04', '', '2023-09-06 14:01:04', b'0');
|
|
|
|
|
|
|
|
|
|
-- 插入归档导出菜单
|
|
|
|
|
INSERT INTO `lyr-one`.`system_menu`(`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`)
|
|
|
|
|
VALUES (NULL, '归档导出', 'archives:record:export', 3, 5, @menuId2, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-09-06 14:01:04', '', '2023-09-06 14:01:04', b'0');
|