feat: 标签支持拖拽移动与机器支持执行命令查看

This commit is contained in:
meilin.huang
2024-04-21 19:35:58 +08:00
parent 44805ce580
commit ebe73e2f19
21 changed files with 595 additions and 118 deletions

View File

@@ -493,6 +493,7 @@ CREATE TABLE `t_machine_term_op` (
`machine_id` bigint NOT NULL COMMENT '机器id',
`username` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '登录用户名',
`record_file_path` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '终端回放文件路径',
`exec_cmds` TEXT NULL COMMENT '执行的命令记录'
`creator_id` bigint unsigned DEFAULT NULL,
`creator` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
`create_time` datetime NOT NULL,

View File

@@ -143,4 +143,8 @@ UPDATE t_tag_tree SET is_deleted = 1, delete_time = NOW() WHERE `type` = 2;
UPDATE t_tag_tree SET `type` = 2 WHERE `type` = 100;
ALTER TABLE t_tag_tree DROP COLUMN pid;
ALTER TABLE t_tag_tree_team DROP COLUMN tag_path;
ALTER TABLE t_tag_tree_team DROP COLUMN tag_path;
-- 新增记录执行命令字段
ALTER TABLE t_machine_term_op ADD exec_cmds TEXT NULL COMMENT '执行的命令记录';
ALTER TABLE t_machine_term_op CHANGE exec_cmds exec_cmds TEXT NULL COMMENT '执行的命令记录' AFTER record_file_path;