✨ Introducing new features. closed #3168 【新特性】 增加支持大屏设计功能
This commit is contained in:
1 parent
9b4d821a9b
commit
fdfa8c1c3b
292 files changed
+12940
-3
No files matched your search
+7
-1
@@ -17,4 +17,10 @@ create database `pigxx_config` default character set utf8mb4 collate utf8mb4_gen
|
||||
create database `pigxx_pay` default character set utf8mb4 collate utf8mb4_general_ci;
|
||||
|
||||
-- pigx codegen相关库
|
||||
create database `pigxx_codegen` default character set utf8mb4 collate utf8mb4_general_ci;
|
||||
create database `pigxx_codegen` default character set utf8mb4 collate utf8mb4_general_ci;
|
||||
|
||||
-- pigx report相关库
|
||||
create database `pigxx_report` default character set utf8mb4 collate utf8mb4_general_ci;
|
||||
|
||||
-- pigx report 演示数据相关库 (可以不初始化)
|
||||
create database `pigxx_report_init` default character set utf8mb4 collate utf8mb4_general_ci;
|
||||
@@ -0,0 +1,950 @@
|
||||
USE pigxx_report_init;
|
||||
|
||||
SET NAMES utf8mb4;
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for aj_report_access
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `aj_report_access`;
|
||||
CREATE TABLE `aj_report_access` (
|
||||
`datetime` date NOT NULL,
|
||||
`access` int DEFAULT NULL COMMENT '访问量',
|
||||
`register` int DEFAULT NULL COMMENT '注册量',
|
||||
PRIMARY KEY (`datetime`) USING BTREE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of aj_report_access
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `aj_report_access` VALUES ('2021-06-18', 1000, 12);
|
||||
INSERT INTO `aj_report_access` VALUES ('2021-06-19', 1200, 20);
|
||||
INSERT INTO `aj_report_access` VALUES ('2021-06-20', 1600, 40);
|
||||
INSERT INTO `aj_report_access` VALUES ('2021-06-21', 2000, 100);
|
||||
INSERT INTO `aj_report_access` VALUES ('2021-06-22', 800, 30);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for aj_report_barstack
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `aj_report_barstack`;
|
||||
CREATE TABLE `aj_report_barstack` (
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
`time` date DEFAULT NULL,
|
||||
`type` varchar(255) DEFAULT NULL,
|
||||
`nums` int DEFAULT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of aj_report_barstack
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `aj_report_barstack` VALUES (1, '2021-07-27', 'A', 12);
|
||||
INSERT INTO `aj_report_barstack` VALUES (2, '2021-07-27', 'B', 20);
|
||||
INSERT INTO `aj_report_barstack` VALUES (3, '2021-07-27', 'C', 11);
|
||||
INSERT INTO `aj_report_barstack` VALUES (4, '2021-07-26', 'A', 11);
|
||||
INSERT INTO `aj_report_barstack` VALUES (5, '2021-07-26', 'B', 30);
|
||||
INSERT INTO `aj_report_barstack` VALUES (6, '2021-07-25', 'B', 20);
|
||||
INSERT INTO `aj_report_barstack` VALUES (7, '2021-07-25', 'C', 15);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for aj_report_common1
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `aj_report_common1`;
|
||||
CREATE TABLE `aj_report_common1` (
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
|
||||
`nums` int DEFAULT NULL,
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of aj_report_common1
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `aj_report_common1` VALUES (1, '上海', 500);
|
||||
INSERT INTO `aj_report_common1` VALUES (2, '北京', 600);
|
||||
INSERT INTO `aj_report_common1` VALUES (3, '西安', 1000);
|
||||
INSERT INTO `aj_report_common1` VALUES (4, '河南', 1200);
|
||||
INSERT INTO `aj_report_common1` VALUES (5, '武汉', 2000);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for aj_report_common2
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `aj_report_common2`;
|
||||
CREATE TABLE `aj_report_common2` (
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
`name` varchar(255) DEFAULT NULL,
|
||||
`nums` int DEFAULT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of aj_report_common2
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `aj_report_common2` VALUES (6, '上海', 200);
|
||||
INSERT INTO `aj_report_common2` VALUES (7, '北京', 100);
|
||||
INSERT INTO `aj_report_common2` VALUES (8, '西安', 70);
|
||||
INSERT INTO `aj_report_common2` VALUES (9, '河南', 50);
|
||||
INSERT INTO `aj_report_common2` VALUES (10, '武汉', 20);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for aj_report_common3
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `aj_report_common3`;
|
||||
CREATE TABLE `aj_report_common3` (
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
`time` varchar(255) DEFAULT NULL,
|
||||
`collect` int DEFAULT NULL,
|
||||
`start` int DEFAULT NULL,
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of aj_report_common3
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `aj_report_common3` VALUES (13, '1月', 10, 8);
|
||||
INSERT INTO `aj_report_common3` VALUES (14, '2月', 15, 12);
|
||||
INSERT INTO `aj_report_common3` VALUES (15, '3月', 20, 22);
|
||||
INSERT INTO `aj_report_common3` VALUES (16, '4月', 30, 28);
|
||||
INSERT INTO `aj_report_common3` VALUES (17, '5月', 28, 35);
|
||||
INSERT INTO `aj_report_common3` VALUES (18, '6月', 40, 38);
|
||||
INSERT INTO `aj_report_common3` VALUES (19, '7月', 80, 100);
|
||||
INSERT INTO `aj_report_common3` VALUES (20, '8月', 90, 120);
|
||||
INSERT INTO `aj_report_common3` VALUES (21, '9月', 65, 89);
|
||||
INSERT INTO `aj_report_common3` VALUES (22, '10月', 50, 50);
|
||||
INSERT INTO `aj_report_common3` VALUES (23, '11月', 35, 34);
|
||||
INSERT INTO `aj_report_common3` VALUES (24, '12月', 27, 23);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for aj_report_comparestack
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `aj_report_comparestack`;
|
||||
CREATE TABLE `aj_report_comparestack` (
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
`time` date DEFAULT NULL,
|
||||
`type` varchar(255) DEFAULT NULL,
|
||||
`nums` bigint DEFAULT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of aj_report_comparestack
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `aj_report_comparestack` VALUES (1, '2021-08-23', '成功', 12);
|
||||
INSERT INTO `aj_report_comparestack` VALUES (2, '2021-08-23', '失败', 1);
|
||||
INSERT INTO `aj_report_comparestack` VALUES (3, '2021-08-24', '成功', 24);
|
||||
INSERT INTO `aj_report_comparestack` VALUES (4, '2021-08-24', '失败', 5);
|
||||
INSERT INTO `aj_report_comparestack` VALUES (5, '2021-08-25', '成功', 13);
|
||||
INSERT INTO `aj_report_comparestack` VALUES (6, '2021-08-25', '失败', 8);
|
||||
INSERT INTO `aj_report_comparestack` VALUES (7, '2021-08-26', '成功', 19);
|
||||
INSERT INTO `aj_report_comparestack` VALUES (8, '2021-08-26', '失败', 3);
|
||||
INSERT INTO `aj_report_comparestack` VALUES (9, '2021-08-27', '成功', 9);
|
||||
INSERT INTO `aj_report_comparestack` VALUES (10, '2021-08-27', '失败', 15);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for aj_report_devices
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `aj_report_devices`;
|
||||
CREATE TABLE `aj_report_devices` (
|
||||
`device_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '设备编号',
|
||||
`device_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '设备名称',
|
||||
`device_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '设备类型',
|
||||
`device_type_code` int DEFAULT NULL COMMENT '设备类型编号',
|
||||
`online_time` datetime DEFAULT NULL COMMENT '上线日期',
|
||||
`device_state` int DEFAULT NULL COMMENT '1上线,0下线',
|
||||
PRIMARY KEY (`device_id`) USING BTREE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of aj_report_devices
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `aj_report_devices` VALUES ('f00001', '11楼防火墙服务器f01A', '防火墙', 1, '2021-06-23 10:24:16', 1);
|
||||
INSERT INTO `aj_report_devices` VALUES ('f00002', '11楼防火墙服务器f01B', '防火墙', 1, '2021-06-23 10:24:16', 1);
|
||||
INSERT INTO `aj_report_devices` VALUES ('j00001', '1楼总交换机j102A', '交换机', 1, '2021-06-23 10:05:10', 1);
|
||||
INSERT INTO `aj_report_devices` VALUES ('j00002', '1楼分交换机j104B', '交换机', 1, '2021-06-23 10:05:44', 1);
|
||||
INSERT INTO `aj_report_devices` VALUES ('j00003', '1楼分交换机j106C', '交换机', 1, '2021-06-23 10:06:12', 1);
|
||||
INSERT INTO `aj_report_devices` VALUES ('j00004', '1楼分交换机j109D', '交换机', 1, '2021-06-23 10:07:21', 1);
|
||||
INSERT INTO `aj_report_devices` VALUES ('j00005', '2楼总交换机j202A', '交换机', 1, '2021-06-23 10:15:38', 1);
|
||||
INSERT INTO `aj_report_devices` VALUES ('j00006', '2楼分交换机j204B', '交换机', 1, '2021-06-23 10:15:38', 1);
|
||||
INSERT INTO `aj_report_devices` VALUES ('j00007', '2楼分交换机j206C', '交换机', 1, '2021-06-23 10:15:38', 1);
|
||||
INSERT INTO `aj_report_devices` VALUES ('j00008', '2楼分交换机j209D', '交换机', 1, '2021-06-23 10:15:38', 1);
|
||||
INSERT INTO `aj_report_devices` VALUES ('j00009', '3楼总交换机j302A', '交换机', 1, '2021-06-23 10:15:38', 1);
|
||||
INSERT INTO `aj_report_devices` VALUES ('j00010', '3楼分交换机j304B', '交换机', 1, '2021-06-23 10:15:38', 1);
|
||||
INSERT INTO `aj_report_devices` VALUES ('j00011', '4楼总交换机j402A', '交换机', 1, '2021-06-23 10:15:38', 1);
|
||||
INSERT INTO `aj_report_devices` VALUES ('j00012', '4楼分交换机j409B', '交换机', 1, '2021-06-23 10:15:38', 1);
|
||||
INSERT INTO `aj_report_devices` VALUES ('s00001', '1楼服务器s101A', '服务器', 1, '2021-06-23 09:55:35', 1);
|
||||
INSERT INTO `aj_report_devices` VALUES ('s00002', '2楼服务器s201A', '服务器', 1, '2021-06-23 09:59:39', 1);
|
||||
INSERT INTO `aj_report_devices` VALUES ('s00003', '3楼服务器s301A', '服务器', 1, '2021-06-23 10:00:02', 1);
|
||||
INSERT INTO `aj_report_devices` VALUES ('s00004', '4楼服务器s401A', '服务器', 1, '2021-06-23 10:00:23', 1);
|
||||
INSERT INTO `aj_report_devices` VALUES ('s00005', '4楼服务器s401B', '服务器', 1, '2021-06-23 10:01:10', 1);
|
||||
INSERT INTO `aj_report_devices` VALUES ('s00006', '11楼服务器1101A', '服务器', 1, '2021-06-23 10:09:26', 1);
|
||||
INSERT INTO `aj_report_devices` VALUES ('s00007', '11楼服务器1101B', '服务器', 1, '2021-06-23 10:09:26', 1);
|
||||
INSERT INTO `aj_report_devices` VALUES ('s00008', '11楼服务器1101C', '服务器', 1, '2021-06-23 10:09:26', 1);
|
||||
INSERT INTO `aj_report_devices` VALUES ('s00009', '11楼服务器1101D', '服务器', 1, '2021-06-23 10:09:26', 1);
|
||||
INSERT INTO `aj_report_devices` VALUES ('s00010', '11楼服务器1101E', '服务器', 1, '2021-06-23 10:09:26', 1);
|
||||
INSERT INTO `aj_report_devices` VALUES ('w00001', '1楼路由器', '路由器', 1, '2021-06-23 10:21:14', 1);
|
||||
INSERT INTO `aj_report_devices` VALUES ('w00002', '2楼路由器', '路由器', 1, '2021-06-23 10:21:14', 1);
|
||||
INSERT INTO `aj_report_devices` VALUES ('w00003', '3楼路由器', '路由器', 1, '2021-06-23 10:21:14', 1);
|
||||
INSERT INTO `aj_report_devices` VALUES ('w00004', '4楼路由器', '路由器', 1, '2021-06-23 10:21:14', 1);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for aj_report_exper
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `aj_report_exper`;
|
||||
CREATE TABLE `aj_report_exper` (
|
||||
`datetime` date NOT NULL,
|
||||
`rt` double(11,2) DEFAULT NULL,
|
||||
`qps` bigint DEFAULT NULL,
|
||||
`error` int DEFAULT NULL,
|
||||
PRIMARY KEY (`datetime`) USING BTREE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of aj_report_exper
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `aj_report_exper` VALUES ('2021-06-18', 90.92, 9000, 2);
|
||||
INSERT INTO `aj_report_exper` VALUES ('2021-06-19', 100.02, 10000, 3);
|
||||
INSERT INTO `aj_report_exper` VALUES ('2021-06-20', 98.89, 9560, 1);
|
||||
INSERT INTO `aj_report_exper` VALUES ('2021-06-21', 110.99, 13456, 9);
|
||||
INSERT INTO `aj_report_exper` VALUES ('2021-06-22', 89.78, 8990, 3);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for aj_report_fireacl
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `aj_report_fireacl`;
|
||||
CREATE TABLE `aj_report_fireacl` (
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
`acl_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT 'acl类型',
|
||||
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=203 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of aj_report_fireacl
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `aj_report_fireacl` VALUES (1, '网页浏览443', '2021-06-23 10:50:41');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (2, '网页浏览443', '2021-06-23 10:51:11');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (3, '网页浏览443', '2021-06-23 10:51:47');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (4, '网页浏览443', '2021-06-23 10:51:49');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (5, '网页浏览443', '2021-06-23 10:51:52');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (6, '网页浏览443', '2021-06-23 10:51:55');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (7, '网页浏览443', '2021-06-23 10:51:57');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (8, '网页浏览443', '2021-06-23 10:52:28');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (9, '网页浏览443', '2021-06-23 10:52:31');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (10, '网页浏览443', '2021-06-23 10:52:33');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (11, '网页浏览443', '2021-06-23 10:52:36');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (12, '网页浏览443', '2021-06-23 10:52:38');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (13, '网页浏览443', '2021-06-23 10:52:39');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (14, '网页浏览443', '2021-06-23 10:52:42');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (15, '网页浏览443', '2021-06-23 10:52:44');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (16, '网页浏览443', '2021-06-23 10:52:46');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (17, '网页浏览443', '2021-06-23 10:52:48');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (18, '网页浏览443', '2021-06-23 10:54:33');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (19, '网页浏览443', '2021-06-23 10:54:41');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (20, '网页浏览443', '2021-06-23 10:54:45');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (21, '网页浏览443', '2021-06-23 10:54:46');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (22, '网页浏览443', '2021-06-23 10:54:46');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (23, '网页浏览443', '2021-06-23 10:54:47');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (24, '网页浏览443', '2021-06-23 10:54:48');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (25, '网页浏览443', '2021-06-23 10:54:51');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (26, '网页浏览443', '2021-06-23 10:54:54');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (27, '共享文件445', '2021-06-23 10:57:14');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (28, 'LDAP389', '2021-06-23 10:57:14');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (29, '共享文件445', '2021-06-23 10:57:20');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (30, 'LDAP389', '2021-06-23 10:57:20');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (31, 'LDAP389', '2021-06-23 10:57:24');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (32, '网页浏览443', '2021-06-23 10:57:27');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (33, '共享文件445', '2021-06-23 10:57:27');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (34, 'LDAP389', '2021-06-23 10:57:27');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (35, 'LDAP389', '2021-06-23 10:57:30');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (36, '网页浏览443', '2021-06-23 10:57:53');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (37, '共享文件445', '2021-06-23 10:57:53');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (38, 'LDAP389', '2021-06-23 10:57:53');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (39, 'Server1433', '2021-06-23 10:57:53');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (40, '存储514', '2021-06-23 10:57:53');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (41, '网页浏览443', '2021-06-23 10:57:56');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (42, '共享文件445', '2021-06-23 10:57:56');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (43, 'LDAP389', '2021-06-23 10:57:56');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (44, 'Server1433', '2021-06-23 10:57:56');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (45, '存储514', '2021-06-23 10:57:56');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (46, '远程桌面3389', '2021-06-23 10:57:56');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (47, '远程登陆23', '2021-06-23 10:57:56');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (48, 'LDAP389', '2021-06-23 10:58:29');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (49, 'Server1433', '2021-06-23 10:58:29');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (50, '存储514', '2021-06-23 10:58:29');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (51, '远程桌面3389', '2021-06-23 10:58:32');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (52, '远程登陆23', '2021-06-23 10:58:32');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (53, 'LDAP389', '2021-06-23 10:58:51');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (54, 'Server1433', '2021-06-23 10:58:51');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (55, '存储514', '2021-06-23 10:58:51');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (56, '远程桌面3389', '2021-06-23 10:58:51');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (57, '网页浏览443', '2021-06-23 10:58:54');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (58, '共享文件445', '2021-06-23 10:58:54');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (59, 'LDAP389', '2021-06-23 10:58:54');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (60, 'Server1433', '2021-06-23 10:58:54');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (61, '存储514', '2021-06-23 10:58:57');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (62, '远程桌面3389', '2021-06-23 10:58:57');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (63, '远程登陆23', '2021-06-23 10:58:57');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (64, 'LDAP389', '2021-06-23 10:59:01');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (65, 'Server1433', '2021-06-23 10:59:01');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (66, '存储514', '2021-06-23 10:59:01');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (67, '网页浏览443', '2021-06-23 10:59:05');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (68, '共享文件445', '2021-06-23 10:59:05');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (69, 'LDAP389', '2021-06-23 10:59:05');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (70, 'Server1433', '2021-06-23 10:59:05');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (71, '存储514', '2021-06-23 10:59:05');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (72, '远程桌面3389', '2021-06-23 10:59:05');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (73, '远程桌面3389', '2021-06-23 10:59:08');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (74, '远程登陆23', '2021-06-23 10:59:08');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (75, '远程桌面3389', '2021-06-23 10:59:08');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (76, '远程登陆23', '2021-06-23 10:59:08');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (77, '远程桌面3389', '2021-06-23 10:59:09');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (78, '远程登陆23', '2021-06-23 10:59:09');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (79, '远程桌面3389', '2021-06-23 10:59:09');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (80, '远程登陆23', '2021-06-23 10:59:09');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (81, '远程桌面3389', '2021-06-23 10:59:09');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (82, '远程登陆23', '2021-06-23 10:59:09');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (83, '远程桌面3389', '2021-06-23 10:59:09');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (84, '远程登陆23', '2021-06-23 10:59:09');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (85, '远程桌面3389', '2021-06-23 10:59:10');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (86, '远程登陆23', '2021-06-23 10:59:10');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (87, '远程桌面3389', '2021-06-23 10:59:10');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (88, '远程登陆23', '2021-06-23 10:59:10');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (89, '远程桌面3389', '2021-06-23 10:59:10');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (90, '远程登陆23', '2021-06-23 10:59:10');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (91, '远程桌面3389', '2021-06-23 10:59:10');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (92, '远程登陆23', '2021-06-23 10:59:10');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (93, '远程桌面3389', '2021-06-23 10:59:11');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (94, '远程登陆23', '2021-06-23 10:59:11');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (95, '远程桌面3389', '2021-06-23 10:59:11');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (96, '远程登陆23', '2021-06-23 10:59:11');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (97, '远程桌面3389', '2021-06-23 10:59:11');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (98, '远程登陆23', '2021-06-23 10:59:11');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (99, '远程桌面3389', '2021-06-23 10:59:11');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (100, '远程登陆23', '2021-06-23 10:59:11');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (101, '远程桌面3389', '2021-06-23 10:59:12');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (102, '远程登陆23', '2021-06-23 10:59:12');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (103, '远程桌面3389', '2021-06-23 10:59:12');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (104, '远程登陆23', '2021-06-23 10:59:12');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (105, '远程桌面3389', '2021-06-23 10:59:12');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (106, '远程登陆23', '2021-06-23 10:59:12');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (107, '远程桌面3389', '2021-06-23 10:59:12');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (108, '远程登陆23', '2021-06-23 10:59:12');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (109, '远程桌面3389', '2021-06-23 10:59:12');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (110, '远程登陆23', '2021-06-23 10:59:12');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (111, '远程桌面3389', '2021-06-23 10:59:12');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (112, '远程登陆23', '2021-06-23 10:59:12');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (113, '远程桌面3389', '2021-06-23 10:59:13');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (114, '远程登陆23', '2021-06-23 10:59:13');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (115, '远程桌面3389', '2021-06-23 10:59:13');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (116, '远程登陆23', '2021-06-23 10:59:13');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (117, '远程桌面3389', '2021-06-23 10:59:13');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (118, '远程登陆23', '2021-06-23 10:59:13');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (119, '远程桌面3389', '2021-06-23 10:59:14');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (120, '远程登陆23', '2021-06-23 10:59:14');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (121, '远程桌面3389', '2021-06-23 10:59:14');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (122, '远程登陆23', '2021-06-23 10:59:14');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (123, '远程桌面3389', '2021-06-23 10:59:14');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (124, '远程登陆23', '2021-06-23 10:59:14');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (125, '远程桌面3389', '2021-06-23 10:59:14');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (126, '远程登陆23', '2021-06-23 10:59:14');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (127, '远程桌面3389', '2021-06-23 10:59:15');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (128, '远程登陆23', '2021-06-23 10:59:15');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (129, '远程桌面3389', '2021-06-23 10:59:15');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (130, '远程登陆23', '2021-06-23 10:59:15');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (131, '远程桌面3389', '2021-06-23 10:59:15');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (132, '远程登陆23', '2021-06-23 10:59:15');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (133, '远程桌面3389', '2021-06-23 10:59:16');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (134, '远程登陆23', '2021-06-23 10:59:16');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (135, '远程桌面3389', '2021-06-23 10:59:16');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (136, '远程登陆23', '2021-06-23 10:59:16');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (137, '远程桌面3389', '2021-06-23 10:59:17');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (138, '远程登陆23', '2021-06-23 10:59:17');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (139, '远程桌面3389', '2021-06-23 10:59:17');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (140, '远程登陆23', '2021-06-23 10:59:17');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (141, '远程桌面3389', '2021-06-23 10:59:17');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (142, '远程登陆23', '2021-06-23 10:59:17');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (143, '远程桌面3389', '2021-06-23 10:59:18');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (144, '远程登陆23', '2021-06-23 10:59:18');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (145, '远程桌面3389', '2021-06-23 10:59:18');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (146, '远程登陆23', '2021-06-23 10:59:18');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (147, '远程桌面3389', '2021-06-23 10:59:18');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (148, '远程登陆23', '2021-06-23 10:59:18');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (149, '远程桌面3389', '2021-06-23 10:59:18');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (150, '远程登陆23', '2021-06-23 10:59:18');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (151, '远程桌面3389', '2021-06-23 10:59:19');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (152, '远程登陆23', '2021-06-23 10:59:19');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (153, '远程桌面3389', '2021-06-23 10:59:19');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (154, '远程登陆23', '2021-06-23 10:59:19');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (155, '远程桌面3389', '2021-06-23 10:59:19');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (156, '远程登陆23', '2021-06-23 10:59:19');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (157, '远程桌面3389', '2021-06-23 10:59:19');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (158, '远程登陆23', '2021-06-23 10:59:19');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (159, '远程桌面3389', '2021-06-23 10:59:19');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (160, '远程登陆23', '2021-06-23 10:59:19');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (161, '存储514', '2021-06-23 10:59:22');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (162, '远程桌面3389', '2021-06-23 10:59:22');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (163, '远程登陆23', '2021-06-23 10:59:22');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (164, 'Server1433', '2021-06-23 10:59:24');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (165, '存储514', '2021-06-23 10:59:24');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (166, '远程桌面3389', '2021-06-23 10:59:24');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (167, '远程登陆23', '2021-06-23 10:59:28');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (168, '远程登陆23', '2021-06-23 10:59:29');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (169, '远程登陆23', '2021-06-23 10:59:29');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (170, '远程登陆23', '2021-06-23 10:59:29');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (171, '远程登陆23', '2021-06-23 10:59:29');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (172, '远程登陆23', '2021-06-23 10:59:29');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (173, '远程登陆23', '2021-06-23 10:59:30');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (174, '远程登陆23', '2021-06-23 10:59:30');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (175, '存储514', '2021-06-23 10:59:33');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (176, '远程桌面3389', '2021-06-23 10:59:33');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (177, 'LDAP389', '2021-06-23 10:59:36');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (178, 'Server1433', '2021-06-23 10:59:36');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (179, '存储514', '2021-06-23 10:59:39');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (180, '远程桌面3389', '2021-06-23 10:59:39');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (181, '远程登陆23', '2021-06-23 10:59:39');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (182, '存储514', '2021-06-23 10:59:40');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (183, '远程桌面3389', '2021-06-23 10:59:40');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (184, '远程登陆23', '2021-06-23 10:59:40');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (185, '存储514', '2021-06-23 10:59:40');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (186, '远程桌面3389', '2021-06-23 10:59:40');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (187, '远程登陆23', '2021-06-23 10:59:40');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (188, '存储514', '2021-06-23 10:59:40');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (189, '远程桌面3389', '2021-06-23 10:59:40');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (190, '远程登陆23', '2021-06-23 10:59:40');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (191, '远程桌面3389', '2021-06-23 10:59:43');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (192, '远程登陆23', '2021-06-23 10:59:43');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (193, '远程桌面3389', '2021-06-23 10:59:43');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (194, '远程登陆23', '2021-06-23 10:59:43');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (195, '远程桌面3389', '2021-06-23 10:59:44');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (196, '远程登陆23', '2021-06-23 10:59:44');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (197, '远程桌面3389', '2021-06-23 10:59:44');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (198, '远程登陆23', '2021-06-23 10:59:44');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (199, '远程桌面3389', '2021-06-23 10:59:44');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (200, '远程登陆23', '2021-06-23 10:59:44');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (201, '远程桌面3389', '2021-06-23 10:59:44');
|
||||
INSERT INTO `aj_report_fireacl` VALUES (202, '远程登陆23', '2021-06-23 10:59:44');
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for aj_report_fireattack
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `aj_report_fireattack`;
|
||||
CREATE TABLE `aj_report_fireattack` (
|
||||
`id` int NOT NULL AUTO_INCREMENT COMMENT '事件编号',
|
||||
`attack_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '攻击类型',
|
||||
`create_time` datetime DEFAULT NULL COMMENT '事件创建时间',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=101 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of aj_report_fireattack
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `aj_report_fireattack` VALUES (1, '僵尸网络', '2021-06-23 13:15:37');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (2, '僵尸网络', '2021-06-23 13:34:14');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (3, '超大ICMP', '2021-06-23 13:34:14');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (4, '端口扫描', '2021-06-23 13:34:14');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (5, '网站扫描', '2021-06-23 13:34:14');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (6, 'UDP', '2021-06-23 13:34:14');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (7, 'WEB', '2021-06-23 13:34:14');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (8, 'SQL注入', '2021-06-23 13:34:14');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (9, '弱口令', '2021-06-23 13:34:14');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (10, '僵尸网络', '2021-06-23 13:39:27');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (11, '超大ICMP', '2021-06-23 13:39:27');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (12, 'UDP', '2021-06-23 13:39:33');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (13, 'WEB', '2021-06-23 13:39:33');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (14, 'SQL注入', '2021-06-23 13:39:33');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (15, '弱口令', '2021-06-23 13:39:33');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (16, '僵尸网络', '2021-06-23 13:39:38');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (17, '超大ICMP', '2021-06-23 13:39:38');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (18, '端口扫描', '2021-06-23 13:39:38');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (19, '网站扫描', '2021-06-23 13:39:38');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (20, 'UDP', '2021-06-23 13:39:38');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (21, 'WEB', '2021-06-23 13:39:38');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (22, 'SQL注入', '2021-06-23 13:39:38');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (23, '僵尸网络', '2021-06-23 13:39:41');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (24, '超大ICMP', '2021-06-23 13:39:41');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (25, '端口扫描', '2021-06-23 13:39:41');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (26, '僵尸网络', '2021-06-23 13:39:42');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (27, '超大ICMP', '2021-06-23 13:39:42');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (28, '端口扫描', '2021-06-23 13:39:42');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (29, '僵尸网络', '2021-06-23 13:39:42');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (30, '超大ICMP', '2021-06-23 13:39:42');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (31, '端口扫描', '2021-06-23 13:39:42');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (32, '僵尸网络', '2021-06-23 13:39:43');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (33, '超大ICMP', '2021-06-23 13:39:43');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (34, '端口扫描', '2021-06-23 13:39:43');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (35, '僵尸网络', '2021-06-23 13:39:43');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (36, '超大ICMP', '2021-06-23 13:39:43');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (37, '端口扫描', '2021-06-23 13:39:43');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (38, '弱口令', '2021-06-23 13:39:46');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (39, 'WEB', '2021-06-23 13:39:49');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (40, 'SQL注入', '2021-06-23 13:39:49');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (41, '端口扫描', '2021-06-23 13:39:55');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (42, '网站扫描', '2021-06-23 13:39:55');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (43, 'UDP', '2021-06-23 13:39:55');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (44, '超大ICMP', '2021-06-23 13:39:58');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (45, '端口扫描', '2021-06-23 13:39:58');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (46, '僵尸网络', '2021-06-23 13:40:00');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (47, '僵尸网络', '2021-06-23 13:40:01');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (48, '僵尸网络', '2021-06-23 13:40:01');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (49, '僵尸网络', '2021-06-23 13:40:01');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (50, '弱口令', '2021-06-23 13:40:05');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (51, 'SQL注入', '2021-06-23 13:40:07');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (52, '网站扫描', '2021-06-23 13:40:13');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (53, '端口扫描', '2021-06-23 13:40:17');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (54, '僵尸网络', '2021-06-23 13:40:19');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (55, '僵尸网络', '2021-06-23 13:40:24');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (56, '超大ICMP', '2021-06-23 13:40:24');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (57, '端口扫描', '2021-06-23 13:40:24');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (58, '网站扫描', '2021-06-23 13:40:24');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (59, 'UDP', '2021-06-23 13:40:24');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (60, 'WEB', '2021-06-23 13:40:24');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (61, 'SQL注入', '2021-06-23 13:40:24');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (62, '弱口令', '2021-06-23 13:40:24');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (63, '僵尸网络', '2021-06-23 13:40:25');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (64, '超大ICMP', '2021-06-23 13:40:25');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (65, '端口扫描', '2021-06-23 13:40:25');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (66, '网站扫描', '2021-06-23 13:40:25');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (67, 'UDP', '2021-06-23 13:40:25');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (68, 'WEB', '2021-06-23 13:40:25');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (69, 'SQL注入', '2021-06-23 13:40:25');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (70, '弱口令', '2021-06-23 13:40:25');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (71, '网站扫描', '2021-06-23 13:40:29');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (72, 'UDP', '2021-06-23 13:40:29');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (73, 'WEB', '2021-06-23 13:40:29');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (74, 'SQL注入', '2021-06-23 13:40:29');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (75, '僵尸网络', '2021-06-23 13:40:32');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (76, '超大ICMP', '2021-06-23 13:40:32');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (77, '端口扫描', '2021-06-23 13:40:32');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (78, '僵尸网络', '2021-06-23 13:40:32');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (79, '超大ICMP', '2021-06-23 13:40:32');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (80, '端口扫描', '2021-06-23 13:40:32');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (81, '僵尸网络', '2021-06-23 13:40:32');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (82, '超大ICMP', '2021-06-23 13:40:32');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (83, '端口扫描', '2021-06-23 13:40:32');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (84, '僵尸网络', '2021-06-23 13:40:33');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (85, '超大ICMP', '2021-06-23 13:40:33');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (86, '端口扫描', '2021-06-23 13:40:33');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (87, '僵尸网络', '2021-06-23 13:40:36');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (88, '超大ICMP', '2021-06-23 13:40:36');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (89, '僵尸网络', '2021-06-23 13:40:36');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (90, '超大ICMP', '2021-06-23 13:40:36');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (91, '僵尸网络', '2021-06-23 13:40:36');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (92, '超大ICMP', '2021-06-23 13:40:36');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (93, '僵尸网络', '2021-06-23 13:40:37');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (94, '超大ICMP', '2021-06-23 13:40:37');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (95, '网站扫描', '2021-06-23 13:42:06');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (96, 'UDP', '2021-06-23 13:42:26');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (97, 'SQL注入', '2021-06-23 13:42:42');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (98, 'UDP', '2021-06-23 13:42:47');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (99, 'UDP', '2021-06-23 13:42:47');
|
||||
INSERT INTO `aj_report_fireattack` VALUES (100, 'UDP', '2021-06-23 13:42:48');
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for aj_report_mail
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `aj_report_mail`;
|
||||
CREATE TABLE `aj_report_mail` (
|
||||
`id` int NOT NULL AUTO_INCREMENT COMMENT '事件id',
|
||||
`username` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '登陆用户',
|
||||
`status` int DEFAULT NULL COMMENT '1成功,0失败',
|
||||
`create_time` datetime DEFAULT NULL COMMENT '事件时间',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=245 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of aj_report_mail
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `aj_report_mail` VALUES (1, 'zhangsi', 0, '2021-06-21 14:14:22');
|
||||
INSERT INTO `aj_report_mail` VALUES (2, 'zhangsi', 0, '2021-06-21 14:18:01');
|
||||
INSERT INTO `aj_report_mail` VALUES (3, 'zhangsi', 0, '2021-06-21 14:18:01');
|
||||
INSERT INTO `aj_report_mail` VALUES (4, 'zhangsi', 0, '2021-06-22 14:18:02');
|
||||
INSERT INTO `aj_report_mail` VALUES (5, 'zhangsi', 0, '2021-06-22 14:18:02');
|
||||
INSERT INTO `aj_report_mail` VALUES (6, 'zhangsi', 0, '2021-06-22 14:18:02');
|
||||
INSERT INTO `aj_report_mail` VALUES (7, 'zhangsi', 0, '2021-06-23 14:18:02');
|
||||
INSERT INTO `aj_report_mail` VALUES (8, 'zhangsi', 0, '2021-06-23 14:18:03');
|
||||
INSERT INTO `aj_report_mail` VALUES (9, 'zhangsi', 0, '2021-06-23 14:18:03');
|
||||
INSERT INTO `aj_report_mail` VALUES (10, 'zhangsi', 0, '2021-06-23 14:18:03');
|
||||
INSERT INTO `aj_report_mail` VALUES (11, 'zhangsi', 0, '2021-06-23 14:18:03');
|
||||
INSERT INTO `aj_report_mail` VALUES (12, 'zhangsi', 0, '2021-06-23 14:18:04');
|
||||
INSERT INTO `aj_report_mail` VALUES (13, 'zhangsi', 0, '2021-06-23 14:18:04');
|
||||
INSERT INTO `aj_report_mail` VALUES (14, 'zhangsi', 0, '2021-06-23 14:18:09');
|
||||
INSERT INTO `aj_report_mail` VALUES (15, 'zhangsi', 0, '2021-06-23 14:18:10');
|
||||
INSERT INTO `aj_report_mail` VALUES (16, 'zhangsi', 0, '2021-06-23 14:18:10');
|
||||
INSERT INTO `aj_report_mail` VALUES (17, 'zhangsi', 0, '2021-06-23 14:18:10');
|
||||
INSERT INTO `aj_report_mail` VALUES (18, 'zhangsi', 0, '2021-06-23 14:18:10');
|
||||
INSERT INTO `aj_report_mail` VALUES (19, 'zhangsi', 0, '2021-06-23 14:18:10');
|
||||
INSERT INTO `aj_report_mail` VALUES (20, 'wangwu', 0, '2021-06-21 14:18:23');
|
||||
INSERT INTO `aj_report_mail` VALUES (21, 'wangwu', 0, '2021-06-21 14:18:24');
|
||||
INSERT INTO `aj_report_mail` VALUES (22, 'wangwu', 0, '2021-06-21 14:18:24');
|
||||
INSERT INTO `aj_report_mail` VALUES (23, 'wangwu', 0, '2021-06-21 14:18:24');
|
||||
INSERT INTO `aj_report_mail` VALUES (24, 'wangwu', 0, '2021-06-21 14:18:24');
|
||||
INSERT INTO `aj_report_mail` VALUES (25, 'wangwu', 0, '2021-06-23 14:18:24');
|
||||
INSERT INTO `aj_report_mail` VALUES (26, 'wangwu', 0, '2021-06-23 14:18:24');
|
||||
INSERT INTO `aj_report_mail` VALUES (27, 'wangwu', 0, '2021-06-23 14:18:25');
|
||||
INSERT INTO `aj_report_mail` VALUES (28, 'wangwu', 0, '2021-06-23 14:18:25');
|
||||
INSERT INTO `aj_report_mail` VALUES (29, 'zhangsi', 0, '2021-06-23 14:18:31');
|
||||
INSERT INTO `aj_report_mail` VALUES (30, 'wangwu', 0, '2021-06-23 14:18:31');
|
||||
INSERT INTO `aj_report_mail` VALUES (31, 'zhangsi', 0, '2021-06-23 14:18:31');
|
||||
INSERT INTO `aj_report_mail` VALUES (32, 'wangwu', 0, '2021-06-23 14:18:31');
|
||||
INSERT INTO `aj_report_mail` VALUES (33, 'zhangsi', 0, '2021-06-23 14:18:31');
|
||||
INSERT INTO `aj_report_mail` VALUES (34, 'wangwu', 0, '2021-06-23 14:18:31');
|
||||
INSERT INTO `aj_report_mail` VALUES (35, 'zhangsi', 0, '2021-06-23 14:18:31');
|
||||
INSERT INTO `aj_report_mail` VALUES (36, 'wangwu', 0, '2021-06-23 14:18:31');
|
||||
INSERT INTO `aj_report_mail` VALUES (37, 'zhangsi', 0, '2021-06-23 14:18:32');
|
||||
INSERT INTO `aj_report_mail` VALUES (38, 'wangwu', 0, '2021-06-23 14:18:32');
|
||||
INSERT INTO `aj_report_mail` VALUES (39, 'zhangsi', 0, '2021-06-23 14:18:41');
|
||||
INSERT INTO `aj_report_mail` VALUES (40, 'wangwu', 0, '2021-06-23 14:18:41');
|
||||
INSERT INTO `aj_report_mail` VALUES (41, 'liliu', 0, '2021-06-23 14:18:41');
|
||||
INSERT INTO `aj_report_mail` VALUES (42, 'zhangsi', 0, '2021-06-23 14:18:41');
|
||||
INSERT INTO `aj_report_mail` VALUES (43, 'wangwu', 0, '2021-06-23 14:18:41');
|
||||
INSERT INTO `aj_report_mail` VALUES (44, 'liliu', 0, '2021-06-23 14:18:41');
|
||||
INSERT INTO `aj_report_mail` VALUES (45, 'liliu', 0, '2021-06-23 14:18:43');
|
||||
INSERT INTO `aj_report_mail` VALUES (46, 'liliu', 0, '2021-06-21 14:18:43');
|
||||
INSERT INTO `aj_report_mail` VALUES (47, 'liliu', 0, '2021-06-21 14:18:44');
|
||||
INSERT INTO `aj_report_mail` VALUES (48, 'liliu', 0, '2021-06-23 14:18:44');
|
||||
INSERT INTO `aj_report_mail` VALUES (49, 'IT1', 0, '2021-06-23 14:18:53');
|
||||
INSERT INTO `aj_report_mail` VALUES (50, 'IT1', 0, '2021-06-23 14:18:53');
|
||||
INSERT INTO `aj_report_mail` VALUES (51, 'IT1', 0, '2021-06-23 14:18:54');
|
||||
INSERT INTO `aj_report_mail` VALUES (52, 'IT1', 0, '2021-06-21 14:18:54');
|
||||
INSERT INTO `aj_report_mail` VALUES (53, 'zhangsi', 0, '2021-06-21 14:18:58');
|
||||
INSERT INTO `aj_report_mail` VALUES (54, 'wangwu', 0, '2021-06-23 14:18:58');
|
||||
INSERT INTO `aj_report_mail` VALUES (55, 'liliu', 0, '2021-06-23 14:18:58');
|
||||
INSERT INTO `aj_report_mail` VALUES (56, 'IT1', 0, '2021-06-23 14:18:58');
|
||||
INSERT INTO `aj_report_mail` VALUES (57, 'IT2', 0, '2021-06-23 14:19:07');
|
||||
INSERT INTO `aj_report_mail` VALUES (58, 'IT1', 0, '2021-06-23 14:19:12');
|
||||
INSERT INTO `aj_report_mail` VALUES (59, 'IT2', 0, '2021-06-23 14:19:12');
|
||||
INSERT INTO `aj_report_mail` VALUES (60, 'IT1', 0, '2021-06-23 14:19:12');
|
||||
INSERT INTO `aj_report_mail` VALUES (61, 'IT2', 0, '2021-06-22 14:19:12');
|
||||
INSERT INTO `aj_report_mail` VALUES (62, 'IT1', 0, '2021-06-22 14:19:12');
|
||||
INSERT INTO `aj_report_mail` VALUES (63, 'IT2', 0, '2021-06-22 14:19:12');
|
||||
INSERT INTO `aj_report_mail` VALUES (64, 'IT2', 0, '2021-06-23 14:19:26');
|
||||
INSERT INTO `aj_report_mail` VALUES (65, 'jiayi', 0, '2021-06-23 14:19:26');
|
||||
INSERT INTO `aj_report_mail` VALUES (66, 'IT2', 0, '2021-06-23 14:19:27');
|
||||
INSERT INTO `aj_report_mail` VALUES (67, 'jiayi', 0, '2021-06-23 14:19:27');
|
||||
INSERT INTO `aj_report_mail` VALUES (68, 'IT2', 0, '2021-06-23 14:19:27');
|
||||
INSERT INTO `aj_report_mail` VALUES (69, 'jiayi', 0, '2021-06-23 14:19:27');
|
||||
INSERT INTO `aj_report_mail` VALUES (70, 'IT1', 0, '2021-06-23 14:19:30');
|
||||
INSERT INTO `aj_report_mail` VALUES (71, 'IT2', 0, '2021-06-23 14:19:30');
|
||||
INSERT INTO `aj_report_mail` VALUES (72, 'IT1', 0, '2021-06-23 14:19:30');
|
||||
INSERT INTO `aj_report_mail` VALUES (73, 'IT2', 0, '2021-06-22 14:19:30');
|
||||
INSERT INTO `aj_report_mail` VALUES (74, 'zhangsi', 0, '2021-06-22 14:19:33');
|
||||
INSERT INTO `aj_report_mail` VALUES (75, 'wangwu', 0, '2021-06-22 14:19:33');
|
||||
INSERT INTO `aj_report_mail` VALUES (76, 'liliu', 0, '2021-06-23 14:19:33');
|
||||
INSERT INTO `aj_report_mail` VALUES (77, 'IT1', 0, '2021-06-23 14:19:33');
|
||||
INSERT INTO `aj_report_mail` VALUES (78, 'IT2', 0, '2021-06-22 14:19:33');
|
||||
INSERT INTO `aj_report_mail` VALUES (79, 'jiayi', 0, '2021-06-23 14:19:33');
|
||||
INSERT INTO `aj_report_mail` VALUES (80, 'zhangsi', 0, '2021-06-23 14:19:33');
|
||||
INSERT INTO `aj_report_mail` VALUES (81, 'wangwu', 0, '2021-06-23 14:19:33');
|
||||
INSERT INTO `aj_report_mail` VALUES (82, 'liliu', 0, '2021-06-23 14:19:33');
|
||||
INSERT INTO `aj_report_mail` VALUES (83, 'IT1', 0, '2021-06-23 14:19:33');
|
||||
INSERT INTO `aj_report_mail` VALUES (84, 'IT2', 0, '2021-06-23 14:19:33');
|
||||
INSERT INTO `aj_report_mail` VALUES (85, 'jiayi', 0, '2021-06-23 14:19:33');
|
||||
INSERT INTO `aj_report_mail` VALUES (86, 'zhangsi', 0, '2021-06-23 14:19:33');
|
||||
INSERT INTO `aj_report_mail` VALUES (87, 'wangwu', 0, '2021-06-23 14:19:33');
|
||||
INSERT INTO `aj_report_mail` VALUES (88, 'liliu', 0, '2021-06-23 14:19:33');
|
||||
INSERT INTO `aj_report_mail` VALUES (89, 'IT1', 0, '2021-06-23 14:19:33');
|
||||
INSERT INTO `aj_report_mail` VALUES (90, 'IT2', 0, '2021-06-23 14:19:33');
|
||||
INSERT INTO `aj_report_mail` VALUES (91, 'jiayi', 0, '2021-06-23 14:19:33');
|
||||
INSERT INTO `aj_report_mail` VALUES (92, 'zhangsi', 0, '2021-06-21 14:19:34');
|
||||
INSERT INTO `aj_report_mail` VALUES (93, 'wangwu', 0, '2021-06-21 14:19:34');
|
||||
INSERT INTO `aj_report_mail` VALUES (94, 'liliu', 0, '2021-06-21 14:19:34');
|
||||
INSERT INTO `aj_report_mail` VALUES (95, 'IT1', 0, '2021-06-23 14:19:34');
|
||||
INSERT INTO `aj_report_mail` VALUES (96, 'IT2', 0, '2021-06-23 14:19:34');
|
||||
INSERT INTO `aj_report_mail` VALUES (97, 'jiayi', 0, '2021-06-21 14:19:34');
|
||||
INSERT INTO `aj_report_mail` VALUES (98, 'zhangsi', 0, '2021-06-23 14:19:34');
|
||||
INSERT INTO `aj_report_mail` VALUES (99, 'wangwu', 0, '2021-06-23 14:19:34');
|
||||
INSERT INTO `aj_report_mail` VALUES (100, 'liliu', 0, '2021-06-23 14:19:34');
|
||||
INSERT INTO `aj_report_mail` VALUES (101, 'IT1', 0, '2021-06-23 14:19:34');
|
||||
INSERT INTO `aj_report_mail` VALUES (102, 'IT2', 0, '2021-06-23 14:19:34');
|
||||
INSERT INTO `aj_report_mail` VALUES (103, 'jiayi', 0, '2021-06-23 14:19:34');
|
||||
INSERT INTO `aj_report_mail` VALUES (104, 'zhangsi', 0, '2021-06-23 14:19:34');
|
||||
INSERT INTO `aj_report_mail` VALUES (105, 'wangwu', 0, '2021-06-23 14:19:34');
|
||||
INSERT INTO `aj_report_mail` VALUES (106, 'liliu', 0, '2021-06-23 14:19:34');
|
||||
INSERT INTO `aj_report_mail` VALUES (107, 'IT1', 0, '2021-06-23 14:19:34');
|
||||
INSERT INTO `aj_report_mail` VALUES (108, 'IT2', 0, '2021-06-23 14:19:34');
|
||||
INSERT INTO `aj_report_mail` VALUES (109, 'jiayi', 0, '2021-06-23 14:19:34');
|
||||
INSERT INTO `aj_report_mail` VALUES (110, 'zhangsi', 0, '2021-06-24 09:39:28');
|
||||
INSERT INTO `aj_report_mail` VALUES (111, 'wangwu', 0, '2021-06-24 09:39:28');
|
||||
INSERT INTO `aj_report_mail` VALUES (112, 'liliu', 0, '2021-06-24 09:39:28');
|
||||
INSERT INTO `aj_report_mail` VALUES (113, 'IT1', 0, '2021-06-24 09:39:28');
|
||||
INSERT INTO `aj_report_mail` VALUES (114, 'IT2', 0, '2021-06-24 09:39:28');
|
||||
INSERT INTO `aj_report_mail` VALUES (115, 'jiayi', 0, '2021-06-24 09:39:28');
|
||||
INSERT INTO `aj_report_mail` VALUES (116, 'zhangsi', 0, '2021-06-24 09:39:35');
|
||||
INSERT INTO `aj_report_mail` VALUES (117, 'wangwu', 0, '2021-06-24 09:39:35');
|
||||
INSERT INTO `aj_report_mail` VALUES (118, 'liliu', 0, '2021-06-24 09:39:35');
|
||||
INSERT INTO `aj_report_mail` VALUES (119, 'IT1', 0, '2021-06-24 09:39:35');
|
||||
INSERT INTO `aj_report_mail` VALUES (120, 'IT2', 0, '2021-06-24 09:39:35');
|
||||
INSERT INTO `aj_report_mail` VALUES (121, 'jiayi', 0, '2021-06-24 09:39:35');
|
||||
INSERT INTO `aj_report_mail` VALUES (122, 'zhangsi', 0, '2021-06-24 09:39:36');
|
||||
INSERT INTO `aj_report_mail` VALUES (123, 'wangwu', 0, '2021-06-24 09:39:36');
|
||||
INSERT INTO `aj_report_mail` VALUES (124, 'liliu', 0, '2021-06-24 09:39:36');
|
||||
INSERT INTO `aj_report_mail` VALUES (125, 'IT1', 0, '2021-06-24 09:39:36');
|
||||
INSERT INTO `aj_report_mail` VALUES (126, 'IT2', 0, '2021-06-24 09:39:36');
|
||||
INSERT INTO `aj_report_mail` VALUES (127, 'jiayi', 0, '2021-06-24 09:39:36');
|
||||
INSERT INTO `aj_report_mail` VALUES (128, 'liliu', 0, '2021-06-24 09:39:39');
|
||||
INSERT INTO `aj_report_mail` VALUES (129, 'IT1', 0, '2021-06-24 09:39:39');
|
||||
INSERT INTO `aj_report_mail` VALUES (130, 'IT2', 0, '2021-06-24 09:39:39');
|
||||
INSERT INTO `aj_report_mail` VALUES (131, 'zhangsi', 0, '2021-06-24 09:39:42');
|
||||
INSERT INTO `aj_report_mail` VALUES (132, 'wangwu', 0, '2021-06-24 09:39:42');
|
||||
INSERT INTO `aj_report_mail` VALUES (133, 'liliu', 0, '2021-06-24 09:39:42');
|
||||
INSERT INTO `aj_report_mail` VALUES (134, 'IT1', 0, '2021-06-24 09:39:44');
|
||||
INSERT INTO `aj_report_mail` VALUES (135, 'IT1', 0, '2021-06-24 09:39:44');
|
||||
INSERT INTO `aj_report_mail` VALUES (136, 'IT1', 0, '2021-06-24 09:39:45');
|
||||
INSERT INTO `aj_report_mail` VALUES (137, 'zhangsi', 0, '2021-06-24 09:39:47');
|
||||
INSERT INTO `aj_report_mail` VALUES (138, 'zhangsi', 0, '2021-06-24 09:39:47');
|
||||
INSERT INTO `aj_report_mail` VALUES (139, 'wangwu', 0, '2021-06-24 09:39:50');
|
||||
INSERT INTO `aj_report_mail` VALUES (140, 'liliu', 0, '2021-06-24 09:39:50');
|
||||
INSERT INTO `aj_report_mail` VALUES (141, 'wangwu', 0, '2021-06-24 09:39:50');
|
||||
INSERT INTO `aj_report_mail` VALUES (142, 'liliu', 0, '2021-06-23 09:39:50');
|
||||
INSERT INTO `aj_report_mail` VALUES (143, 'zhangsi', 0, '2021-06-23 09:39:53');
|
||||
INSERT INTO `aj_report_mail` VALUES (144, 'wangwu', 0, '2021-06-24 09:39:53');
|
||||
INSERT INTO `aj_report_mail` VALUES (145, 'liliu', 0, '2021-06-24 09:39:53');
|
||||
INSERT INTO `aj_report_mail` VALUES (146, 'IT1', 0, '2021-06-24 09:39:53');
|
||||
INSERT INTO `aj_report_mail` VALUES (147, 'IT2', 0, '2021-06-24 09:39:53');
|
||||
INSERT INTO `aj_report_mail` VALUES (148, 'zhangsi', 0, '2021-06-24 09:39:54');
|
||||
INSERT INTO `aj_report_mail` VALUES (149, 'wangwu', 0, '2021-06-23 09:39:54');
|
||||
INSERT INTO `aj_report_mail` VALUES (150, 'liliu', 0, '2021-06-24 09:39:54');
|
||||
INSERT INTO `aj_report_mail` VALUES (151, 'IT1', 0, '2021-06-24 09:39:54');
|
||||
INSERT INTO `aj_report_mail` VALUES (152, 'IT2', 0, '2021-06-24 09:39:54');
|
||||
INSERT INTO `aj_report_mail` VALUES (153, 'zhangsi', 0, '2021-06-24 09:39:56');
|
||||
INSERT INTO `aj_report_mail` VALUES (154, 'wangwu', 0, '2021-06-24 09:39:56');
|
||||
INSERT INTO `aj_report_mail` VALUES (155, 'zhangsi', 0, '2021-06-24 09:39:57');
|
||||
INSERT INTO `aj_report_mail` VALUES (156, 'wangwu', 0, '2021-06-24 09:39:57');
|
||||
INSERT INTO `aj_report_mail` VALUES (157, 'zhangsi', 0, '2021-06-24 09:39:57');
|
||||
INSERT INTO `aj_report_mail` VALUES (158, 'wangwu', 0, '2021-06-24 09:39:57');
|
||||
INSERT INTO `aj_report_mail` VALUES (159, 'zhangsi', 0, '2021-06-24 09:40:00');
|
||||
INSERT INTO `aj_report_mail` VALUES (160, 'wangwu', 0, '2021-06-24 09:40:01');
|
||||
INSERT INTO `aj_report_mail` VALUES (161, 'liliu', 0, '2021-06-24 09:40:01');
|
||||
INSERT INTO `aj_report_mail` VALUES (162, 'zhangsi', 0, '2021-06-23 09:40:01');
|
||||
INSERT INTO `aj_report_mail` VALUES (163, 'wangwu', 0, '2021-06-23 09:40:01');
|
||||
INSERT INTO `aj_report_mail` VALUES (164, 'liliu', 0, '2021-06-24 09:40:01');
|
||||
INSERT INTO `aj_report_mail` VALUES (165, 'liliu', 0, '2021-06-23 09:40:05');
|
||||
INSERT INTO `aj_report_mail` VALUES (166, 'IT1', 0, '2021-06-24 09:40:05');
|
||||
INSERT INTO `aj_report_mail` VALUES (167, 'IT2', 0, '2021-06-24 09:40:07');
|
||||
INSERT INTO `aj_report_mail` VALUES (168, 'jiayi', 0, '2021-06-24 09:40:07');
|
||||
INSERT INTO `aj_report_mail` VALUES (169, 'wangwu', 0, '2021-06-24 09:40:11');
|
||||
INSERT INTO `aj_report_mail` VALUES (170, 'liliu', 0, '2021-06-24 09:40:11');
|
||||
INSERT INTO `aj_report_mail` VALUES (171, 'zhangsi', 0, '2021-06-24 09:40:14');
|
||||
INSERT INTO `aj_report_mail` VALUES (172, 'zhangsi', 0, '2021-06-24 09:40:14');
|
||||
INSERT INTO `aj_report_mail` VALUES (173, 'zhangsi', 0, '2021-06-24 09:40:15');
|
||||
INSERT INTO `aj_report_mail` VALUES (174, 'IT1', 0, '2021-06-24 09:40:18');
|
||||
INSERT INTO `aj_report_mail` VALUES (175, 'liliu', 0, '2021-06-24 09:40:20');
|
||||
INSERT INTO `aj_report_mail` VALUES (176, 'jiayi', 0, '2021-06-24 09:40:22');
|
||||
INSERT INTO `aj_report_mail` VALUES (177, 'zhangsi', 0, '2021-06-25 09:55:00');
|
||||
INSERT INTO `aj_report_mail` VALUES (178, 'wangwu', 0, '2021-06-25 09:55:00');
|
||||
INSERT INTO `aj_report_mail` VALUES (179, 'liliu', 0, '2021-06-25 09:55:00');
|
||||
INSERT INTO `aj_report_mail` VALUES (180, 'IT1', 0, '2021-06-25 09:55:00');
|
||||
INSERT INTO `aj_report_mail` VALUES (181, 'IT2', 0, '2021-06-25 09:55:00');
|
||||
INSERT INTO `aj_report_mail` VALUES (182, 'jiayi', 0, '2021-06-25 09:55:00');
|
||||
INSERT INTO `aj_report_mail` VALUES (183, 'wangwu', 0, '2021-06-25 09:55:05');
|
||||
INSERT INTO `aj_report_mail` VALUES (184, 'liliu', 0, '2021-06-25 09:55:05');
|
||||
INSERT INTO `aj_report_mail` VALUES (185, 'zhangsi', 0, '2021-06-25 09:55:09');
|
||||
INSERT INTO `aj_report_mail` VALUES (186, 'IT2', 0, '2021-06-25 09:55:12');
|
||||
INSERT INTO `aj_report_mail` VALUES (187, 'liliu', 0, '2021-06-25 09:55:15');
|
||||
INSERT INTO `aj_report_mail` VALUES (188, 'IT1', 0, '2021-06-25 09:55:15');
|
||||
INSERT INTO `aj_report_mail` VALUES (189, 'IT2', 0, '2021-06-25 09:55:15');
|
||||
INSERT INTO `aj_report_mail` VALUES (190, 'wangwu', 0, '2021-06-22 09:55:17');
|
||||
INSERT INTO `aj_report_mail` VALUES (191, 'liliu', 0, '2021-06-25 09:55:17');
|
||||
INSERT INTO `aj_report_mail` VALUES (192, 'jiayi', 0, '2021-06-25 09:55:20');
|
||||
INSERT INTO `aj_report_mail` VALUES (193, 'liliu', 0, '2021-06-25 09:55:22');
|
||||
INSERT INTO `aj_report_mail` VALUES (194, 'wangwu', 0, '2021-06-22 09:55:25');
|
||||
INSERT INTO `aj_report_mail` VALUES (195, 'zhangsi', 0, '2021-06-22 09:55:27');
|
||||
INSERT INTO `aj_report_mail` VALUES (196, 'IT1', 0, '2021-06-25 09:55:30');
|
||||
INSERT INTO `aj_report_mail` VALUES (197, 'IT2', 0, '2021-06-21 09:55:33');
|
||||
INSERT INTO `aj_report_mail` VALUES (198, 'zhangsi', 0, '2021-06-21 09:55:38');
|
||||
INSERT INTO `aj_report_mail` VALUES (199, 'wangwu', 0, '2021-06-21 09:55:38');
|
||||
INSERT INTO `aj_report_mail` VALUES (200, 'zhangsi', 0, '2021-06-25 09:55:38');
|
||||
INSERT INTO `aj_report_mail` VALUES (201, 'wangwu', 0, '2021-06-25 09:55:38');
|
||||
INSERT INTO `aj_report_mail` VALUES (202, 'zhangsi', 0, '2021-06-25 09:55:39');
|
||||
INSERT INTO `aj_report_mail` VALUES (203, 'wangwu', 0, '2021-06-25 09:55:39');
|
||||
INSERT INTO `aj_report_mail` VALUES (204, 'zhangsi', 0, '2021-06-25 09:55:39');
|
||||
INSERT INTO `aj_report_mail` VALUES (205, 'wangwu', 0, '2021-06-25 09:55:39');
|
||||
INSERT INTO `aj_report_mail` VALUES (206, 'zhangsi', 0, '2021-06-25 09:55:42');
|
||||
INSERT INTO `aj_report_mail` VALUES (207, 'wangwu', 0, '2021-06-25 09:55:42');
|
||||
INSERT INTO `aj_report_mail` VALUES (208, 'liliu', 0, '2021-06-25 09:55:42');
|
||||
INSERT INTO `aj_report_mail` VALUES (209, 'IT1', 0, '2021-06-25 09:55:42');
|
||||
INSERT INTO `aj_report_mail` VALUES (210, 'IT2', 0, '2021-06-25 09:55:42');
|
||||
INSERT INTO `aj_report_mail` VALUES (211, 'zhangsi', 0, '2021-06-25 09:55:45');
|
||||
INSERT INTO `aj_report_mail` VALUES (212, 'wangwu', 0, '2021-06-25 09:55:45');
|
||||
INSERT INTO `aj_report_mail` VALUES (213, 'liliu', 0, '2021-06-25 09:55:45');
|
||||
INSERT INTO `aj_report_mail` VALUES (214, 'IT1', 0, '2021-06-25 09:55:45');
|
||||
INSERT INTO `aj_report_mail` VALUES (215, 'IT2', 0, '2021-06-25 09:55:45');
|
||||
INSERT INTO `aj_report_mail` VALUES (216, 'jiayi', 0, '2021-06-25 09:55:45');
|
||||
INSERT INTO `aj_report_mail` VALUES (217, 'IT1', 0, '2021-06-25 09:55:48');
|
||||
INSERT INTO `aj_report_mail` VALUES (218, 'IT2', 0, '2021-06-21 09:55:48');
|
||||
INSERT INTO `aj_report_mail` VALUES (219, 'zhangsi', 0, '2021-06-25 10:00:00');
|
||||
INSERT INTO `aj_report_mail` VALUES (220, 'wangwu', 0, '2021-06-25 10:00:00');
|
||||
INSERT INTO `aj_report_mail` VALUES (221, 'liliu', 0, '2021-06-25 10:00:00');
|
||||
INSERT INTO `aj_report_mail` VALUES (222, 'IT1', 0, '2021-06-25 10:00:00');
|
||||
INSERT INTO `aj_report_mail` VALUES (223, 'IT2', 0, '2021-06-22 10:00:00');
|
||||
INSERT INTO `aj_report_mail` VALUES (224, 'jiayi', 0, '2021-06-25 10:00:00');
|
||||
INSERT INTO `aj_report_mail` VALUES (225, 'jiayi', 0, '2021-06-25 10:00:03');
|
||||
INSERT INTO `aj_report_mail` VALUES (226, 'jiayi', 0, '2021-06-25 10:00:03');
|
||||
INSERT INTO `aj_report_mail` VALUES (227, 'jiayi', 0, '2021-06-21 10:00:04');
|
||||
INSERT INTO `aj_report_mail` VALUES (228, 'IT1', 0, '2021-06-22 10:00:06');
|
||||
INSERT INTO `aj_report_mail` VALUES (229, 'zhangsi', 0, '2021-06-22 10:00:14');
|
||||
INSERT INTO `aj_report_mail` VALUES (230, 'wangwu', 0, '2021-06-25 10:00:14');
|
||||
INSERT INTO `aj_report_mail` VALUES (231, 'liliu', 0, '2021-06-25 10:00:14');
|
||||
INSERT INTO `aj_report_mail` VALUES (232, 'IT1', 0, '2021-06-21 10:00:14');
|
||||
INSERT INTO `aj_report_mail` VALUES (233, 'zhangsi', 0, '2021-06-25 10:00:14');
|
||||
INSERT INTO `aj_report_mail` VALUES (234, 'wangwu', 0, '2021-06-25 10:00:14');
|
||||
INSERT INTO `aj_report_mail` VALUES (235, 'liliu', 0, '2021-06-25 10:00:14');
|
||||
INSERT INTO `aj_report_mail` VALUES (236, 'IT1', 0, '2021-06-21 10:00:14');
|
||||
INSERT INTO `aj_report_mail` VALUES (237, 'zhangsi', 0, '2021-06-25 10:00:14');
|
||||
INSERT INTO `aj_report_mail` VALUES (238, 'wangwu', 0, '2021-06-25 10:00:14');
|
||||
INSERT INTO `aj_report_mail` VALUES (239, 'liliu', 0, '2021-06-21 10:00:14');
|
||||
INSERT INTO `aj_report_mail` VALUES (240, 'IT1', 0, '2021-06-21 10:00:14');
|
||||
INSERT INTO `aj_report_mail` VALUES (241, 'zhangsi', 0, '2021-06-25 10:00:15');
|
||||
INSERT INTO `aj_report_mail` VALUES (242, 'wangwu', 0, '2021-06-25 10:00:15');
|
||||
INSERT INTO `aj_report_mail` VALUES (243, 'liliu', 0, '2021-06-25 10:00:15');
|
||||
INSERT INTO `aj_report_mail` VALUES (244, 'IT1', 0, '2021-06-25 10:00:15');
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for aj_report_manus
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `aj_report_manus`;
|
||||
CREATE TABLE `aj_report_manus` (
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
`datetime` date DEFAULT NULL COMMENT '日期',
|
||||
`brand` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '系列',
|
||||
`manus` int DEFAULT NULL COMMENT '生产量',
|
||||
`sales` int DEFAULT NULL COMMENT '销售量',
|
||||
`unsales` int DEFAULT NULL COMMENT '滞销量',
|
||||
`rework` int DEFAULT NULL COMMENT '返修量',
|
||||
`return` int DEFAULT NULL COMMENT '退货量',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=36 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of aj_report_manus
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `aj_report_manus` VALUES (1, '2021-06-18', 'A-100', 12, 11, 1, 0, 0);
|
||||
INSERT INTO `aj_report_manus` VALUES (2, '2021-06-18', 'A-110', 20, 15, 5, 1, 1);
|
||||
INSERT INTO `aj_report_manus` VALUES (3, '2021-06-18', 'B-100', 20, 20, 0, 0, 0);
|
||||
INSERT INTO `aj_report_manus` VALUES (4, '2021-06-18', 'B-110', 30, 25, 5, 2, 1);
|
||||
INSERT INTO `aj_report_manus` VALUES (5, '2021-06-18', 'C-50', 60, 50, 10, 5, 3);
|
||||
INSERT INTO `aj_report_manus` VALUES (6, '2021-06-18', 'D-40', 65, 65, 0, 10, 0);
|
||||
INSERT INTO `aj_report_manus` VALUES (7, '2021-06-18', 'E-30', 45, 45, 0, 20, 2);
|
||||
INSERT INTO `aj_report_manus` VALUES (8, '2021-06-19', 'A-100', 7, 7, 0, 1, 0);
|
||||
INSERT INTO `aj_report_manus` VALUES (9, '2021-06-19', 'A-110', 10, 9, 1, 1, 0);
|
||||
INSERT INTO `aj_report_manus` VALUES (10, '2021-06-19', 'B-100', 11, 10, 1, 1, 0);
|
||||
INSERT INTO `aj_report_manus` VALUES (11, '2021-06-19', 'B-110', 15, 12, 3, 0, 0);
|
||||
INSERT INTO `aj_report_manus` VALUES (12, '2021-06-19', 'C-50', 40, 40, 0, 5, 2);
|
||||
INSERT INTO `aj_report_manus` VALUES (13, '2021-06-19', 'D-40', 35, 33, 2, 4, 2);
|
||||
INSERT INTO `aj_report_manus` VALUES (14, '2021-06-19', 'E-30', 15, 29, 1, 10, 10);
|
||||
INSERT INTO `aj_report_manus` VALUES (15, '2021-06-20', 'A-100', 17, 13, 4, 1, 0);
|
||||
INSERT INTO `aj_report_manus` VALUES (16, '2021-06-20', 'A-110', 9, 8, 1, 0, 0);
|
||||
INSERT INTO `aj_report_manus` VALUES (17, '2021-06-20', 'B-100', 18, 17, 1, 1, 0);
|
||||
INSERT INTO `aj_report_manus` VALUES (18, '2021-06-20', 'B-110', 5, 5, 0, 0, 0);
|
||||
INSERT INTO `aj_report_manus` VALUES (19, '2021-06-20', 'C-50', 60, 50, 10, 5, 2);
|
||||
INSERT INTO `aj_report_manus` VALUES (20, '2021-06-20', 'D-40', 35, 33, 2, 7, 2);
|
||||
INSERT INTO `aj_report_manus` VALUES (21, '2021-06-20', 'E-30', 45, 44, 1, 12, 3);
|
||||
INSERT INTO `aj_report_manus` VALUES (22, '2021-06-21', 'A-100', 27, 20, 7, 1, 0);
|
||||
INSERT INTO `aj_report_manus` VALUES (23, '2021-06-21', 'A-110', 39, 30, 9, 2, 0);
|
||||
INSERT INTO `aj_report_manus` VALUES (24, '2021-06-21', 'B-100', 28, 25, 3, 1, 0);
|
||||
INSERT INTO `aj_report_manus` VALUES (25, '2021-06-21', 'B-110', 15, 12, 3, 2, 0);
|
||||
INSERT INTO `aj_report_manus` VALUES (26, '2021-06-21', 'C-50', 30, 30, 0, 5, 2);
|
||||
INSERT INTO `aj_report_manus` VALUES (27, '2021-06-21', 'D-40', 25, 24, 1, 3, 1);
|
||||
INSERT INTO `aj_report_manus` VALUES (28, '2021-06-21', 'E-30', 55, 50, 5, 7, 3);
|
||||
INSERT INTO `aj_report_manus` VALUES (29, '2021-06-22', 'A-100', 37, 30, 7, 2, 0);
|
||||
INSERT INTO `aj_report_manus` VALUES (30, '2021-06-22', 'A-110', 19, 15, 4, 1, 1);
|
||||
INSERT INTO `aj_report_manus` VALUES (31, '2021-06-22', 'B-100', 8, 8, 0, 1, 0);
|
||||
INSERT INTO `aj_report_manus` VALUES (32, '2021-06-22', 'B-110', 5, 5, 0, 1, 0);
|
||||
INSERT INTO `aj_report_manus` VALUES (33, '2021-06-22', 'C-50', 20, 19, 1, 2, 1);
|
||||
INSERT INTO `aj_report_manus` VALUES (34, '2021-06-22', 'D-40', 15, 14, 1, 3, 1);
|
||||
INSERT INTO `aj_report_manus` VALUES (35, '2021-06-22', 'E-30', 55, 53, 2, 9, 6);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for aj_report_nums
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `aj_report_nums`;
|
||||
CREATE TABLE `aj_report_nums` (
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
`inter` int DEFAULT NULL,
|
||||
`doub` double DEFAULT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of aj_report_nums
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `aj_report_nums` VALUES (9, 18, NULL);
|
||||
INSERT INTO `aj_report_nums` VALUES (10, NULL, 55.33);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for aj_report_table
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `aj_report_table`;
|
||||
CREATE TABLE `aj_report_table` (
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
`date` date DEFAULT NULL,
|
||||
`name` varchar(255) DEFAULT NULL,
|
||||
`code` varchar(255) DEFAULT NULL,
|
||||
`address` varchar(255) DEFAULT NULL,
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of aj_report_table
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `aj_report_table` VALUES (8, '2021-05-01', '上汽安吉', 'A00000001', '这是一条测试表格事件1');
|
||||
INSERT INTO `aj_report_table` VALUES (9, '2021-05-02', '上汽大通', 'A00000002', '这是一条测试表格事件2');
|
||||
INSERT INTO `aj_report_table` VALUES (10, '2021-05-03', '上汽智行', 'A00000003', '这是一条测试表格事件3');
|
||||
INSERT INTO `aj_report_table` VALUES (11, '2021-05-04', '上汽国际', 'A00000004', '这是一条测试表格事件4');
|
||||
INSERT INTO `aj_report_table` VALUES (12, '2021-05-05', '上汽国内', 'A00000005', '这是一条测试表格事件5');
|
||||
INSERT INTO `aj_report_table` VALUES (13, '2021-05-06', '上汽运输', 'A00000006', '这是一条测试表格事件6');
|
||||
INSERT INTO `aj_report_table` VALUES (14, '2021-05-07', '上汽大众', 'A00000007', '这是一条测试表格事件7');
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for aj_report_wifiamount
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `aj_report_wifiamount`;
|
||||
CREATE TABLE `aj_report_wifiamount` (
|
||||
`datetime` date NOT NULL,
|
||||
`success` int DEFAULT NULL COMMENT '成功次数',
|
||||
`fail` int DEFAULT NULL COMMENT '失败次数',
|
||||
PRIMARY KEY (`datetime`) USING BTREE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of aj_report_wifiamount
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `aj_report_wifiamount` VALUES ('2021-06-17', 210, 15);
|
||||
INSERT INTO `aj_report_wifiamount` VALUES ('2021-06-18', 234, 43);
|
||||
INSERT INTO `aj_report_wifiamount` VALUES ('2021-06-19', 199, 28);
|
||||
INSERT INTO `aj_report_wifiamount` VALUES ('2021-06-20', 260, 80);
|
||||
INSERT INTO `aj_report_wifiamount` VALUES ('2021-06-21', 245, 45);
|
||||
INSERT INTO `aj_report_wifiamount` VALUES ('2021-06-22', 216, 26);
|
||||
INSERT INTO `aj_report_wifiamount` VALUES ('2021-06-23', 150, 10);
|
||||
COMMIT;
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
@@ -0,0 +1,554 @@
|
||||
USE pigxx_report;
|
||||
|
||||
SET NAMES utf8mb4;
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for gaea_dict
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `gaea_dict`;
|
||||
CREATE TABLE `gaea_dict` (
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
`dict_name` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '字典名称',
|
||||
`dict_code` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '字典编码',
|
||||
`remark` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '描述',
|
||||
`create_by` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '创建人',
|
||||
`create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间',
|
||||
`update_by` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '更新用户',
|
||||
`update_time` timestamp NULL DEFAULT NULL COMMENT '更新时间',
|
||||
`version` int DEFAULT NULL COMMENT '版本',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=58 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='数组字典';
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of gaea_dict
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `gaea_dict` VALUES (4, '删除状态', 'DELETE_FLAG', NULL, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-09 16:43:09', 1);
|
||||
INSERT INTO `gaea_dict` VALUES (6, '是否启用', 'ENABLE_FLAG', NULL, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-09 16:43:09', 1);
|
||||
INSERT INTO `gaea_dict` VALUES (7, '文件状态', 'FILE_STATUS', NULL, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-09 16:43:09', 1);
|
||||
INSERT INTO `gaea_dict` VALUES (8, '是否启用', 'FILTER_FLAG', NULL, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-09 16:43:09', 1);
|
||||
INSERT INTO `gaea_dict` VALUES (9, '数据过滤类型', 'FILTER_TYPE', NULL, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-09 16:43:09', 1);
|
||||
INSERT INTO `gaea_dict` VALUES (11, '指标类型', 'ITEM_TYPE', NULL, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-09 16:43:09', 1);
|
||||
INSERT INTO `gaea_dict` VALUES (12, '国际化标识', 'LOCALE', 'ssssss', 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-27 22:20:00', 2);
|
||||
INSERT INTO `gaea_dict` VALUES (35, '数据源类型', 'SOURCE_TYPE', '', 'admin', '2021-03-23 13:16:58', 'admin', '2021-04-13 16:43:30', 4);
|
||||
INSERT INTO `gaea_dict` VALUES (36, '数据转换类型', 'TRANSFORM_TYPE', NULL, 'admin', '2021-03-23 13:24:28', 'admin', '2021-03-23 13:24:32', 1);
|
||||
INSERT INTO `gaea_dict` VALUES (37, '是否必填', 'REQUIRED_FLAG', NULL, 'admin', '2021-03-23 13:25:50', 'admin', '2021-03-23 13:25:53', 1);
|
||||
INSERT INTO `gaea_dict` VALUES (39, '行业类型', 'SYS_CATA_TYPE', '系统所属行业类型', 'admin', '2021-03-25 13:07:38', 'admin', '2021-03-25 13:07:38', 1);
|
||||
INSERT INTO `gaea_dict` VALUES (40, '报表类型', 'REPORT_TYPE', '报表类型', 'admin', '2021-03-26 11:48:06', 'admin', '2021-03-26 11:48:11', NULL);
|
||||
INSERT INTO `gaea_dict` VALUES (45, '菜单国际化', 'MENU_LANGUAGE', '菜单国际化配置', 'admin', '2021-04-06 16:33:33', 'admin', '2021-04-06 16:33:33', 1);
|
||||
INSERT INTO `gaea_dict` VALUES (46, '报表分组', 'REPORT_GROUP', '报表分组', 'admin', '2021-04-07 09:36:40', 'admin', '2021-04-07 09:36:42', 1);
|
||||
INSERT INTO `gaea_dict` VALUES (47, '报表组件类型', 'DASHBOARD_PANEL_TYPE', '报表组件类型', 'admin', '2021-04-12 10:42:50', 'admin', '2021-04-12 10:42:55', 1);
|
||||
INSERT INTO `gaea_dict` VALUES (48, '图表属性', 'CHART_PROPERTIES', '报表属性', 'admin', '2021-04-29 10:28:15', 'admin', '2021-06-23 10:47:20', 3);
|
||||
INSERT INTO `gaea_dict` VALUES (49, '分享有效期', 'SHARE_VAILD', '报表分享', 'admin', '2021-08-18 13:29:19', 'admin', '2021-08-18 13:29:24', 1);
|
||||
INSERT INTO `gaea_dict` VALUES (50, '柱状图属性', 'BAR_PROPERTIES', '柱状图属性', 'admin', '2021-04-29 10:28:15', 'admin', '2021-06-23 10:47:20', 1);
|
||||
INSERT INTO `gaea_dict` VALUES (51, '折线图属性', 'LINE_PROPERTIES', '折线图属性', 'admin', '2021-04-29 10:28:15', 'admin', '2021-06-23 10:47:20', 1);
|
||||
INSERT INTO `gaea_dict` VALUES (52, '柱线图属性', 'BAR_LINE_PROPERTIES', '柱线图属性', 'admin', '2021-04-29 10:28:15', 'admin', '2021-06-23 10:47:20', 1);
|
||||
INSERT INTO `gaea_dict` VALUES (53, '饼图属性', 'PIE_PROPERTIES', '饼图、漏斗图', 'admin', '2021-04-29 10:28:15', 'admin', '2021-06-23 10:47:20', 1);
|
||||
INSERT INTO `gaea_dict` VALUES (54, '单文本图属性', 'TEXT_PROPERTIES', '仪表盘、百分比、文本框、滚动文本', 'admin', '2021-04-29 10:28:15', 'admin', '2021-06-23 10:47:20', 1);
|
||||
INSERT INTO `gaea_dict` VALUES (55, '堆叠图属性', 'STACK_PROPERTIES', '堆叠图属性', 'admin', '2021-04-29 10:28:15', 'admin', '2021-06-23 10:47:20', 1);
|
||||
INSERT INTO `gaea_dict` VALUES (56, '地图属性', 'MAP_PROPERTIES', '地图属性', 'admin', '2021-04-29 10:28:15', 'admin', '2021-06-23 10:47:20', 1);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for gaea_dict_item
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `gaea_dict_item`;
|
||||
CREATE TABLE `gaea_dict_item` (
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
`dict_code` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '数据字典编码',
|
||||
`item_name` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '字典项名称',
|
||||
`item_value` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '字典项值',
|
||||
`item_extend` varchar(2048) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '字典扩展项',
|
||||
`enabled` int DEFAULT '1' COMMENT '1:启用 0:禁用',
|
||||
`locale` varchar(16) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '语言标识',
|
||||
`remark` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '描述',
|
||||
`sort` int DEFAULT NULL COMMENT '排序',
|
||||
`create_by` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '创建人',
|
||||
`create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间',
|
||||
`update_by` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '更新用户',
|
||||
`update_time` timestamp NULL DEFAULT NULL COMMENT '更新时间',
|
||||
`version` int DEFAULT NULL COMMENT '版本',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=319 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='数据字典项';
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of gaea_dict_item
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `gaea_dict_item` VALUES (1, 'AUDIT_FLAG', '待审核', 'waiting', NULL, 1, 'zh', '待审核', 1, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-09 16:43:09', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (2, 'AUDIT_FLAG', '审核中', 'ongoing', NULL, 1, 'zh', '审核中', 2, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-09 16:43:09', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (3, 'AUDIT_FLAG', '通过', 'approved', NULL, 1, 'zh', '通过', 3, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-09 16:43:09', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (4, 'AUDIT_FLAG', '拒绝', 'rejected', NULL, 1, 'zh', '拒绝', 4, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-09 16:43:09', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (5, 'DELETE_FLAG', '已删除', '1', NULL, 1, 'zh', '已删除', 5, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-31 12:04:26', 2);
|
||||
INSERT INTO `gaea_dict_item` VALUES (6, 'DELETE_FLAG', '未删除', '0', NULL, 1, 'zh', '未删除', 6, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-31 12:04:49', 3);
|
||||
INSERT INTO `gaea_dict_item` VALUES (7, 'ENABLE_FLAG', '禁用', '0', NULL, 1, 'zh', '已禁用', 2, 'admin', '2021-03-09 16:43:09', 'admin', '2021-04-08 14:41:13', 3);
|
||||
INSERT INTO `gaea_dict_item` VALUES (8, 'ENABLE_FLAG', '启用', '1', NULL, 1, 'zh', '已启用', 1, 'admin', '2021-03-09 16:43:09', 'admin', '2021-04-08 14:41:18', 3);
|
||||
INSERT INTO `gaea_dict_item` VALUES (9, 'SYSTEM_CODE', 'CTS电脑端', 'CTS-PC', NULL, 1, 'zh', 'CTS电脑端', 9, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-09 16:43:09', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (10, 'SYSTEM_CODE', 'CTS App端', 'CTS-APP', NULL, 1, 'zh', 'CTS App端', 10, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-09 16:43:09', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (11, 'FILTER_FLAG', '已禁用', '0', NULL, 1, 'zh', '已禁用', 7, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-09 16:43:09', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (12, 'FILTER_FLAG', '已启用', '1', NULL, 1, 'zh', '已启用', 8, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-09 16:43:09', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (13, 'FILTER_TYPE', 'js脚本', 'jsCalc', NULL, 1, 'zh', 'js脚本', 3, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-09 16:43:09', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (14, 'FILTER_TYPE', '新增字段', 'addField', NULL, 1, 'zh', '新增字段', 3, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-09 16:43:09', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (15, 'FILTER_TYPE', '替换字段', 'replaceField', NULL, 1, 'zh', '替换字段', 3, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-09 16:43:09', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (16, 'FILTER_TYPE', 'ip解析java处理', 'ipTransform', NULL, 1, 'zh', 'ip解析java处理', 3, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-09 16:43:09', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (17, 'FILTER_TYPE', 'vpn在线时长java处理', 'vpnTransform', NULL, 1, 'zh', 'vpn在线时长java处理', 3, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-09 16:43:09', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (18, 'SETTING_TYPE', '字符串', 'input', NULL, 1, 'zh', '字符串', 10, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-09 16:43:09', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (19, 'SETTING_TYPE', '数字', 'input-number', NULL, 1, 'zh', '数字', 10, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-09 16:43:09', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (20, 'SETTING_TYPE', '文本区域', 'textarea', NULL, 1, 'zh', '文本区域', 10, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-09 16:43:09', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (21, 'SETTING_TYPE', '数据字典', 'code-select', NULL, 1, 'zh', '数据字典', 10, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-09 16:43:09', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (22, 'SETTING_TYPE', '下拉列表', 'select', NULL, 1, 'zh', '下拉列表', 10, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-09 16:43:09', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (23, 'SETTING_TYPE', '单选按钮', 'radio-group', NULL, 1, 'zh', '单选按钮', 10, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-09 16:43:09', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (24, 'SETTING_TYPE', '多选按钮', 'checkbox-group', NULL, 1, 'zh', '多选按钮', 10, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-09 16:43:09', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (25, 'SETTING_TYPE', '自定义表单', 'custom-form', NULL, 1, 'zh', '自定义表单', 10, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-09 16:43:09', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (86, 'FILE_STATUS', '生成中', 'creating', NULL, 1, 'zh', '生成中', 3, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-09 16:43:09', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (87, 'FILE_STATUS', '生成成功', 'success', NULL, 1, 'zh', '生成成功', 3, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-09 16:43:09', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (88, 'FILE_STATUS', '生成失败', 'failed', NULL, 1, 'zh', '生成失败', 3, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-09 16:43:09', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (89, 'LOCALE', '中文', 'zh', NULL, 1, 'zh', '中文', NULL, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-09 16:43:09', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (90, 'LOCALE', '英文', 'en', NULL, 1, 'zh', '英文', NULL, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-09 16:43:09', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (91, 'LOCALE', 'Chinese', 'zh', NULL, 1, 'en', 'Chinese', NULL, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-09 16:43:09', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (92, 'LOCALE', 'English', 'en', NULL, 1, 'en', 'English', 1, 'admin', '2021-03-09 16:43:09', 'admin', '2021-03-09 16:43:09', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (140, 'REQUIRED_FLAG', '必填', '1', NULL, 1, 'zh', NULL, 2, 'admin', '2021-03-23 10:54:08', 'admin', '2021-03-23 10:54:08', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (141, 'REQUIRED_FLAG', '非必填', '0', NULL, 1, 'zh', NULL, 2, 'admin', '2021-03-23 10:54:08', 'admin', '2021-03-23 10:54:08', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (150, 'TRANSFORM_TYPE', 'js脚本', 'js', NULL, 1, 'zh', NULL, 2, 'admin', '2021-03-23 10:54:08', 'admin', '2021-03-23 10:54:08', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (151, 'TRANSFORM_TYPE', 'ip转换(javaBean)', 'ipTransform', NULL, 1, 'zh', NULL, 2, 'admin', '2021-03-23 10:54:08', 'admin', '2021-03-23 10:54:08', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (152, 'TRANSFORM_TYPE', '字典翻译', 'dict', '{\"dict1\": {\"1\": \"男\",\"0\": \"女\"},\"dict2\": {\"mysql\": \"mysql\",\"sqlserver\": \"sqlserver\"}}', 1, 'zh', NULL, 2, 'admin', '2021-03-23 10:54:08', 'admin', '2021-03-23 10:54:08', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (153, 'SYS_CATA_TYPE', '行业01', '1001', NULL, 1, 'zh', NULL, 1, 'admin', '2021-03-25 13:10:32', 'admin', '2021-03-25 13:10:32', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (154, 'SYS_CATA_TYPE', '行业02', '1002', NULL, 1, 'zh', NULL, 2, 'admin', '2021-03-25 13:11:01', 'admin', '2021-03-25 13:11:01', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (158, 'REPORT_TYPE', 'excel报表', 'report_excel', NULL, 1, 'zh', NULL, NULL, 'admin', '2021-03-26 11:49:28', 'admin', '2021-03-26 11:50:19', NULL);
|
||||
INSERT INTO `gaea_dict_item` VALUES (159, 'REPORT_TYPE', '大屏报表', 'report_screen', NULL, 1, 'zh', NULL, NULL, 'admin', '2021-03-26 11:50:25', 'admin', '2021-03-26 11:50:21', NULL);
|
||||
INSERT INTO `gaea_dict_item` VALUES (230, 'REPORT_GROUP', '分组1', 'group_1', NULL, 1, 'zh', NULL, 1, 'admin', '2021-04-07 09:39:45', 'admin', '2021-04-13 16:44:31', 2);
|
||||
INSERT INTO `gaea_dict_item` VALUES (231, 'REPORT_GROUP', '分组2', 'group_2', NULL, 1, 'zh', NULL, 1, 'admin', '2021-04-07 09:40:55', 'admin', '2021-04-07 09:40:52', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (232, 'INF_STATUS', '审核通过', '5', NULL, 1, 'zh', NULL, 25, 'admin', '2021-04-07 11:02:42', 'admin', '2021-04-07 15:01:35', 3);
|
||||
INSERT INTO `gaea_dict_item` VALUES (233, 'RULE_PARAM_TYPE', 'int', 'int', NULL, 1, 'zh', NULL, 3, 'zouya', '2021-04-09 09:43:22', 'zouya', '2021-04-09 09:43:22', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (234, 'PUSH_TYPE', 'APP端', 'appsp', NULL, 1, 'zh', 'App端推送采用推送平台Appsp', 4, 'admin', '2021-04-09 10:13:33', 'admin', '2021-04-09 10:14:11', 3);
|
||||
INSERT INTO `gaea_dict_item` VALUES (240, 'DASHBOARD_PANEL_TYPE', '文本', 'text', NULL, 1, 'zh', 'App端推送采用推送平台Appsp', 4, 'admin', '2021-04-09 10:13:33', 'admin', '2021-04-09 10:14:11', 3);
|
||||
INSERT INTO `gaea_dict_item` VALUES (241, 'DASHBOARD_PANEL_TYPE', '滚动文本', '\r\nscrollingText', NULL, 1, 'zh', 'App端推送采用推送平台Appsp', 4, 'admin', '2021-04-09 10:13:33', 'admin', '2021-04-09 10:14:11', 3);
|
||||
INSERT INTO `gaea_dict_item` VALUES (242, 'DASHBOARD_PANEL_TYPE', '超链接', 'hyperlinks', NULL, 1, 'zh', 'App端推送采用推送平台Appsp', 4, 'admin', '2021-04-09 10:13:33', 'admin', '2021-04-09 10:14:11', 3);
|
||||
INSERT INTO `gaea_dict_item` VALUES (243, 'DASHBOARD_PANEL_TYPE', '当前时间', 'currentTime', NULL, 1, 'zh', 'App端推送采用推送平台Appsp', 4, 'admin', '2021-04-09 10:13:33', 'admin', '2021-04-09 10:14:11', 3);
|
||||
INSERT INTO `gaea_dict_item` VALUES (244, 'DASHBOARD_PANEL_TYPE', '图片', 'picture', NULL, 1, 'zh', 'App端推送采用推送平台Appsp', 4, 'admin', '2021-04-09 10:13:33', 'admin', '2021-04-09 10:14:11', 3);
|
||||
INSERT INTO `gaea_dict_item` VALUES (245, 'DASHBOARD_PANEL_TYPE', '轮播图片', 'rotatePictures', NULL, 1, 'zh', 'App端推送采用推送平台Appsp', 4, 'admin', '2021-04-09 10:13:33', 'admin', '2021-04-09 10:14:11', 3);
|
||||
INSERT INTO `gaea_dict_item` VALUES (246, 'MENU_LANGUAGE', '图标库', 'SvgDemo', '', 1, 'zh', '', 1, 'admin', '2021-04-06 16:34:10', 'admin', '2021-04-06 16:34:10', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (247, 'MENU_LANGUAGE', '代码生成', 'Generator', NULL, 1, 'zh', '', 1, 'admin', '2021-04-06 16:34:10', 'admin', '2021-04-06 16:34:10', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (248, 'MENU_LANGUAGE', '项目列表', 'Project', '', 1, 'zh', '', 1, 'admin', '2021-04-06 16:34:10', 'admin', '2021-04-06 16:34:10', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (249, 'MENU_LANGUAGE', '生成示例-单表', 'AlipayConfig', '', 1, 'zh', '', 1, 'admin', '2021-04-06 16:34:10', 'admin', '2021-04-06 16:34:10', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (250, 'MENU_LANGUAGE', '设备信息-主表', 'DeviceInfo', '', 1, 'zh', '', 1, 'admin', '2021-04-06 16:34:10', 'admin', '2021-04-06 16:34:10', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (251, 'MENU_LANGUAGE', '设备类型-子表', 'DeviceModel', '', 1, 'zh', '', 1, 'admin', '2021-04-06 16:34:10', 'admin', '2021-04-06 16:34:10', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (252, 'MENU_LANGUAGE', '设备日志-子表', 'DeviceLogDetail', '', 1, 'zh', '', 1, 'admin', '2021-04-06 16:34:10', 'admin', '2021-04-06 16:34:10', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (253, 'MENU_LANGUAGE', 'API文档', 'API', '', 1, 'zh', '', 1, 'admin', '2021-04-06 16:34:10', 'admin', '2021-04-06 16:34:10', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (254, 'MENU_LANGUAGE', '系统通告', 'Announcement', '', 1, 'zh', '', 1, 'admin', '2021-04-06 16:34:10', 'admin', '2021-04-06 16:34:10', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (255, 'REPORT_GROUP', '分组3', 'group_3', NULL, 1, 'zh', NULL, 3, 'admin', '2021-04-13 16:45:28', 'admin', '2021-04-13 16:45:28', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (257, 'MENU_LANGUAGE', '文件管理', 'FileManagement', NULL, 1, 'zh', NULL, 1, 'admin', '2021-04-27 13:57:58', 'admin', '2021-04-27 13:57:58', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (260, 'CHART_PROPERTIES', 'x轴字段', 'xAxis', NULL, 1, 'zh', NULL, 1, 'admin', '2021-09-16 22:20:01', 'admin', '2021-09-16 22:20:01', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (261, 'CHART_PROPERTIES', '柱状', 'bar', NULL, 1, 'zh', NULL, 6, 'admin', '2021-04-29 10:48:43', 'admin', '2021-04-29 10:48:50', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (262, 'CHART_PROPERTIES', '折线', 'line', NULL, 1, 'zh', NULL, 7, 'admin', '2021-04-29 10:48:43', 'admin', '2021-04-29 10:48:50', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (263, 'CHART_PROPERTIES', '饼图/仪表盘/气泡地图name', 'name', NULL, 1, 'zh', NULL, 8, 'admin', '2021-04-29 10:48:43', 'admin', '2021-04-29 10:48:50', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (264, 'CHART_PROPERTIES', '饼图/仪表盘/气泡地图value', 'value', NULL, 1, 'zh', NULL, 9, 'admin', '2021-04-29 10:48:43', 'admin', '2021-04-29 10:48:50', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (265, 'CHART_PROPERTIES', '时间轴-时', 'xAxis-hour', NULL, 1, 'zh', NULL, 2, 'admin', '2021-04-29 10:48:43', 'admin', '2021-04-29 10:48:50', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (266, 'CHART_PROPERTIES', '时间轴-天', 'xAxis-day', NULL, 1, 'zh', NULL, 3, 'admin', '2021-04-29 10:48:43', 'admin', '2021-04-29 10:48:50', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (267, 'CHART_PROPERTIES', '时间轴-月', 'xAxis-month', NULL, 1, 'zh', NULL, 4, 'admin', '2021-04-29 10:48:43', 'admin', '2021-04-29 10:48:50', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (268, 'CHART_PROPERTIES', '时间轴-年', 'xAxis-year', NULL, 1, 'zh', NULL, 5, 'admin', '2021-04-29 10:48:43', 'admin', '2021-04-29 10:48:50', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (269, 'CHART_PROPERTIES', '文本数字', 'text', NULL, 1, 'zh', NULL, 10, 'admin', '2021-09-16 22:20:01', 'admin', '2021-09-16 22:20:01', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (270, 'SOURCE_TYPE', 'mysql', 'mysql', '[{\"label\":\"driverName\",\"value\":\"com.mysql.cj.jdbc.Driver\",\"labelValue\":\"驱动类\"},{\"label\":\"jdbcUrl\",\"value\":\"jdbc:mysql://127.0.0.1:3306/test_db?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8\",\"labelValue\":\"连接串\"},{\"label\":\"username\",\"value\":\"root\",\"labelValue\":\"用户名\"},{\"label\":\"password\",\"value\":\"root\",\"labelValue\":\"密码\"}]', 1, 'zh', NULL, 1, '管理员', '2021-03-23 10:54:08', 'lixiaoyan', '2021-03-26 13:22:05', 3);
|
||||
INSERT INTO `gaea_dict_item` VALUES (271, 'SOURCE_TYPE', 'oracle', 'oracle', '[{\"label\":\"driverName\",\"value\":\"oracle.jdbc.driver.OracleDriver\",\"labelValue\":\"驱动类\"},{\"label\":\"jdbcUrl\",\"value\":\"jdbc:oracle:thin:@//localhost:1521/orcl\",\"labelValue\":\"连接串\"},{\"label\":\"username\",\"value\":\"root\",\"labelValue\":\"用户名\"},{\"label\":\"password\",\"value\":\"root\",\"labelValue\":\"密码\"}]', 1, 'zh', NULL, 2, 'admin', '2021-03-23 10:54:08', 'admin', '2021-03-23 10:54:08', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (272, 'SOURCE_TYPE', 'mssqlserver', 'mssqlserver', '[{\"label\":\"driverName\",\"value\":\"com.microsoft.sqlserver.jdbc.SQLServerDriver\",\"labelValue\":\"驱动类\"},{\"label\":\"jdbcUrl\",\"value\":\"jdbc:sqlserver://127.0.0.1:1433;DatabaseName=test_db\",\"labelValue\":\"连接串\"},{\"label\":\"username\",\"value\":\"root\",\"labelValue\":\"用户名\"},{\"label\":\"password\",\"value\":\"root\",\"labelValue\":\"密码\"}]', 1, 'zh', NULL, 3, 'admin', '2021-03-23 10:54:08', 'admin', '2021-03-23 10:54:08', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (273, 'SOURCE_TYPE', 'elasticsearch_sql', 'elasticsearch_sql', '[{\"label\":\"apiUrl\",\"value\":\"http://10.108.26.164:9200/_xpack/sql?format=json\",\"labelValue\":\"请求路径\"},{\"label\":\"method\",\"value\":\"POST\",\"labelValue\":\"请求方式\"},{\"label\":\"header\",\"value\":\"{\\\"Content-Type\\\":\\\"application/json\\\"}\",\"labelValue\":\"请求头\"},{\"label\":\"body\",\"value\":\"{\\\"query\\\":\\\"select 1\\\"}\",\"labelValue\":\"请求体\"}]', 1, 'zh', NULL, 11, '管理员', '2021-03-23 10:54:08', 'admin', '2021-04-13 13:12:33', 9);
|
||||
INSERT INTO `gaea_dict_item` VALUES (274, 'SOURCE_TYPE', 'kudu impala', 'kudu_impala', '[{\"label\":\"driverName\",\"value\":\"com.cloudera.impala.jdbc41.Driver\",\"labelValue\":\"驱动类\"},{\"label\":\"jdbcUrl\",\"value\":\"jdbc:impala://10.108.3.111:21050/ods\",\"labelValue\":\"连接串\"},{\"label\":\"username\",\"value\":\"\",\"labelValue\":\"用户名\"},{\"label\":\"password\",\"value\":\"\",\"labelValue\":\"密码\"}]', 1, 'zh', NULL, 12, 'admin', '2021-03-23 10:54:08', 'admin', '2021-04-01 09:18:09', 3);
|
||||
INSERT INTO `gaea_dict_item` VALUES (275, 'SOURCE_TYPE', 'jdbc', 'jdbc', '[{\"label\":\"driverName\",\"value\":\"com.mysql.cj.jdbc.Driver\",\"labelValue\":\"驱动类\"},{\"label\":\"jdbcUrl\",\"value\":\"jdbc:mysql://127.0.0.1:3306/test_db?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8\",\"labelValue\":\"连接串\"},{\"label\":\"username\",\"value\":\"root\",\"labelValue\":\"用户名\"},{\"label\":\"password\",\"value\":\"root\",\"labelValue\":\"密码\"}]', 1, 'zh', NULL, 21, '管理员', '2021-04-13 17:26:38', 'admin', '2021-04-13 17:26:38', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (276, 'SOURCE_TYPE', 'http', 'http', '[{\"label\":\"apiUrl\",\"value\":\"https://gateway.test.com/api/getdata\",\"labelValue\":\"请求路径\"},{\"label\":\"method\",\"value\":\"POST\",\"labelValue\":\"请求方式\"},{\"label\":\"header\",\"value\":\"{\\\"Content-Type\\\":\\\"application/json;charset=UTF-8\\\"}\",\"labelValue\":\"请求头\"},{\"label\":\"body\",\"value\":\"{\\\"username\\\":\\\"admin\\\",\\\"password\\\":\\\"de12878c0ef5beb7d8848c3af8f54afb\\\",\\\"verifyCode\\\":\\\"\\\"}\",\"labelValue\":\"请求体\"}]', 1, 'zh', NULL, 29, '管理员', '2021-04-13 17:26:38', 'admin', '2021-04-13 17:26:38', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (288, 'CHART_PROPERTIES', 'y轴字段', 'yAxis', NULL, 1, 'zh', NULL, 11, 'admin', '2021-07-05 15:33:59', 'admin', '2021-07-05 15:33:59', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (289, 'SHARE_VAILD', '永久有效', '0', NULL, 1, 'zh', NULL, 1, 'admin', '2021-08-18 13:30:21', 'admin', '2021-08-18 13:30:21', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (290, 'SHARE_VAILD', '1天', '1', NULL, 1, 'zh', NULL, 2, 'admin', '2021-08-18 13:30:39', 'admin', '2021-08-18 13:30:39', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (291, 'SHARE_VAILD', '7天', '7', NULL, 1, 'zh', NULL, 3, 'admin', '2021-08-18 13:30:51', 'admin', '2021-08-18 13:30:56', 2);
|
||||
INSERT INTO `gaea_dict_item` VALUES (292, 'SHARE_VAILD', '30天', '30', NULL, 1, 'zh', NULL, 4, 'admin', '2021-08-18 13:31:11', 'admin', '2021-08-18 13:31:11', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (293, 'BAR_PROPERTIES', 'x轴字段', 'xAxis', NULL, 1, 'zh', NULL, 1, 'admin', '2021-08-20 10:19:35', 'admin', '2021-08-20 10:19:35', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (294, 'BAR_PROPERTIES', '柱状', 'bar', NULL, 1, 'zh', NULL, 2, 'admin', '2021-08-20 10:19:56', 'admin', '2021-08-20 10:19:56', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (295, 'LINE_PROPERTIES', 'x轴字段', 'xAxis', NULL, 1, 'zh', NULL, 1, 'admin', '2021-08-20 10:27:39', 'admin', '2021-08-20 10:27:39', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (296, 'LINE_PROPERTIES', '折线', 'line', NULL, 1, 'zh', NULL, 2, 'admin', '2021-08-20 10:27:49', 'admin', '2021-08-20 10:27:49', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (297, 'BAR_LINE_PROPERTIES', 'x轴字段', 'xAxis', NULL, 1, 'zh', NULL, 1, 'admin', '2021-08-20 10:31:51', 'admin', '2021-08-20 10:31:51', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (298, 'BAR_LINE_PROPERTIES', 'x轴时间轴-时', 'xAxis-hour', NULL, 1, 'zh', NULL, 2, 'admin', '2021-08-20 10:32:11', 'admin', '2021-08-20 10:32:11', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (299, 'BAR_LINE_PROPERTIES', 'x轴时间轴-天', 'xAxis-day', NULL, 1, 'zh', NULL, 3, 'admin', '2021-08-20 10:32:25', 'admin', '2021-08-20 10:32:25', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (300, 'BAR_LINE_PROPERTIES', 'x轴时间轴-月', 'xAxis-month', NULL, 1, 'zh', NULL, 4, 'admin', '2021-08-20 10:32:38', 'admin', '2021-08-20 10:32:38', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (301, 'BAR_LINE_PROPERTIES', '时间轴-年', 'xAxis-year', NULL, 1, 'zh', NULL, 5, 'admin', '2021-08-20 10:32:52', 'admin', '2021-08-20 10:32:52', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (302, 'BAR_LINE_PROPERTIES', '柱状', 'bar', NULL, 1, 'zh', NULL, 6, 'admin', '2021-08-20 10:33:02', 'admin', '2021-08-20 10:33:02', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (303, 'BAR_LINE_PROPERTIES', '折线', 'line', NULL, 1, 'zh', NULL, 7, 'admin', '2021-08-20 10:33:11', 'admin', '2021-08-20 10:33:11', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (304, 'PIE_PROPERTIES', '名称name', 'name', NULL, 1, 'zh', NULL, 1, 'admin', '2021-08-20 10:35:27', 'admin', '2021-08-20 10:35:27', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (305, 'PIE_PROPERTIES', '数值value', 'value', NULL, 1, 'zh', NULL, 2, 'admin', '2021-08-20 10:35:38', 'admin', '2021-08-20 10:35:38', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (306, 'TEXT_PROPERTIES', '文本数字', 'text', NULL, 1, 'zh', NULL, 1, 'admin', '2021-08-20 10:36:04', 'admin', '2021-08-20 10:36:04', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (307, 'STACK_PROPERTIES', 'x轴字段', 'xAxis', NULL, 1, 'zh', NULL, 1, 'admin', '2021-08-20 10:31:51', 'admin', '2021-08-20 10:31:51', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (308, 'STACK_PROPERTIES', 'x轴时间轴-时', 'xAxis-hour', NULL, 1, 'zh', NULL, 2, 'admin', '2021-08-20 10:32:11', 'admin', '2021-08-20 10:32:11', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (309, 'STACK_PROPERTIES', 'x轴时间轴-天', 'xAxis-day', NULL, 1, 'zh', NULL, 3, 'admin', '2021-08-20 10:32:25', 'admin', '2021-08-20 10:32:25', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (310, 'STACK_PROPERTIES', 'x轴时间轴-月', 'xAxis-month', NULL, 1, 'zh', NULL, 4, 'admin', '2021-08-20 10:32:38', 'admin', '2021-08-20 10:32:38', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (311, 'STACK_PROPERTIES', '时间轴-年', 'xAxis-year', NULL, 1, 'zh', NULL, 5, 'admin', '2021-08-20 10:32:52', 'admin', '2021-08-20 10:32:52', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (312, 'STACK_PROPERTIES', 'y轴字段', 'yAxis', NULL, 1, 'zh', NULL, 6, 'admin', '2021-08-20 10:32:52', 'admin', '2021-08-20 10:32:52', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (313, 'STACK_PROPERTIES', '柱状', 'bar', NULL, 1, 'zh', NULL, 7, 'admin', '2021-08-20 10:33:02', 'admin', '2021-08-20 10:33:02', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (314, 'STACK_PROPERTIES', '折线', 'line', NULL, 1, 'zh', NULL, 8, 'admin', '2021-08-20 10:33:11', 'admin', '2021-08-20 10:33:11', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (315, 'MAP_PROPERTIES', '名称name', 'name', NULL, 1, 'zh', NULL, 1, 'admin', '2021-08-20 10:41:00', 'admin', '2021-08-20 10:41:00', 1);
|
||||
INSERT INTO `gaea_dict_item` VALUES (316, 'MAP_PROPERTIES', '数值value', 'value', NULL, 1, 'zh', NULL, 2, 'admin', '2021-08-20 10:41:11', 'admin', '2021-08-20 10:41:11', 1);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for gaea_file
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `gaea_file`;
|
||||
CREATE TABLE `gaea_file` (
|
||||
`id` bigint NOT NULL AUTO_INCREMENT,
|
||||
`file_id` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '生成的唯一uuid',
|
||||
`file_type` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '文件类型,字典FILE_TYPE',
|
||||
`file_path` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '文件在linux中的完整目录,比如/app/dist/export/excel/${fileid}.xlsx',
|
||||
`url_path` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '通过接口的下载完整http路径',
|
||||
`file_instruction` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '文件内容说明,比如 对账单(202001~202012)',
|
||||
`create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
|
||||
`create_time` timestamp NULL DEFAULT NULL,
|
||||
`update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
|
||||
`update_time` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
|
||||
`version` int DEFAULT NULL,
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of gaea_file
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for gaea_report
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `gaea_report`;
|
||||
CREATE TABLE `gaea_report` (
|
||||
`id` bigint NOT NULL AUTO_INCREMENT,
|
||||
`report_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '名称',
|
||||
`report_code` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '报表编码',
|
||||
`report_group` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '分组',
|
||||
`report_type` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '报表类型',
|
||||
`report_image` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '报表缩略图',
|
||||
`report_desc` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '报表描述',
|
||||
`enable_flag` int DEFAULT '1' COMMENT '0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG',
|
||||
`delete_flag` int DEFAULT '0' COMMENT '0--未删除 1--已删除 DIC_NAME=DELETE_FLAG',
|
||||
`create_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '创建人',
|
||||
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
|
||||
`update_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '更新人',
|
||||
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
|
||||
`version` int DEFAULT NULL COMMENT '版本号',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
UNIQUE KEY `UNIQUE_REPORT_CODE` (`report_code`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=195 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of gaea_report
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for gaea_report_dashboard
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `gaea_report_dashboard`;
|
||||
CREATE TABLE `gaea_report_dashboard` (
|
||||
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '看板id',
|
||||
`report_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '报表编码',
|
||||
`title` varchar(254) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '看板标题',
|
||||
`width` bigint DEFAULT NULL COMMENT '宽度px',
|
||||
`height` bigint DEFAULT NULL COMMENT '高度px',
|
||||
`background_color` varchar(24) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '背景色',
|
||||
`background_image` varchar(254) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '背景图片',
|
||||
`preset_line` varchar(4096) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '工作台中的辅助线',
|
||||
`refresh_seconds` int DEFAULT NULL COMMENT '自动刷新间隔秒',
|
||||
`enable_flag` int DEFAULT '1' COMMENT '0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG',
|
||||
`delete_flag` int DEFAULT '0' COMMENT ' 0--未删除 1--已删除 DIC_NAME=DEL_FLAG',
|
||||
`sort` int DEFAULT '0' COMMENT '排序,降序',
|
||||
`create_by` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
|
||||
`create_time` datetime DEFAULT NULL,
|
||||
`update_by` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
|
||||
`update_time` datetime DEFAULT NULL,
|
||||
`version` int DEFAULT NULL COMMENT '版本号',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
UNIQUE KEY `UNIQUE_REPORT_CODE` (`report_code`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=277 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of gaea_report_dashboard
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `gaea_report_dashboard` VALUES (269, 'log_ajreport', '大屏', 1920, 1080, '#000', 'https://report.anji-plus.com/file/download/ee0de1b0-4cd3-4acd-886d-a60c054239a2', NULL, NULL, 1, 0, 0, 'admin', '2021-06-30 10:24:28', 'admin', '2021-07-02 16:13:04', 45);
|
||||
INSERT INTO `gaea_report_dashboard` VALUES (270, 'car_ajreport', '大屏', 1920, 1080, '#000', 'https://report.anji-plus.com/file/download/border2@2x', NULL, NULL, 1, 0, 0, 'admin', '2021-06-30 14:50:47', 'admin', '2021-07-02 16:10:09', 23);
|
||||
INSERT INTO `gaea_report_dashboard` VALUES (271, 'acc_ajreport', '大屏', 1920, 1080, '#000', 'https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b', NULL, NULL, 1, 0, 0, 'admin', '2021-06-30 15:29:16', 'admin', '2021-07-02 10:26:43', 5);
|
||||
INSERT INTO `gaea_report_dashboard` VALUES (274, 'logn_ajreport', '大屏', 1920, 1080, '#000', 'https://report.anji-plus.com/file/download/3dcd98a1-c328-4e7d-9f24-bdc09f8553ea', NULL, NULL, 1, 0, 0, 'admin', '2021-07-02 16:14:26', 'admin', '2021-07-02 17:14:57', 32);
|
||||
INSERT INTO `gaea_report_dashboard` VALUES (275, 'logistics_one', '大屏', 1920, 1080, '', 'https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b', NULL, NULL, 1, 0, 0, 'admin', '2021-09-16 22:20:01', 'admin', '2021-09-16 22:20:01', 30);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for gaea_report_dashboard_widget
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `gaea_report_dashboard_widget`;
|
||||
CREATE TABLE `gaea_report_dashboard_widget` (
|
||||
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '组件id',
|
||||
`report_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '报表编码',
|
||||
`type` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '组件类型参考字典DASHBOARD_PANEL_TYPE',
|
||||
`setup` varchar(4096) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '组件的渲染属性json',
|
||||
`data` varchar(4096) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '组件的数据属性json',
|
||||
`collapse` varchar(4096) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '组件的配置属性json',
|
||||
`position` varchar(4096) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '组件的大小位置属性json',
|
||||
`options` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT 'options配置项',
|
||||
`refresh_seconds` int DEFAULT NULL COMMENT '自动刷新间隔秒',
|
||||
`enable_flag` int DEFAULT '1' COMMENT '0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG',
|
||||
`delete_flag` int DEFAULT '0' COMMENT ' 0--未删除 1--已删除 DIC_NAME=DEL_FLAG',
|
||||
`sort` bigint DEFAULT '0' COMMENT '排序,图层的概念',
|
||||
`create_by` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
|
||||
`create_time` datetime DEFAULT NULL,
|
||||
`update_by` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
|
||||
`update_time` datetime DEFAULT NULL,
|
||||
`version` int DEFAULT NULL COMMENT '版本号',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=8713 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of gaea_report_dashboard_widget
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (7803, 'test', 'widget-text', '{\"color\":\"#FAD400\",\"textAlign\":\"center\",\"background\":\"rgba(115,170,229,.0)\",\"letterSpacing\":\"0\",\"fontSize\":\"26\",\"layerName\":\"文本框\",\"text\":\"文本框\",\"fontWeight\":\"normal\"}', '{}', '', '{\"top\":0,\"left\":0,\"width\":100,\"height\":40,\"zIndex\":0}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"文本框\"},{\"type\":\"el-input-text\",\"label\":\"文本内容\",\"name\":\"text\",\"required\":false,\"placeholder\":\"\",\"value\":\"文本框\"},{\"type\":\"el-input-number\",\"label\":\"字体大小\",\"name\":\"fontSize\",\"required\":false,\"placeholder\":\"\",\"value\":\"26\"},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"color\",\"required\":false,\"placeholder\":\"\",\"value\":\"#FAD400\"},{\"type\":\"el-input-number\",\"label\":\"字体间距\",\"name\":\"letterSpacing\",\"required\":false,\"placeholder\":\"\",\"value\":\"0\"},{\"type\":\"vue-color\",\"label\":\"字体背景\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(115,170,229,.0)\"},{\"type\":\"el-select\",\"label\":\"文字粗细\",\"name\":\"fontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体\"}],\"value\":\"normal\"},{\"type\":\"el-select\",\"label\":\"对齐方式\",\"name\":\"textAlign\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"center\",\"name\":\"居中\"},{\"code\":\"left\",\"name\":\"左对齐\"},{\"code\":\"right\",\"name\":\"右对齐\"}],\"value\":\"center\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":0},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":0},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":100},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":40}]}', NULL, 1, 0, 1, 'admin', '2021-07-02 10:26:18', 'admin', '2021-07-02 10:26:18', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (7819, 'acc_ajreport', 'widget-linechart', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"left\",\"reversalY\":false,\"reversalX\":false,\"marginRight\":40,\"textInterval\":0,\"isNoTitle\":false,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"layoutFront\":\"\",\"text\":\"系统ERROR\",\"xName\":\"\",\"isShowY\":true,\"fontWeight\":\"normal\",\"height\":1080,\"area\":true,\"textAlign\":\"center\",\"lineColor\":\"\",\"subTextColor\":\"#fff\",\"textColor\":\"##FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"background\":\"\",\"fontSize\":0,\"marginBottom\":10,\"layerName\":\"折线图\",\"hideX\":true,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"http://10.108.26.197/business/file/download/adfc22ac-ed7f-4141-aeb9-ee81f16ac92d\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":9,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":16,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":false,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":true,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#1E90FF\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{\"dynamicData\":{\"chartProperties\":{\"datetime\":\"xAxis\",\"access\":\"line\"},\"setCode\":\"acc_ajacc\",\"chartType\":\"widget-linechart\",\"contextData\":{}},\"dataType\":\"dynamicData\",\"refreshTime\":50000,\"staticData\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1009,3409,2309,5409,3409]}]}\"}', '', '{\"top\":185,\"left\":3,\"width\":932,\"index\":0,\"height\":405}', '{\"data\":[{\"type\":\"el-radio-group\",\"label\":\"数据类型\",\"name\":\"dataType\",\"require\":false,\"placeholder\":\"\",\"selectValue\":true,\"selectOptions\":[{\"code\":\"staticData\",\"name\":\"静态数据\"},{\"code\":\"dynamicData\",\"name\":\"动态数据\"}],\"value\":\"dynamicData\"},{\"type\":\"el-input-number\",\"label\":\"刷新时间(毫秒)\",\"name\":\"refreshTime\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"value\":50000},{\"type\":\"el-button\",\"label\":\"静态数据\",\"name\":\"staticData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"staticData\",\"value\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1009,3409,2309,5409,3409]}]}\"},{\"type\":\"dycustComponents\",\"label\":\"\",\"name\":\"dynamicData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"chartType\":\"widget-linechart\",\"relactiveDomValue\":\"dynamicData\",\"value\":{\"chartProperties\":{\"datetime\":\"xAxis\",\"access\":\"line\"},\"setCode\":\"acc_ajacc\",\"chartType\":\"widget-linechart\",\"contextData\":{}}}],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"折线图\"},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},[{\"name\":\"折线设置\",\"list\":[{\"type\":\"el-switch\",\"label\":\"标记点\",\"name\":\"markPoint\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-slider\",\"label\":\"点大小\",\"name\":\"pointSize\",\"required\":false,\"placeholder\":\"\",\"value\":10},{\"type\":\"el-switch\",\"label\":\"平滑曲线\",\"name\":\"smoothCurve\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"el-switch\",\"label\":\"面积堆积\",\"name\":\"area\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-slider\",\"label\":\"面积厚度\",\"name\":\"areaThickness\",\"required\":false,\"placeholder\":\"\",\"value\":16},{\"type\":\"el-slider\",\"label\":\"线条宽度\",\"name\":\"lineWidth\",\"required\":false,\"placeholder\":\"\",\"value\":9}]},{\"name\":\"标题设置\",\"list\":[{\"type\":\"el-switch\",\"label\":\"标题\",\"name\":\"isNoTitle\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"el-input-text\",\"label\":\"标题\",\"name\":\"titleText\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"textColor\",\"required\":false,\"placeholder\":\"\",\"value\":\"##FFD700\"},{\"type\":\"el-select\",\"label\":\"字体粗细\",\"name\":\"textFontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\"Line truncated
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (7820, 'acc_ajreport', 'widget-linechart', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"left\",\"reversalY\":false,\"reversalX\":false,\"marginRight\":40,\"textInterval\":0,\"isNoTitle\":false,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"layoutFront\":\"\",\"text\":\"系统ERROR\",\"xName\":\"\",\"isShowY\":true,\"fontWeight\":\"normal\",\"height\":1080,\"area\":true,\"textAlign\":\"center\",\"lineColor\":\"\",\"subTextColor\":\"#fff\",\"textColor\":\"##FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"background\":\"\",\"fontSize\":0,\"marginBottom\":10,\"layerName\":\"折线图\",\"hideX\":true,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"http://10.108.26.197/business/file/download/adfc22ac-ed7f-4141-aeb9-ee81f16ac92d\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":9,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":11,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":true,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#1E90FF\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{\"dynamicData\":{\"chartProperties\":{\"datetime\":\"xAxis\",\"register\":\"line\"},\"setCode\":\"acc_ajregister\",\"chartType\":\"widget-linechart\",\"contextData\":{}},\"dataType\":\"dynamicData\",\"refreshTime\":50000,\"staticData\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1009,3409,2309,5409,3409]}]}\"}', '', '{\"top\":186,\"left\":946,\"width\":929,\"index\":1,\"height\":402}', '{\"data\":[{\"type\":\"el-radio-group\",\"label\":\"数据类型\",\"name\":\"dataType\",\"require\":false,\"placeholder\":\"\",\"selectValue\":true,\"selectOptions\":[{\"code\":\"staticData\",\"name\":\"静态数据\"},{\"code\":\"dynamicData\",\"name\":\"动态数据\"}],\"value\":\"dynamicData\"},{\"type\":\"el-input-number\",\"label\":\"刷新时间(毫秒)\",\"name\":\"refreshTime\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"value\":50000},{\"type\":\"el-button\",\"label\":\"静态数据\",\"name\":\"staticData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"staticData\",\"value\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1009,3409,2309,5409,3409]}]}\"},{\"type\":\"dycustComponents\",\"label\":\"\",\"name\":\"dynamicData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"chartType\":\"widget-linechart\",\"relactiveDomValue\":\"dynamicData\",\"value\":{\"chartProperties\":{\"datetime\":\"xAxis\",\"register\":\"line\"},\"setCode\":\"acc_ajregister\",\"chartType\":\"widget-linechart\",\"contextData\":{}}}],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"折线图\"},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},[{\"name\":\"折线设置\",\"list\":[{\"type\":\"el-switch\",\"label\":\"标记点\",\"name\":\"markPoint\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-slider\",\"label\":\"点大小\",\"name\":\"pointSize\",\"required\":false,\"placeholder\":\"\",\"value\":10},{\"type\":\"el-switch\",\"label\":\"平滑曲线\",\"name\":\"smoothCurve\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-switch\",\"label\":\"面积堆积\",\"name\":\"area\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-slider\",\"label\":\"面积厚度\",\"name\":\"areaThickness\",\"required\":false,\"placeholder\":\"\",\"value\":11},{\"type\":\"el-slider\",\"label\":\"线条宽度\",\"name\":\"lineWidth\",\"required\":false,\"placeholder\":\"\",\"value\":9}]},{\"name\":\"标题设置\",\"list\":[{\"type\":\"el-switch\",\"label\":\"标题\",\"name\":\"isNoTitle\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"el-input-text\",\"label\":\"标题\",\"name\":\"titleText\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"textColor\",\"required\":false,\"placeholder\":\"\",\"value\":\"##FFD700\"},{\"type\":\"el-select\",\"label\":\"字体粗细\",\"name\":\"textFontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptionLine truncated
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (7821, 'acc_ajreport', 'widget-linechart', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"left\",\"reversalY\":false,\"reversalX\":false,\"marginRight\":40,\"textInterval\":0,\"isNoTitle\":false,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"layoutFront\":\"\",\"text\":\"系统ERROR\",\"xName\":\"\",\"isShowY\":true,\"fontWeight\":\"normal\",\"height\":1080,\"area\":false,\"textAlign\":\"center\",\"lineColor\":\"\",\"subTextColor\":\"#fff\",\"textColor\":\"##FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"background\":\"\",\"fontSize\":0,\"marginBottom\":10,\"layerName\":\"折线图\",\"hideX\":true,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"http://10.108.26.197/business/file/download/adfc22ac-ed7f-4141-aeb9-ee81f16ac92d\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":true,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#1E90FF\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{\"dynamicData\":{\"chartProperties\":{\"datetime\":\"xAxis\",\"rt\":\"line\"},\"setCode\":\"acc_ajrt\",\"chartType\":\"widget-linechart\",\"contextData\":{}},\"dataType\":\"dynamicData\",\"refreshTime\":5000,\"staticData\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1009,3409,2309,5409,3409]}]}\"}', '', '{\"top\":663,\"left\":3,\"width\":603,\"index\":2,\"height\":378}', '{\"data\":[{\"type\":\"el-radio-group\",\"label\":\"数据类型\",\"name\":\"dataType\",\"require\":false,\"placeholder\":\"\",\"selectValue\":true,\"selectOptions\":[{\"code\":\"staticData\",\"name\":\"静态数据\"},{\"code\":\"dynamicData\",\"name\":\"动态数据\"}],\"value\":\"dynamicData\"},{\"type\":\"el-input-number\",\"label\":\"刷新时间(毫秒)\",\"name\":\"refreshTime\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"value\":5000},{\"type\":\"el-button\",\"label\":\"静态数据\",\"name\":\"staticData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"staticData\",\"value\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1009,3409,2309,5409,3409]}]}\"},{\"type\":\"dycustComponents\",\"label\":\"\",\"name\":\"dynamicData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"chartType\":\"widget-linechart\",\"relactiveDomValue\":\"dynamicData\",\"value\":{\"chartProperties\":{\"datetime\":\"xAxis\",\"rt\":\"line\"},\"setCode\":\"acc_ajrt\",\"chartType\":\"widget-linechart\",\"contextData\":{}}}],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"折线图\"},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},[{\"name\":\"折线设置\",\"list\":[{\"type\":\"el-switch\",\"label\":\"标记点\",\"name\":\"markPoint\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-slider\",\"label\":\"点大小\",\"name\":\"pointSize\",\"required\":false,\"placeholder\":\"\",\"value\":10},{\"type\":\"el-switch\",\"label\":\"平滑曲线\",\"name\":\"smoothCurve\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-switch\",\"label\":\"面积堆积\",\"name\":\"area\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"el-slider\",\"label\":\"面积厚度\",\"name\":\"areaThickness\",\"required\":false,\"placeholder\":\"\",\"value\":5},{\"type\":\"el-slider\",\"label\":\"线条宽度\",\"name\":\"lineWidth\",\"required\":false,\"placeholder\":\"\",\"value\":4}]},{\"name\":\"标题设置\",\"list\":[{\"type\":\"el-switch\",\"label\":\"标题\",\"name\":\"isNoTitle\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"el-input-text\",\"label\":\"标题\",\"name\":\"titleText\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"textColor\",\"required\":false,\"placeholder\":\"\",\"value\":\"##FFD700\"},{\"type\":\"el-select\",\"label\":\"字体粗细\",\"name\":\"textFontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"Line truncated
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (7822, 'acc_ajreport', 'widget-linechart', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"left\",\"reversalY\":false,\"reversalX\":false,\"marginRight\":40,\"textInterval\":0,\"isNoTitle\":false,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"layoutFront\":\"\",\"text\":\"系统ERROR\",\"xName\":\"\",\"isShowY\":true,\"fontWeight\":\"normal\",\"height\":1080,\"area\":true,\"textAlign\":\"center\",\"lineColor\":\"\",\"subTextColor\":\"#fff\",\"textColor\":\"##FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"background\":\"\",\"fontSize\":0,\"marginBottom\":10,\"layerName\":\"折线图\",\"hideX\":true,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"http://10.108.26.197/business/file/download/adfc22ac-ed7f-4141-aeb9-ee81f16ac92d\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":false,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":true,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#1E90FF\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{\"dynamicData\":{\"chartProperties\":{\"datetime\":\"xAxis\",\"qps\":\"line\"},\"setCode\":\"acc_ajqps\",\"chartType\":\"widget-linechart\",\"contextData\":{}},\"dataType\":\"dynamicData\",\"refreshTime\":50000,\"staticData\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1009,3409,2309,5409,3409]}]}\"}', '', '{\"top\":665,\"left\":617,\"width\":620,\"index\":3,\"height\":377}', '{\"data\":[{\"type\":\"el-radio-group\",\"label\":\"数据类型\",\"name\":\"dataType\",\"require\":false,\"placeholder\":\"\",\"selectValue\":true,\"selectOptions\":[{\"code\":\"staticData\",\"name\":\"静态数据\"},{\"code\":\"dynamicData\",\"name\":\"动态数据\"}],\"value\":\"dynamicData\"},{\"type\":\"el-input-number\",\"label\":\"刷新时间(毫秒)\",\"name\":\"refreshTime\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"value\":50000},{\"type\":\"el-button\",\"label\":\"静态数据\",\"name\":\"staticData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"staticData\",\"value\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1009,3409,2309,5409,3409]}]}\"},{\"type\":\"dycustComponents\",\"label\":\"\",\"name\":\"dynamicData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"chartType\":\"widget-linechart\",\"relactiveDomValue\":\"dynamicData\",\"value\":{\"chartProperties\":{\"datetime\":\"xAxis\",\"qps\":\"line\"},\"setCode\":\"acc_ajqps\",\"chartType\":\"widget-linechart\",\"contextData\":{}}}],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"折线图\"},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},[{\"name\":\"折线设置\",\"list\":[{\"type\":\"el-switch\",\"label\":\"标记点\",\"name\":\"markPoint\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-slider\",\"label\":\"点大小\",\"name\":\"pointSize\",\"required\":false,\"placeholder\":\"\",\"value\":10},{\"type\":\"el-switch\",\"label\":\"平滑曲线\",\"name\":\"smoothCurve\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"el-switch\",\"label\":\"面积堆积\",\"name\":\"area\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-slider\",\"label\":\"面积厚度\",\"name\":\"areaThickness\",\"required\":false,\"placeholder\":\"\",\"value\":5},{\"type\":\"el-slider\",\"label\":\"线条宽度\",\"name\":\"lineWidth\",\"required\":false,\"placeholder\":\"\",\"value\":4}]},{\"name\":\"标题设置\",\"list\":[{\"type\":\"el-switch\",\"label\":\"标题\",\"name\":\"isNoTitle\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"el-input-text\",\"label\":\"标题\",\"name\":\"titleText\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"textColor\",\"required\":false,\"placeholder\":\"\",\"value\":\"##FFD700\"},{\"type\":\"el-select\",\"label\":\"字体粗细\",\"name\":\"textFontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"norLine truncated
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (7823, 'acc_ajreport', 'widget-linechart', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"left\",\"reversalY\":false,\"reversalX\":false,\"marginRight\":40,\"textInterval\":0,\"isNoTitle\":false,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"layoutFront\":\"\",\"text\":\"系统ERROR\",\"xName\":\"\",\"isShowY\":true,\"fontWeight\":\"normal\",\"height\":1080,\"area\":true,\"textAlign\":\"center\",\"lineColor\":\"\",\"subTextColor\":\"#fff\",\"textColor\":\"##FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"background\":\"\",\"fontSize\":0,\"marginBottom\":10,\"layerName\":\"折线图\",\"hideX\":true,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"http://10.108.26.197/business/file/download/adfc22ac-ed7f-4141-aeb9-ee81f16ac92d\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":true,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#FF8C00\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{\"dynamicData\":{\"chartProperties\":{\"datetime\":\"xAxis\",\"error\":\"bar\"},\"setCode\":\"acc_ajerror\",\"chartType\":\"widget-linechart\",\"contextData\":{}},\"dataType\":\"dynamicData\",\"refreshTime\":50000,\"staticData\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1009,3409,2309,5409,3409]}]}\"}', '', '{\"top\":666,\"left\":1248,\"width\":628,\"index\":4,\"height\":369}', '{\"data\":[{\"type\":\"el-radio-group\",\"label\":\"数据类型\",\"name\":\"dataType\",\"require\":false,\"placeholder\":\"\",\"selectValue\":true,\"selectOptions\":[{\"code\":\"staticData\",\"name\":\"静态数据\"},{\"code\":\"dynamicData\",\"name\":\"动态数据\"}],\"value\":\"dynamicData\"},{\"type\":\"el-input-number\",\"label\":\"刷新时间(毫秒)\",\"name\":\"refreshTime\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"value\":50000},{\"type\":\"el-button\",\"label\":\"静态数据\",\"name\":\"staticData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"staticData\",\"value\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1009,3409,2309,5409,3409]}]}\"},{\"type\":\"dycustComponents\",\"label\":\"\",\"name\":\"dynamicData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"chartType\":\"widget-linechart\",\"relactiveDomValue\":\"dynamicData\",\"value\":{\"chartProperties\":{\"datetime\":\"xAxis\",\"error\":\"bar\"},\"setCode\":\"acc_ajerror\",\"chartType\":\"widget-linechart\",\"contextData\":{}}}],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"折线图\"},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},[{\"name\":\"折线设置\",\"list\":[{\"type\":\"el-switch\",\"label\":\"标记点\",\"name\":\"markPoint\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-slider\",\"label\":\"点大小\",\"name\":\"pointSize\",\"required\":false,\"placeholder\":\"\",\"value\":10},{\"type\":\"el-switch\",\"label\":\"平滑曲线\",\"name\":\"smoothCurve\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-switch\",\"label\":\"面积堆积\",\"name\":\"area\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-slider\",\"label\":\"面积厚度\",\"name\":\"areaThickness\",\"required\":false,\"placeholder\":\"\",\"value\":5},{\"type\":\"el-slider\",\"label\":\"线条宽度\",\"name\":\"lineWidth\",\"required\":false,\"placeholder\":\"\",\"value\":4}]},{\"name\":\"标题设置\",\"list\":[{\"type\":\"el-switch\",\"label\":\"标题\",\"name\":\"isNoTitle\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"el-input-text\",\"label\":\"标题\",\"name\":\"titleText\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"textColor\",\"required\":false,\"placeholder\":\"\",\"value\":\"##FFD700\"},{\"type\":\"el-select\",\"label\":\"字体粗细\",\"name\":\"textFontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":Line truncated
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (7824, 'acc_ajreport', 'widget-text', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"left\",\"reversalY\":false,\"reversalX\":false,\"marginRight\":40,\"textInterval\":0,\"isNoTitle\":false,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"layoutFront\":\"\",\"text\":\"访问大屏\",\"xName\":\"\",\"isShowY\":true,\"fontWeight\":\"normal\",\"height\":1080,\"area\":true,\"textAlign\":\"center\",\"lineColor\":\"\",\"subTextColor\":\"#fff\",\"textColor\":\"##FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"background\":\"rgba(115,170,229,.0)\",\"fontSize\":50,\"marginBottom\":10,\"layerName\":\"文本框\",\"hideX\":true,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"http://10.108.26.197/business/file/download/adfc22ac-ed7f-4141-aeb9-ee81f16ac92d\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":false,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#1E90FF\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":37,\"left\":790,\"width\":299,\"index\":5,\"height\":77}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"文本框\"},{\"type\":\"el-input-text\",\"label\":\"文本内容\",\"name\":\"text\",\"required\":false,\"placeholder\":\"\",\"value\":\"访问大屏\"},{\"type\":\"el-input-number\",\"label\":\"字体大小\",\"name\":\"fontSize\",\"required\":false,\"placeholder\":\"\",\"value\":50},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"color\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(0, 206, 209, 1)\"},{\"type\":\"el-input-number\",\"label\":\"字体间距\",\"name\":\"letterSpacing\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"vue-color\",\"label\":\"字体背景\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(115,170,229,.0)\"},{\"type\":\"el-select\",\"label\":\"文字粗细\",\"name\":\"fontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体\"}],\"value\":\"normal\"},{\"type\":\"el-select\",\"label\":\"对齐方式\",\"name\":\"textAlign\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"center\",\"name\":\"居中\"},{\"code\":\"left\",\"name\":\"左对齐\"},{\"code\":\"right\",\"name\":\"右对齐\"}],\"value\":\"center\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":790},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":37},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":299},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":77}]}', NULL, 1, 0, 6, 'admin', '2021-07-02 10:26:43', 'admin', '2021-07-02 10:26:43', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (7825, 'acc_ajreport', 'widget-text', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"left\",\"reversalY\":false,\"reversalX\":false,\"marginRight\":40,\"textInterval\":0,\"isNoTitle\":false,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"layoutFront\":\"\",\"text\":\"访问人数变化趋势\",\"xName\":\"\",\"isShowY\":true,\"fontWeight\":\"normal\",\"height\":1080,\"area\":true,\"textAlign\":\"center\",\"lineColor\":\"\",\"subTextColor\":\"#fff\",\"textColor\":\"##FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"background\":\"rgba(115,170,229,.0)\",\"fontSize\":26,\"marginBottom\":10,\"layerName\":\"文本框\",\"hideX\":true,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"http://10.108.26.197/business/file/download/adfc22ac-ed7f-4141-aeb9-ee81f16ac92d\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":false,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#1E90FF\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":144,\"left\":341,\"width\":248,\"index\":6,\"height\":40}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"文本框\"},{\"type\":\"el-input-text\",\"label\":\"文本内容\",\"name\":\"text\",\"required\":false,\"placeholder\":\"\",\"value\":\"访问人数变化趋势\"},{\"type\":\"el-input-number\",\"label\":\"字体大小\",\"name\":\"fontSize\",\"required\":false,\"placeholder\":\"\",\"value\":26},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"color\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(0, 206, 209, 1)\"},{\"type\":\"el-input-number\",\"label\":\"字体间距\",\"name\":\"letterSpacing\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"vue-color\",\"label\":\"字体背景\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(115,170,229,.0)\"},{\"type\":\"el-select\",\"label\":\"文字粗细\",\"name\":\"fontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体\"}],\"value\":\"normal\"},{\"type\":\"el-select\",\"label\":\"对齐方式\",\"name\":\"textAlign\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"center\",\"name\":\"居中\"},{\"code\":\"left\",\"name\":\"左对齐\"},{\"code\":\"right\",\"name\":\"右对齐\"}],\"value\":\"center\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":341},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":144},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":248},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":40}]}', NULL, 1, 0, 7, 'admin', '2021-07-02 10:26:43', 'admin', '2021-07-02 10:26:43', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (7826, 'acc_ajreport', 'widget-text', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"left\",\"reversalY\":false,\"reversalX\":false,\"marginRight\":40,\"textInterval\":0,\"isNoTitle\":false,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"layoutFront\":\"\",\"text\":\"注册人数变化趋势\",\"xName\":\"\",\"isShowY\":true,\"fontWeight\":\"normal\",\"height\":1080,\"area\":true,\"textAlign\":\"center\",\"lineColor\":\"\",\"subTextColor\":\"#fff\",\"textColor\":\"##FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"background\":\"rgba(115,170,229,.0)\",\"fontSize\":26,\"marginBottom\":10,\"layerName\":\"文本框\",\"hideX\":true,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"http://10.108.26.197/business/file/download/adfc22ac-ed7f-4141-aeb9-ee81f16ac92d\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":false,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#1E90FF\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":139,\"left\":1299,\"width\":249,\"index\":7,\"height\":40}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"文本框\"},{\"type\":\"el-input-text\",\"label\":\"文本内容\",\"name\":\"text\",\"required\":false,\"placeholder\":\"\",\"value\":\"注册人数变化趋势\"},{\"type\":\"el-input-number\",\"label\":\"字体大小\",\"name\":\"fontSize\",\"required\":false,\"placeholder\":\"\",\"value\":26},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"color\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(0, 206, 209, 1)\"},{\"type\":\"el-input-number\",\"label\":\"字体间距\",\"name\":\"letterSpacing\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"vue-color\",\"label\":\"字体背景\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(115,170,229,.0)\"},{\"type\":\"el-select\",\"label\":\"文字粗细\",\"name\":\"fontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体\"}],\"value\":\"normal\"},{\"type\":\"el-select\",\"label\":\"对齐方式\",\"name\":\"textAlign\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"center\",\"name\":\"居中\"},{\"code\":\"left\",\"name\":\"左对齐\"},{\"code\":\"right\",\"name\":\"右对齐\"}],\"value\":\"center\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":1299},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":139},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":249},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":40}]}', NULL, 1, 0, 8, 'admin', '2021-07-02 10:26:43', 'admin', '2021-07-02 10:26:43', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (7827, 'acc_ajreport', 'widget-text', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"left\",\"reversalY\":false,\"reversalX\":false,\"marginRight\":40,\"textInterval\":0,\"isNoTitle\":false,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"layoutFront\":\"\",\"text\":\"系统RT\",\"xName\":\"\",\"isShowY\":true,\"fontWeight\":\"normal\",\"height\":1080,\"area\":true,\"textAlign\":\"center\",\"lineColor\":\"\",\"subTextColor\":\"#fff\",\"textColor\":\"##FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"background\":\"rgba(115,170,229,.0)\",\"fontSize\":26,\"marginBottom\":10,\"layerName\":\"文本框\",\"hideX\":true,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"http://10.108.26.197/business/file/download/adfc22ac-ed7f-4141-aeb9-ee81f16ac92d\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":false,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#1E90FF\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":620,\"left\":213,\"width\":113,\"index\":8,\"height\":40}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"文本框\"},{\"type\":\"el-input-text\",\"label\":\"文本内容\",\"name\":\"text\",\"required\":false,\"placeholder\":\"\",\"value\":\"系统RT\"},{\"type\":\"el-input-number\",\"label\":\"字体大小\",\"name\":\"fontSize\",\"required\":false,\"placeholder\":\"\",\"value\":26},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"color\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(0, 206, 209, 1)\"},{\"type\":\"el-input-number\",\"label\":\"字体间距\",\"name\":\"letterSpacing\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"vue-color\",\"label\":\"字体背景\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(115,170,229,.0)\"},{\"type\":\"el-select\",\"label\":\"文字粗细\",\"name\":\"fontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体\"}],\"value\":\"normal\"},{\"type\":\"el-select\",\"label\":\"对齐方式\",\"name\":\"textAlign\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"center\",\"name\":\"居中\"},{\"code\":\"left\",\"name\":\"左对齐\"},{\"code\":\"right\",\"name\":\"右对齐\"}],\"value\":\"center\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":213},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":620},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":113},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":40}]}', NULL, 1, 0, 9, 'admin', '2021-07-02 10:26:43', 'admin', '2021-07-02 10:26:43', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (7828, 'acc_ajreport', 'widget-text', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"left\",\"reversalY\":false,\"reversalX\":false,\"marginRight\":40,\"textInterval\":0,\"isNoTitle\":false,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"layoutFront\":\"\",\"text\":\"系统QPS\",\"xName\":\"\",\"isShowY\":true,\"fontWeight\":\"normal\",\"height\":1080,\"area\":true,\"textAlign\":\"center\",\"lineColor\":\"\",\"subTextColor\":\"#fff\",\"textColor\":\"##FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"background\":\"rgba(115,170,229,.0)\",\"fontSize\":26,\"marginBottom\":10,\"layerName\":\"文本框\",\"hideX\":true,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"http://10.108.26.197/business/file/download/adfc22ac-ed7f-4141-aeb9-ee81f16ac92d\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":false,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#1E90FF\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":624,\"left\":854,\"width\":130,\"index\":9,\"height\":40}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"文本框\"},{\"type\":\"el-input-text\",\"label\":\"文本内容\",\"name\":\"text\",\"required\":false,\"placeholder\":\"\",\"value\":\"系统QPS\"},{\"type\":\"el-input-number\",\"label\":\"字体大小\",\"name\":\"fontSize\",\"required\":false,\"placeholder\":\"\",\"value\":26},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"color\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(0, 206, 209, 1)\"},{\"type\":\"el-input-number\",\"label\":\"字体间距\",\"name\":\"letterSpacing\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"vue-color\",\"label\":\"字体背景\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(115,170,229,.0)\"},{\"type\":\"el-select\",\"label\":\"文字粗细\",\"name\":\"fontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体\"}],\"value\":\"normal\"},{\"type\":\"el-select\",\"label\":\"对齐方式\",\"name\":\"textAlign\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"center\",\"name\":\"居中\"},{\"code\":\"left\",\"name\":\"左对齐\"},{\"code\":\"right\",\"name\":\"右对齐\"}],\"value\":\"center\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":854},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":624},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":130},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":40}]}', NULL, 1, 0, 10, 'admin', '2021-07-02 10:26:43', 'admin', '2021-07-02 10:26:43', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (7829, 'acc_ajreport', 'widget-text', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"left\",\"reversalY\":false,\"reversalX\":false,\"marginRight\":40,\"textInterval\":0,\"isNoTitle\":false,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"layoutFront\":\"\",\"text\":\"系统ERROR\",\"xName\":\"\",\"isShowY\":true,\"fontWeight\":\"normal\",\"height\":1080,\"area\":true,\"textAlign\":\"center\",\"lineColor\":\"\",\"subTextColor\":\"#fff\",\"textColor\":\"##FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"background\":\"rgba(115,170,229,.0)\",\"fontSize\":26,\"marginBottom\":10,\"layerName\":\"文本框\",\"hideX\":true,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"http://10.108.26.197/business/file/download/adfc22ac-ed7f-4141-aeb9-ee81f16ac92d\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":false,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#1E90FF\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":624,\"left\":1467,\"width\":180,\"index\":10,\"height\":40}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"文本框\"},{\"type\":\"el-input-text\",\"label\":\"文本内容\",\"name\":\"text\",\"required\":false,\"placeholder\":\"\",\"value\":\"系统ERROR\"},{\"type\":\"el-input-number\",\"label\":\"字体大小\",\"name\":\"fontSize\",\"required\":false,\"placeholder\":\"\",\"value\":26},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"color\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(0, 206, 209, 1)\"},{\"type\":\"el-input-number\",\"label\":\"字体间距\",\"name\":\"letterSpacing\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"vue-color\",\"label\":\"字体背景\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(115,170,229,.0)\"},{\"type\":\"el-select\",\"label\":\"文字粗细\",\"name\":\"fontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体\"}],\"value\":\"normal\"},{\"type\":\"el-select\",\"label\":\"对齐方式\",\"name\":\"textAlign\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"center\",\"name\":\"居中\"},{\"code\":\"left\",\"name\":\"左对齐\"},{\"code\":\"right\",\"name\":\"右对齐\"}],\"value\":\"center\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":1467},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":624},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":180},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":40}]}', NULL, 1, 0, 11, 'admin', '2021-07-02 10:26:43', 'admin', '2021-07-02 10:26:43', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8309, 'car_ajreport', 'widget-image', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":false,\"reversalX\":\"\",\"minHeight\":0,\"marginRight\":40,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"startRotate\":false,\"layoutFront\":\"\",\"text\":\"退货排名\",\"radius\":5,\"xName\":\"\",\"isShowY\":true,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"imageAdress\":\"https://report.anji-plus.com/file/download/border9@2x\",\"textAlign\":\"center\",\"subTextColor\":\"#fff\",\"textColor\":\"#FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"borderRadius\":0,\"transparency\":100,\"marginBottom\":10,\"layerName\":\"图片\",\"hideX\":true,\"verticalShow\":false,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"lengedFontSize\":16,\"areaThickness\":5,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"fontSizeY\":12,\"smoothCurve\":true,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"NameFontSizeY\":12,\"markPoint\":true,\"isShow\":true,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#ff7f50\"},{\"color\":\"#87cefa\"},{\"color\":\"#da70d6\"},{\"color\":\"#32cd32\"},{\"color\":\"#6495ed\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":758,\"left\":49,\"width\":559,\"index\":21,\"height\":290}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"图片\"},{\"type\":\"el-switch\",\"label\":\"开启旋转\",\"name\":\"startRotate\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"el-slider\",\"label\":\"透明度\",\"name\":\"transparency\",\"required\":false,\"placeholder\":\"\",\"value\":100},{\"type\":\"el-input-number\",\"label\":\"圆角\",\"name\":\"borderRadius\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"custom-upload\",\"label\":\"图片地址\",\"name\":\"imageAdress\",\"required\":false,\"placeholder\":\"\",\"value\":\"https://report.anji-plus.com/file/download/border9@2x\"},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":49},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":758},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":559},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":290}]}', NULL, 1, 0, 1, 'admin', '2021-07-02 16:10:09', 'admin', '2021-07-02 16:10:09', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8310, 'car_ajreport', 'widget-image', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":false,\"reversalX\":\"\",\"minHeight\":0,\"marginRight\":40,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"startRotate\":false,\"layoutFront\":\"\",\"text\":\"退货排名\",\"radius\":5,\"xName\":\"\",\"isShowY\":true,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"imageAdress\":\"https://report.anji-plus.com/file/download/border9@2x\",\"textAlign\":\"center\",\"subTextColor\":\"#fff\",\"textColor\":\"#FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"borderRadius\":0,\"transparency\":100,\"marginBottom\":10,\"layerName\":\"图片\",\"hideX\":true,\"verticalShow\":false,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"lengedFontSize\":16,\"areaThickness\":5,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"fontSizeY\":12,\"smoothCurve\":true,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"NameFontSizeY\":12,\"markPoint\":true,\"isShow\":true,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#ff7f50\"},{\"color\":\"#87cefa\"},{\"color\":\"#da70d6\"},{\"color\":\"#32cd32\"},{\"color\":\"#6495ed\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":748,\"left\":1259,\"width\":559,\"index\":4,\"height\":290}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"图片\"},{\"type\":\"el-switch\",\"label\":\"开启旋转\",\"name\":\"startRotate\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"el-slider\",\"label\":\"透明度\",\"name\":\"transparency\",\"required\":false,\"placeholder\":\"\",\"value\":100},{\"type\":\"el-input-number\",\"label\":\"圆角\",\"name\":\"borderRadius\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"custom-upload\",\"label\":\"图片地址\",\"name\":\"imageAdress\",\"required\":false,\"placeholder\":\"\",\"value\":\"https://report.anji-plus.com/file/download/border9@2x\"},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":1259},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":748},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":559},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":290}]}', NULL, 1, 0, 2, 'admin', '2021-07-02 16:10:09', 'admin', '2021-07-02 16:10:09', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8311, 'car_ajreport', 'widget-image', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":true,\"reversalX\":false,\"marginRight\":40,\"minHeight\":0,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"startRotate\":false,\"titleText\":\"\",\"layoutFront\":\"\",\"text\":\"滞销排名\",\"xName\":\"\",\"isShowY\":true,\"radius\":5,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"imageAdress\":\"https://report.anji-plus.com/file/download/border5@2x\",\"textAlign\":\"center\",\"subTextColor\":\"#fff\",\"textColor\":\"#FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"borderRadius\":0,\"transparency\":100,\"fontSize\":26,\"marginBottom\":10,\"layerName\":\"图片\",\"hideX\":true,\"verticalShow\":true,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":true,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#ff7f50\"},{\"color\":\"#87cefa\"},{\"color\":\"#da70d6\"},{\"color\":\"#32cd32\"},{\"color\":\"#6495ed\"},{\"color\":\"#90EE90\"},{\"color\":\"#A3E0E1\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":756,\"left\":646,\"width\":559,\"index\":0,\"height\":290}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"图片\"},{\"type\":\"el-switch\",\"label\":\"开启旋转\",\"name\":\"startRotate\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"el-slider\",\"label\":\"透明度\",\"name\":\"transparency\",\"required\":false,\"placeholder\":\"\",\"value\":100},{\"type\":\"el-input-number\",\"label\":\"圆角\",\"name\":\"borderRadius\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"custom-upload\",\"label\":\"图片地址\",\"name\":\"imageAdress\",\"required\":false,\"placeholder\":\"\",\"value\":\"https://report.anji-plus.com/file/download/border5@2x\"},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":646},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":756},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":559},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":290}]}', NULL, 1, 0, 3, 'admin', '2021-07-02 16:10:09', 'admin', '2021-07-02 16:10:09', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8312, 'car_ajreport', 'widget-image', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":false,\"reversalX\":\"\",\"minHeight\":0,\"marginRight\":40,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"startRotate\":false,\"layoutFront\":\"\",\"text\":\"销售趋势\",\"radius\":5,\"xName\":\"\",\"isShowY\":true,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"imageAdress\":\"https://report.anji-plus.com/file/download/border10@1x\",\"textAlign\":\"center\",\"subTextColor\":\"#fff\",\"textColor\":\"#FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"borderRadius\":0,\"transparency\":100,\"marginBottom\":10,\"layerName\":\"图片\",\"hideX\":true,\"verticalShow\":false,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"lengedFontSize\":16,\"areaThickness\":5,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"fontSizeY\":12,\"smoothCurve\":true,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"NameFontSizeY\":12,\"markPoint\":true,\"isShow\":true,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#ff7f50\"},{\"color\":\"#87cefa\"},{\"color\":\"#da70d6\"},{\"color\":\"#32cd32\"},{\"color\":\"#6495ed\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":143,\"left\":55,\"width\":802,\"index\":3,\"height\":286}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"图片\"},{\"type\":\"el-switch\",\"label\":\"开启旋转\",\"name\":\"startRotate\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"el-slider\",\"label\":\"透明度\",\"name\":\"transparency\",\"required\":false,\"placeholder\":\"\",\"value\":100},{\"type\":\"el-input-number\",\"label\":\"圆角\",\"name\":\"borderRadius\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"custom-upload\",\"label\":\"图片地址\",\"name\":\"imageAdress\",\"required\":false,\"placeholder\":\"\",\"value\":\"https://report.anji-plus.com/file/download/border10@1x\"},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":55},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":143},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":802},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":286}]}', NULL, 1, 0, 4, 'admin', '2021-07-02 16:10:09', 'admin', '2021-07-02 16:10:09', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8313, 'car_ajreport', 'widget-image', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":false,\"reversalX\":\"\",\"minHeight\":0,\"marginRight\":40,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"startRotate\":false,\"layoutFront\":\"\",\"text\":\"生产趋势\",\"radius\":5,\"xName\":\"\",\"isShowY\":true,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"imageAdress\":\"https://report.anji-plus.com/file/download/border8@1x\",\"textAlign\":\"center\",\"subTextColor\":\"#fff\",\"textColor\":\"#FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"borderRadius\":0,\"transparency\":100,\"marginBottom\":10,\"layerName\":\"图片\",\"hideX\":true,\"verticalShow\":false,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"lengedFontSize\":16,\"areaThickness\":5,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"fontSizeY\":12,\"smoothCurve\":true,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"NameFontSizeY\":12,\"markPoint\":true,\"isShow\":true,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#ff7f50\"},{\"color\":\"#87cefa\"},{\"color\":\"#da70d6\"},{\"color\":\"#32cd32\"},{\"color\":\"#6495ed\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":141,\"left\":948,\"width\":816,\"index\":4,\"height\":284}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"图片\"},{\"type\":\"el-switch\",\"label\":\"开启旋转\",\"name\":\"startRotate\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"el-slider\",\"label\":\"透明度\",\"name\":\"transparency\",\"required\":false,\"placeholder\":\"\",\"value\":100},{\"type\":\"el-input-number\",\"label\":\"圆角\",\"name\":\"borderRadius\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"custom-upload\",\"label\":\"图片地址\",\"name\":\"imageAdress\",\"required\":false,\"placeholder\":\"\",\"value\":\"https://report.anji-plus.com/file/download/border8@1x\"},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":948},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":141},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":816},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":284}]}', NULL, 1, 0, 5, 'admin', '2021-07-02 16:10:09', 'admin', '2021-07-02 16:10:09', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8314, 'car_ajreport', 'widget-image', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":false,\"reversalX\":\"\",\"minHeight\":0,\"marginRight\":40,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"startRotate\":false,\"layoutFront\":\"\",\"text\":\"生产TOP5\",\"radius\":5,\"xName\":\"\",\"isShowY\":true,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"imageAdress\":\"https://report.anji-plus.com/file/download/border6@1x\",\"textAlign\":\"center\",\"subTextColor\":\"#fff\",\"textColor\":\"#FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"borderRadius\":0,\"transparency\":100,\"marginBottom\":10,\"layerName\":\"图片\",\"hideX\":true,\"verticalShow\":false,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"lengedFontSize\":16,\"areaThickness\":5,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"fontSizeY\":12,\"smoothCurve\":true,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"NameFontSizeY\":12,\"markPoint\":true,\"isShow\":true,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#ff7f50\"},{\"color\":\"#87cefa\"},{\"color\":\"#da70d6\"},{\"color\":\"#32cd32\"},{\"color\":\"#6495ed\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":447,\"left\":950,\"width\":813,\"index\":2,\"height\":291}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"图片\"},{\"type\":\"el-switch\",\"label\":\"开启旋转\",\"name\":\"startRotate\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"el-slider\",\"label\":\"透明度\",\"name\":\"transparency\",\"required\":false,\"placeholder\":\"\",\"value\":100},{\"type\":\"el-input-number\",\"label\":\"圆角\",\"name\":\"borderRadius\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"custom-upload\",\"label\":\"图片地址\",\"name\":\"imageAdress\",\"required\":false,\"placeholder\":\"\",\"value\":\"https://report.anji-plus.com/file/download/border6@1x\"},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":950},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":447},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":813},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":291}]}', NULL, 1, 0, 6, 'admin', '2021-07-02 16:10:09', 'admin', '2021-07-02 16:10:09', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8315, 'car_ajreport', 'widget-image', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"left\",\"reversalY\":false,\"reversalX\":false,\"minHeight\":0,\"marginRight\":40,\"textInterval\":0,\"isNoTitle\":false,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"startRotate\":false,\"layoutFront\":\"\",\"text\":\"销售趋势\",\"radius\":5,\"xName\":\"\",\"isShowY\":true,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"imageAdress\":\"https://report.anji-plus.com/file/download/border7@1x\",\"textAlign\":\"center\",\"lineColor\":\"\",\"subTextColor\":\"#fff\",\"textColor\":\"##FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":22,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"borderRadius\":0,\"transparency\":100,\"fontSize\":0,\"marginBottom\":10,\"layerName\":\"图片\",\"hideX\":true,\"verticalShow\":false,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"lengedFontSize\":16,\"areaThickness\":5,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"fontSizeY\":12,\"smoothCurve\":true,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"NameFontSizeY\":12,\"markPoint\":true,\"isShow\":true,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#1E90FF\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":455,\"left\":52,\"width\":810,\"index\":4,\"height\":279}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"图片\"},{\"type\":\"el-switch\",\"label\":\"开启旋转\",\"name\":\"startRotate\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"el-slider\",\"label\":\"透明度\",\"name\":\"transparency\",\"required\":false,\"placeholder\":\"\",\"value\":100},{\"type\":\"el-input-number\",\"label\":\"圆角\",\"name\":\"borderRadius\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"custom-upload\",\"label\":\"图片地址\",\"name\":\"imageAdress\",\"required\":false,\"placeholder\":\"\",\"value\":\"https://report.anji-plus.com/file/download/border7@1x\"},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":52},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":455},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":810},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":279}]}', NULL, 1, 0, 7, 'admin', '2021-07-02 16:10:09', 'admin', '2021-07-02 16:10:09', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8316, 'car_ajreport', 'widget-linechart', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"left\",\"reversalY\":false,\"reversalX\":false,\"marginRight\":40,\"minHeight\":0,\"textInterval\":0,\"isNoTitle\":false,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"layoutFront\":\"\",\"text\":\"退货排名\",\"xName\":\"\",\"isShowY\":true,\"radius\":5,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"textAlign\":\"center\",\"lineColor\":\"\",\"subTextColor\":\"#fff\",\"textColor\":\"##FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":22,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"background\":\"\",\"fontSize\":0,\"marginBottom\":10,\"layerName\":\"折线图\",\"hideX\":true,\"verticalShow\":false,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"http://10.108.26.197/business/file/download/adfc22ac-ed7f-4141-aeb9-ee81f16ac92d\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":true,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#1E90FF\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{\"dynamicData\":{\"chartProperties\":{\"datetime\":\"xAxis\",\"nums\":\"line\"},\"setCode\":\"car_ajpro\",\"chartType\":\"widget-linechart\",\"contextData\":{}},\"dataType\":\"dynamicData\",\"refreshTime\":50000,\"staticData\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1009,3409,2309,5409,3409]}]}\"}', '', '{\"top\":187,\"left\":154,\"width\":610,\"index\":4,\"height\":207}', '{\"data\":[{\"type\":\"el-radio-group\",\"label\":\"数据类型\",\"name\":\"dataType\",\"require\":false,\"placeholder\":\"\",\"selectValue\":true,\"selectOptions\":[{\"code\":\"staticData\",\"name\":\"静态数据\"},{\"code\":\"dynamicData\",\"name\":\"动态数据\"}],\"value\":\"dynamicData\"},{\"type\":\"el-input-number\",\"label\":\"刷新时间(毫秒)\",\"name\":\"refreshTime\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"value\":50000},{\"type\":\"el-button\",\"label\":\"静态数据\",\"name\":\"staticData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"staticData\",\"value\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1009,3409,2309,5409,3409]}]}\"},{\"type\":\"dycustComponents\",\"label\":\"\",\"name\":\"dynamicData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"chartType\":\"widget-linechart\",\"relactiveDomValue\":\"dynamicData\",\"value\":{\"chartProperties\":{\"datetime\":\"xAxis\",\"nums\":\"line\"},\"setCode\":\"car_ajpro\",\"chartType\":\"widget-linechart\",\"contextData\":{}}}],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"折线图\"},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},[{\"name\":\"折线设置\",\"list\":[{\"type\":\"el-switch\",\"label\":\"标记点\",\"name\":\"markPoint\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-slider\",\"label\":\"点大小\",\"name\":\"pointSize\",\"required\":false,\"placeholder\":\"\",\"value\":10},{\"type\":\"el-switch\",\"label\":\"平滑曲线\",\"name\":\"smoothCurve\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-switch\",\"label\":\"面积堆积\",\"name\":\"area\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-slider\",\"label\":\"面积厚度\",\"name\":\"areaThickness\",\"required\":false,\"placeholder\":\"\",\"value\":5},{\"type\":\"el-slider\",\"label\":\"线条宽度\",\"name\":\"lineWidth\",\"required\":false,\"placeholder\":\"\",\"value\":4}]},{\"name\":\"标题设置\",\"list\":[{\"type\":\"el-switch\",\"label\":\"标题\",\"name\":\"isNoTitle\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"el-input-text\",\"label\":\"标题\",\"name\":\"titleText\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"textColor\",\"required\":false,\"placeholder\":\"\",\"value\":\"##FFD700\"},{\"type\":\"el-select\",\"label\":\"字体粗细\",\"name\":\"textFontWeight\",\"reqLine truncated
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8317, 'car_ajreport', 'widget-linechart', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"left\",\"reversalY\":false,\"reversalX\":false,\"marginRight\":40,\"minHeight\":0,\"textInterval\":0,\"isNoTitle\":false,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"layoutFront\":\"\",\"text\":\"退货排名\",\"xName\":\"\",\"isShowY\":true,\"radius\":5,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"textAlign\":\"center\",\"lineColor\":\"\",\"subTextColor\":\"#fff\",\"textColor\":\"##FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"background\":\"\",\"fontSize\":0,\"marginBottom\":10,\"layerName\":\"折线图\",\"hideX\":true,\"verticalShow\":false,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"http://10.108.26.197/business/file/download/adfc22ac-ed7f-4141-aeb9-ee81f16ac92d\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":true,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#1E90FF\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{\"dynamicData\":{\"chartProperties\":{\"datetime\":\"xAxis\",\"nums\":\"line\"},\"setCode\":\"car_ajsale\",\"chartType\":\"widget-linechart\",\"contextData\":{}},\"dataType\":\"dynamicData\",\"refreshTime\":50000,\"staticData\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1009,3409,2309,5409,3409]}]}\"}', '', '{\"top\":503,\"left\":1017,\"width\":691,\"index\":6,\"height\":196}', '{\"data\":[{\"type\":\"el-radio-group\",\"label\":\"数据类型\",\"name\":\"dataType\",\"require\":false,\"placeholder\":\"\",\"selectValue\":true,\"selectOptions\":[{\"code\":\"staticData\",\"name\":\"静态数据\"},{\"code\":\"dynamicData\",\"name\":\"动态数据\"}],\"value\":\"dynamicData\"},{\"type\":\"el-input-number\",\"label\":\"刷新时间(毫秒)\",\"name\":\"refreshTime\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"value\":50000},{\"type\":\"el-button\",\"label\":\"静态数据\",\"name\":\"staticData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"staticData\",\"value\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1009,3409,2309,5409,3409]}]}\"},{\"type\":\"dycustComponents\",\"label\":\"\",\"name\":\"dynamicData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"chartType\":\"widget-linechart\",\"relactiveDomValue\":\"dynamicData\",\"value\":{\"chartProperties\":{\"datetime\":\"xAxis\",\"nums\":\"line\"},\"setCode\":\"car_ajsale\",\"chartType\":\"widget-linechart\",\"contextData\":{}}}],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"折线图\"},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},[{\"name\":\"折线设置\",\"list\":[{\"type\":\"el-switch\",\"label\":\"标记点\",\"name\":\"markPoint\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-slider\",\"label\":\"点大小\",\"name\":\"pointSize\",\"required\":false,\"placeholder\":\"\",\"value\":10},{\"type\":\"el-switch\",\"label\":\"平滑曲线\",\"name\":\"smoothCurve\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-switch\",\"label\":\"面积堆积\",\"name\":\"area\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-slider\",\"label\":\"面积厚度\",\"name\":\"areaThickness\",\"required\":false,\"placeholder\":\"\",\"value\":5},{\"type\":\"el-slider\",\"label\":\"线条宽度\",\"name\":\"lineWidth\",\"required\":false,\"placeholder\":\"\",\"value\":4}]},{\"name\":\"标题设置\",\"list\":[{\"type\":\"el-switch\",\"label\":\"标题\",\"name\":\"isNoTitle\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"el-input-text\",\"label\":\"标题\",\"name\":\"titleText\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"textColor\",\"required\":false,\"placeholder\":\"\",\"value\":\"##FFD700\"},{\"type\":\"el-select\",\"label\":\"字体粗细\",\"name\":\"textFontWeight\",\"Line truncated
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8318, 'car_ajreport', 'widget-barchart', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":false,\"reversalX\":\"\",\"marginRight\":40,\"minHeight\":0,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"layoutFront\":\"\",\"text\":\"退货排名\",\"xName\":\"\",\"isShowY\":true,\"radius\":5,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"textAlign\":\"center\",\"subTextColor\":\"#fff\",\"textColor\":\"#FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"background\":\"\",\"marginBottom\":10,\"layerName\":\"柱状图\",\"hideX\":true,\"verticalShow\":false,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"http://10.108.26.197/business/file/download/adfc22ac-ed7f-4141-aeb9-ee81f16ac92d\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":true,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#ff7f50\"},{\"color\":\"#87cefa\"},{\"color\":\"#da70d6\"},{\"color\":\"#32cd32\"},{\"color\":\"#6495ed\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{\"dynamicData\":{\"chartProperties\":{\"brand\":\"xAxis\",\"nums\":\"bar\"},\"setCode\":\"car_ajproTop5\",\"chartType\":\"widget-barchart\",\"contextData\":{}},\"dataType\":\"dynamicData\",\"refreshTime\":50000,\"staticData\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1000,2229,3879,2379,4079]}]}\"}', '', '{\"top\":506,\"left\":167,\"width\":604,\"index\":7,\"height\":178}', '{\"data\":[{\"type\":\"el-radio-group\",\"label\":\"数据类型\",\"name\":\"dataType\",\"require\":false,\"placeholder\":\"\",\"selectValue\":true,\"selectOptions\":[{\"code\":\"staticData\",\"name\":\"静态数据\"},{\"code\":\"dynamicData\",\"name\":\"动态数据\"}],\"value\":\"dynamicData\"},{\"type\":\"el-input-number\",\"label\":\"刷新时间(毫秒)\",\"name\":\"refreshTime\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"value\":50000},{\"type\":\"el-button\",\"label\":\"静态数据\",\"name\":\"staticData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"staticData\",\"value\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1000,2229,3879,2379,4079]}]}\"},{\"type\":\"dycustComponents\",\"label\":\"\",\"name\":\"dynamicData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"chartType\":\"widget-barchart\",\"value\":{\"chartProperties\":{\"brand\":\"xAxis\",\"nums\":\"bar\"},\"setCode\":\"car_ajproTop5\",\"chartType\":\"widget-barchart\",\"contextData\":{}}}],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"柱状图\"},{\"type\":\"el-switch\",\"label\":\"竖展示\",\"name\":\"verticalShow\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},[{\"name\":\"柱体设置\",\"list\":[{\"type\":\"el-slider\",\"label\":\"最大宽度\",\"name\":\"maxWidth\",\"required\":false,\"placeholder\":\"\",\"value\":10},{\"type\":\"el-slider\",\"label\":\"圆角\",\"name\":\"radius\",\"require\":false,\"placeholder\":\"\",\"value\":5},{\"type\":\"el-slider\",\"label\":\"最小高度\",\"name\":\"minHeight\",\"require\":false,\"placeholder\":\"\",\"value\":0}]},{\"name\":\"标题设置\",\"list\":[{\"type\":\"el-switch\",\"label\":\"标题\",\"name\":\"isNoTitle\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-input-text\",\"label\":\"标题\",\"name\":\"titleText\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"textColor\",\"required\":false,\"placeholder\":\"\",\"value\":\"#FFD700\"},{\"type\":\"el-select\",\"label\":\"字体粗细\",\"name\":\"textFontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细Line truncated
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8319, 'car_ajreport', 'widget-barchart', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":false,\"reversalX\":\"\",\"marginRight\":40,\"minHeight\":0,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"layoutFront\":\"\",\"text\":\"退货排名\",\"xName\":\"\",\"isShowY\":true,\"radius\":5,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"textAlign\":\"center\",\"subTextColor\":\"#fff\",\"textColor\":\"#FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"background\":\"\",\"marginBottom\":10,\"layerName\":\"柱状图\",\"hideX\":true,\"verticalShow\":false,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"http://10.108.26.197/business/file/download/adfc22ac-ed7f-4141-aeb9-ee81f16ac92d\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":true,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#ff7f50\"},{\"color\":\"#87cefa\"},{\"color\":\"#da70d6\"},{\"color\":\"#32cd32\"},{\"color\":\"#6495ed\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{\"dynamicData\":{\"chartProperties\":{\"brand\":\"xAxis\",\"nums\":\"bar\"},\"setCode\":\"car_ajsaleTop5\",\"chartType\":\"widget-barchart\",\"contextData\":{}},\"dataType\":\"dynamicData\",\"refreshTime\":50000,\"staticData\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1000,2229,3879,2379,4079]}]}\"}', '', '{\"top\":150,\"left\":1011,\"width\":713,\"index\":8,\"height\":268}', '{\"data\":[{\"type\":\"el-radio-group\",\"label\":\"数据类型\",\"name\":\"dataType\",\"require\":false,\"placeholder\":\"\",\"selectValue\":true,\"selectOptions\":[{\"code\":\"staticData\",\"name\":\"静态数据\"},{\"code\":\"dynamicData\",\"name\":\"动态数据\"}],\"value\":\"dynamicData\"},{\"type\":\"el-input-number\",\"label\":\"刷新时间(毫秒)\",\"name\":\"refreshTime\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"value\":50000},{\"type\":\"el-button\",\"label\":\"静态数据\",\"name\":\"staticData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"staticData\",\"value\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1000,2229,3879,2379,4079]}]}\"},{\"type\":\"dycustComponents\",\"label\":\"\",\"name\":\"dynamicData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"chartType\":\"widget-barchart\",\"value\":{\"chartProperties\":{\"brand\":\"xAxis\",\"nums\":\"bar\"},\"setCode\":\"car_ajsaleTop5\",\"chartType\":\"widget-barchart\",\"contextData\":{}}}],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"柱状图\"},{\"type\":\"el-switch\",\"label\":\"竖展示\",\"name\":\"verticalShow\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},[{\"name\":\"柱体设置\",\"list\":[{\"type\":\"el-slider\",\"label\":\"最大宽度\",\"name\":\"maxWidth\",\"required\":false,\"placeholder\":\"\",\"value\":10},{\"type\":\"el-slider\",\"label\":\"圆角\",\"name\":\"radius\",\"require\":false,\"placeholder\":\"\",\"value\":5},{\"type\":\"el-slider\",\"label\":\"最小高度\",\"name\":\"minHeight\",\"require\":false,\"placeholder\":\"\",\"value\":0}]},{\"name\":\"标题设置\",\"list\":[{\"type\":\"el-switch\",\"label\":\"标题\",\"name\":\"isNoTitle\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-input-text\",\"label\":\"标题\",\"name\":\"titleText\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"textColor\",\"required\":false,\"placeholder\":\"\",\"value\":\"#FFD700\"},{\"type\":\"el-select\",\"label\":\"字体粗细\",\"name\":\"textFontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"Line truncated
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8320, 'car_ajreport', 'widget-barchart', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":true,\"reversalX\":false,\"marginRight\":40,\"minHeight\":0,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"layoutFront\":\"\",\"text\":\"退货排名\",\"xName\":\"\",\"isShowY\":true,\"radius\":5,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"textAlign\":\"center\",\"subTextColor\":\"#fff\",\"textColor\":\"#FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"background\":\"\",\"marginBottom\":10,\"layerName\":\"柱状图\",\"hideX\":true,\"verticalShow\":true,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"http://10.108.26.197/business/file/download/adfc22ac-ed7f-4141-aeb9-ee81f16ac92d\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":true,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#ff7f50\"},{\"color\":\"#87cefa\"},{\"color\":\"#da70d6\"},{\"color\":\"#32cd32\"},{\"color\":\"#6495ed\"},{\"color\":\"#90EE90\"},{\"color\":\"#A3E0E1\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{\"dynamicData\":{\"chartProperties\":{\"brand\":\"xAxis\",\"nums\":\"bar\"},\"setCode\":\"car_ajunsale\",\"chartType\":\"widget-barchart\",\"contextData\":{}},\"dataType\":\"dynamicData\",\"refreshTime\":50000,\"staticData\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1000,2229,3879,2379,4079]}]}\"}', '', '{\"top\":801,\"left\":107,\"width\":457,\"index\":9,\"height\":219}', '{\"data\":[{\"type\":\"el-radio-group\",\"label\":\"数据类型\",\"name\":\"dataType\",\"require\":false,\"placeholder\":\"\",\"selectValue\":true,\"selectOptions\":[{\"code\":\"staticData\",\"name\":\"静态数据\"},{\"code\":\"dynamicData\",\"name\":\"动态数据\"}],\"value\":\"dynamicData\"},{\"type\":\"el-input-number\",\"label\":\"刷新时间(毫秒)\",\"name\":\"refreshTime\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"value\":50000},{\"type\":\"el-button\",\"label\":\"静态数据\",\"name\":\"staticData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"staticData\",\"value\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1000,2229,3879,2379,4079]}]}\"},{\"type\":\"dycustComponents\",\"label\":\"\",\"name\":\"dynamicData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"chartType\":\"widget-barchart\",\"value\":{\"chartProperties\":{\"brand\":\"xAxis\",\"nums\":\"bar\"},\"setCode\":\"car_ajunsale\",\"chartType\":\"widget-barchart\",\"contextData\":{}}}],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"柱状图\"},{\"type\":\"el-switch\",\"label\":\"竖展示\",\"name\":\"verticalShow\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},[{\"name\":\"柱体设置\",\"list\":[{\"type\":\"el-slider\",\"label\":\"最大宽度\",\"name\":\"maxWidth\",\"required\":false,\"placeholder\":\"\",\"value\":10},{\"type\":\"el-slider\",\"label\":\"圆角\",\"name\":\"radius\",\"require\":false,\"placeholder\":\"\",\"value\":5},{\"type\":\"el-slider\",\"label\":\"最小高度\",\"name\":\"minHeight\",\"require\":false,\"placeholder\":\"\",\"value\":0}]},{\"name\":\"标题设置\",\"list\":[{\"type\":\"el-switch\",\"label\":\"标题\",\"name\":\"isNoTitle\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-input-text\",\"label\":\"标题\",\"name\":\"titleText\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"textColor\",\"required\":false,\"placeholder\":\"\",\"value\":\"#FFD700\"},{\"type\":\"el-select\",\"label\":\"字体粗细\",\"name\":\"textFontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特Line truncated
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8321, 'car_ajreport', 'widget-barchart', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":false,\"reversalX\":\"\",\"marginRight\":40,\"minHeight\":0,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"layoutFront\":\"\",\"text\":\"退货排名\",\"xName\":\"\",\"isShowY\":true,\"radius\":5,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"textAlign\":\"center\",\"subTextColor\":\"#fff\",\"textColor\":\"#FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"background\":\"\",\"marginBottom\":10,\"layerName\":\"柱状图\",\"hideX\":true,\"verticalShow\":false,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"http://10.108.26.197/business/file/download/adfc22ac-ed7f-4141-aeb9-ee81f16ac92d\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":true,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#ff7f50\"},{\"color\":\"#87cefa\"},{\"color\":\"#da70d6\"},{\"color\":\"#32cd32\"},{\"color\":\"#6495ed\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{\"dynamicData\":{\"chartProperties\":{\"brand\":\"xAxis\",\"nums\":\"bar\"},\"setCode\":\"car_ajrework\",\"chartType\":\"widget-barchart\",\"contextData\":{}},\"dataType\":\"dynamicData\",\"refreshTime\":50000,\"staticData\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1000,2229,3879,2379,4079]}]}\"}', '', '{\"top\":828,\"left\":692,\"width\":456,\"index\":11,\"height\":184}', '{\"data\":[{\"type\":\"el-radio-group\",\"label\":\"数据类型\",\"name\":\"dataType\",\"require\":false,\"placeholder\":\"\",\"selectValue\":true,\"selectOptions\":[{\"code\":\"staticData\",\"name\":\"静态数据\"},{\"code\":\"dynamicData\",\"name\":\"动态数据\"}],\"value\":\"dynamicData\"},{\"type\":\"el-input-number\",\"label\":\"刷新时间(毫秒)\",\"name\":\"refreshTime\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"value\":50000},{\"type\":\"el-button\",\"label\":\"静态数据\",\"name\":\"staticData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"staticData\",\"value\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1000,2229,3879,2379,4079]}]}\"},{\"type\":\"dycustComponents\",\"label\":\"\",\"name\":\"dynamicData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"chartType\":\"widget-barchart\",\"value\":{\"chartProperties\":{\"brand\":\"xAxis\",\"nums\":\"bar\"},\"setCode\":\"car_ajrework\",\"chartType\":\"widget-barchart\",\"contextData\":{}}}],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"柱状图\"},{\"type\":\"el-switch\",\"label\":\"竖展示\",\"name\":\"verticalShow\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},[{\"name\":\"柱体设置\",\"list\":[{\"type\":\"el-slider\",\"label\":\"最大宽度\",\"name\":\"maxWidth\",\"required\":false,\"placeholder\":\"\",\"value\":10},{\"type\":\"el-slider\",\"label\":\"圆角\",\"name\":\"radius\",\"require\":false,\"placeholder\":\"\",\"value\":5},{\"type\":\"el-slider\",\"label\":\"最小高度\",\"name\":\"minHeight\",\"require\":false,\"placeholder\":\"\",\"value\":0}]},{\"name\":\"标题设置\",\"list\":[{\"type\":\"el-switch\",\"label\":\"标题\",\"name\":\"isNoTitle\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-input-text\",\"label\":\"标题\",\"name\":\"titleText\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"textColor\",\"required\":false,\"placeholder\":\"\",\"value\":\"#FFD700\"},{\"type\":\"el-select\",\"label\":\"字体粗细\",\"name\":\"textFontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细Line truncated
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8322, 'car_ajreport', 'widget-barchart', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":true,\"reversalX\":true,\"marginRight\":40,\"minHeight\":0,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"layoutFront\":\"\",\"text\":\"退货排名\",\"xName\":\"\",\"isShowY\":true,\"radius\":5,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"textAlign\":\"center\",\"subTextColor\":\"#fff\",\"textColor\":\"#FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"background\":\"\",\"marginBottom\":10,\"layerName\":\"柱状图\",\"hideX\":true,\"verticalShow\":true,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"http://10.108.26.197/business/file/download/adfc22ac-ed7f-4141-aeb9-ee81f16ac92d\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":true,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#ff7f50\"},{\"color\":\"#87cefa\"},{\"color\":\"#da70d6\"},{\"color\":\"#32cd32\"},{\"color\":\"#6495ed\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{\"dynamicData\":{\"chartProperties\":{\"brand\":\"xAxis\",\"nums\":\"bar\"},\"setCode\":\"car_ajreturn\",\"chartType\":\"widget-barchart\",\"contextData\":{}},\"dataType\":\"dynamicData\",\"refreshTime\":50000,\"staticData\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1000,2229,3879,2379,4079]}]}\"}', '', '{\"top\":818,\"left\":1321,\"width\":442,\"index\":12,\"height\":188}', '{\"data\":[{\"type\":\"el-radio-group\",\"label\":\"数据类型\",\"name\":\"dataType\",\"require\":false,\"placeholder\":\"\",\"selectValue\":true,\"selectOptions\":[{\"code\":\"staticData\",\"name\":\"静态数据\"},{\"code\":\"dynamicData\",\"name\":\"动态数据\"}],\"value\":\"dynamicData\"},{\"type\":\"el-input-number\",\"label\":\"刷新时间(毫秒)\",\"name\":\"refreshTime\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"value\":50000},{\"type\":\"el-button\",\"label\":\"静态数据\",\"name\":\"staticData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"staticData\",\"value\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1000,2229,3879,2379,4079]}]}\"},{\"type\":\"dycustComponents\",\"label\":\"\",\"name\":\"dynamicData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"chartType\":\"widget-barchart\",\"value\":{\"chartProperties\":{\"brand\":\"xAxis\",\"nums\":\"bar\"},\"setCode\":\"car_ajreturn\",\"chartType\":\"widget-barchart\",\"contextData\":{}}}],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"柱状图\"},{\"type\":\"el-switch\",\"label\":\"竖展示\",\"name\":\"verticalShow\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},[{\"name\":\"柱体设置\",\"list\":[{\"type\":\"el-slider\",\"label\":\"最大宽度\",\"name\":\"maxWidth\",\"required\":false,\"placeholder\":\"\",\"value\":10},{\"type\":\"el-slider\",\"label\":\"圆角\",\"name\":\"radius\",\"require\":false,\"placeholder\":\"\",\"value\":5},{\"type\":\"el-slider\",\"label\":\"最小高度\",\"name\":\"minHeight\",\"require\":false,\"placeholder\":\"\",\"value\":0}]},{\"name\":\"标题设置\",\"list\":[{\"type\":\"el-switch\",\"label\":\"标题\",\"name\":\"isNoTitle\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-input-text\",\"label\":\"标题\",\"name\":\"titleText\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"textColor\",\"required\":false,\"placeholder\":\"\",\"value\":\"#FFD700\"},{\"type\":\"el-select\",\"label\":\"字体粗细\",\"name\":\"textFontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体Line truncated
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8323, 'car_ajreport', 'widget-text', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":false,\"reversalX\":\"\",\"marginRight\":40,\"minHeight\":0,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"layoutFront\":\"\",\"text\":\"汽车生产销售大屏\",\"xName\":\"\",\"isShowY\":true,\"radius\":5,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"textAlign\":\"center\",\"subTextColor\":\"#fff\",\"textColor\":\"#FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"background\":\"rgba(115,170,229,.0)\",\"fontSize\":50,\"marginBottom\":10,\"layerName\":\"文本框\",\"hideX\":true,\"verticalShow\":false,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"http://10.108.26.197/business/file/download/adfc22ac-ed7f-4141-aeb9-ee81f16ac92d\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":false,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#ff7f50\"},{\"color\":\"#87cefa\"},{\"color\":\"#da70d6\"},{\"color\":\"#32cd32\"},{\"color\":\"#6495ed\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":30,\"left\":718,\"width\":406,\"index\":7,\"height\":75}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"文本框\"},{\"type\":\"el-input-text\",\"label\":\"文本内容\",\"name\":\"text\",\"required\":false,\"placeholder\":\"\",\"value\":\"汽车生产销售大屏\"},{\"type\":\"el-input-number\",\"label\":\"字体大小\",\"name\":\"fontSize\",\"required\":false,\"placeholder\":\"\",\"value\":50},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"color\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(0, 206, 209, 1)\"},{\"type\":\"el-input-number\",\"label\":\"字体间距\",\"name\":\"letterSpacing\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"vue-color\",\"label\":\"字体背景\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(115,170,229,.0)\"},{\"type\":\"el-select\",\"label\":\"文字粗细\",\"name\":\"fontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体\"}],\"value\":\"normal\"},{\"type\":\"el-select\",\"label\":\"对齐方式\",\"name\":\"textAlign\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"center\",\"name\":\"居中\"},{\"code\":\"left\",\"name\":\"左对齐\"},{\"code\":\"right\",\"name\":\"右对齐\"}],\"value\":\"center\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":718},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":30},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":406},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":75}]}', NULL, 1, 0, 15, 'admin', '2021-07-02 16:10:09', 'admin', '2021-07-02 16:10:09', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8324, 'car_ajreport', 'widget-text', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":false,\"reversalX\":\"\",\"marginRight\":40,\"minHeight\":0,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"layoutFront\":\"\",\"text\":\"生产趋势\",\"xName\":\"\",\"isShowY\":true,\"radius\":5,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"textAlign\":\"center\",\"subTextColor\":\"#fff\",\"textColor\":\"#FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"background\":\"rgba(115,170,229,.0)\",\"fontSize\":26,\"marginBottom\":10,\"layerName\":\"文本框\",\"hideX\":true,\"verticalShow\":false,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"http://10.108.26.197/business/file/download/adfc22ac-ed7f-4141-aeb9-ee81f16ac92d\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":false,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#ff7f50\"},{\"color\":\"#87cefa\"},{\"color\":\"#da70d6\"},{\"color\":\"#32cd32\"},{\"color\":\"#6495ed\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":172,\"left\":320,\"width\":230,\"index\":13,\"height\":46}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"文本框\"},{\"type\":\"el-input-text\",\"label\":\"文本内容\",\"name\":\"text\",\"required\":false,\"placeholder\":\"\",\"value\":\"生产趋势\"},{\"type\":\"el-input-number\",\"label\":\"字体大小\",\"name\":\"fontSize\",\"required\":false,\"placeholder\":\"\",\"value\":26},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"color\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(0, 206, 209, 1)\"},{\"type\":\"el-input-number\",\"label\":\"字体间距\",\"name\":\"letterSpacing\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"vue-color\",\"label\":\"字体背景\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(115,170,229,.0)\"},{\"type\":\"el-select\",\"label\":\"文字粗细\",\"name\":\"fontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体\"}],\"value\":\"normal\"},{\"type\":\"el-select\",\"label\":\"对齐方式\",\"name\":\"textAlign\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"center\",\"name\":\"居中\"},{\"code\":\"left\",\"name\":\"左对齐\"},{\"code\":\"right\",\"name\":\"右对齐\"}],\"value\":\"center\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":320},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":172},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":230},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":46}]}', NULL, 1, 0, 16, 'admin', '2021-07-02 16:10:09', 'admin', '2021-07-02 16:10:09', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8325, 'car_ajreport', 'widget-text', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":false,\"reversalX\":\"\",\"marginRight\":40,\"minHeight\":0,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"layoutFront\":\"\",\"text\":\"销售趋势\",\"xName\":\"\",\"isShowY\":true,\"radius\":5,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"textAlign\":\"center\",\"subTextColor\":\"#fff\",\"textColor\":\"#FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"background\":\"rgba(115,170,229,.0)\",\"fontSize\":26,\"marginBottom\":10,\"layerName\":\"文本框\",\"hideX\":true,\"verticalShow\":false,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"http://10.108.26.197/business/file/download/adfc22ac-ed7f-4141-aeb9-ee81f16ac92d\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":false,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#ff7f50\"},{\"color\":\"#87cefa\"},{\"color\":\"#da70d6\"},{\"color\":\"#32cd32\"},{\"color\":\"#6495ed\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":488,\"left\":1328,\"width\":139,\"index\":13,\"height\":40}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"文本框\"},{\"type\":\"el-input-text\",\"label\":\"文本内容\",\"name\":\"text\",\"required\":false,\"placeholder\":\"\",\"value\":\"销售趋势\"},{\"type\":\"el-input-number\",\"label\":\"字体大小\",\"name\":\"fontSize\",\"required\":false,\"placeholder\":\"\",\"value\":26},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"color\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(0, 206, 209, 1)\"},{\"type\":\"el-input-number\",\"label\":\"字体间距\",\"name\":\"letterSpacing\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"vue-color\",\"label\":\"字体背景\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(115,170,229,.0)\"},{\"type\":\"el-select\",\"label\":\"文字粗细\",\"name\":\"fontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体\"}],\"value\":\"normal\"},{\"type\":\"el-select\",\"label\":\"对齐方式\",\"name\":\"textAlign\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"center\",\"name\":\"居中\"},{\"code\":\"left\",\"name\":\"左对齐\"},{\"code\":\"right\",\"name\":\"右对齐\"}],\"value\":\"center\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":1328},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":488},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":139},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":40}]}', NULL, 1, 0, 17, 'admin', '2021-07-02 16:10:09', 'admin', '2021-07-02 16:10:09', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8326, 'car_ajreport', 'widget-text', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":false,\"reversalX\":\"\",\"marginRight\":40,\"minHeight\":0,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"layoutFront\":\"\",\"text\":\"生产TOP5\",\"xName\":\"\",\"isShowY\":true,\"radius\":5,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"textAlign\":\"center\",\"subTextColor\":\"#fff\",\"textColor\":\"#FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"background\":\"rgba(115,170,229,.0)\",\"fontSize\":26,\"marginBottom\":10,\"layerName\":\"文本框\",\"hideX\":true,\"verticalShow\":false,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"http://10.108.26.197/business/file/download/adfc22ac-ed7f-4141-aeb9-ee81f16ac92d\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":false,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#ff7f50\"},{\"color\":\"#87cefa\"},{\"color\":\"#da70d6\"},{\"color\":\"#32cd32\"},{\"color\":\"#6495ed\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":493,\"left\":343,\"width\":157,\"index\":15,\"height\":40}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"文本框\"},{\"type\":\"el-input-text\",\"label\":\"文本内容\",\"name\":\"text\",\"required\":false,\"placeholder\":\"\",\"value\":\"生产TOP5\"},{\"type\":\"el-input-number\",\"label\":\"字体大小\",\"name\":\"fontSize\",\"required\":false,\"placeholder\":\"\",\"value\":26},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"color\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(0, 206, 209, 1)\"},{\"type\":\"el-input-number\",\"label\":\"字体间距\",\"name\":\"letterSpacing\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"vue-color\",\"label\":\"字体背景\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(115,170,229,.0)\"},{\"type\":\"el-select\",\"label\":\"文字粗细\",\"name\":\"fontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体\"}],\"value\":\"normal\"},{\"type\":\"el-select\",\"label\":\"对齐方式\",\"name\":\"textAlign\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"center\",\"name\":\"居中\"},{\"code\":\"left\",\"name\":\"左对齐\"},{\"code\":\"right\",\"name\":\"右对齐\"}],\"value\":\"center\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":343},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":493},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":157},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":40}]}', NULL, 1, 0, 18, 'admin', '2021-07-02 16:10:09', 'admin', '2021-07-02 16:10:09', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8327, 'car_ajreport', 'widget-text', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":false,\"reversalX\":\"\",\"marginRight\":40,\"minHeight\":0,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"layoutFront\":\"\",\"text\":\"销售TOP5\",\"xName\":\"\",\"isShowY\":true,\"radius\":5,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"textAlign\":\"center\",\"subTextColor\":\"#fff\",\"textColor\":\"#FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"background\":\"rgba(115,170,229,.0)\",\"fontSize\":26,\"marginBottom\":10,\"layerName\":\"文本框\",\"hideX\":true,\"verticalShow\":false,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"http://10.108.26.197/business/file/download/adfc22ac-ed7f-4141-aeb9-ee81f16ac92d\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":false,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#ff7f50\"},{\"color\":\"#87cefa\"},{\"color\":\"#da70d6\"},{\"color\":\"#32cd32\"},{\"color\":\"#6495ed\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":160,\"left\":1286,\"width\":131,\"index\":16,\"height\":40}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"文本框\"},{\"type\":\"el-input-text\",\"label\":\"文本内容\",\"name\":\"text\",\"required\":false,\"placeholder\":\"\",\"value\":\"销售TOP5\"},{\"type\":\"el-input-number\",\"label\":\"字体大小\",\"name\":\"fontSize\",\"required\":false,\"placeholder\":\"\",\"value\":26},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"color\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(0, 206, 209, 1)\"},{\"type\":\"el-input-number\",\"label\":\"字体间距\",\"name\":\"letterSpacing\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"vue-color\",\"label\":\"字体背景\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(115,170,229,.0)\"},{\"type\":\"el-select\",\"label\":\"文字粗细\",\"name\":\"fontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体\"}],\"value\":\"normal\"},{\"type\":\"el-select\",\"label\":\"对齐方式\",\"name\":\"textAlign\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"center\",\"name\":\"居中\"},{\"code\":\"left\",\"name\":\"左对齐\"},{\"code\":\"right\",\"name\":\"右对齐\"}],\"value\":\"center\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":1286},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":160},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":131},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":40}]}', NULL, 1, 0, 19, 'admin', '2021-07-02 16:10:09', 'admin', '2021-07-02 16:10:09', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8328, 'car_ajreport', 'widget-text', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":false,\"reversalX\":\"\",\"marginRight\":40,\"minHeight\":0,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"layoutFront\":\"\",\"text\":\"滞销排名\",\"xName\":\"\",\"isShowY\":true,\"radius\":5,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"textAlign\":\"center\",\"subTextColor\":\"#fff\",\"textColor\":\"#FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"background\":\"rgba(115,170,229,.0)\",\"fontSize\":26,\"marginBottom\":10,\"layerName\":\"文本框\",\"hideX\":true,\"verticalShow\":false,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"http://10.108.26.197/business/file/download/adfc22ac-ed7f-4141-aeb9-ee81f16ac92d\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":false,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#ff7f50\"},{\"color\":\"#87cefa\"},{\"color\":\"#da70d6\"},{\"color\":\"#32cd32\"},{\"color\":\"#6495ed\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":792,\"left\":241,\"width\":139,\"index\":19,\"height\":40}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"文本框\"},{\"type\":\"el-input-text\",\"label\":\"文本内容\",\"name\":\"text\",\"required\":false,\"placeholder\":\"\",\"value\":\"滞销排名\"},{\"type\":\"el-input-number\",\"label\":\"字体大小\",\"name\":\"fontSize\",\"required\":false,\"placeholder\":\"\",\"value\":26},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"color\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(0, 206, 209, 1)\"},{\"type\":\"el-input-number\",\"label\":\"字体间距\",\"name\":\"letterSpacing\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"vue-color\",\"label\":\"字体背景\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(115,170,229,.0)\"},{\"type\":\"el-select\",\"label\":\"文字粗细\",\"name\":\"fontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体\"}],\"value\":\"normal\"},{\"type\":\"el-select\",\"label\":\"对齐方式\",\"name\":\"textAlign\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"center\",\"name\":\"居中\"},{\"code\":\"left\",\"name\":\"左对齐\"},{\"code\":\"right\",\"name\":\"右对齐\"}],\"value\":\"center\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":241},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":792},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":139},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":40}]}', NULL, 1, 0, 20, 'admin', '2021-07-02 16:10:09', 'admin', '2021-07-02 16:10:09', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8329, 'car_ajreport', 'widget-text', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":false,\"reversalX\":\"\",\"marginRight\":40,\"minHeight\":0,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"layoutFront\":\"\",\"text\":\"返修排名\",\"xName\":\"\",\"isShowY\":true,\"radius\":5,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"textAlign\":\"center\",\"subTextColor\":\"#fff\",\"textColor\":\"#FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"background\":\"rgba(115,170,229,.0)\",\"fontSize\":26,\"marginBottom\":10,\"layerName\":\"文本框\",\"hideX\":true,\"verticalShow\":false,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"http://10.108.26.197/business/file/download/adfc22ac-ed7f-4141-aeb9-ee81f16ac92d\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":false,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#ff7f50\"},{\"color\":\"#87cefa\"},{\"color\":\"#da70d6\"},{\"color\":\"#32cd32\"},{\"color\":\"#6495ed\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":791,\"left\":824,\"width\":166,\"index\":20,\"height\":40}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"文本框\"},{\"type\":\"el-input-text\",\"label\":\"文本内容\",\"name\":\"text\",\"required\":false,\"placeholder\":\"\",\"value\":\"返修排名\"},{\"type\":\"el-input-number\",\"label\":\"字体大小\",\"name\":\"fontSize\",\"required\":false,\"placeholder\":\"\",\"value\":26},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"color\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(0, 206, 209, 1)\"},{\"type\":\"el-input-number\",\"label\":\"字体间距\",\"name\":\"letterSpacing\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"vue-color\",\"label\":\"字体背景\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(115,170,229,.0)\"},{\"type\":\"el-select\",\"label\":\"文字粗细\",\"name\":\"fontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体\"}],\"value\":\"normal\"},{\"type\":\"el-select\",\"label\":\"对齐方式\",\"name\":\"textAlign\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"center\",\"name\":\"居中\"},{\"code\":\"left\",\"name\":\"左对齐\"},{\"code\":\"right\",\"name\":\"右对齐\"}],\"value\":\"center\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":824},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":791},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":166},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":40}]}', NULL, 1, 0, 21, 'admin', '2021-07-02 16:10:09', 'admin', '2021-07-02 16:10:09', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8330, 'car_ajreport', 'widget-text', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":false,\"reversalX\":\"\",\"marginRight\":40,\"minHeight\":0,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"layoutFront\":\"\",\"text\":\"退货排名\",\"xName\":\"\",\"isShowY\":true,\"radius\":5,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"textAlign\":\"center\",\"subTextColor\":\"#fff\",\"textColor\":\"#FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"background\":\"rgba(115,170,229,.0)\",\"fontSize\":26,\"marginBottom\":10,\"layerName\":\"文本框\",\"hideX\":true,\"verticalShow\":false,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"http://10.108.26.197/business/file/download/adfc22ac-ed7f-4141-aeb9-ee81f16ac92d\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":false,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#ff7f50\"},{\"color\":\"#87cefa\"},{\"color\":\"#da70d6\"},{\"color\":\"#32cd32\"},{\"color\":\"#6495ed\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":792,\"left\":1456,\"width\":167,\"index\":21,\"height\":40}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"文本框\"},{\"type\":\"el-input-text\",\"label\":\"文本内容\",\"name\":\"text\",\"required\":false,\"placeholder\":\"\",\"value\":\"退货排名\"},{\"type\":\"el-input-number\",\"label\":\"字体大小\",\"name\":\"fontSize\",\"required\":false,\"placeholder\":\"\",\"value\":26},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"color\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(0, 206, 209, 1)\"},{\"type\":\"el-input-number\",\"label\":\"字体间距\",\"name\":\"letterSpacing\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"vue-color\",\"label\":\"字体背景\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(115,170,229,.0)\"},{\"type\":\"el-select\",\"label\":\"文字粗细\",\"name\":\"fontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体\"}],\"value\":\"normal\"},{\"type\":\"el-select\",\"label\":\"对齐方式\",\"name\":\"textAlign\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"center\",\"name\":\"居中\"},{\"code\":\"left\",\"name\":\"左对齐\"},{\"code\":\"right\",\"name\":\"右对齐\"}],\"value\":\"center\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":1456},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":792},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":167},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":40}]}', NULL, 1, 0, 22, 'admin', '2021-07-02 16:10:09', 'admin', '2021-07-02 16:10:09', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8465, 'blank', 'widget-barchart', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":false,\"reversalX\":\"\",\"minHeight\":0,\"marginRight\":40,\"textInterval\":\"\",\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"layoutFront\":\"\",\"radius\":5,\"xName\":\"\",\"isShowY\":true,\"fontWeight\":\"normal\",\"maxWidth\":10,\"textAlign\":\"center\",\"subTextColor\":\"#fff\",\"textColor\":\"#FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"background\":\"\",\"marginBottom\":10,\"layerName\":\"柱状图\",\"hideX\":true,\"verticalShow\":false,\"NameColorY\":\"#fff\",\"isShowSplitLineX\":false,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"fontSizeY\":12,\"fontSizeX\":12,\"colorY\":\"#fff\",\"NameFontSizeY\":12,\"isShow\":false,\"textFontSize\":20,\"customColor\":[{\"color\":\"#ff7f50\"},{\"color\":\"#87cefa\"},{\"color\":\"#da70d6\"},{\"color\":\"#32cd32\"},{\"color\":\"#6495ed\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"isShowLegend\":true,\"marginTop\":50}', '{\"dataType\":\"staticData\",\"refreshTime\":5000,\"staticData\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1000,2229,3879,2379,4079]}]}\"}', '', '{\"top\":168,\"left\":202,\"width\":400,\"index\":0,\"height\":200}', '{\"data\":[{\"type\":\"el-radio-group\",\"label\":\"数据类型\",\"name\":\"dataType\",\"require\":false,\"placeholder\":\"\",\"selectValue\":true,\"selectOptions\":[{\"code\":\"staticData\",\"name\":\"静态数据\"},{\"code\":\"dynamicData\",\"name\":\"动态数据\"}],\"value\":\"staticData\"},{\"type\":\"el-input-number\",\"label\":\"刷新时间(毫秒)\",\"name\":\"refreshTime\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"value\":5000},{\"type\":\"el-button\",\"label\":\"静态数据\",\"name\":\"staticData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"staticData\",\"value\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1000,2229,3879,2379,4079]}]}\"},{\"type\":\"dycustComponents\",\"label\":\"\",\"name\":\"dynamicData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"chartType\":\"widget-barchart\",\"value\":\"\"}],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"柱状图\"},{\"type\":\"el-switch\",\"label\":\"竖展示\",\"name\":\"verticalShow\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},[{\"name\":\"柱体设置\",\"list\":[{\"type\":\"el-slider\",\"label\":\"最大宽度\",\"name\":\"maxWidth\",\"required\":false,\"placeholder\":\"\",\"value\":10},{\"type\":\"el-slider\",\"label\":\"圆角\",\"name\":\"radius\",\"require\":false,\"placeholder\":\"\",\"value\":5},{\"type\":\"el-slider\",\"label\":\"最小高度\",\"name\":\"minHeight\",\"require\":false,\"placeholder\":\"\",\"value\":0}]},{\"name\":\"标题设置\",\"list\":[{\"type\":\"el-switch\",\"label\":\"标题\",\"name\":\"isNoTitle\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-input-text\",\"label\":\"标题\",\"name\":\"titleText\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"textColor\",\"required\":false,\"placeholder\":\"\",\"value\":\"#FFD700\"},{\"type\":\"el-select\",\"label\":\"字体粗细\",\"name\":\"textFontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体\"}],\"value\":\"normal\"},{\"type\":\"el-input-number\",\"label\":\"字体大小\",\"name\":\"textFontSize\",\"required\":false,\"placeholder\":\"\",\"value\":20},{\"type\":\"el-select\",\"label\":\"字体位置\",\"name\":\"textAlign\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"center\",\"name\":\"居中\"},{\"code\":\"left\",\"name\":\"左对齐\"},{\"code\":\"right\",\"name\":\"右对齐\"}],\"value\":\"center\"},{\"type\":\"el-input-text\",\"label\":\"副标题\",\"name\":\"subText\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"subTextColor\",\"required\":false,\"pLine truncated
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8466, 'blank', 'widget-map', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":false,\"barEnd\":\"#004DA7FF\",\"reversalX\":\"\",\"minHeight\":0,\"marginRight\":40,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"layoutFront\":\"\",\"radius\":5,\"xName\":\"\",\"isShowY\":true,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"textAlign\":\"center\",\"subTextColor\":\"#90979c\",\"textColor\":\"#fff\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"barStart\":\"#00F4FFFF\",\"subTextFontSize\":20,\"background\":\"\",\"marginBottom\":10,\"layerName\":\"地图完善中\",\"hideX\":true,\"videoAdress\":\"http://vd3.bdstatic.com/mda-mc9pbaqbdzd5hw41/mda-mc9pbaqbdzd5hw41.mp4?playlist=%5B%22hd%22%2C%22sc%22%5D\",\"verticalShow\":false,\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"NameFontSizeY\":12,\"isShow\":false,\"textFontSize\":22,\"customColor\":[{\"color\":\"#ff7f50\"},{\"color\":\"#87cefa\"},{\"color\":\"#da70d6\"},{\"color\":\"#32cd32\"},{\"color\":\"#6495ed\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":208,\"left\":738,\"width\":836,\"index\":1,\"height\":565}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"地图完善中\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":738},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":208},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":836},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":565}]}', NULL, 1, 0, 2, 'admin', '2021-07-02 16:39:27', 'admin', '2021-07-02 16:39:27', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8467, 'blank', 'widget-gradient-color-barchart', '{\"NameColorY\":\"#fff\",\"isShowSplitLineX\":false,\"reversalY\":false,\"barEnd\":\"#004DA7FF\",\"reversalX\":\"\",\"isShowSplitLineY\":false,\"marginRight\":40,\"textInterval\":\"\",\"splitLineColorY\":\"#fff\",\"isNoTitle\":true,\"splitLineColorX\":\"#fff\",\"textFontWeight\":\"normal\",\"titleText\":\"\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xName\":\"\",\"isShowY\":true,\"xNameColor\":\"#fff\",\"fontSizeY\":12,\"fontSizeX\":12,\"textAlign\":\"center\",\"colorY\":\"#fff\",\"subTextColor\":\"#90979c\",\"textColor\":\"#fff\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"NameFontSizeY\":12,\"marginLeft\":10,\"textFontSize\":22,\"barStart\":\"#00F4FFFF\",\"subTextFontSize\":20,\"subTextFontWeight\":\"normal\",\"background\":\"\",\"marginBottom\":10,\"layerName\":\"柱状图\",\"hideX\":true,\"marginTop\":50}', '{\"dataType\":\"staticData\",\"refreshTime\":5000,\"staticData\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1000,2229,3879,2379,4079]}]}\"}', '', '{\"top\":633,\"left\":187,\"width\":400,\"index\":2,\"height\":200}', '{\"data\":[{\"type\":\"el-radio-group\",\"label\":\"数据类型\",\"name\":\"dataType\",\"require\":false,\"placeholder\":\"\",\"selectValue\":true,\"selectOptions\":[{\"code\":\"staticData\",\"name\":\"静态数据\"},{\"code\":\"dynamicData\",\"name\":\"动态数据\"}],\"value\":\"staticData\"},{\"type\":\"el-input-number\",\"label\":\"刷新时间(毫秒)\",\"name\":\"refreshTime\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"value\":5000},{\"type\":\"el-button\",\"label\":\"静态数据\",\"name\":\"staticData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"staticData\",\"value\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1000,2229,3879,2379,4079]}]}\"},{\"type\":\"dycustComponents\",\"label\":\"\",\"name\":\"dynamicData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"chartType\":\"widget-barchart\",\"value\":\"\"}],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"柱状图\"},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},[{\"name\":\"标题设置\",\"list\":[{\"type\":\"el-switch\",\"label\":\"标题\",\"name\":\"isNoTitle\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-input-text\",\"label\":\"标题\",\"name\":\"titleText\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"textColor\",\"required\":false,\"placeholder\":\"\",\"value\":\"#fff\"},{\"type\":\"el-select\",\"label\":\"字体粗细\",\"name\":\"textFontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体\"}],\"value\":\"normal\"},{\"type\":\"el-input-number\",\"label\":\"字体大小\",\"name\":\"textFontSize\",\"required\":false,\"placeholder\":\"\",\"value\":22},{\"type\":\"el-select\",\"label\":\"字体位置\",\"name\":\"textAlign\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"center\",\"name\":\"居中\"},{\"code\":\"left\",\"name\":\"左对齐\"},{\"code\":\"right\",\"name\":\"右对齐\"}],\"value\":\"center\"},{\"type\":\"el-input-text\",\"label\":\"副标题\",\"name\":\"subText\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"subTextColor\",\"required\":false,\"placeholder\":\"\",\"value\":\"#90979c\"},{\"type\":\"el-input-text\",\"label\":\"字体粗细\",\"name\":\"subTextFontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体\"}],\"value\":\"normal\"},{\"type\":\"el-input-number\",\"label\":\"字体大小\",\"name\":\"subTextFontSize\",\"required\":false,\"placeholder\":\"\",\"value\":20}]},{\"name\":\"X轴设置\",\"list\":[{\"type\":\"el-input-text\",\"label\":\"名称\",\"name\":\"xName\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},{\"type\":\"el-switch\",\"label\":\"显示\",\"name\":\"hideX\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"vue-color\",\"label\":\"坐标名颜色\",\"name\":\"xNameColor\",\"required\Line truncated
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8677, 'logn_ajreport', 'widget-image', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":false,\"barEnd\":\"#004DA7FF\",\"reversalX\":\"\",\"marginRight\":40,\"minHeight\":0,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"percentage\":true,\"startRotate\":false,\"layoutFront\":\"\",\"text\":\"日志大屏\",\"xName\":\"\",\"isShowY\":true,\"radius\":5,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"imageAdress\":\"https://report.anji-plus.com/file/download/title2\",\"textAlign\":\"center\",\"subTextColor\":\"#fff\",\"textColor\":\"#FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"barStart\":\"#00F4FFFF\",\"subTextFontSize\":20,\"borderRadius\":0,\"transparency\":100,\"fontSize\":60,\"marginBottom\":10,\"layerName\":\"图片\",\"hideX\":true,\"verticalShow\":true,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"numberValue\":false,\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":true,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#ff7f50\"},{\"color\":\"#87cefa\"},{\"color\":\"#da70d6\"},{\"color\":\"#32cd32\"},{\"color\":\"#6495ed\"},{\"color\":\"#F2B1B1\"},{\"color\":\"#E4DAA5\"},{\"color\":\"#AAE8AA\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":0,\"left\":7,\"width\":1873,\"index\":19,\"height\":131}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"图片\"},{\"type\":\"el-switch\",\"label\":\"开启旋转\",\"name\":\"startRotate\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"el-slider\",\"label\":\"透明度\",\"name\":\"transparency\",\"required\":false,\"placeholder\":\"\",\"value\":100},{\"type\":\"el-input-number\",\"label\":\"圆角\",\"name\":\"borderRadius\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"custom-upload\",\"label\":\"图片地址\",\"name\":\"imageAdress\",\"required\":false,\"placeholder\":\"\",\"value\":\"https://report.anji-plus.com/file/download/title2\"},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":7},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":0},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":1873},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":131}]}', NULL, 1, 0, 1, 'admin', '2021-07-02 17:14:57', 'admin', '2021-07-02 17:14:57', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8678, 'logn_ajreport', 'widget-image', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"left\",\"reversalY\":false,\"barEnd\":\"#004DA7FF\",\"reversalX\":false,\"marginRight\":40,\"minHeight\":0,\"textInterval\":0,\"isNoTitle\":false,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"percentage\":true,\"startRotate\":false,\"layoutFront\":\"\",\"text\":\"文本框\",\"xName\":\"\",\"isShowY\":true,\"radius\":5,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"imageAdress\":\"https://report.anji-plus.com/file/download/border2@2x\",\"textAlign\":\"center\",\"lineColor\":\"\",\"subTextColor\":\"#fff\",\"textColor\":\"##FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"barStart\":\"#00F4FFFF\",\"subTextFontSize\":20,\"borderRadius\":0,\"transparency\":100,\"fontSize\":26,\"marginBottom\":10,\"layerName\":\"图片\",\"hideX\":true,\"verticalShow\":true,\"color\":\"#FAD400\",\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"numberValue\":false,\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":true,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#1E90FF\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":133,\"left\":632,\"width\":620,\"index\":19,\"height\":440}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"图片\"},{\"type\":\"el-switch\",\"label\":\"开启旋转\",\"name\":\"startRotate\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"el-slider\",\"label\":\"透明度\",\"name\":\"transparency\",\"required\":false,\"placeholder\":\"\",\"value\":100},{\"type\":\"el-input-number\",\"label\":\"圆角\",\"name\":\"borderRadius\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"custom-upload\",\"label\":\"图片地址\",\"name\":\"imageAdress\",\"required\":false,\"placeholder\":\"\",\"value\":\"https://report.anji-plus.com/file/download/border2@2x\"},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":632},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":133},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":620},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":440}]}', NULL, 1, 0, 2, 'admin', '2021-07-02 17:14:57', 'admin', '2021-07-02 17:14:57', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8679, 'logn_ajreport', 'widget-image', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":false,\"barEnd\":\"#004DA7FF\",\"reversalX\":\"\",\"marginRight\":40,\"minHeight\":0,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"percentage\":true,\"startRotate\":false,\"layoutFront\":\"\",\"text\":\"日志大屏\",\"xName\":\"\",\"isShowY\":true,\"radius\":5,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"imageAdress\":\"https://report.anji-plus.com/file/download/border3@2x\",\"textAlign\":\"center\",\"subTextColor\":\"#fff\",\"textColor\":\"#FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"barStart\":\"#00F4FFFF\",\"subTextFontSize\":20,\"borderRadius\":0,\"transparency\":100,\"fontSize\":60,\"marginBottom\":10,\"layerName\":\"图片\",\"hideX\":true,\"verticalShow\":true,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"numberValue\":false,\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":true,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#ff7f50\"},{\"color\":\"#87cefa\"},{\"color\":\"#da70d6\"},{\"color\":\"#32cd32\"},{\"color\":\"#6495ed\"},{\"color\":\"#F2B1B1\"},{\"color\":\"#E4DAA5\"},{\"color\":\"#AAE8AA\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":593,\"left\":4,\"width\":620,\"index\":19,\"height\":450}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"图片\"},{\"type\":\"el-switch\",\"label\":\"开启旋转\",\"name\":\"startRotate\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"el-slider\",\"label\":\"透明度\",\"name\":\"transparency\",\"required\":false,\"placeholder\":\"\",\"value\":100},{\"type\":\"el-input-number\",\"label\":\"圆角\",\"name\":\"borderRadius\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"custom-upload\",\"label\":\"图片地址\",\"name\":\"imageAdress\",\"required\":false,\"placeholder\":\"\",\"value\":\"https://report.anji-plus.com/file/download/border3@2x\"},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":4},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":593},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":620},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":450}]}', NULL, 1, 0, 3, 'admin', '2021-07-02 17:14:57', 'admin', '2021-07-02 17:14:57', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8680, 'logn_ajreport', 'widget-image', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":false,\"barEnd\":\"#004DA7FF\",\"reversalX\":\"\",\"marginRight\":40,\"minHeight\":0,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"percentage\":true,\"startRotate\":false,\"layoutFront\":\"\",\"text\":\"日志大屏\",\"xName\":\"\",\"isShowY\":true,\"radius\":5,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"imageAdress\":\"https://report.anji-plus.com/file/download/border3@2x\",\"textAlign\":\"center\",\"subTextColor\":\"#fff\",\"textColor\":\"#FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"barStart\":\"#00F4FFFF\",\"subTextFontSize\":20,\"borderRadius\":0,\"transparency\":100,\"fontSize\":60,\"marginBottom\":10,\"layerName\":\"图片\",\"hideX\":true,\"verticalShow\":true,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"numberValue\":false,\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":true,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#ff7f50\"},{\"color\":\"#87cefa\"},{\"color\":\"#da70d6\"},{\"color\":\"#32cd32\"},{\"color\":\"#6495ed\"},{\"color\":\"#F2B1B1\"},{\"color\":\"#E4DAA5\"},{\"color\":\"#AAE8AA\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":590,\"left\":1261,\"width\":620,\"index\":1,\"height\":450}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"图片\"},{\"type\":\"el-switch\",\"label\":\"开启旋转\",\"name\":\"startRotate\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"el-slider\",\"label\":\"透明度\",\"name\":\"transparency\",\"required\":false,\"placeholder\":\"\",\"value\":100},{\"type\":\"el-input-number\",\"label\":\"圆角\",\"name\":\"borderRadius\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"custom-upload\",\"label\":\"图片地址\",\"name\":\"imageAdress\",\"required\":false,\"placeholder\":\"\",\"value\":\"https://report.anji-plus.com/file/download/border3@2x\"},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":1261},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":590},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":620},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":450}]}', NULL, 1, 0, 4, 'admin', '2021-07-02 17:14:57', 'admin', '2021-07-02 17:14:57', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8681, 'logn_ajreport', 'widget-image', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"left\",\"reversalY\":false,\"barEnd\":\"#004DA7FF\",\"reversalX\":false,\"marginRight\":40,\"minHeight\":0,\"textInterval\":0,\"isNoTitle\":false,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"percentage\":true,\"startRotate\":false,\"layoutFront\":\"\",\"text\":\"文本框\",\"xName\":\"\",\"isShowY\":true,\"radius\":5,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"imageAdress\":\"https://report.anji-plus.com/file/download/border2@2x\",\"textAlign\":\"center\",\"lineColor\":\"\",\"subTextColor\":\"#fff\",\"textColor\":\"##FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"barStart\":\"#00F4FFFF\",\"subTextFontSize\":20,\"borderRadius\":0,\"transparency\":100,\"fontSize\":26,\"marginBottom\":10,\"layerName\":\"图片\",\"hideX\":true,\"verticalShow\":true,\"color\":\"#FAD400\",\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"numberValue\":false,\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":true,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#1E90FF\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":594,\"left\":633,\"width\":620,\"index\":3,\"height\":450}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"图片\"},{\"type\":\"el-switch\",\"label\":\"开启旋转\",\"name\":\"startRotate\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"el-slider\",\"label\":\"透明度\",\"name\":\"transparency\",\"required\":false,\"placeholder\":\"\",\"value\":100},{\"type\":\"el-input-number\",\"label\":\"圆角\",\"name\":\"borderRadius\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"custom-upload\",\"label\":\"图片地址\",\"name\":\"imageAdress\",\"required\":false,\"placeholder\":\"\",\"value\":\"https://report.anji-plus.com/file/download/border2@2x\"},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":633},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":594},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":620},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":450}]}', NULL, 1, 0, 5, 'admin', '2021-07-02 17:14:57', 'admin', '2021-07-02 17:14:57', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8682, 'logn_ajreport', 'widget-image', '{\"color\":\"#FAD400\",\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"lengedColor\":\"#fff\",\"lateralPosition\":\"right\",\"title\":\"大屏\",\"isNoTitle\":true,\"lengedFontSize\":20,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"percentage\":true,\"startRotate\":false,\"layoutFront\":\"\",\"text\":\"文本框\",\"numberValue\":false,\"fontWeight\":\"normal\",\"lengedWidth\":10,\"height\":1080,\"imageAdress\":\"https://report.anji-plus.com/file/download/border@2x\",\"backgroundColor\":\"#000\",\"textAlign\":\"left\",\"letterSpacing\":0,\"lineColor\":\"\",\"subTextColor\":\"\",\"textColor\":\"\",\"subText\":\"\",\"isShow\":true,\"textFontSize\":20,\"subTextFontSize\":0,\"customColor\":[{\"color\":\"#0CD2E6\"},{\"color\":\"#00BFA5\"},{\"color\":\"#FFC722\"},{\"color\":\"#886EFF\"},{\"color\":\"#008DEC\"}],\"longitudinalPosition\":\"\",\"borderRadius\":0,\"subTextFontWeight\":\"normal\",\"transparency\":100,\"width\":1920,\"isShowLegend\":true,\"fontSize\":0,\"layerName\":\"图片\"}', '{}', '', '{\"top\":134,\"left\":5,\"width\":620,\"index\":1,\"height\":440}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"图片\"},{\"type\":\"el-switch\",\"label\":\"开启旋转\",\"name\":\"startRotate\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"el-slider\",\"label\":\"透明度\",\"name\":\"transparency\",\"required\":false,\"placeholder\":\"\",\"value\":100},{\"type\":\"el-input-number\",\"label\":\"圆角\",\"name\":\"borderRadius\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"custom-upload\",\"label\":\"图片地址\",\"name\":\"imageAdress\",\"required\":false,\"placeholder\":\"\",\"value\":\"https://report.anji-plus.com/file/download/border@2x\"},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":5},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":134},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":620},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":440}]}', NULL, 1, 0, 6, 'admin', '2021-07-02 17:14:57', 'admin', '2021-07-02 17:14:57', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8683, 'logn_ajreport', 'widget-image', '{\"color\":\"#FAD400\",\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"lengedColor\":\"#fff\",\"lateralPosition\":\"right\",\"title\":\"大屏\",\"isNoTitle\":true,\"lengedFontSize\":20,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"percentage\":true,\"startRotate\":false,\"layoutFront\":\"\",\"text\":\"文本框\",\"numberValue\":false,\"fontWeight\":\"normal\",\"lengedWidth\":10,\"height\":1080,\"imageAdress\":\"https://report.anji-plus.com/file/download/border@2x\",\"backgroundColor\":\"#000\",\"textAlign\":\"left\",\"letterSpacing\":0,\"lineColor\":\"\",\"subTextColor\":\"\",\"textColor\":\"\",\"subText\":\"\",\"isShow\":true,\"textFontSize\":20,\"subTextFontSize\":0,\"customColor\":[{\"color\":\"#0CD2E6\"},{\"color\":\"#00BFA5\"},{\"color\":\"#FFC722\"},{\"color\":\"#886EFF\"},{\"color\":\"#008DEC\"}],\"longitudinalPosition\":\"\",\"borderRadius\":0,\"subTextFontWeight\":\"normal\",\"transparency\":100,\"width\":1920,\"isShowLegend\":true,\"fontSize\":0,\"layerName\":\"图片\"}', '{}', '', '{\"top\":134,\"left\":1264,\"width\":620,\"index\":1,\"height\":440}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"图片\"},{\"type\":\"el-switch\",\"label\":\"开启旋转\",\"name\":\"startRotate\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"el-slider\",\"label\":\"透明度\",\"name\":\"transparency\",\"required\":false,\"placeholder\":\"\",\"value\":100},{\"type\":\"el-input-number\",\"label\":\"圆角\",\"name\":\"borderRadius\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"custom-upload\",\"label\":\"图片地址\",\"name\":\"imageAdress\",\"required\":false,\"placeholder\":\"\",\"value\":\"https://report.anji-plus.com/file/download/border@2x\"},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":1264},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":134},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":620},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":440}]}', NULL, 1, 0, 7, 'admin', '2021-07-02 17:14:57', 'admin', '2021-07-02 17:14:57', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8684, 'logn_ajreport', 'widget-hollow-piechart', '{\"color\":\"#FAD400\",\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"lengedColor\":\"#fff\",\"lateralPosition\":\"right\",\"title\":\"大屏\",\"isNoTitle\":true,\"lengedFontSize\":20,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"percentage\":true,\"layoutFront\":\"\",\"text\":\"文本框\",\"numberValue\":false,\"fontWeight\":\"normal\",\"lengedWidth\":10,\"height\":1080,\"backgroundColor\":\"#000\",\"textAlign\":\"left\",\"letterSpacing\":0,\"lineColor\":\"\",\"subTextColor\":\"\",\"textColor\":\"\",\"subText\":\"\",\"isShow\":true,\"textFontSize\":20,\"subTextFontSize\":0,\"customColor\":[{\"color\":\"#0CD2E6\"},{\"color\":\"#00BFA5\"},{\"color\":\"#FFC722\"},{\"color\":\"#886EFF\"},{\"color\":\"#008DEC\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"background\":\"\",\"width\":1920,\"isShowLegend\":true,\"fontSize\":0,\"layerName\":\"空心饼图\"}', '{\"dynamicData\":{\"chartProperties\":{\"device_type\":\"name\",\"nums\":\"value\"},\"setCode\":\"log_ajdevices\",\"chartType\":\"widget-hollow-piechart\",\"contextData\":{}},\"dataType\":\"dynamicData\",\"refreshTime\":50000,\"staticData\":\"[{\\\"value\\\": 1048,\\\"name\\\": \\\"搜索引擎\\\"},{\\\"value\\\": 735, \\\"name\\\": \\\"直接访问\\\"},{\\\"value\\\": 580, \\\"name\\\": \\\"邮件营销\\\"},{\\\"value\\\": 484,\\\"name\\\":\\\"联盟广告\\\"},{\\\"value\\\":300,\\\"name\\\":\\\"视频广告\\\"}]\"}', '', '{\"top\":199,\"left\":8,\"width\":610,\"index\":3,\"height\":360}', '{\"data\":[{\"type\":\"el-radio-group\",\"label\":\"数据类型\",\"name\":\"dataType\",\"require\":false,\"placeholder\":\"\",\"selectValue\":true,\"selectOptions\":[{\"code\":\"staticData\",\"name\":\"静态数据\"},{\"code\":\"dynamicData\",\"name\":\"动态数据\"}],\"value\":\"dynamicData\"},{\"type\":\"el-input-number\",\"label\":\"刷新时间(毫秒)\",\"name\":\"refreshTime\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"value\":50000},{\"type\":\"el-button\",\"label\":\"静态数据\",\"name\":\"staticData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"staticData\",\"value\":\"[{\\\"value\\\": 1048,\\\"name\\\": \\\"搜索引擎\\\"},{\\\"value\\\": 735, \\\"name\\\": \\\"直接访问\\\"},{\\\"value\\\": 580, \\\"name\\\": \\\"邮件营销\\\"},{\\\"value\\\": 484,\\\"name\\\":\\\"联盟广告\\\"},{\\\"value\\\":300,\\\"name\\\":\\\"视频广告\\\"}]\"},{\"type\":\"dycustComponents\",\"label\":\"\",\"name\":\"dynamicData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"chartType\":\"widget-hollow-piechart\",\"relactiveDomValue\":\"dynamicData\",\"value\":{\"chartProperties\":{\"device_type\":\"name\",\"nums\":\"value\"},\"setCode\":\"log_ajdevices\",\"chartType\":\"widget-hollow-piechart\",\"contextData\":{}}}],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"空心饼图\"},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},[{\"name\":\"标题设置\",\"list\":[{\"type\":\"el-switch\",\"label\":\"标题\",\"name\":\"isNoTitle\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-input-text\",\"label\":\"标题\",\"name\":\"titleText\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"textColor\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},{\"type\":\"el-select\",\"label\":\"字体粗细\",\"name\":\"textFontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体\"}],\"value\":\"normal\"},{\"type\":\"el-input-number\",\"label\":\"字体大小\",\"name\":\"textFontSize\",\"required\":false,\"placeholder\":\"\",\"value\":20},{\"type\":\"el-select\",\"label\":\"字体位置\",\"name\":\"textAlign\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"center\",\"name\":\"居中\"},{\"code\":\"left\",\"name\":\"左对齐\"},{\"code\":\"right\",\"name\":\"右对齐\"}],\"value\":\"left\"},{\"type\":\"el-input-text\",\"label\":\"副标题\",\"name\":\"subText\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"subTextColor\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},{\"type\":\"el-select\",\"label\":\"字体粗细\",\"name\":\"subTextFontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{Line truncated
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8685, 'logn_ajreport', 'widget-text', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"right\",\"reversalY\":false,\"barEnd\":\"#004DA7FF\",\"reversalX\":false,\"marginRight\":40,\"minHeight\":0,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"percentage\":true,\"layoutFront\":\"\",\"text\":\"资产统计\",\"xName\":\"\",\"isShowY\":true,\"radius\":5,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"textAlign\":\"center\",\"lineColor\":\"\",\"subTextColor\":\"\",\"textColor\":\"\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"barStart\":\"#00F4FFFF\",\"subTextFontSize\":0,\"background\":\"rgba(115,170,229,.0)\",\"fontSize\":30,\"marginBottom\":10,\"layerName\":\"文本框\",\"hideX\":true,\"verticalShow\":true,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":20,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"numberValue\":false,\"xNameColor\":\"#fff\",\"lengedWidth\":10,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":true,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#0CD2E6\"},{\"color\":\"#00BFA5\"},{\"color\":\"#FFC722\"},{\"color\":\"#886EFF\"},{\"color\":\"#008DEC\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":143,\"left\":222,\"width\":200,\"index\":8,\"height\":50}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"文本框\"},{\"type\":\"el-input-text\",\"label\":\"文本内容\",\"name\":\"text\",\"required\":false,\"placeholder\":\"\",\"value\":\"资产统计\"},{\"type\":\"el-input-number\",\"label\":\"字体大小\",\"name\":\"fontSize\",\"required\":false,\"placeholder\":\"\",\"value\":30},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"color\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(0, 206, 209, 1)\"},{\"type\":\"el-input-number\",\"label\":\"字体间距\",\"name\":\"letterSpacing\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"vue-color\",\"label\":\"字体背景\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(115,170,229,.0)\"},{\"type\":\"el-select\",\"label\":\"文字粗细\",\"name\":\"fontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体\"}],\"value\":\"normal\"},{\"type\":\"el-select\",\"label\":\"对齐方式\",\"name\":\"textAlign\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"center\",\"name\":\"居中\"},{\"code\":\"left\",\"name\":\"左对齐\"},{\"code\":\"right\",\"name\":\"右对齐\"}],\"value\":\"center\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":222},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":143},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":200},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":50}]}', NULL, 1, 0, 9, 'admin', '2021-07-02 17:14:57', 'admin', '2021-07-02 17:14:57', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8686, 'logn_ajreport', 'widget-gradient-color-barchart', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"left\",\"reversalY\":false,\"barEnd\":\"#004DA7FF\",\"reversalX\":false,\"marginRight\":40,\"minHeight\":0,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"layoutFront\":\"\",\"xName\":\"\",\"isShowY\":true,\"radius\":5,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"textAlign\":\"center\",\"lineColor\":\"\",\"subTextColor\":\"#90979c\",\"textColor\":\"#fff\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"barStart\":\"#00F4FFFF\",\"subTextFontSize\":20,\"background\":\"\",\"fontSize\":0,\"marginBottom\":10,\"layerName\":\"柱状图\",\"hideX\":true,\"verticalShow\":false,\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":15,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":false,\"textFontSize\":22,\"pointSize\":10,\"customColor\":[{\"color\":\"#1E90FF\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{\"dynamicData\":{\"chartProperties\":{\"acl_type\":\"xAxis\",\"nums\":\"bar\"},\"setCode\":\"log_ajfireacl\",\"chartType\":\"widget-barchart\",\"contextData\":{}},\"dataType\":\"dynamicData\",\"refreshTime\":50000,\"staticData\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1000,2229,3879,2379,4079]}]}\"}', '', '{\"top\":200,\"left\":640,\"width\":610,\"index\":4,\"height\":360}', '{\"data\":[{\"type\":\"el-radio-group\",\"label\":\"数据类型\",\"name\":\"dataType\",\"require\":false,\"placeholder\":\"\",\"selectValue\":true,\"selectOptions\":[{\"code\":\"staticData\",\"name\":\"静态数据\"},{\"code\":\"dynamicData\",\"name\":\"动态数据\"}],\"value\":\"dynamicData\"},{\"type\":\"el-input-number\",\"label\":\"刷新时间(毫秒)\",\"name\":\"refreshTime\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"value\":50000},{\"type\":\"el-button\",\"label\":\"静态数据\",\"name\":\"staticData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"staticData\",\"value\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1000,2229,3879,2379,4079]}]}\"},{\"type\":\"dycustComponents\",\"label\":\"\",\"name\":\"dynamicData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"chartType\":\"widget-barchart\",\"value\":{\"chartProperties\":{\"acl_type\":\"xAxis\",\"nums\":\"bar\"},\"setCode\":\"log_ajfireacl\",\"chartType\":\"widget-barchart\",\"contextData\":{}}}],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"柱状图\"},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},[{\"name\":\"标题设置\",\"list\":[{\"type\":\"el-switch\",\"label\":\"标题\",\"name\":\"isNoTitle\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-input-text\",\"label\":\"标题\",\"name\":\"titleText\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"textColor\",\"required\":false,\"placeholder\":\"\",\"value\":\"#fff\"},{\"type\":\"el-select\",\"label\":\"字体粗细\",\"name\":\"textFontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体\"}],\"value\":\"normal\"},{\"type\":\"el-input-number\",\"label\":\"字体大小\",\"name\":\"textFontSize\",\"required\":false,\"placeholder\":\"\",\"value\":22},{\"type\":\"el-select\",\"label\":\"字体位置\",\"name\":\"textAlign\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"center\",\"name\":\"居中\"},{\"code\":\"left\",\"name\":\"左对齐\"},{\"code\":\"right\",\"name\":\"右对齐\"}],\"value\":\"center\"},{\"type\":\"el-input-text\",\"label\":\"副标题\",\"name\":\"subText\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},{\"type\":\"vue-color\",\Line truncated
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8687, 'logn_ajreport', 'widget-barchart', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":false,\"barEnd\":\"#004DA7FF\",\"reversalX\":\"\",\"marginRight\":40,\"minHeight\":0,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"layoutFront\":\"\",\"xName\":\"\",\"isShowY\":true,\"radius\":5,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"textAlign\":\"center\",\"subTextColor\":\"#fff\",\"textColor\":\"#FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"barStart\":\"#00F4FFFF\",\"subTextFontSize\":20,\"background\":\"\",\"marginBottom\":10,\"layerName\":\"柱状图\",\"hideX\":true,\"verticalShow\":true,\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":3,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":true,\"textFontSize\":20,\"pointSize\":5,\"customColor\":[{\"color\":\"#ff7f50\"},{\"color\":\"#87cefa\"},{\"color\":\"#da70d6\"},{\"color\":\"#32cd32\"},{\"color\":\"#6495ed\"},{\"color\":\"#F2B1B1\"},{\"color\":\"#E4DAA5\"},{\"color\":\"#AAE8AA\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{\"dynamicData\":{\"chartProperties\":{\"attack_type\":\"xAxis\",\"nums\":\"bar\"},\"setCode\":\"log_ajattack\",\"chartType\":\"widget-barchart\",\"contextData\":{}},\"dataType\":\"dynamicData\",\"refreshTime\":5000,\"staticData\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1000,2229,3879,2379,4079]}]}\"}', '', '{\"top\":203,\"left\":1270,\"width\":610,\"index\":5,\"height\":360}', '{\"data\":[{\"type\":\"el-radio-group\",\"label\":\"数据类型\",\"name\":\"dataType\",\"require\":false,\"placeholder\":\"\",\"selectValue\":true,\"selectOptions\":[{\"code\":\"staticData\",\"name\":\"静态数据\"},{\"code\":\"dynamicData\",\"name\":\"动态数据\"}],\"value\":\"dynamicData\"},{\"type\":\"el-input-number\",\"label\":\"刷新时间(毫秒)\",\"name\":\"refreshTime\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"value\":5000},{\"type\":\"el-button\",\"label\":\"静态数据\",\"name\":\"staticData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"staticData\",\"value\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1000,2229,3879,2379,4079]}]}\"},{\"type\":\"dycustComponents\",\"label\":\"\",\"name\":\"dynamicData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"chartType\":\"widget-barchart\",\"value\":{\"chartProperties\":{\"attack_type\":\"xAxis\",\"nums\":\"bar\"},\"setCode\":\"log_ajattack\",\"chartType\":\"widget-barchart\",\"contextData\":{}}}],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"柱状图\"},{\"type\":\"el-switch\",\"label\":\"竖展示\",\"name\":\"verticalShow\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},[{\"name\":\"柱体设置\",\"list\":[{\"type\":\"el-slider\",\"label\":\"最大宽度\",\"name\":\"maxWidth\",\"required\":false,\"placeholder\":\"\",\"value\":10},{\"type\":\"el-slider\",\"label\":\"圆角\",\"name\":\"radius\",\"require\":false,\"placeholder\":\"\",\"value\":5},{\"type\":\"el-slider\",\"label\":\"最小高度\",\"name\":\"minHeight\",\"require\":false,\"placeholder\":\"\",\"value\":0}]},{\"name\":\"标题设置\",\"list\":[{\"type\":\"el-switch\",\"label\":\"标题\",\"name\":\"isNoTitle\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-input-text\",\"label\":\"标题\",\"name\":\"titleText\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"textColor\",\"required\":false,\"placeholder\":\"\",\"value\":\"#FFD700\"},{\"type\":\"el-select\",\"label\":\"字体粗细\",\"name\":\"textFontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"Line truncated
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8688, 'logn_ajreport', 'widget-barchart', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":true,\"barEnd\":\"#004DA7FF\",\"reversalX\":false,\"marginRight\":40,\"minHeight\":0,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"percentage\":true,\"startRotate\":false,\"layoutFront\":\"\",\"text\":\"资产统计\",\"xName\":\"\",\"isShowY\":true,\"radius\":15,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":27,\"area\":true,\"imageAdress\":\"https://report.anji-plus.com/file/download/border@2x\",\"textAlign\":\"center\",\"subTextColor\":\"#fff\",\"textColor\":\"#FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"barStart\":\"#00F4FFFF\",\"subTextFontSize\":20,\"borderRadius\":0,\"background\":\"\",\"transparency\":100,\"marginBottom\":10,\"layerName\":\"柱状图\",\"hideX\":true,\"color\":\"#FAD400\",\"verticalShow\":true,\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":3,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"lengedFontSize\":16,\"areaThickness\":5,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"numberValue\":false,\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"fontSizeY\":12,\"smoothCurve\":true,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"NameFontSizeY\":12,\"markPoint\":true,\"isShow\":true,\"textFontSize\":20,\"pointSize\":5,\"customColor\":[{\"color\":\"#ff7f50\"},{\"color\":\"#87cefa\"},{\"color\":\"#da70d6\"},{\"color\":\"#32cd32\"},{\"color\":\"#6495ed\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{\"dynamicData\":{\"chartProperties\":{\"nums\":\"bar\",\"username\":\"xAxis\"},\"setCode\":\"log_ajmailfailtop5\",\"chartType\":\"widget-barchart\",\"contextData\":{}},\"dataType\":\"dynamicData\",\"refreshTime\":50000,\"staticData\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1000,2229,3879,2379,4079]}]}\"}', '', '{\"top\":673,\"left\":7,\"width\":610,\"index\":8,\"height\":370}', '{\"data\":[{\"type\":\"el-radio-group\",\"label\":\"数据类型\",\"name\":\"dataType\",\"require\":false,\"placeholder\":\"\",\"selectValue\":true,\"selectOptions\":[{\"code\":\"staticData\",\"name\":\"静态数据\"},{\"code\":\"dynamicData\",\"name\":\"动态数据\"}],\"value\":\"dynamicData\"},{\"type\":\"el-input-number\",\"label\":\"刷新时间(毫秒)\",\"name\":\"refreshTime\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"value\":50000},{\"type\":\"el-button\",\"label\":\"静态数据\",\"name\":\"staticData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"staticData\",\"value\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1000,2229,3879,2379,4079]}]}\"},{\"type\":\"dycustComponents\",\"label\":\"\",\"name\":\"dynamicData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"chartType\":\"widget-barchart\",\"value\":{\"chartProperties\":{\"nums\":\"bar\",\"username\":\"xAxis\"},\"setCode\":\"log_ajmailfailtop5\",\"chartType\":\"widget-barchart\",\"contextData\":{}}}],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"柱状图\"},{\"type\":\"el-switch\",\"label\":\"竖展示\",\"name\":\"verticalShow\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},[{\"name\":\"柱体设置\",\"list\":[{\"type\":\"el-slider\",\"label\":\"最大宽度\",\"name\":\"maxWidth\",\"required\":false,\"placeholder\":\"\",\"value\":27},{\"type\":\"el-slider\",\"label\":\"圆角\",\"name\":\"radius\",\"require\":false,\"placeholder\":\"\",\"value\":15},{\"type\":\"el-slider\",\"label\":\"最小高度\",\"name\":\"minHeight\",\"require\":false,\"placeholder\":\"\",\"value\":0}]},{\"name\":\"标题设置\",\"list\":[{\"type\":\"el-switch\",\"label\":\"标题\",\"name\":\"isNoTitle\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-input-text\",\"label\":\"标题\",\"name\":\"titleText\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"textColor\",\"required\":false,\"placeholder\":\"\",\"value\":\"#FFD700\"},{\"type\":\"el-select\",\"label\":\"字体粗细\",\"name\":\"textFontWeLine truncated
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8689, 'logn_ajreport', 'widget-linechart', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"left\",\"reversalY\":false,\"barEnd\":\"#004DA7FF\",\"reversalX\":false,\"marginRight\":40,\"minHeight\":0,\"textInterval\":0,\"isNoTitle\":false,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"percentage\":true,\"layoutFront\":\"\",\"text\":\"文本框\",\"xName\":\"\",\"isShowY\":true,\"radius\":5,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"textAlign\":\"center\",\"lineColor\":\"\",\"subTextColor\":\"#fff\",\"textColor\":\"##FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"barStart\":\"#00F4FFFF\",\"subTextFontSize\":20,\"background\":\"\",\"fontSize\":0,\"marginBottom\":10,\"layerName\":\"折线图\",\"hideX\":true,\"verticalShow\":true,\"color\":\"#FAD400\",\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"numberValue\":false,\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":true,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#1E90FF\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{\"dynamicData\":{\"chartProperties\":{\"date\":\"xAxis\",\"nums\":\"line\"},\"setCode\":\"log_ajmailfail\",\"chartType\":\"widget-linechart\",\"contextData\":{}},\"dataType\":\"dynamicData\",\"refreshTime\":50000,\"staticData\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1009,3409,2309,5409,3409]}]}\"}', '', '{\"top\":673,\"left\":638,\"width\":610,\"index\":9,\"height\":370}', '{\"data\":[{\"type\":\"el-radio-group\",\"label\":\"数据类型\",\"name\":\"dataType\",\"require\":false,\"placeholder\":\"\",\"selectValue\":true,\"selectOptions\":[{\"code\":\"staticData\",\"name\":\"静态数据\"},{\"code\":\"dynamicData\",\"name\":\"动态数据\"}],\"value\":\"dynamicData\"},{\"type\":\"el-input-number\",\"label\":\"刷新时间(毫秒)\",\"name\":\"refreshTime\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"value\":50000},{\"type\":\"el-button\",\"label\":\"静态数据\",\"name\":\"staticData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"staticData\",\"value\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1009,3409,2309,5409,3409]}]}\"},{\"type\":\"dycustComponents\",\"label\":\"\",\"name\":\"dynamicData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"chartType\":\"widget-linechart\",\"relactiveDomValue\":\"dynamicData\",\"value\":{\"chartProperties\":{\"date\":\"xAxis\",\"nums\":\"line\"},\"setCode\":\"log_ajmailfail\",\"chartType\":\"widget-linechart\",\"contextData\":{}}}],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"折线图\"},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},[{\"name\":\"折线设置\",\"list\":[{\"type\":\"el-switch\",\"label\":\"标记点\",\"name\":\"markPoint\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-slider\",\"label\":\"点大小\",\"name\":\"pointSize\",\"required\":false,\"placeholder\":\"\",\"value\":10},{\"type\":\"el-switch\",\"label\":\"平滑曲线\",\"name\":\"smoothCurve\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-switch\",\"label\":\"面积堆积\",\"name\":\"area\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-slider\",\"label\":\"面积厚度\",\"name\":\"areaThickness\",\"required\":false,\"placeholder\":\"\",\"value\":5},{\"type\":\"el-slider\",\"label\":\"线条宽度\",\"name\":\"lineWidth\",\"required\":false,\"placeholder\":\"\",\"value\":4}]},{\"name\":\"标题设置\",\"list\":[{\"type\":\"el-switch\",\"label\":\"标题\",\"name\":\"isNoTitle\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"el-input-text\",\"label\":\"标题\",\"name\":\"titleText\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"textColor\",\"required\":false,\"placeholder\":\"\",\"value\":\"##FFD700\"},{\"tyLine truncated
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8690, 'logn_ajreport', 'widget-barlinechart', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":0,\"barEnd\":\"#004DA7FF\",\"reversalX\":0,\"marginRight\":40,\"minHeight\":0,\"textInterval\":1,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"percentage\":true,\"layoutFront\":\"\",\"text\":\"文本框\",\"xName\":\"\",\"isShowY\":true,\"radius\":5,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"textAlign\":\"left\",\"lineColor\":\"#fff\",\"subTextColor\":\"#fff\",\"textColor\":\"#fff\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"barStart\":\"#00F4FFFF\",\"subTextFontSize\":20,\"background\":\"\",\"fontSize\":12,\"marginBottom\":10,\"layerName\":\"柱线图\",\"hideX\":true,\"verticalShow\":true,\"color\":\"#FAD400\",\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":3,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"numberValue\":false,\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":16,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":true,\"textFontSize\":20,\"pointSize\":5,\"customColor\":[{\"color\":\"#EDAC94\"},{\"color\":\"#90EE90\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{\"dynamicData\":{\"chartProperties\":{\"fail\":\"line\",\"datetime\":\"xAxis\",\"success\":\"bar\"},\"setCode\":\"log_ajwifiamount\",\"chartType\":\"widget-barlinechart\",\"contextData\":{}},\"dataType\":\"dynamicData\",\"refreshTime\":50000,\"staticData\":\"{\\\"xAxis\\\": [\\\"1月\\\", \\\"2月\\\", \\\"3月\\\", \\\"4月\\\", \\\"5月\\\",\\\"6月\\\", \\\"7月\\\", \\\"8月\\\",\\\"9月\\\",\\\"10月\\\",\\\"11月\\\",\\\"12月\\\"],\\\"series\\\": [{\\\"type\\\": \\\"bar\\\",\\\"name\\\": \\\"货运量\\\",\\\"data\\\": [2.6,5.9,9,26.4,28.7,70.7,175.6,182.2,48.7,18.8,6,2.3]},{\\\"type\\\": \\\"line\\\",\\\"name\\\": \\\"货运总量\\\",\\\"yAxisIndex\\\": 1,\\\"data\\\": [2,2.2,3.3,4.5,6.3,10.2,20.3,23.4,23,16.5,12,6.2]}]}\"}', '', '{\"top\":675,\"left\":1272,\"width\":610,\"index\":7,\"height\":360}', '{\"data\":[{\"type\":\"el-radio-group\",\"label\":\"数据类型\",\"name\":\"dataType\",\"require\":false,\"placeholder\":\"\",\"selectValue\":true,\"selectOptions\":[{\"code\":\"staticData\",\"name\":\"静态数据\"},{\"code\":\"dynamicData\",\"name\":\"动态数据\"}],\"value\":\"dynamicData\"},{\"type\":\"el-input-number\",\"label\":\"刷新时间(毫秒)\",\"name\":\"refreshTime\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"value\":50000},{\"type\":\"el-button\",\"label\":\"静态数据\",\"name\":\"staticData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"staticData\",\"value\":\"{\\\"xAxis\\\": [\\\"1月\\\", \\\"2月\\\", \\\"3月\\\", \\\"4月\\\", \\\"5月\\\",\\\"6月\\\", \\\"7月\\\", \\\"8月\\\",\\\"9月\\\",\\\"10月\\\",\\\"11月\\\",\\\"12月\\\"],\\\"series\\\": [{\\\"type\\\": \\\"bar\\\",\\\"name\\\": \\\"货运量\\\",\\\"data\\\": [2.6,5.9,9,26.4,28.7,70.7,175.6,182.2,48.7,18.8,6,2.3]},{\\\"type\\\": \\\"line\\\",\\\"name\\\": \\\"货运总量\\\",\\\"yAxisIndex\\\": 1,\\\"data\\\": [2,2.2,3.3,4.5,6.3,10.2,20.3,23.4,23,16.5,12,6.2]}]}\"},{\"type\":\"dycustComponents\",\"label\":\"\",\"name\":\"dynamicData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"chartType\":\"widget-barlinechart\",\"relactiveDomValue\":\"dynamicData\",\"value\":{\"chartProperties\":{\"fail\":\"line\",\"datetime\":\"xAxis\",\"success\":\"bar\"},\"setCode\":\"log_ajwifiamount\",\"chartType\":\"widget-barlinechart\",\"contextData\":{}}}],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"柱线图\"},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},[{\"name\":\"折线设置\",\"list\":[{\"type\":\"el-switch\",\"label\":\"标记点\",\"name\":\"markPoint\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-slider\",\"label\":\"点大小\",\"name\":\"pointSize\",\"required\":false,\"placeholder\":\"\",\"value\":5},{\"type\":\"el-switch\",\"label\":\"平滑曲线\",\"name\":\"smoothCurve\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-switch\",\"label\":\"面积堆积\",\"name\":\"area\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-slider\",\"label\":\"面Line truncated
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8691, 'logn_ajreport', 'widget-text', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"right\",\"reversalY\":false,\"barEnd\":\"#004DA7FF\",\"reversalX\":false,\"marginRight\":40,\"minHeight\":0,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"percentage\":true,\"layoutFront\":\"\",\"text\":\"邮件认证失败TOP5\",\"xName\":\"\",\"isShowY\":true,\"radius\":5,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"textAlign\":\"center\",\"lineColor\":\"\",\"subTextColor\":\"\",\"textColor\":\"\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"barStart\":\"#00F4FFFF\",\"subTextFontSize\":0,\"background\":\"rgba(115,170,229,.0)\",\"fontSize\":30,\"marginBottom\":10,\"layerName\":\"文本框\",\"hideX\":true,\"verticalShow\":true,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":20,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"numberValue\":false,\"xNameColor\":\"#fff\",\"lengedWidth\":10,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":true,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#0CD2E6\"},{\"color\":\"#00BFA5\"},{\"color\":\"#FFC722\"},{\"color\":\"#886EFF\"},{\"color\":\"#008DEC\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":620,\"left\":173,\"width\":267,\"index\":11,\"height\":50}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"文本框\"},{\"type\":\"el-input-text\",\"label\":\"文本内容\",\"name\":\"text\",\"required\":false,\"placeholder\":\"\",\"value\":\"邮件认证失败TOP5\"},{\"type\":\"el-input-number\",\"label\":\"字体大小\",\"name\":\"fontSize\",\"required\":false,\"placeholder\":\"\",\"value\":30},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"color\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(0, 206, 209, 1)\"},{\"type\":\"el-input-number\",\"label\":\"字体间距\",\"name\":\"letterSpacing\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"vue-color\",\"label\":\"字体背景\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(115,170,229,.0)\"},{\"type\":\"el-select\",\"label\":\"文字粗细\",\"name\":\"fontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体\"}],\"value\":\"normal\"},{\"type\":\"el-select\",\"label\":\"对齐方式\",\"name\":\"textAlign\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"center\",\"name\":\"居中\"},{\"code\":\"left\",\"name\":\"左对齐\"},{\"code\":\"right\",\"name\":\"右对齐\"}],\"value\":\"center\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":173},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":620},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":267},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":50}]}', NULL, 1, 0, 15, 'admin', '2021-07-02 17:14:57', 'admin', '2021-07-02 17:14:57', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8692, 'logn_ajreport', 'widget-text', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"right\",\"reversalY\":false,\"barEnd\":\"#004DA7FF\",\"reversalX\":false,\"marginRight\":40,\"minHeight\":0,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"percentage\":true,\"layoutFront\":\"\",\"text\":\"防火墙ACL次数\",\"xName\":\"\",\"isShowY\":true,\"radius\":5,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"textAlign\":\"center\",\"lineColor\":\"\",\"subTextColor\":\"\",\"textColor\":\"\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"barStart\":\"#00F4FFFF\",\"subTextFontSize\":0,\"background\":\"rgba(115,170,229,.0)\",\"fontSize\":30,\"marginBottom\":10,\"layerName\":\"文本框\",\"hideX\":true,\"verticalShow\":true,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":20,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"numberValue\":false,\"xNameColor\":\"#fff\",\"lengedWidth\":10,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":true,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#0CD2E6\"},{\"color\":\"#00BFA5\"},{\"color\":\"#FFC722\"},{\"color\":\"#886EFF\"},{\"color\":\"#008DEC\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":138,\"left\":809,\"width\":233,\"index\":9,\"height\":50}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"文本框\"},{\"type\":\"el-input-text\",\"label\":\"文本内容\",\"name\":\"text\",\"required\":false,\"placeholder\":\"\",\"value\":\"防火墙ACL次数\"},{\"type\":\"el-input-number\",\"label\":\"字体大小\",\"name\":\"fontSize\",\"required\":false,\"placeholder\":\"\",\"value\":30},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"color\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(0, 206, 209, 1)\"},{\"type\":\"el-input-number\",\"label\":\"字体间距\",\"name\":\"letterSpacing\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"vue-color\",\"label\":\"字体背景\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(115,170,229,.0)\"},{\"type\":\"el-select\",\"label\":\"文字粗细\",\"name\":\"fontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体\"}],\"value\":\"normal\"},{\"type\":\"el-select\",\"label\":\"对齐方式\",\"name\":\"textAlign\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"center\",\"name\":\"居中\"},{\"code\":\"left\",\"name\":\"左对齐\"},{\"code\":\"right\",\"name\":\"右对齐\"}],\"value\":\"center\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":809},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":138},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":233},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":50}]}', NULL, 1, 0, 16, 'admin', '2021-07-02 17:14:57', 'admin', '2021-07-02 17:14:57', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8693, 'logn_ajreport', 'widget-text', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"right\",\"reversalY\":false,\"barEnd\":\"#004DA7FF\",\"reversalX\":false,\"marginRight\":40,\"minHeight\":0,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"percentage\":true,\"layoutFront\":\"\",\"text\":\"攻击占比\",\"xName\":\"\",\"isShowY\":true,\"radius\":5,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"textAlign\":\"center\",\"lineColor\":\"\",\"subTextColor\":\"\",\"textColor\":\"\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"barStart\":\"#00F4FFFF\",\"subTextFontSize\":0,\"background\":\"rgba(115,170,229,.0)\",\"fontSize\":30,\"marginBottom\":10,\"layerName\":\"文本框\",\"hideX\":true,\"verticalShow\":true,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":20,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"numberValue\":false,\"xNameColor\":\"#fff\",\"lengedWidth\":10,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":true,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#0CD2E6\"},{\"color\":\"#00BFA5\"},{\"color\":\"#FFC722\"},{\"color\":\"#886EFF\"},{\"color\":\"#008DEC\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":141,\"left\":1512,\"width\":200,\"index\":10,\"height\":50}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"文本框\"},{\"type\":\"el-input-text\",\"label\":\"文本内容\",\"name\":\"text\",\"required\":false,\"placeholder\":\"\",\"value\":\"攻击占比\"},{\"type\":\"el-input-number\",\"label\":\"字体大小\",\"name\":\"fontSize\",\"required\":false,\"placeholder\":\"\",\"value\":30},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"color\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(0, 206, 209, 1)\"},{\"type\":\"el-input-number\",\"label\":\"字体间距\",\"name\":\"letterSpacing\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"vue-color\",\"label\":\"字体背景\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(115,170,229,.0)\"},{\"type\":\"el-select\",\"label\":\"文字粗细\",\"name\":\"fontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体\"}],\"value\":\"normal\"},{\"type\":\"el-select\",\"label\":\"对齐方式\",\"name\":\"textAlign\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"center\",\"name\":\"居中\"},{\"code\":\"left\",\"name\":\"左对齐\"},{\"code\":\"right\",\"name\":\"右对齐\"}],\"value\":\"center\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":1512},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":141},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":200},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":50}]}', NULL, 1, 0, 17, 'admin', '2021-07-02 17:14:57', 'admin', '2021-07-02 17:14:57', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8694, 'logn_ajreport', 'widget-text', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"right\",\"reversalY\":false,\"barEnd\":\"#004DA7FF\",\"reversalX\":false,\"marginRight\":40,\"minHeight\":0,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"percentage\":true,\"layoutFront\":\"\",\"text\":\"邮件认证失败趋势\",\"xName\":\"\",\"isShowY\":true,\"radius\":5,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"textAlign\":\"center\",\"lineColor\":\"\",\"subTextColor\":\"\",\"textColor\":\"\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"barStart\":\"#00F4FFFF\",\"subTextFontSize\":0,\"background\":\"rgba(115,170,229,.0)\",\"fontSize\":26,\"marginBottom\":10,\"layerName\":\"文本框\",\"hideX\":true,\"verticalShow\":true,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":20,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"numberValue\":false,\"xNameColor\":\"#fff\",\"lengedWidth\":10,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":true,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#0CD2E6\"},{\"color\":\"#00BFA5\"},{\"color\":\"#FFC722\"},{\"color\":\"#886EFF\"},{\"color\":\"#008DEC\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":602,\"left\":788,\"width\":300,\"index\":14,\"height\":50}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"文本框\"},{\"type\":\"el-input-text\",\"label\":\"文本内容\",\"name\":\"text\",\"required\":false,\"placeholder\":\"\",\"value\":\"邮件认证失败趋势\"},{\"type\":\"el-input-number\",\"label\":\"字体大小\",\"name\":\"fontSize\",\"required\":false,\"placeholder\":\"\",\"value\":26},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"color\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(0, 206, 209, 1)\"},{\"type\":\"el-input-number\",\"label\":\"字体间距\",\"name\":\"letterSpacing\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"vue-color\",\"label\":\"字体背景\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(115,170,229,.0)\"},{\"type\":\"el-select\",\"label\":\"文字粗细\",\"name\":\"fontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体\"}],\"value\":\"normal\"},{\"type\":\"el-select\",\"label\":\"对齐方式\",\"name\":\"textAlign\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"center\",\"name\":\"居中\"},{\"code\":\"left\",\"name\":\"左对齐\"},{\"code\":\"right\",\"name\":\"右对齐\"}],\"value\":\"center\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":788},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":602},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":300},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":50}]}', NULL, 1, 0, 18, 'admin', '2021-07-02 17:14:57', 'admin', '2021-07-02 17:14:57', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8695, 'logn_ajreport', 'widget-text', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"left\",\"reversalY\":false,\"barEnd\":\"#004DA7FF\",\"reversalX\":false,\"marginRight\":40,\"minHeight\":0,\"textInterval\":0,\"isNoTitle\":false,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"percentage\":true,\"layoutFront\":\"\",\"text\":\"wifi登陆趋势\",\"xName\":\"\",\"isShowY\":true,\"radius\":5,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"textAlign\":\"center\",\"lineColor\":\"\",\"subTextColor\":\"#fff\",\"textColor\":\"##FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"barStart\":\"#00F4FFFF\",\"subTextFontSize\":20,\"background\":\"rgba(115,170,229,.0)\",\"fontSize\":30,\"marginBottom\":10,\"layerName\":\"文本框\",\"hideX\":true,\"verticalShow\":true,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":4,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"numberValue\":false,\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":12,\"isShow\":true,\"textFontSize\":20,\"pointSize\":10,\"customColor\":[{\"color\":\"#1E90FF\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":606,\"left\":1422,\"width\":300,\"index\":15,\"height\":50}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"文本框\"},{\"type\":\"el-input-text\",\"label\":\"文本内容\",\"name\":\"text\",\"required\":false,\"placeholder\":\"\",\"value\":\"wifi登陆趋势\"},{\"type\":\"el-input-number\",\"label\":\"字体大小\",\"name\":\"fontSize\",\"required\":false,\"placeholder\":\"\",\"value\":30},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"color\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(0, 206, 209, 1)\"},{\"type\":\"el-input-number\",\"label\":\"字体间距\",\"name\":\"letterSpacing\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"vue-color\",\"label\":\"字体背景\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(115,170,229,.0)\"},{\"type\":\"el-select\",\"label\":\"文字粗细\",\"name\":\"fontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体\"}],\"value\":\"normal\"},{\"type\":\"el-select\",\"label\":\"对齐方式\",\"name\":\"textAlign\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"center\",\"name\":\"居中\"},{\"code\":\"left\",\"name\":\"左对齐\"},{\"code\":\"right\",\"name\":\"右对齐\"}],\"value\":\"center\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":1422},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":606},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":300},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":50}]}', NULL, 1, 0, 19, 'admin', '2021-07-02 17:14:57', 'admin', '2021-07-02 17:14:57', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8696, 'logn_ajreport', 'widget-text', '{\"imageAdress\":\"https://report.anji-plus.com/file/download/title2\",\"backgroundColor\":\"#000\",\"color\":\"rgba(30, 144, 255, 1)\",\"textAlign\":\"center\",\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"letterSpacing\":0,\"title\":\"大屏\",\"borderRadius\":0,\"background\":\"rgba(115,170,229,.0)\",\"startRotate\":false,\"transparency\":100,\"width\":1920,\"fontSize\":60,\"layerName\":\"文本框\",\"text\":\"日志大屏\",\"fontWeight\":\"normal\",\"height\":1080}', '{}', '', '{\"top\":26,\"left\":771,\"width\":300,\"index\":19,\"height\":80}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"文本框\"},{\"type\":\"el-input-text\",\"label\":\"文本内容\",\"name\":\"text\",\"required\":false,\"placeholder\":\"\",\"value\":\"日志大屏\"},{\"type\":\"el-input-number\",\"label\":\"字体大小\",\"name\":\"fontSize\",\"required\":false,\"placeholder\":\"\",\"value\":60},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"color\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(30, 144, 255, 1)\"},{\"type\":\"el-input-number\",\"label\":\"字体间距\",\"name\":\"letterSpacing\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"vue-color\",\"label\":\"字体背景\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(115,170,229,.0)\"},{\"type\":\"el-select\",\"label\":\"文字粗细\",\"name\":\"fontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体\"}],\"value\":\"normal\"},{\"type\":\"el-select\",\"label\":\"对齐方式\",\"name\":\"textAlign\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"center\",\"name\":\"居中\"},{\"code\":\"left\",\"name\":\"左对齐\"},{\"code\":\"right\",\"name\":\"右对齐\"}],\"value\":\"center\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":771},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":26},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":300},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":80}]}', NULL, 1, 0, 20, 'admin', '2021-07-02 17:14:57', 'admin', '2021-07-02 17:14:57', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8697, 'logistics_one', 'widget-image', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":false,\"reversalX\":false,\"minHeight\":5,\"marginRight\":40,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"startRotate\":false,\"layoutFront\":\"\",\"radius\":9,\"xName\":\"\",\"isShowY\":true,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":18,\"imageAdress\":\"https://report.anji-plus.com/file/download/border3@2x\",\"textAlign\":\"center\",\"subTextColor\":\"#fff\",\"textColor\":\"#FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"borderRadius\":0,\"transparency\":100,\"marginBottom\":10,\"layerName\":\"图片\",\"hideX\":true,\"verticalShow\":true,\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"fontSizeY\":16,\"fontSizeX\":18,\"backgroundColor\":\"\",\"colorY\":\"#fff\",\"NameFontSizeY\":12,\"isShow\":true,\"textFontSize\":20,\"customColor\":[{\"color\":\"#ff7f50\"},{\"color\":\"#87cefa\"},{\"color\":\"#da70d6\"},{\"color\":\"#32cd32\"},{\"color\":\"#6495ed\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":729,\"left\":5,\"width\":530,\"index\":0,\"height\":345}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"图片\"},{\"type\":\"el-switch\",\"label\":\"开启旋转\",\"name\":\"startRotate\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"el-slider\",\"label\":\"透明度\",\"name\":\"transparency\",\"required\":false,\"placeholder\":\"\",\"value\":100},{\"type\":\"el-input-number\",\"label\":\"圆角\",\"name\":\"borderRadius\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"custom-upload\",\"label\":\"图片地址\",\"name\":\"imageAdress\",\"required\":false,\"placeholder\":\"\",\"value\":\"https://report.anji-plus.com/file/download/border3@2x\"},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":5},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":729},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":530},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":345}]}', NULL, 1, 0, 1, 'admin', '2021-07-15 17:40:33', 'admin', '2021-07-15 17:40:33', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8698, 'logistics_one', 'widget-image', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":false,\"reversalX\":false,\"minHeight\":5,\"marginRight\":40,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"startRotate\":false,\"layoutFront\":\"\",\"radius\":9,\"xName\":\"\",\"isShowY\":true,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":18,\"imageAdress\":\"https://report.anji-plus.com/file/download/border3@2x\",\"textAlign\":\"center\",\"subTextColor\":\"#fff\",\"textColor\":\"#FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"borderRadius\":0,\"transparency\":100,\"marginBottom\":10,\"layerName\":\"图片\",\"hideX\":true,\"verticalShow\":true,\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"fontSizeY\":16,\"fontSizeX\":18,\"backgroundColor\":\"\",\"colorY\":\"#fff\",\"NameFontSizeY\":12,\"isShow\":true,\"textFontSize\":20,\"customColor\":[{\"color\":\"#ff7f50\"},{\"color\":\"#87cefa\"},{\"color\":\"#da70d6\"},{\"color\":\"#32cd32\"},{\"color\":\"#6495ed\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":368,\"left\":5,\"width\":530,\"index\":0,\"height\":355}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"图片\"},{\"type\":\"el-switch\",\"label\":\"开启旋转\",\"name\":\"startRotate\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"el-slider\",\"label\":\"透明度\",\"name\":\"transparency\",\"required\":false,\"placeholder\":\"\",\"value\":100},{\"type\":\"el-input-number\",\"label\":\"圆角\",\"name\":\"borderRadius\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"custom-upload\",\"label\":\"图片地址\",\"name\":\"imageAdress\",\"required\":false,\"placeholder\":\"\",\"value\":\"https://report.anji-plus.com/file/download/border3@2x\"},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":5},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":368},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":530},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":355}]}', NULL, 1, 0, 2, 'admin', '2021-07-15 17:40:33', 'admin', '2021-07-15 17:40:33', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8699, 'logistics_one', 'widget-image', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":false,\"reversalX\":false,\"minHeight\":5,\"marginRight\":40,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"startRotate\":false,\"titleText\":\"\",\"layoutFront\":\"\",\"radius\":9,\"xName\":\"\",\"isShowY\":true,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":18,\"imageAdress\":\"https://report.anji-plus.com/file/download/border3@1x\",\"textAlign\":\"center\",\"subTextColor\":\"#fff\",\"textColor\":\"#FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"borderRadius\":0,\"transparency\":100,\"marginBottom\":10,\"layerName\":\"图片\",\"hideX\":true,\"verticalShow\":true,\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"fontSizeY\":16,\"fontSizeX\":18,\"backgroundColor\":\"\",\"colorY\":\"#fff\",\"NameFontSizeY\":12,\"isShow\":true,\"textFontSize\":20,\"customColor\":[{\"color\":\"#ff7f50\"},{\"color\":\"#87cefa\"},{\"color\":\"#da70d6\"},{\"color\":\"#32cd32\"},{\"color\":\"#6495ed\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":13,\"left\":5,\"width\":530,\"index\":0,\"height\":350}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"图片\"},{\"type\":\"el-switch\",\"label\":\"开启旋转\",\"name\":\"startRotate\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"el-slider\",\"label\":\"透明度\",\"name\":\"transparency\",\"required\":false,\"placeholder\":\"\",\"value\":100},{\"type\":\"el-input-number\",\"label\":\"圆角\",\"name\":\"borderRadius\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"custom-upload\",\"label\":\"图片地址\",\"name\":\"imageAdress\",\"required\":false,\"placeholder\":\"\",\"value\":\"https://report.anji-plus.com/file/download/border3@1x\"},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":5},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":13},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":530},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":350}]}', NULL, 1, 0, 3, 'admin', '2021-07-15 17:40:33', 'admin', '2021-07-15 17:40:33', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8700, 'logistics_one', 'widget-barchart', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":false,\"reversalX\":false,\"minHeight\":5,\"marginRight\":40,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"startRotate\":false,\"titleText\":\"\",\"layoutFront\":\"\",\"radius\":9,\"xName\":\"\",\"isShowY\":true,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":11,\"imageAdress\":\"https://report.anji-plus.com/file/download/border3@2x\",\"textAlign\":\"center\",\"subTextColor\":\"#fff\",\"textColor\":\"#FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"borderRadius\":0,\"background\":\"\",\"transparency\":100,\"marginBottom\":10,\"layerName\":\"柱状图\",\"hideX\":true,\"verticalShow\":true,\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"fontSizeY\":16,\"fontSizeX\":18,\"backgroundColor\":\"\",\"colorY\":\"#fff\",\"NameFontSizeY\":12,\"isShow\":true,\"textFontSize\":20,\"customColor\":[{\"color\":\"#97D0D0\"},{\"color\":\"#87cefa\"},{\"color\":\"#7BF3F5\"},{\"color\":\"#8AF9FB\"},{\"color\":\"#F59A79\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{\"dynamicData\":{\"chartProperties\":{\"name\":\"xAxis\",\"nums\":\"bar\"},\"setCode\":\"logis_1\",\"chartType\":\"widget-barchart\",\"contextData\":{}},\"dataType\":\"dynamicData\",\"refreshTime\":5000,\"staticData\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1000,2229,3879,2379,4079]}]}\"}', '', '{\"top\":75,\"left\":9,\"width\":525,\"index\":2,\"height\":282}', '{\"data\":[{\"type\":\"el-radio-group\",\"label\":\"数据类型\",\"name\":\"dataType\",\"require\":false,\"placeholder\":\"\",\"selectValue\":true,\"selectOptions\":[{\"code\":\"staticData\",\"name\":\"静态数据\"},{\"code\":\"dynamicData\",\"name\":\"动态数据\"}],\"value\":\"dynamicData\"},{\"type\":\"el-input-number\",\"label\":\"刷新时间(毫秒)\",\"name\":\"refreshTime\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"value\":5000},{\"type\":\"el-button\",\"label\":\"静态数据\",\"name\":\"staticData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"staticData\",\"value\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1000,2229,3879,2379,4079]}]}\"},{\"type\":\"dycustComponents\",\"label\":\"\",\"name\":\"dynamicData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"chartType\":\"widget-barchart\",\"value\":{\"chartProperties\":{\"name\":\"xAxis\",\"nums\":\"bar\"},\"setCode\":\"logis_1\",\"chartType\":\"widget-barchart\",\"contextData\":{}}}],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"柱状图\"},{\"type\":\"el-switch\",\"label\":\"竖展示\",\"name\":\"verticalShow\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},[{\"name\":\"柱体设置\",\"list\":[{\"type\":\"el-slider\",\"label\":\"最大宽度\",\"name\":\"maxWidth\",\"required\":false,\"placeholder\":\"\",\"value\":11},{\"type\":\"el-slider\",\"label\":\"圆角\",\"name\":\"radius\",\"require\":false,\"placeholder\":\"\",\"value\":9},{\"type\":\"el-slider\",\"label\":\"最小高度\",\"name\":\"minHeight\",\"require\":false,\"placeholder\":\"\",\"value\":5}]},{\"name\":\"标题设置\",\"list\":[{\"type\":\"el-switch\",\"label\":\"标题\",\"name\":\"isNoTitle\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-input-text\",\"label\":\"标题\",\"name\":\"titleText\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"textColor\",\"required\":false,\"placeholder\":\"\",\"value\":\"#FFD700\"},{\"type\":\"el-select\",\"label\":\"字体粗细\",\"name\":\"textFontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体\"}],\"value\":\"normal\"},{\"type\":\"el-input-number\",\"label\":\"字Line truncated
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8701, 'logistics_one', 'widget-map', '{\"layerName\":\"迁徙图\"}', '{}', '', '{\"top\":97,\"left\":542,\"width\":835,\"index\":2,\"height\":625}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"迁徙图\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":542},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":97},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":835},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":625}]}', NULL, 1, 0, 5, 'admin', '2021-07-15 17:40:33', 'admin', '2021-07-15 17:40:33', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8702, 'logistics_one', 'widget-image', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":false,\"reversalX\":false,\"minHeight\":5,\"marginRight\":40,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"startRotate\":false,\"layoutFront\":\"\",\"radius\":9,\"xName\":\"\",\"isShowY\":true,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":18,\"imageAdress\":\"https://report.anji-plus.com/file/download/border3@2x\",\"textAlign\":\"center\",\"subTextColor\":\"#fff\",\"textColor\":\"#FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"borderRadius\":0,\"transparency\":100,\"marginBottom\":10,\"layerName\":\"图片\",\"hideX\":true,\"verticalShow\":true,\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"fontSizeY\":16,\"fontSizeX\":18,\"backgroundColor\":\"\",\"colorY\":\"#fff\",\"NameFontSizeY\":12,\"isShow\":true,\"textFontSize\":20,\"customColor\":[{\"color\":\"#ff7f50\"},{\"color\":\"#87cefa\"},{\"color\":\"#da70d6\"},{\"color\":\"#32cd32\"},{\"color\":\"#6495ed\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":730,\"left\":1384,\"width\":530,\"index\":3,\"height\":345}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"图片\"},{\"type\":\"el-switch\",\"label\":\"开启旋转\",\"name\":\"startRotate\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"el-slider\",\"label\":\"透明度\",\"name\":\"transparency\",\"required\":false,\"placeholder\":\"\",\"value\":100},{\"type\":\"el-input-number\",\"label\":\"圆角\",\"name\":\"borderRadius\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"custom-upload\",\"label\":\"图片地址\",\"name\":\"imageAdress\",\"required\":false,\"placeholder\":\"\",\"value\":\"https://report.anji-plus.com/file/download/border3@2x\"},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":1384},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":730},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":530},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":345}]}', NULL, 1, 0, 6, 'admin', '2021-07-15 17:40:33', 'admin', '2021-07-15 17:40:33', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8703, 'logistics_one', 'widget-image', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":false,\"reversalX\":false,\"minHeight\":5,\"marginRight\":40,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"startRotate\":false,\"layoutFront\":\"\",\"radius\":9,\"xName\":\"\",\"isShowY\":true,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":18,\"imageAdress\":\"https://report.anji-plus.com/file/download/border3@2x\",\"textAlign\":\"center\",\"subTextColor\":\"#fff\",\"textColor\":\"#FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"borderRadius\":0,\"transparency\":100,\"marginBottom\":10,\"layerName\":\"图片\",\"hideX\":true,\"verticalShow\":true,\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"fontSizeY\":16,\"fontSizeX\":18,\"backgroundColor\":\"\",\"colorY\":\"#fff\",\"NameFontSizeY\":12,\"isShow\":true,\"textFontSize\":20,\"customColor\":[{\"color\":\"#ff7f50\"},{\"color\":\"#87cefa\"},{\"color\":\"#da70d6\"},{\"color\":\"#32cd32\"},{\"color\":\"#6495ed\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{}', '', '{\"top\":10,\"left\":1386,\"width\":530,\"index\":4,\"height\":345}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"图片\"},{\"type\":\"el-switch\",\"label\":\"开启旋转\",\"name\":\"startRotate\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"el-slider\",\"label\":\"透明度\",\"name\":\"transparency\",\"required\":false,\"placeholder\":\"\",\"value\":100},{\"type\":\"el-input-number\",\"label\":\"圆角\",\"name\":\"borderRadius\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"custom-upload\",\"label\":\"图片地址\",\"name\":\"imageAdress\",\"required\":false,\"placeholder\":\"\",\"value\":\"https://report.anji-plus.com/file/download/border3@2x\"},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":1386},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":10},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":530},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":345}]}', NULL, 1, 0, 7, 'admin', '2021-07-15 17:40:33', 'admin', '2021-07-15 17:40:33', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8704, 'logistics_one', 'widget-image', '{\"imageAdress\":\"https://report.anji-plus.com/file/download/border8@1x\",\"backgroundColor\":\"\",\"borderRadius\":0,\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"startRotate\":false,\"transparency\":100,\"width\":1920,\"layerName\":\"图片\",\"title\":\"大屏\",\"height\":1080}', '{}', '', '{\"top\":731,\"left\":541,\"width\":839,\"index\":7,\"height\":344}', '{\"data\":[],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"图片\"},{\"type\":\"el-switch\",\"label\":\"开启旋转\",\"name\":\"startRotate\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"el-slider\",\"label\":\"透明度\",\"name\":\"transparency\",\"required\":false,\"placeholder\":\"\",\"value\":100},{\"type\":\"el-input-number\",\"label\":\"圆角\",\"name\":\"borderRadius\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"custom-upload\",\"label\":\"图片地址\",\"name\":\"imageAdress\",\"required\":false,\"placeholder\":\"\",\"value\":\"https://report.anji-plus.com/file/download/border8@1x\"},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":541},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":731},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":839},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":344}]}', NULL, 1, 0, 8, 'admin', '2021-07-15 17:40:33', 'admin', '2021-07-15 17:40:33', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8705, 'logistics_one', 'widget-text', '{\"backgroundColor\":\"\",\"color\":\"rgba(0, 206, 209, 1)\",\"textAlign\":\"center\",\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"letterSpacing\":0,\"title\":\"大屏\",\"background\":\"rgba(115,170,229,.0)\",\"width\":1920,\"fontSize\":36,\"layerName\":\"文本框\",\"text\":\"实时库存TOP5\",\"fontWeight\":\"normal\",\"height\":1080}', '{\"dataType\":\"staticData\",\"refreshTime\":5000,\"staticData\":\"文本框\"}', '', '{\"top\":19,\"left\":157,\"width\":228,\"index\":8,\"height\":52}', '{\"data\":[{\"type\":\"el-radio-group\",\"label\":\"数据类型\",\"name\":\"dataType\",\"require\":false,\"placeholder\":\"\",\"selectValue\":true,\"selectOptions\":[{\"code\":\"staticData\",\"name\":\"静态数据\"},{\"code\":\"dynamicData\",\"name\":\"动态数据\"}],\"value\":\"staticData\"},{\"type\":\"el-input-number\",\"label\":\"刷新时间(毫秒)\",\"name\":\"refreshTime\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"value\":5000},{\"type\":\"el-button\",\"label\":\"静态数据\",\"name\":\"staticData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"staticData\",\"value\":\"文本框\"},{\"type\":\"dycustComponents\",\"label\":\"\",\"name\":\"dynamicData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"chartType\":\"widget-text\",\"value\":\"\"}],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"文本框\"},{\"type\":\"el-input-text\",\"label\":\"文本内容\",\"name\":\"text\",\"required\":false,\"placeholder\":\"\",\"value\":\"实时库存TOP5\"},{\"type\":\"el-input-number\",\"label\":\"字体大小\",\"name\":\"fontSize\",\"required\":false,\"placeholder\":\"\",\"value\":36},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"color\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(0, 206, 209, 1)\"},{\"type\":\"el-input-number\",\"label\":\"字体间距\",\"name\":\"letterSpacing\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"vue-color\",\"label\":\"字体背景\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(115,170,229,.0)\"},{\"type\":\"el-select\",\"label\":\"文字粗细\",\"name\":\"fontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体\"}],\"value\":\"normal\"},{\"type\":\"el-select\",\"label\":\"对齐方式\",\"name\":\"textAlign\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"center\",\"name\":\"居中\"},{\"code\":\"left\",\"name\":\"左对齐\"},{\"code\":\"right\",\"name\":\"右对齐\"}],\"value\":\"center\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":157},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":19},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":228},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":52}]}', NULL, 1, 0, 9, 'admin', '2021-07-15 17:40:33', 'admin', '2021-07-15 17:40:33', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8706, 'logistics_one', 'widget-barchart', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":false,\"reversalX\":false,\"minHeight\":0,\"marginRight\":40,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"startRotate\":false,\"titleText\":\"\",\"layoutFront\":\"\",\"text\":\"实时库存TOP5\",\"radius\":7,\"xName\":\"\",\"isShowY\":true,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":16,\"imageAdress\":\"https://report.anji-plus.com/file/download/border3@2x\",\"textAlign\":\"center\",\"subTextColor\":\"#fff\",\"textColor\":\"#FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"borderRadius\":0,\"background\":\"\",\"transparency\":100,\"marginBottom\":10,\"layerName\":\"柱状图\",\"hideX\":true,\"verticalShow\":false,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"fontSizeY\":18,\"fontSizeX\":18,\"backgroundColor\":\"\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"NameFontSizeY\":12,\"isShow\":true,\"textFontSize\":20,\"customColor\":[{\"color\":\"#ff7f50\"},{\"color\":\"#87cefa\"},{\"color\":\"#da70d6\"},{\"color\":\"#32cd32\"},{\"color\":\"#6495ed\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{\"dynamicData\":{\"chartProperties\":{\"name\":\"xAxis\",\"nums\":\"bar\"},\"setCode\":\"logis_2\",\"chartType\":\"widget-barchart\",\"contextData\":{}},\"dataType\":\"dynamicData\",\"refreshTime\":5000,\"staticData\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1000,2229,3879,2379,4079]}]}\"}', '', '{\"top\":434,\"left\":7,\"width\":525,\"height\":287}', '{\"data\":[{\"type\":\"el-radio-group\",\"label\":\"数据类型\",\"name\":\"dataType\",\"require\":false,\"placeholder\":\"\",\"selectValue\":true,\"selectOptions\":[{\"code\":\"staticData\",\"name\":\"静态数据\"},{\"code\":\"dynamicData\",\"name\":\"动态数据\"}],\"value\":\"dynamicData\"},{\"type\":\"el-input-number\",\"label\":\"刷新时间(毫秒)\",\"name\":\"refreshTime\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"value\":5000},{\"type\":\"el-button\",\"label\":\"静态数据\",\"name\":\"staticData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"staticData\",\"value\":\"{\\\"categories\\\": [\\\"苹果\\\",\\\"三星\\\",\\\"小米\\\",\\\"oppo\\\",\\\"vivo\\\"],\\\"series\\\": [{\\\"name\\\": \\\"手机品牌\\\",\\\"data\\\": [1000,2229,3879,2379,4079]}]}\"},{\"type\":\"dycustComponents\",\"label\":\"\",\"name\":\"dynamicData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"chartType\":\"widget-barchart\",\"value\":{\"chartProperties\":{\"name\":\"xAxis\",\"nums\":\"bar\"},\"setCode\":\"logis_2\",\"chartType\":\"widget-barchart\",\"contextData\":{}}}],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"柱状图\"},{\"type\":\"el-switch\",\"label\":\"竖展示\",\"name\":\"verticalShow\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},[{\"name\":\"柱体设置\",\"list\":[{\"type\":\"el-slider\",\"label\":\"最大宽度\",\"name\":\"maxWidth\",\"required\":false,\"placeholder\":\"\",\"value\":16},{\"type\":\"el-slider\",\"label\":\"圆角\",\"name\":\"radius\",\"require\":false,\"placeholder\":\"\",\"value\":7},{\"type\":\"el-slider\",\"label\":\"最小高度\",\"name\":\"minHeight\",\"require\":false,\"placeholder\":\"\",\"value\":0}]},{\"name\":\"标题设置\",\"list\":[{\"type\":\"el-switch\",\"label\":\"标题\",\"name\":\"isNoTitle\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-input-text\",\"label\":\"标题\",\"name\":\"titleText\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"textColor\",\"required\":false,\"placeholder\":\"\",\"value\":\"#FFD700\"},{\"type\":\"el-select\",\"label\":\"字体粗细\",\"name\":\"textFontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细Line truncated
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8707, 'logistics_one', 'widget-text', '{\"backgroundColor\":\"\",\"color\":\"rgba(0, 206, 209, 1)\",\"textAlign\":\"center\",\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"letterSpacing\":0,\"title\":\"大屏\",\"background\":\"rgba(115,170,229,.0)\",\"width\":1920,\"fontSize\":36,\"layerName\":\"文本框\",\"text\":\"收车量TOP5\",\"fontWeight\":\"normal\",\"height\":1080}', '{\"dataType\":\"staticData\",\"refreshTime\":5000,\"staticData\":\"文本框\"}', '', '{\"top\":373,\"left\":151,\"width\":239,\"index\":10,\"height\":55}', '{\"data\":[{\"type\":\"el-radio-group\",\"label\":\"数据类型\",\"name\":\"dataType\",\"require\":false,\"placeholder\":\"\",\"selectValue\":true,\"selectOptions\":[{\"code\":\"staticData\",\"name\":\"静态数据\"},{\"code\":\"dynamicData\",\"name\":\"动态数据\"}],\"value\":\"staticData\"},{\"type\":\"el-input-number\",\"label\":\"刷新时间(毫秒)\",\"name\":\"refreshTime\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"value\":5000},{\"type\":\"el-button\",\"label\":\"静态数据\",\"name\":\"staticData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"staticData\",\"value\":\"文本框\"},{\"type\":\"dycustComponents\",\"label\":\"\",\"name\":\"dynamicData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"chartType\":\"widget-text\",\"value\":\"\"}],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"文本框\"},{\"type\":\"el-input-text\",\"label\":\"文本内容\",\"name\":\"text\",\"required\":false,\"placeholder\":\"\",\"value\":\"收车量TOP5\"},{\"type\":\"el-input-number\",\"label\":\"字体大小\",\"name\":\"fontSize\",\"required\":false,\"placeholder\":\"\",\"value\":36},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"color\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(0, 206, 209, 1)\"},{\"type\":\"el-input-number\",\"label\":\"字体间距\",\"name\":\"letterSpacing\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"vue-color\",\"label\":\"字体背景\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(115,170,229,.0)\"},{\"type\":\"el-select\",\"label\":\"文字粗细\",\"name\":\"fontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体\"}],\"value\":\"normal\"},{\"type\":\"el-select\",\"label\":\"对齐方式\",\"name\":\"textAlign\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"center\",\"name\":\"居中\"},{\"code\":\"left\",\"name\":\"左对齐\"},{\"code\":\"right\",\"name\":\"右对齐\"}],\"value\":\"center\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":151},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":373},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":239},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":55}]}', NULL, 1, 0, 11, 'admin', '2021-07-15 17:40:33', 'admin', '2021-07-15 17:40:33', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8708, 'logistics_one', 'widget-barlinechart', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":0,\"reversalX\":0,\"minHeight\":0,\"marginRight\":40,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"layoutFront\":\"\",\"radius\":5,\"xName\":\"\",\"isShowY\":true,\"height\":1080,\"maxWidth\":10,\"area\":true,\"textAlign\":\"left\",\"lineColor\":\"#fff\",\"subTextColor\":\"#fff\",\"textColor\":\"#fff\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"background\":\"\",\"fontSize\":12,\"marginBottom\":10,\"layerName\":\"柱线图\",\"hideX\":true,\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":3,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":16,\"backgroundColor\":\"\",\"colorY\":\"#fff\",\"markPoint\":true,\"NameFontSizeY\":16,\"textFontSize\":20,\"pointSize\":5,\"customColor\":[{\"color\":\"#00F4FFFF\"},{\"color\":\"#9CA69C\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{\"dynamicData\":{\"chartProperties\":{\"start\":\"bar\",\"time\":\"xAxis\",\"collect\":\"line\"},\"setCode\":\"logis_3\",\"chartType\":\"widget-barlinechart\",\"contextData\":{}},\"dataType\":\"dynamicData\",\"refreshTime\":5000,\"staticData\":\"{\\\"xAxis\\\": [\\\"1月\\\", \\\"2月\\\", \\\"3月\\\", \\\"4月\\\", \\\"5月\\\",\\\"6月\\\", \\\"7月\\\", \\\"8月\\\",\\\"9月\\\",\\\"10月\\\",\\\"11月\\\",\\\"12月\\\"],\\\"series\\\": [{\\\"type\\\": \\\"bar\\\",\\\"name\\\": \\\"货运量\\\",\\\"data\\\": [2.6,5.9,9,26.4,28.7,70.7,175.6,182.2,48.7,18.8,6,2.3]},{\\\"type\\\": \\\"line\\\",\\\"name\\\": \\\"货运总量\\\",\\\"yAxisIndex\\\": 1,\\\"data\\\": [2,2.2,3.3,4.5,6.3,10.2,20.3,23.4,23,16.5,12,6.2]}]}\"}', '', '{\"top\":791,\"left\":2,\"width\":531,\"index\":11,\"height\":282}', '{\"data\":[{\"type\":\"el-radio-group\",\"label\":\"数据类型\",\"name\":\"dataType\",\"require\":false,\"placeholder\":\"\",\"selectValue\":true,\"selectOptions\":[{\"code\":\"staticData\",\"name\":\"静态数据\"},{\"code\":\"dynamicData\",\"name\":\"动态数据\"}],\"value\":\"dynamicData\"},{\"type\":\"el-input-number\",\"label\":\"刷新时间(毫秒)\",\"name\":\"refreshTime\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"value\":5000},{\"type\":\"el-button\",\"label\":\"静态数据\",\"name\":\"staticData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"staticData\",\"value\":\"{\\\"xAxis\\\": [\\\"1月\\\", \\\"2月\\\", \\\"3月\\\", \\\"4月\\\", \\\"5月\\\",\\\"6月\\\", \\\"7月\\\", \\\"8月\\\",\\\"9月\\\",\\\"10月\\\",\\\"11月\\\",\\\"12月\\\"],\\\"series\\\": [{\\\"type\\\": \\\"bar\\\",\\\"name\\\": \\\"货运量\\\",\\\"data\\\": [2.6,5.9,9,26.4,28.7,70.7,175.6,182.2,48.7,18.8,6,2.3]},{\\\"type\\\": \\\"line\\\",\\\"name\\\": \\\"货运总量\\\",\\\"yAxisIndex\\\": 1,\\\"data\\\": [2,2.2,3.3,4.5,6.3,10.2,20.3,23.4,23,16.5,12,6.2]}]}\"},{\"type\":\"dycustComponents\",\"label\":\"\",\"name\":\"dynamicData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"chartType\":\"widget-barlinechart\",\"relactiveDomValue\":\"dynamicData\",\"value\":{\"chartProperties\":{\"start\":\"bar\",\"time\":\"xAxis\",\"collect\":\"line\"},\"setCode\":\"logis_3\",\"chartType\":\"widget-barlinechart\",\"contextData\":{}}}],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"柱线图\"},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},[{\"name\":\"折线设置\",\"list\":[{\"type\":\"el-switch\",\"label\":\"标记点\",\"name\":\"markPoint\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-slider\",\"label\":\"点大小\",\"name\":\"pointSize\",\"required\":false,\"placeholder\":\"\",\"value\":5},{\"type\":\"el-switch\",\"label\":\"平滑曲线\",\"name\":\"smoothCurve\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-switch\",\"label\":\"面积堆积\",\"name\":\"area\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-slider\",\"label\":\"面积厚度\",\"name\":\"areaThickness\",\"required\":false,\"placeholder\":\"\",\"value\":5},{\"type\":\"el-slider\",\"label\":\"线条宽度\",\"name\":\"lineWidth\",\"required\":false,\"placeholder\":\"\",\"value\":3}]},{\"name\":\"柱体设置\",\"listLine truncated
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8709, 'logistics_one', 'widget-text', '{\"backgroundColor\":\"\",\"color\":\"rgba(0, 206, 209, 1)\",\"textAlign\":\"center\",\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"letterSpacing\":0,\"title\":\"大屏\",\"background\":\"rgba(115,170,229,.0)\",\"width\":1920,\"fontSize\":36,\"layerName\":\"文本框\",\"text\":\"收发车情况\",\"fontWeight\":\"normal\",\"height\":1080}', '{\"dataType\":\"staticData\",\"refreshTime\":5000,\"staticData\":\"文本框\"}', '', '{\"top\":732,\"left\":169,\"width\":209,\"index\":12,\"height\":57}', '{\"data\":[{\"type\":\"el-radio-group\",\"label\":\"数据类型\",\"name\":\"dataType\",\"require\":false,\"placeholder\":\"\",\"selectValue\":true,\"selectOptions\":[{\"code\":\"staticData\",\"name\":\"静态数据\"},{\"code\":\"dynamicData\",\"name\":\"动态数据\"}],\"value\":\"staticData\"},{\"type\":\"el-input-number\",\"label\":\"刷新时间(毫秒)\",\"name\":\"refreshTime\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"value\":5000},{\"type\":\"el-button\",\"label\":\"静态数据\",\"name\":\"staticData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"staticData\",\"value\":\"文本框\"},{\"type\":\"dycustComponents\",\"label\":\"\",\"name\":\"dynamicData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"chartType\":\"widget-text\",\"value\":\"\"}],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"文本框\"},{\"type\":\"el-input-text\",\"label\":\"文本内容\",\"name\":\"text\",\"required\":false,\"placeholder\":\"\",\"value\":\"收发车情况\"},{\"type\":\"el-input-number\",\"label\":\"字体大小\",\"name\":\"fontSize\",\"required\":false,\"placeholder\":\"\",\"value\":36},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"color\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(0, 206, 209, 1)\"},{\"type\":\"el-input-number\",\"label\":\"字体间距\",\"name\":\"letterSpacing\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"vue-color\",\"label\":\"字体背景\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(115,170,229,.0)\"},{\"type\":\"el-select\",\"label\":\"文字粗细\",\"name\":\"fontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体\"}],\"value\":\"normal\"},{\"type\":\"el-select\",\"label\":\"对齐方式\",\"name\":\"textAlign\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"center\",\"name\":\"居中\"},{\"code\":\"left\",\"name\":\"左对齐\"},{\"code\":\"right\",\"name\":\"右对齐\"}],\"value\":\"center\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":169},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":732},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":209},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":57}]}', NULL, 1, 0, 13, 'admin', '2021-07-15 17:40:33', 'admin', '2021-07-15 17:40:33', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8710, 'logistics_one', 'widget-text', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":0,\"reversalX\":0,\"minHeight\":0,\"marginRight\":40,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"layoutFront\":\"\",\"text\":\"发车\",\"radius\":5,\"xName\":\"\",\"isShowY\":true,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"textAlign\":\"center\",\"lineColor\":\"#fff\",\"subTextColor\":\"#fff\",\"textColor\":\"#fff\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"background\":\"rgba(115,170,229,.0)\",\"fontSize\":25,\"marginBottom\":10,\"layerName\":\"发车\",\"hideX\":true,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":3,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":16,\"backgroundColor\":\"\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":16,\"textFontSize\":20,\"pointSize\":5,\"customColor\":[{\"color\":\"#00F4FFFF\"},{\"color\":\"#9CA69C\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{\"dataType\":\"staticData\",\"refreshTime\":5000,\"staticData\":\"文本框\"}', '', '{\"top\":788,\"left\":423,\"width\":100,\"index\":13,\"height\":40}', '{\"data\":[{\"type\":\"el-radio-group\",\"label\":\"数据类型\",\"name\":\"dataType\",\"require\":false,\"placeholder\":\"\",\"selectValue\":true,\"selectOptions\":[{\"code\":\"staticData\",\"name\":\"静态数据\"},{\"code\":\"dynamicData\",\"name\":\"动态数据\"}],\"value\":\"staticData\"},{\"type\":\"el-input-number\",\"label\":\"刷新时间(毫秒)\",\"name\":\"refreshTime\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"value\":5000},{\"type\":\"el-button\",\"label\":\"静态数据\",\"name\":\"staticData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"staticData\",\"value\":\"文本框\"},{\"type\":\"dycustComponents\",\"label\":\"\",\"name\":\"dynamicData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"chartType\":\"widget-text\",\"value\":\"\"}],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"发车\"},{\"type\":\"el-input-text\",\"label\":\"文本内容\",\"name\":\"text\",\"required\":false,\"placeholder\":\"\",\"value\":\"发车\"},{\"type\":\"el-input-number\",\"label\":\"字体大小\",\"name\":\"fontSize\",\"required\":false,\"placeholder\":\"\",\"value\":25},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"color\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(0, 206, 209, 1)\"},{\"type\":\"el-input-number\",\"label\":\"字体间距\",\"name\":\"letterSpacing\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"vue-color\",\"label\":\"字体背景\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(115,170,229,.0)\"},{\"type\":\"el-select\",\"label\":\"文字粗细\",\"name\":\"fontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体\"}],\"value\":\"normal\"},{\"type\":\"el-select\",\"label\":\"对齐方式\",\"name\":\"textAlign\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"center\",\"name\":\"居中\"},{\"code\":\"left\",\"name\":\"左对齐\"},{\"code\":\"right\",\"name\":\"右对齐\"}],\"value\":\"center\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":423},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":788},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":100},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":40}]}', NULL, 1, 0, 14, 'admin', '2021-07-15 17:40:33', 'admin', '2021-07-15 17:40:33', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8711, 'logistics_one', 'widget-text', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":0,\"reversalX\":0,\"minHeight\":0,\"marginRight\":40,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"layoutFront\":\"\",\"text\":\"收车\",\"radius\":5,\"xName\":\"\",\"isShowY\":true,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"area\":true,\"textAlign\":\"center\",\"lineColor\":\"#fff\",\"subTextColor\":\"#fff\",\"textColor\":\"#fff\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"\",\"marginLeft\":10,\"subTextFontSize\":20,\"background\":\"rgba(115,170,229,.0)\",\"fontSize\":25,\"marginBottom\":10,\"layerName\":\"收车\",\"hideX\":true,\"color\":\"rgba(0, 206, 209, 1)\",\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"lineWidth\":3,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"areaThickness\":5,\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"smoothCurve\":true,\"fontSizeY\":12,\"fontSizeX\":16,\"backgroundColor\":\"\",\"colorY\":\"#fff\",\"letterSpacing\":0,\"markPoint\":true,\"NameFontSizeY\":16,\"textFontSize\":20,\"pointSize\":5,\"customColor\":[{\"color\":\"#00F4FFFF\"},{\"color\":\"#9CA69C\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{\"dataType\":\"staticData\",\"refreshTime\":5000,\"staticData\":\"文本框\"}', '', '{\"top\":787,\"left\":3,\"width\":100,\"index\":13,\"height\":40}', '{\"data\":[{\"type\":\"el-radio-group\",\"label\":\"数据类型\",\"name\":\"dataType\",\"require\":false,\"placeholder\":\"\",\"selectValue\":true,\"selectOptions\":[{\"code\":\"staticData\",\"name\":\"静态数据\"},{\"code\":\"dynamicData\",\"name\":\"动态数据\"}],\"value\":\"staticData\"},{\"type\":\"el-input-number\",\"label\":\"刷新时间(毫秒)\",\"name\":\"refreshTime\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"value\":5000},{\"type\":\"el-button\",\"label\":\"静态数据\",\"name\":\"staticData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"staticData\",\"value\":\"文本框\"},{\"type\":\"dycustComponents\",\"label\":\"\",\"name\":\"dynamicData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"chartType\":\"widget-text\",\"value\":\"\"}],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"收车\"},{\"type\":\"el-input-text\",\"label\":\"文本内容\",\"name\":\"text\",\"required\":false,\"placeholder\":\"\",\"value\":\"收车\"},{\"type\":\"el-input-number\",\"label\":\"字体大小\",\"name\":\"fontSize\",\"required\":false,\"placeholder\":\"\",\"value\":25},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"color\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(0, 206, 209, 1)\"},{\"type\":\"el-input-number\",\"label\":\"字体间距\",\"name\":\"letterSpacing\",\"required\":false,\"placeholder\":\"\",\"value\":0},{\"type\":\"vue-color\",\"label\":\"字体背景\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"rgba(115,170,229,.0)\"},{\"type\":\"el-select\",\"label\":\"文字粗细\",\"name\":\"fontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体\"}],\"value\":\"normal\"},{\"type\":\"el-select\",\"label\":\"对齐方式\",\"name\":\"textAlign\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"center\",\"name\":\"居中\"},{\"code\":\"left\",\"name\":\"左对齐\"},{\"code\":\"right\",\"name\":\"右对齐\"}],\"value\":\"center\"}],\"position\":[{\"type\":\"el-input-number\",\"label\":\"左边距\",\"name\":\"left\",\"required\":false,\"placeholder\":\"px\",\"value\":3},{\"type\":\"el-input-number\",\"label\":\"上边距\",\"name\":\"top\",\"required\":false,\"placeholder\":\"px\",\"value\":787},{\"type\":\"el-input-number\",\"label\":\"宽度\",\"name\":\"width\",\"required\":false,\"placeholder\":\"该容器在1920px大屏中的宽度\",\"value\":100},{\"type\":\"el-input-number\",\"label\":\"高度\",\"name\":\"height\",\"required\":false,\"placeholder\":\"该容器在1080px大屏中的高度\",\"value\":40}]}', NULL, 1, 0, 15, 'admin', '2021-07-15 17:40:33', 'admin', '2021-07-15 17:40:33', 1);
|
||||
INSERT INTO `gaea_report_dashboard_widget` VALUES (8712, 'DSADASD', 'widget-barchart', '{\"lengedColor\":\"#fff\",\"lateralPosition\":\"\",\"reversalY\":false,\"reversalX\":false,\"minHeight\":0,\"marginRight\":40,\"textInterval\":0,\"isNoTitle\":true,\"textFontWeight\":\"normal\",\"titleText\":\"\",\"layoutFront\":\"\",\"radius\":5,\"xName\":\"类型\",\"isShowY\":true,\"fontWeight\":\"normal\",\"height\":1080,\"maxWidth\":10,\"textAlign\":\"center\",\"subTextColor\":\"#fff\",\"textColor\":\"#FFD700\",\"subText\":\"\",\"lineColorY\":\"#fff\",\"xNameFontSize\":12,\"lineColorX\":\"#fff\",\"textNameY\":\"数量\",\"marginLeft\":10,\"subTextFontSize\":20,\"background\":\"\",\"marginBottom\":10,\"layerName\":\"柱状图\",\"hideX\":true,\"verticalShow\":false,\"backgroundImage\":\"https://report.anji-plus.com/file/download/bf566e48-ccad-40e1-8ee9-228427e5466b\",\"NameColorY\":\"#fff\",\"title\":\"大屏\",\"isShowSplitLineX\":false,\"isShowSplitLineY\":false,\"splitLineColorY\":\"#fff\",\"lengedFontSize\":16,\"splitLineColorX\":\"#fff\",\"textAngle\":0,\"Xcolor\":\"#fff\",\"xNameColor\":\"#fff\",\"lengedWidth\":15,\"fontSizeY\":12,\"fontSizeX\":12,\"backgroundColor\":\"#000\",\"colorY\":\"#fff\",\"NameFontSizeY\":12,\"isShow\":false,\"textFontSize\":20,\"customColor\":[{\"color\":\"#ff7f50\"},{\"color\":\"#87cefa\"},{\"color\":\"#da70d6\"},{\"color\":\"#32cd32\"},{\"color\":\"#6495ed\"}],\"longitudinalPosition\":\"\",\"subTextFontWeight\":\"normal\",\"width\":1920,\"isShowLegend\":true,\"marginTop\":50}', '{\"dynamicData\":{\"chartType\":\"widget-barchart\",\"setCode\":\"dasd\",\"chartProperties\":{\"num\":\"bar\",\"type\":\"xAxis\"},\"contextData\":{}},\"dataType\":\"dynamicData\",\"refreshTime\":5000,\"staticData\":{\"categories\":[\"苹果\",\"三星\",\"小米\",\"oppo\",\"vivo\"],\"series\":[{\"name\":\"手机品牌\",\"data\":[1000,2229,3879,2379,4079]}]}}', '', '{\"top\":64,\"left\":186,\"width\":1006,\"index\":0,\"height\":536}', '{\"data\":[{\"type\":\"el-radio-group\",\"label\":\"数据类型\",\"name\":\"dataType\",\"require\":false,\"placeholder\":\"\",\"selectValue\":true,\"selectOptions\":[{\"code\":\"staticData\",\"name\":\"静态数据\"},{\"code\":\"dynamicData\",\"name\":\"动态数据\"}],\"value\":\"dynamicData\"},{\"type\":\"el-input-number\",\"label\":\"刷新时间(毫秒)\",\"name\":\"refreshTime\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"value\":5000},{\"type\":\"el-button\",\"label\":\"静态数据\",\"name\":\"staticData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"staticData\",\"value\":{\"categories\":[\"苹果\",\"三星\",\"小米\",\"oppo\",\"vivo\"],\"series\":[{\"name\":\"手机品牌\",\"data\":[1000,2229,3879,2379,4079]}]}},{\"type\":\"dycustComponents\",\"label\":\"\",\"name\":\"dynamicData\",\"required\":false,\"placeholder\":\"px\",\"relactiveDom\":\"dataType\",\"relactiveDomValue\":\"dynamicData\",\"chartType\":\"widget-barchart\",\"dictKey\":\"BAR_PROPERTIES\",\"value\":{\"chartType\":\"widget-barchart\",\"setCode\":\"dasd\",\"chartProperties\":{\"num\":\"bar\",\"type\":\"xAxis\"},\"contextData\":{}}}],\"setup\":[{\"type\":\"el-input-text\",\"label\":\"图层名称\",\"name\":\"layerName\",\"required\":false,\"placeholder\":\"\",\"value\":\"柱状图\"},{\"type\":\"el-switch\",\"label\":\"竖展示\",\"name\":\"verticalShow\",\"required\":false,\"placeholder\":\"\",\"value\":false},{\"type\":\"vue-color\",\"label\":\"背景颜色\",\"name\":\"background\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},[{\"name\":\"柱体设置\",\"list\":[{\"type\":\"el-slider\",\"label\":\"最大宽度\",\"name\":\"maxWidth\",\"required\":false,\"placeholder\":\"\",\"value\":10},{\"type\":\"el-slider\",\"label\":\"圆角\",\"name\":\"radius\",\"require\":false,\"placeholder\":\"\",\"value\":5},{\"type\":\"el-slider\",\"label\":\"最小高度\",\"name\":\"minHeight\",\"require\":false,\"placeholder\":\"\",\"value\":0}]},{\"name\":\"标题设置\",\"list\":[{\"type\":\"el-switch\",\"label\":\"标题\",\"name\":\"isNoTitle\",\"required\":false,\"placeholder\":\"\",\"value\":true},{\"type\":\"el-input-text\",\"label\":\"标题\",\"name\":\"titleText\",\"required\":false,\"placeholder\":\"\",\"value\":\"\"},{\"type\":\"vue-color\",\"label\":\"字体颜色\",\"name\":\"textColor\",\"required\":false,\"placeholder\":\"\",\"value\":\"#FFD700\"},{\"type\":\"el-select\",\"label\":\"字体粗细\",\"name\":\"textFontWeight\",\"required\":false,\"placeholder\":\"\",\"selectOptions\":[{\"code\":\"normal\",\"name\":\"正常\"},{\"code\":\"bold\",\"name\":\"粗体\"},{\"code\":\"bolder\",\"name\":\"特粗体\"},{\"code\":\"lighter\",\"name\":\"细体\"}],\"value\":\"normal\"},{\"type\":\"el-input-number\",\"label\":\"字体大小\",\"name\":\"textFontSize\",\"required\":false,\"placeholder\":\"\",\"value\":20},{\"type\":\"el-select\",\"label\":\"字体位置\",\"name\":\"textAlign\",\"required\":false,\"placehoLine truncated
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for gaea_report_data_set
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `gaea_report_data_set`;
|
||||
CREATE TABLE `gaea_report_data_set` (
|
||||
`id` bigint NOT NULL AUTO_INCREMENT,
|
||||
`set_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '数据集编码',
|
||||
`set_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '数据集名称',
|
||||
`set_desc` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '数据集描述',
|
||||
`source_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '数据源编码',
|
||||
`dyn_sentence` varchar(2048) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '动态查询sql或者接口中的请求体',
|
||||
`case_result` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '结果案例',
|
||||
`enable_flag` int DEFAULT '1' COMMENT '0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG',
|
||||
`delete_flag` int DEFAULT '0' COMMENT '0--未删除 1--已删除 DIC_NAME=DELETE_FLAG',
|
||||
`create_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '创建人',
|
||||
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
|
||||
`update_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '更新人',
|
||||
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
|
||||
`version` int DEFAULT NULL,
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
UNIQUE KEY `unique_set_code` (`set_code`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=75 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='数据集管理';
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of gaea_report_data_set
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `gaea_report_data_set` VALUES (46, 'log_ajdevices', '日志-资产统计', '', 'mysql_ajreport', 'SELECT device_type,COUNT(device_id)as nums from aj_report_devices GROUP BY device_type;', '[{\"device_type\":\"交换机\",\"nums\":12},{\"device_type\":\"服务器\",\"nums\":10},{\"device_type\":\"路由器\",\"nums\":4},{\"device_type\":\"防火墙\",\"nums\":2}]', 1, 0, 'admin', '2021-06-30 09:57:47', 'admin', '2021-06-30 09:57:47', 1);
|
||||
INSERT INTO `gaea_report_data_set` VALUES (47, 'log_ajfireacl', '日志-防火墙ACL次数', '', 'mysql_ajreport', 'SELECT acl_type,COUNT(id) as nums from aj_report_init.aj_report_fireacl GROUP BY acl_type;', '[{\"acl_type\":\"LDAP389\",\"nums\":13},{\"acl_type\":\"Server1433\",\"nums\":9},{\"acl_type\":\"共享文件445\",\"nums\":7},{\"acl_type\":\"存储514\",\"nums\":14},{\"acl_type\":\"网页浏览443\",\"nums\":31},{\"acl_type\":\"远程桌面3389\",\"nums\":62},{\"acl_type\":\"远程登陆23\",\"nums\":66}]', 1, 0, 'admin', '2021-06-30 10:41:36', 'admin', '2021-06-30 10:41:36', 1);
|
||||
INSERT INTO `gaea_report_data_set` VALUES (48, 'log_ajattack', '日志-攻击占比', '', 'mysql_ajreport', 'SELECT attack_type,COUNT(id)as nums from aj_report_fireattack GROUP BY attack_type;', '[{\"attack_type\":\"SQL注入\",\"nums\":9},{\"attack_type\":\"UDP\",\"nums\":11},{\"attack_type\":\"WEB\",\"nums\":7},{\"attack_type\":\"僵尸网络\",\"nums\":24},{\"attack_type\":\"弱口令\",\"nums\":6},{\"attack_type\":\"端口扫描\",\"nums\":16},{\"attack_type\":\"网站扫描\",\"nums\":8},{\"attack_type\":\"超大ICMP\",\"nums\":19}]', 1, 0, 'admin', '2021-06-30 10:44:01', 'admin', '2021-06-30 13:13:56', 3);
|
||||
INSERT INTO `gaea_report_data_set` VALUES (50, 'log_ajmailfailtop5', '日志-邮件认证失败top5', '', 'mysql_ajreport', 'SELECT username,count(id)as nums from aj_report_mail WHERE status=0 GROUP BY username ORDER BY nums desc limit 5;', '[{\"nums\":63,\"username\":\"zhangsi\"},{\"nums\":52,\"username\":\"wangwu\"},{\"nums\":39,\"username\":\"liliu\"},{\"nums\":39,\"username\":\"IT1\"},{\"nums\":30,\"username\":\"IT2\"}]', 1, 0, 'admin', '2021-06-30 11:07:53', 'admin', '2021-06-30 11:07:53', 1);
|
||||
INSERT INTO `gaea_report_data_set` VALUES (51, 'log_ajmailfail', '日志-邮件认证失败趋势', '', 'mysql_ajreport', 'SELECT DATE_FORMAT(create_time,\'%Y-%m-%d\')as date,count(id)as nums from aj_report_mail WHERE status=0 \ngroup by date', '[{\"date\":\"2021-06-21\",\"nums\":25},{\"date\":\"2021-06-22\",\"nums\":16},{\"date\":\"2021-06-23\",\"nums\":89},{\"date\":\"2021-06-24\",\"nums\":61},{\"date\":\"2021-06-25\",\"nums\":53}]', 1, 0, 'admin', '2021-06-30 12:58:19', 'admin', '2021-06-30 12:58:19', 1);
|
||||
INSERT INTO `gaea_report_data_set` VALUES (52, 'log_ajwifiamount', '日志-wifi登陆趋势', '', 'mysql_ajreport', 'SELECT * from aj_report_wifiamount;', '[{\"fail\":15,\"datetime\":\"2021-06-17\",\"success\":210},{\"fail\":43,\"datetime\":\"2021-06-18\",\"success\":234},{\"fail\":28,\"datetime\":\"2021-06-19\",\"success\":199},{\"fail\":80,\"datetime\":\"2021-06-20\",\"success\":260},{\"fail\":45,\"datetime\":\"2021-06-21\",\"success\":245},{\"fail\":26,\"datetime\":\"2021-06-22\",\"success\":216},{\"fail\":10,\"datetime\":\"2021-06-23\",\"success\":150}]', 1, 0, 'admin', '2021-06-30 13:07:35', 'admin', '2021-06-30 13:07:35', 1);
|
||||
INSERT INTO `gaea_report_data_set` VALUES (53, 'car_ajpro', '汽车-生产趋势', '', 'mysql_ajreport', 'SELECT datetime,sum(manus)as nums from aj_report_manus GROUP BY datetime;', '[{\"datetime\":\"2021-06-18\",\"nums\":252},{\"datetime\":\"2021-06-19\",\"nums\":133},{\"datetime\":\"2021-06-20\",\"nums\":189},{\"datetime\":\"2021-06-21\",\"nums\":219},{\"datetime\":\"2021-06-22\",\"nums\":159}]', 1, 0, 'admin', '2021-06-30 14:23:02', 'admin', '2021-06-30 14:23:02', 1);
|
||||
INSERT INTO `gaea_report_data_set` VALUES (54, 'car_ajsale', '汽车-销售趋势', '', 'mysql_ajreport', 'SELECT datetime,sum(sales)as nums from aj_report_manus GROUP BY datetime;', '[{\"datetime\":\"2021-06-18\",\"nums\":231},{\"datetime\":\"2021-06-19\",\"nums\":140},{\"datetime\":\"2021-06-20\",\"nums\":170},{\"datetime\":\"2021-06-21\",\"nums\":191},{\"datetime\":\"2021-06-22\",\"nums\":144}]', 1, 0, 'admin', '2021-06-30 14:24:33', 'admin', '2021-06-30 14:24:33', 1);
|
||||
INSERT INTO `gaea_report_data_set` VALUES (55, 'car_ajproTop5', '汽车-生产TOP5', '', 'mysql_ajreport', 'SELECT brand,sum(manus)as nums from aj_report_manus GROUP BY brand ORDER BY nums desc limit 5;', '[{\"brand\":\"E-30\",\"nums\":215},{\"brand\":\"C-50\",\"nums\":210},{\"brand\":\"D-40\",\"nums\":175},{\"brand\":\"A-100\",\"nums\":100},{\"brand\":\"A-110\",\"nums\":97}]', 1, 0, 'admin', '2021-06-30 14:26:55', 'admin', '2021-06-30 14:26:55', 1);
|
||||
INSERT INTO `gaea_report_data_set` VALUES (56, 'car_ajsaleTop5', '汽车-销售TOP5', '', 'mysql_ajreport', 'SELECT brand,sum(sales)as nums from aj_report_manus GROUP BY brand ORDER BY nums desc limit 5;', '[{\"brand\":\"E-30\",\"nums\":221},{\"brand\":\"C-50\",\"nums\":189},{\"brand\":\"D-40\",\"nums\":169},{\"brand\":\"A-100\",\"nums\":81},{\"brand\":\"B-100\",\"nums\":80}]', 1, 0, 'admin', '2021-06-30 14:30:00', 'admin', '2021-06-30 14:30:00', 1);
|
||||
INSERT INTO `gaea_report_data_set` VALUES (57, 'car_ajunsale', '汽车-滞销', '', 'mysql_ajreport', 'SELECT brand,sum(unsales) as nums from aj_report_manus GROUP BY brand ORDER BY nums desc;', '[{\"brand\":\"C-50\",\"nums\":21},{\"brand\":\"A-110\",\"nums\":20},{\"brand\":\"A-100\",\"nums\":19},{\"brand\":\"B-110\",\"nums\":11},{\"brand\":\"E-30\",\"nums\":9},{\"brand\":\"D-40\",\"nums\":6},{\"brand\":\"B-100\",\"nums\":5}]', 1, 0, 'admin', '2021-06-30 14:30:46', 'admin', '2021-06-30 14:30:46', 1);
|
||||
INSERT INTO `gaea_report_data_set` VALUES (58, 'car_ajrework', '汽车-返修', '', 'mysql_ajreport', 'SELECT brand,sum(rework) as nums from aj_report_manus GROUP BY brand ORDER BY nums desc;', '[{\"brand\":\"E-30\",\"nums\":58},{\"brand\":\"D-40\",\"nums\":27},{\"brand\":\"C-50\",\"nums\":22},{\"brand\":\"A-100\",\"nums\":5},{\"brand\":\"A-110\",\"nums\":5},{\"brand\":\"B-110\",\"nums\":5},{\"brand\":\"B-100\",\"nums\":4}]', 1, 0, 'admin', '2021-06-30 14:31:16', 'admin', '2021-06-30 14:31:16', 1);
|
||||
INSERT INTO `gaea_report_data_set` VALUES (59, 'car_ajreturn', '汽车-退货', '', 'mysql_ajreport', 'SELECT brand,sum(`return`) as nums from aj_report_manus GROUP BY brand ORDER BY nums desc;', '[{\"brand\":\"E-30\",\"nums\":24},{\"brand\":\"C-50\",\"nums\":10},{\"brand\":\"D-40\",\"nums\":6},{\"brand\":\"A-110\",\"nums\":2},{\"brand\":\"B-110\",\"nums\":1},{\"brand\":\"A-100\",\"nums\":0},{\"brand\":\"B-100\",\"nums\":0}]', 1, 0, 'admin', '2021-06-30 14:31:45', 'admin', '2021-06-30 14:31:45', 1);
|
||||
INSERT INTO `gaea_report_data_set` VALUES (60, 'acc_ajacc', '访问-访问人数趋势', '', 'mysql_ajreport', 'SELECT datetime,access from aj_report_access ORDER BY datetime;', '[{\"datetime\":\"2021-06-18\",\"access\":1000},{\"datetime\":\"2021-06-19\",\"access\":1200},{\"datetime\":\"2021-06-20\",\"access\":1600},{\"datetime\":\"2021-06-21\",\"access\":2000},{\"datetime\":\"2021-06-22\",\"access\":800}]', 1, 0, 'admin', '2021-06-30 15:15:17', 'admin', '2021-06-30 15:16:04', 2);
|
||||
INSERT INTO `gaea_report_data_set` VALUES (61, 'acc_ajregister', '访问-注册人数趋势', '', 'mysql_ajreport', 'SELECT datetime,register from aj_report_access ORDER BY datetime;', '[{\"datetime\":\"2021-06-18\",\"register\":12},{\"datetime\":\"2021-06-19\",\"register\":20},{\"datetime\":\"2021-06-20\",\"register\":40},{\"datetime\":\"2021-06-21\",\"register\":100},{\"datetime\":\"2021-06-22\",\"register\":30}]', 1, 0, 'admin', '2021-06-30 15:15:55', 'admin', '2021-06-30 15:15:55', 1);
|
||||
INSERT INTO `gaea_report_data_set` VALUES (62, 'acc_ajrt', '访问-系统RT', '', 'mysql_ajreport', 'SELECT datetime,rt from aj_report_exper ORDER BY datetime;', '[{\"datetime\":\"2021-06-18\",\"rt\":90.92},{\"datetime\":\"2021-06-19\",\"rt\":100.02},{\"datetime\":\"2021-06-20\",\"rt\":98.89},{\"datetime\":\"2021-06-21\",\"rt\":110.99},{\"datetime\":\"2021-06-22\",\"rt\":89.78}]', 1, 0, 'admin', '2021-06-30 15:16:37', 'admin', '2021-07-01 16:06:00', 2);
|
||||
INSERT INTO `gaea_report_data_set` VALUES (63, 'acc_ajqps', '访问-系统QPS', '', 'mysql_ajreport', 'SELECT datetime,qps from aj_report_exper ORDER BY datetime;', '[{\"datetime\":\"2021-06-18\",\"qps\":9000},{\"datetime\":\"2021-06-19\",\"qps\":10000},{\"datetime\":\"2021-06-20\",\"qps\":9560},{\"datetime\":\"2021-06-21\",\"qps\":13456},{\"datetime\":\"2021-06-22\",\"qps\":8990}]', 1, 0, 'admin', '2021-06-30 15:19:06', 'admin', '2021-06-30 15:19:06', 1);
|
||||
INSERT INTO `gaea_report_data_set` VALUES (64, 'acc_ajerror', '访问-系统ERROR', '', 'mysql_ajreport', 'SELECT datetime,error from aj_report_exper ORDER BY datetime;', '[{\"datetime\":\"2021-06-18\",\"error\":2},{\"datetime\":\"2021-06-19\",\"error\":3},{\"datetime\":\"2021-06-20\",\"error\":1},{\"datetime\":\"2021-06-21\",\"error\":9},{\"datetime\":\"2021-06-22\",\"error\":3}]', 1, 0, 'admin', '2021-06-30 15:19:33', 'admin', '2021-06-30 15:19:33', 1);
|
||||
INSERT INTO `gaea_report_data_set` VALUES (65, 'amount_1', 'amount1', '', 'mysql_ajreport', 'SELECT sum(success)as nums from aj_report_wifiamount;', '[{\"nums\":1514}]', 1, 0, 'admin', '2021-07-05 15:00:18', 'admin', '2021-07-05 15:00:18', 1);
|
||||
INSERT INTO `gaea_report_data_set` VALUES (66, 'logis_1', '库存', '', 'mysql_ajreport', 'select name,nums from aj_report_common1 order by nums', '[{\"name\":\"上海\",\"nums\":500},{\"name\":\"北京\",\"nums\":600},{\"name\":\"西安\",\"nums\":1000},{\"name\":\"河南\",\"nums\":1200},{\"name\":\"武汉\",\"nums\":2000}]', 1, 0, 'admin', '2021-07-06 15:44:41', 'admin', '2021-07-06 15:54:16', 3);
|
||||
INSERT INTO `gaea_report_data_set` VALUES (67, 'logis_2', '收车量', '', 'mysql_ajreport', 'select name,nums from aj_report_common2 order by nums;', '[{\"name\":\"武汉\",\"nums\":20},{\"name\":\"河南\",\"nums\":50},{\"name\":\"西安\",\"nums\":70},{\"name\":\"北京\",\"nums\":100},{\"name\":\"上海\",\"nums\":200}]', 1, 0, 'admin', '2021-07-06 16:51:27', 'admin', '2021-07-06 16:51:27', 1);
|
||||
INSERT INTO `gaea_report_data_set` VALUES (68, 'logis_3', '收发车情况', '', 'mysql_ajreport', 'select time,collect,start from aj_report_common3;', '[{\"start\":8,\"time\":\"1月\",\"collect\":10},{\"start\":12,\"time\":\"2月\",\"collect\":15},{\"start\":22,\"time\":\"3月\",\"collect\":20},{\"start\":28,\"time\":\"4月\",\"collect\":30},{\"start\":35,\"time\":\"5月\",\"collect\":28},{\"start\":38,\"time\":\"6月\",\"collect\":40},{\"start\":100,\"time\":\"7月\",\"collect\":80},{\"start\":120,\"time\":\"8月\",\"collect\":90},{\"start\":89,\"time\":\"9月\",\"collect\":65},{\"start\":50,\"time\":\"10月\",\"collect\":50},{\"start\":34,\"time\":\"11月\",\"collect\":35},{\"start\":23,\"time\":\"12月\",\"collect\":27}]', 1, 0, 'admin', '2021-07-06 17:24:16', 'admin', '2021-07-06 17:30:15', 2);
|
||||
INSERT INTO `gaea_report_data_set` VALUES (69, 'logis_table', '表格测试', '', 'mysql_ajreport', 'select date,address,name from aj_report_table;', '[{\"date\":\"2021-05-01\",\"address\":\"这是一条测试表格事件1\",\"name\":\"上汽安吉\"},{\"date\":\"2021-05-02\",\"address\":\"这是一条测试表格事件2\",\"name\":\"上汽大通\"},{\"date\":\"2021-05-03\",\"address\":\"这是一条测试表格事件3\",\"name\":\"上汽智行\"},{\"date\":\"2021-05-04\",\"address\":\"这是一条测试表格事件4\",\"name\":\"上汽国际\"},{\"date\":\"2021-05-05\",\"address\":\"这是一条测试表格事件5\",\"name\":\"上汽国内\"},{\"date\":\"2021-05-06\",\"address\":\"这是一条测试表格事件6\",\"name\":\"上汽运输\"},{\"date\":\"2021-05-07\",\"address\":\"这是一条测试表格事件7\",\"name\":\"上汽大众\"}]', 1, 0, 'admin', '2021-07-06 17:56:23', 'admin', '2021-07-07 10:59:34', 4);
|
||||
INSERT INTO `gaea_report_data_set` VALUES (70, 'per', '百分比', '', 'mysql_ajreport', 'select doub from aj_report_nums where id =2;', '[{\"doub\":55.33}]', 1, 0, 'admin', '2021-07-14 16:17:14', 'admin', '2021-07-15 10:35:21', 2);
|
||||
INSERT INTO `gaea_report_data_set` VALUES (71, 'barstack_ajreport', '柱状堆叠数据', '', 'mysql_ajreport', 'select time,type,nums from aj_report_barstack', '[{\"time\":\"2021-07-27\",\"type\":\"A\",\"nums\":12},{\"time\":\"2021-07-27\",\"type\":\"B\",\"nums\":20},{\"time\":\"2021-07-27\",\"type\":\"C\",\"nums\":11},{\"time\":\"2021-07-26\",\"type\":\"A\",\"nums\":11},{\"time\":\"2021-07-26\",\"type\":\"B\",\"nums\":30},{\"time\":\"2021-07-25\",\"type\":\"B\",\"nums\":20},{\"time\":\"2021-07-25\",\"type\":\"C\",\"nums\":15}]', 1, 0, 'admin', '2021-07-27 19:50:52', 'admin', '2021-08-16 14:08:51', 7);
|
||||
INSERT INTO `gaea_report_data_set` VALUES (72, 'compare_ajreport', '柱状对比图示例数据', '', 'mysql_ajreport', 'SELECT time,type,nums from aj_report_comparestack', '[{\"time\":\"2021-08-23\",\"type\":\"成功\",\"nums\":12},{\"time\":\"2021-08-23\",\"type\":\"失败\",\"nums\":1},{\"time\":\"2021-08-24\",\"type\":\"成功\",\"nums\":24},{\"time\":\"2021-08-24\",\"type\":\"失败\",\"nums\":5},{\"time\":\"2021-08-25\",\"type\":\"成功\",\"nums\":13},{\"time\":\"2021-08-25\",\"type\":\"失败\",\"nums\":8},{\"time\":\"2021-08-26\",\"type\":\"成功\",\"nums\":19},{\"time\":\"2021-08-26\",\"type\":\"失败\",\"nums\":3},{\"time\":\"2021-08-27\",\"type\":\"成功\",\"nums\":9},{\"time\":\"2021-08-27\",\"type\":\"失败\",\"nums\":15}]', 1, 0, 'admin', '2021-08-27 13:48:33', 'admin', '2021-08-27 13:48:33', 1);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for gaea_report_data_set_param
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `gaea_report_data_set_param`;
|
||||
CREATE TABLE `gaea_report_data_set_param` (
|
||||
`id` bigint NOT NULL AUTO_INCREMENT,
|
||||
`set_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '数据集编码',
|
||||
`param_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '参数名',
|
||||
`param_desc` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '参数描述',
|
||||
`param_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '参数类型,字典=',
|
||||
`sample_item` varchar(1080) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '参数示例项',
|
||||
`required_flag` int DEFAULT '1' COMMENT '0--非必填 1--必填 DIC_NAME=REQUIRED_FLAG',
|
||||
`validation_rules` varchar(2048) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT 'js校验字段值规则,满足校验返回 true',
|
||||
`order_num` int DEFAULT NULL COMMENT '排序',
|
||||
`enable_flag` int DEFAULT '1' COMMENT '0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG',
|
||||
`delete_flag` int DEFAULT '0' COMMENT '0--未删除 1--已删除 DIC_NAME=DELETE_FLAG',
|
||||
`create_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '创建人',
|
||||
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
|
||||
`update_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '更新人',
|
||||
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
|
||||
`version` int DEFAULT NULL,
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=61 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='数据集查询参数';
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of gaea_report_data_set_param
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for gaea_report_data_set_transform
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `gaea_report_data_set_transform`;
|
||||
CREATE TABLE `gaea_report_data_set_transform` (
|
||||
`id` bigint NOT NULL AUTO_INCREMENT,
|
||||
`set_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '数据集编码',
|
||||
`transform_type` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '数据转换类型,DIC_NAME=TRANSFORM_TYPE; js,javaBean,字典转换',
|
||||
`transform_script` varchar(10800) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '数据转换script,处理逻辑',
|
||||
`order_num` int DEFAULT NULL COMMENT '排序,执行数据转换顺序',
|
||||
`enable_flag` int DEFAULT '1' COMMENT '0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG',
|
||||
`delete_flag` int DEFAULT '0' COMMENT '0--未删除 1--已删除 DIC_NAME=DELETE_FLAG',
|
||||
`create_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '创建人',
|
||||
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
|
||||
`update_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '更新人',
|
||||
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
|
||||
`version` int DEFAULT NULL,
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=39 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='数据集数据转换';
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of gaea_report_data_set_transform
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for gaea_report_data_source
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `gaea_report_data_source`;
|
||||
CREATE TABLE `gaea_report_data_source` (
|
||||
`id` bigint NOT NULL AUTO_INCREMENT,
|
||||
`source_code` varchar(100) DEFAULT NULL COMMENT '数据源编码',
|
||||
`source_name` varchar(100) DEFAULT NULL COMMENT '数据源名称',
|
||||
`source_desc` varchar(255) DEFAULT NULL COMMENT '数据源描述',
|
||||
`source_type` varchar(50) DEFAULT NULL COMMENT '数据源类型 DIC_NAME=SOURCE_TYPE; mysql,orace,sqlserver,elasticsearch,接口,javaBean,数据源类型字典中item-extend动态生成表单',
|
||||
`source_config` varchar(2048) DEFAULT NULL COMMENT '数据源连接配置json:关系库{ jdbcUrl:'''', username:'''', password:'''' } ES{ hostList:''ip1:9300,ip2:9300,ip3:9300'', clusterName:''elasticsearch_cluster'' } 接口{ apiUrl:''http://ip:port/url'', method:'''' } javaBean{ beanNamw:''xxx'' }',
|
||||
`enable_flag` int DEFAULT '1' COMMENT '0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG',
|
||||
`delete_flag` int DEFAULT '0' COMMENT '0--未删除 1--已删除 DIC_NAME=DELETE_FLAG',
|
||||
`create_by` varchar(255) DEFAULT NULL COMMENT '创建人',
|
||||
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
|
||||
`update_by` varchar(255) DEFAULT NULL COMMENT '更新人',
|
||||
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
|
||||
`version` int DEFAULT NULL,
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
UNIQUE KEY `unique_source_code` (`source_code`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='数据源管理';
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of gaea_report_data_source
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `gaea_report_data_source` VALUES (1, 'pigx_report_init', 'mysql数据源', '测试数据源,演示使用', 'mysql', '{\"driverName\":\"com.mysql.cj.jdbc.Driver\",\"jdbcUrl\":\"jdbc:mysql://pigx-mysql:3306/pigxx_report_init?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8\",\"username\":\"root\",\"password\":\"root\"}', 1, 0, 'admin', '2021-06-30 09:48:46', 'admin', '2021-09-17 15:02:15', 5);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for gaea_report_share
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `gaea_report_share`;
|
||||
CREATE TABLE `gaea_report_share` (
|
||||
`id` bigint NOT NULL AUTO_INCREMENT,
|
||||
`share_code` varchar(50) DEFAULT NULL COMMENT '分享编码,系统生成,默认UUID',
|
||||
`share_valid_type` int DEFAULT NULL COMMENT '分享有效期类型,DIC_NAME=SHARE_VAILD',
|
||||
`share_valid_time` datetime DEFAULT NULL COMMENT '分享有效期',
|
||||
`share_token` varchar(255) DEFAULT NULL COMMENT '分享token',
|
||||
`share_url` varchar(100) DEFAULT NULL COMMENT '分享url',
|
||||
`report_code` varchar(50) DEFAULT NULL COMMENT '报表编码',
|
||||
`enable_flag` int DEFAULT '1' COMMENT '0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG',
|
||||
`delete_flag` int DEFAULT '0' COMMENT '0--未删除 1--已删除 DIC_NAME=DELETE_FLAG',
|
||||
`create_by` varchar(255) DEFAULT NULL COMMENT '创建人',
|
||||
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
|
||||
`update_by` varchar(255) DEFAULT NULL COMMENT '更新人',
|
||||
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
|
||||
`version` int DEFAULT NULL,
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
UNIQUE KEY `UNIQUE_SHARE_CODE` (`share_code`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='报表分享';
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of gaea_report_share
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
+5
-1
@@ -20,4 +20,8 @@ COPY ./6pigxx_config.sql /docker-entrypoint-initdb.d
|
||||
|
||||
COPY ./7pigxx_pay.sql /docker-entrypoint-initdb.d
|
||||
|
||||
COPY ./8pigxx_codegen.sql /docker-entrypoint-initdb.d
|
||||
COPY ./8pigxx_codegen.sql /docker-entrypoint-initdb.d
|
||||
|
||||
COPY ./9pigxx_report.sql /docker-entrypoint-initdb.d
|
||||
|
||||
COPY ./99pigxx_report_init.sql /docker-entrypoint-initdb.d
|
||||
@@ -14,4 +14,4 @@ spring:
|
||||
shared-configs:
|
||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||
profiles:
|
||||
active: @profiles.active@
|
||||
active: @profiles.active@
|
||||
@@ -0,0 +1,18 @@
|
||||
FROM pig4cloud/java:8-jre
|
||||
|
||||
MAINTAINER wangiegie@gmail.com
|
||||
|
||||
ENV TZ=Asia/Shanghai
|
||||
ENV JAVA_OPTS="-Xms128m -Xmx256m -Djava.security.egd=file:/dev/./urandom"
|
||||
|
||||
RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||
|
||||
RUN mkdir -p /pigx-report-platform
|
||||
|
||||
WORKDIR /pigx-report-platform
|
||||
|
||||
EXPOSE 9095
|
||||
|
||||
ADD ./target/pigx-pay-platform.jar ./
|
||||
|
||||
CMD sleep 180;java $JAVA_OPTS -jar pigx-report-platform.jar
|
||||
@@ -0,0 +1,109 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<groupId>com.pig4cloud</groupId>
|
||||
<artifactId>pigx-visual</artifactId>
|
||||
<version>4.1.0</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>pigx-report-platform</artifactId>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<description>基于 aj-report 的大屏设计系统</description>
|
||||
|
||||
|
||||
<dependencies>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.anji-plus</groupId>
|
||||
<artifactId>spring-boot-gaea</artifactId>
|
||||
<version>2.0.3.RELEASE</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.baomidou</groupId>
|
||||
<artifactId>mybatis-plus-boot-starter</artifactId>
|
||||
<version>3.3.2</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>mysql</groupId>
|
||||
<artifactId>mysql-connector-java</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>druid</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>jakarta.servlet</groupId>
|
||||
<artifactId>jakarta.servlet-api</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.httpcomponents</groupId>
|
||||
<artifactId>httpclient</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!--undertow容器-->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-undertow</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.baomidou</groupId>
|
||||
<artifactId>mybatis-plus-extension</artifactId>
|
||||
<version>3.3.2</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>io.fabric8</groupId>
|
||||
<artifactId>docker-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<skip>false</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<filtering>true</filtering>
|
||||
<excludes>
|
||||
<exclude>**/*.woff</exclude>
|
||||
<exclude>**/*.woff2</exclude>
|
||||
<exclude>**/*.ttf</exclude>
|
||||
</excludes>
|
||||
</resource>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<filtering>false</filtering>
|
||||
<includes>
|
||||
<include>**/*.woff</include>
|
||||
<include>**/*.woff2</include>
|
||||
<include>**/*.ttf</include>
|
||||
</includes>
|
||||
</resource>
|
||||
</resources>
|
||||
</build>
|
||||
</project>
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
package com.anjiplus.template.gaea.business;
|
||||
|
||||
import com.anji.plus.gaea.annotation.enabled.EnabledGaeaConfiguration;
|
||||
import org.mybatis.spring.annotation.MapperScan;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
/**
|
||||
* 业务模板
|
||||
*
|
||||
* @author lr
|
||||
* @since 2021-02-03
|
||||
*/
|
||||
@EnabledGaeaConfiguration
|
||||
@SpringBootApplication(scanBasePackages = { "com.anjiplus.template.gaea", "com.anji.plus" })
|
||||
@MapperScan(basePackages = { "com.anjiplus.template.gaea.business.modules.*.dao",
|
||||
"com.anjiplus.template.gaea.business.modules.*.**.dao", "com.anji.plus.gaea.*.module.*.dao" })
|
||||
public class PigxReportPlatformApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(PigxReportPlatformApplication.class);
|
||||
}
|
||||
|
||||
}
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
package com.anjiplus.template.gaea.business.base;
|
||||
|
||||
import org.springframework.context.i18n.LocaleContextHolder;
|
||||
|
||||
import com.anji.plus.gaea.curd.controller.GaeaBaseController;
|
||||
import com.anji.plus.gaea.curd.dto.BaseDTO;
|
||||
import com.anji.plus.gaea.curd.entity.BaseEntity;
|
||||
import com.anji.plus.gaea.curd.params.PageParam;
|
||||
|
||||
/**
|
||||
* 项目级的Controller公共处理基类
|
||||
*
|
||||
* @author WongBin
|
||||
* @date 2021/3/26
|
||||
*/
|
||||
public abstract class BaseController<P extends PageParam, T extends BaseEntity, D extends BaseDTO>
|
||||
extends GaeaBaseController<P, T, D> {
|
||||
|
||||
/**
|
||||
* 获取当前语言类型
|
||||
* @return
|
||||
*/
|
||||
public String getI18nLang() {
|
||||
return LocaleContextHolder.getLocale().getLanguage();
|
||||
}
|
||||
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
package com.anjiplus.template.gaea.business.base;
|
||||
|
||||
import com.anji.plus.gaea.curd.entity.BaseEntity;
|
||||
import com.anji.plus.gaea.curd.params.PageParam;
|
||||
import com.anji.plus.gaea.curd.service.GaeaBaseService;
|
||||
import org.springframework.context.i18n.LocaleContextHolder;
|
||||
|
||||
/**
|
||||
* 项目级的Service公共处理基类
|
||||
*
|
||||
* @author WongBin
|
||||
* @date 2021/3/26
|
||||
*/
|
||||
public interface BaseService<P extends PageParam, T extends BaseEntity> extends GaeaBaseService<P, T> {
|
||||
|
||||
}
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
package com.anjiplus.template.gaea.business.base;
|
||||
|
||||
import com.anji.plus.gaea.bean.ResponseBean;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* @desc 用户管理 controller
|
||||
* @author 木子李·De <lide1202@hotmail.com>
|
||||
* @date 2019-02-17 08:50:11.902
|
||||
**/
|
||||
@RestController
|
||||
public class HealthController {
|
||||
|
||||
@GetMapping("health")
|
||||
public ResponseBean health() {
|
||||
return ResponseBean.builder().build();
|
||||
}
|
||||
|
||||
}
|
||||
+147
@@ -0,0 +1,147 @@
|
||||
package com.anjiplus.template.gaea.business.cache;
|
||||
|
||||
import com.anji.plus.gaea.cache.CacheHelper;
|
||||
import com.google.common.collect.Maps;
|
||||
import org.springframework.beans.BeansException;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.cache.Cache;
|
||||
import org.springframework.context.ApplicationContext;
|
||||
import org.springframework.context.ApplicationContextAware;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
public class ReportCacheHelper implements CacheHelper, ApplicationContextAware {
|
||||
|
||||
@Autowired
|
||||
private Cache cache;
|
||||
|
||||
@Override
|
||||
public String stringGet(String key) {
|
||||
Cache.ValueWrapper valueWrapper = cache.get(key);
|
||||
if (valueWrapper != null) {
|
||||
return (String) valueWrapper.get();
|
||||
}
|
||||
return CacheHelper.super.stringGet(key);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean setIfAbsent(String key, String value) {
|
||||
cache.putIfAbsent(key, value);
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean exist(String key) {
|
||||
String cacheHoldTime = stringGet(key + "_HoldTime");
|
||||
if (cacheHoldTime != null && Long.parseLong(cacheHoldTime) > 0) {
|
||||
if (Long.parseLong(cacheHoldTime) < System.currentTimeMillis()) {
|
||||
delete(key + "_HoldTime");
|
||||
delete(key);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return cache.get(key) != null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void stringSet(String key, String value) {
|
||||
cache.put(key, value);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String regKey(String key) {
|
||||
return CacheHelper.super.regKey(key);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void stringSetExpire(String key, String value, long seconds) {
|
||||
stringSet(key, value);
|
||||
if (seconds > 0) {
|
||||
// 缓存失效时间
|
||||
stringSet(key + "_HoldTime", String.valueOf(System.currentTimeMillis() + seconds * 1000));
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<String, String> hashGet(String key) {
|
||||
Cache.ValueWrapper t = cache.get(key);
|
||||
if (t != null) {
|
||||
return (Map<String, String>) t.get();
|
||||
}
|
||||
return Maps.newHashMap();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String hashGetString(String key, String hashKey) {
|
||||
Map<String, String> stringStringMap = hashGet(key);
|
||||
return stringStringMap.get(hashKey);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void hashDel(String key, String hashKey) {
|
||||
Map<String, String> stringStringMap = hashGet(key);
|
||||
stringStringMap.remove(hashKey);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void hashBatchDel(String key, Set<String> hashKeys) {
|
||||
Map<String, String> stringStringMap = hashGet(key);
|
||||
hashKeys.forEach(stringStringMap::remove);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hashExist(String key, String hashKey) {
|
||||
if (exist(key)) {
|
||||
Map<String, String> map = hashGet(key);
|
||||
return map.containsKey(hashKey);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hashAnyExist(String key, String[] hashKeys) {
|
||||
return CacheHelper.super.hashAnyExist(key, hashKeys);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void hashSet(String key, String hashKey, String hashValue) {
|
||||
Map<String, String> map;
|
||||
if (exist(key)) {
|
||||
map = hashGet(key);
|
||||
}
|
||||
else {
|
||||
map = new HashMap<>();
|
||||
}
|
||||
map.put(hashKey, hashValue);
|
||||
hashSet(key, map);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void hashSet(String key, Map<String, String> hash) {
|
||||
cache.put(key, hash);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean delete(String key) {
|
||||
if (exist(key)) {
|
||||
cache.evict(key);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean delete(List<String> keys) {
|
||||
keys.forEach(this::delete);
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
|
||||
/* 基于内存的本地缓存 */
|
||||
cache = (Cache) applicationContext.getBean("ehCacheCache");
|
||||
}
|
||||
|
||||
}
|
||||
+172
@@ -0,0 +1,172 @@
|
||||
package com.anjiplus.template.gaea.business.code;
|
||||
|
||||
/**
|
||||
* 响应码
|
||||
*
|
||||
* @author lr
|
||||
* @since 2021-02-22
|
||||
*/
|
||||
public interface ResponseCode {
|
||||
|
||||
String NOT_NULL = "field.not.null";
|
||||
|
||||
String NOT_EMPTY = "field.not.empty";
|
||||
|
||||
String MIN = "field.min";
|
||||
|
||||
String MAX = "field.max";
|
||||
|
||||
String DICT_ERROR = "field.dict.error";
|
||||
|
||||
String USER_PASSWORD_ERROR = "User.password.error";
|
||||
|
||||
/**
|
||||
* 用户名或者密码不正确
|
||||
*/
|
||||
String LOGIN_ERROR = "login.error";
|
||||
|
||||
/**
|
||||
* 新密码不能和原密码一致
|
||||
*/
|
||||
String USER_PASSWORD_CONFIG_PASSWORD_CANOT_EQUAL = "user.password.config.password.canot.equal";
|
||||
|
||||
/**
|
||||
* 密码和确认密码不一致
|
||||
*/
|
||||
String USER_INCONSISTENT_PASSWORD_ERROR = "user.inconsistent.password.error";
|
||||
|
||||
/**
|
||||
* 旧密码不正确
|
||||
*/
|
||||
String USER_OLD_PASSWORD_ERROR = "user.old.password.error";
|
||||
|
||||
/**
|
||||
* 用户token过期
|
||||
*/
|
||||
String USER_TOKEN_EXPIRED = "User.token.expired";
|
||||
|
||||
/**
|
||||
* 字典项重复
|
||||
*/
|
||||
String DICT_ITEM_REPEAT = "Dict.item.code.exist";
|
||||
|
||||
/**
|
||||
* 数字字典国际化标识不能为null
|
||||
*/
|
||||
String DICT_CODE_LOCALE_NULL = "500-00002";
|
||||
|
||||
/**
|
||||
* 参数为空
|
||||
*/
|
||||
String PARAM_IS_NULL = "Rule.execute.param.null";
|
||||
|
||||
/**
|
||||
* 规则编译不通过
|
||||
*/
|
||||
String RULE_CONTENT_COMPILE_ERROR = "Rule.content.compile.error";
|
||||
|
||||
/**
|
||||
* 规则执行不通过
|
||||
*/
|
||||
String RULE_CONTENT_EXECUTE_ERROR = "Rule.content.execute.error";
|
||||
|
||||
/**
|
||||
* 规则编码已存在
|
||||
*/
|
||||
String RULE_CODE_EXIST = "Rule.code.exist";
|
||||
|
||||
/**
|
||||
* 对应规则内容不存在
|
||||
*/
|
||||
String RULE_CONTENT_NOT_EXIST = "Rule.content.not.exist";
|
||||
|
||||
/**
|
||||
* 对应规则字段值不存在
|
||||
*/
|
||||
String RULE_FIELDS_NOT_EXIST = "Rule.fields.not.exist";
|
||||
|
||||
/**
|
||||
* 规则字段必填
|
||||
*/
|
||||
String RULE_FIELD_VALUE_IS_REQUIRED = "Rule.field.value.is.required";
|
||||
|
||||
/**
|
||||
* 规则字段值类型错误
|
||||
*/
|
||||
String RULE_FIELD_VALUE_TYPE_ERROR = "Rule.field.value.type.error";
|
||||
|
||||
/**
|
||||
* 规则参数校验不通过
|
||||
*/
|
||||
String RULE_FIELDS_CHECK_ERROR = "Rule.fields.check.error";
|
||||
|
||||
/**
|
||||
* 组件未加载
|
||||
*/
|
||||
String COMPONENT_NOT_LOAD = "Component.load.check.error";
|
||||
|
||||
String AUTH_PASSWORD_NOTSAME = "1001";
|
||||
|
||||
String OLD_PASSWORD_ERROR = "1003";
|
||||
|
||||
String USER_ONTEXIST_ORGINFO = "1004";
|
||||
|
||||
String USER_ONTEXIST_ROLEINFO = "1005";
|
||||
|
||||
String MENU_TABLE_CODE_EXIST = "1006";
|
||||
|
||||
String USER_CODE_ISEXIST = "1007";
|
||||
|
||||
String ROLE_CODE_ISEXIST = "1008";
|
||||
|
||||
String MENU_CODE_ISEXIST = "1009";
|
||||
|
||||
String ORG_CODE_ISEXIST = "1010";
|
||||
|
||||
String SEARCHNAME_ISEXIST = "1011";
|
||||
|
||||
String SETTINGNAME_ISEXIST = "1012";
|
||||
|
||||
String DICCODE_ISEXIST = "1013";
|
||||
|
||||
String DEVICEID_LENGTH = "1014";
|
||||
|
||||
String USERINFO_EMPTY = "1015";
|
||||
|
||||
String FILE_EMPTY_FILENAME = "2001";
|
||||
|
||||
String FILE_SUFFIX_UNSUPPORTED = "2002";
|
||||
|
||||
String FILE_UPLOAD_ERROR = "2003";
|
||||
|
||||
String FILE_ONT_EXSIT = "2004";
|
||||
|
||||
String LIST_IS_EMPTY = "2005";
|
||||
|
||||
String PUSHCODE_NEED_UNIQUE = "3001";
|
||||
|
||||
String RECEIVER_IS_EMPTY = "3002";
|
||||
|
||||
String DATA_SOURCE_CONNECTION_FAILED = "4001";
|
||||
|
||||
String DATA_SOURCE_TYPE_DOES_NOT_MATCH_TEMPORARILY = "4002";
|
||||
|
||||
String EXECUTE_SQL_ERROR = "4003";
|
||||
|
||||
String INCOMPLETE_PARAMETER_REPLACEMENT_VALUES = "4004";
|
||||
|
||||
String EXECUTE_JS_ERROR = "4005";
|
||||
|
||||
String ANALYSIS_DATA_ERROR = "4006";
|
||||
|
||||
String REPORT_CODE_ISEXIST = "4007";
|
||||
|
||||
String SET_CODE_ISEXIST = "4008";
|
||||
|
||||
String SOURCE_CODE_ISEXIST = "4009";
|
||||
|
||||
String CLASS_NOT_FOUND = "4010";
|
||||
|
||||
String REPORT_SHARE_LINK_INVALID = "report.share.link.invalid";
|
||||
|
||||
}
|
||||
+101
@@ -0,0 +1,101 @@
|
||||
package com.anjiplus.template.gaea.business.config;
|
||||
|
||||
import com.alibaba.druid.pool.DruidDataSource;
|
||||
import lombok.Data;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* Created by raodeming on 2021/8/6.
|
||||
*/
|
||||
@Component
|
||||
@ConfigurationProperties(prefix = "spring.druid")
|
||||
@Data
|
||||
public class DruidProperties {
|
||||
|
||||
/**
|
||||
* 初始化时建立物理连接的个数。初始化发生在显示调用init方法,或者第一次getConnection时
|
||||
*/
|
||||
private int initialSize;
|
||||
|
||||
/**
|
||||
* 最小连接池数量
|
||||
*/
|
||||
private int minIdle;
|
||||
|
||||
/**
|
||||
* 最大连接池数量
|
||||
*/
|
||||
private int maxActive;
|
||||
|
||||
/**
|
||||
* 获取连接时最大等待时间,单位毫秒。配置了maxWait之后,缺省启用公平锁,并发效率会有所下降,如果需要可以通过配置
|
||||
*/
|
||||
private int maxWait;
|
||||
|
||||
/**
|
||||
* 关闭空闲连接的检测时间间隔.Destroy线程会检测连接的间隔时间,如果连接空闲时间大于等于minEvictableIdleTimeMillis则关闭物理连接。
|
||||
*/
|
||||
private int timeBetweenEvictionRunsMillis;
|
||||
|
||||
/**
|
||||
* 连接的最小生存时间.连接保持空闲而不被驱逐的最小时间
|
||||
*/
|
||||
private int minEvictableIdleTimeMillis;
|
||||
|
||||
/**
|
||||
* 申请连接时检测空闲时间,根据空闲时间再检测连接是否有效.建议配置为true,不影响性能,并且保证安全性。申请连接的时候检测,如果空闲时间大于timeBetweenEvictionRun
|
||||
*/
|
||||
private boolean testWhileIdle;
|
||||
|
||||
/**
|
||||
* 开启PSCache
|
||||
*/
|
||||
private boolean poolPreparedStatements;
|
||||
|
||||
/**
|
||||
* 设置PSCache值
|
||||
*/
|
||||
private int maxPoolPreparedStatementPerConnectionSize;
|
||||
|
||||
/**
|
||||
* 连接出错后再尝试连接三次
|
||||
*/
|
||||
private int connectionErrorRetryAttempts;
|
||||
|
||||
/**
|
||||
* 数据库服务宕机自动重连机制
|
||||
*/
|
||||
private boolean breakAfterAcquireFailure;
|
||||
|
||||
/**
|
||||
* 连接出错后重试时间间隔
|
||||
*/
|
||||
private int timeBetweenConnectErrorMillis;
|
||||
|
||||
public DruidDataSource dataSource(String url, String username, String password, String driverClassName) {
|
||||
DruidDataSource datasource = new DruidDataSource();
|
||||
datasource.setUrl(url);
|
||||
datasource.setUsername(username);
|
||||
datasource.setPassword(password);
|
||||
datasource.setDriverClassName(driverClassName);
|
||||
// configuration
|
||||
datasource.setInitialSize(initialSize);
|
||||
datasource.setMinIdle(minIdle);
|
||||
datasource.setMaxActive(maxActive);
|
||||
datasource.setMaxWait(maxWait);
|
||||
|
||||
datasource.setTimeBetweenEvictionRunsMillis(timeBetweenEvictionRunsMillis);
|
||||
datasource.setMinEvictableIdleTimeMillis(minEvictableIdleTimeMillis);
|
||||
datasource.setTestWhileIdle(testWhileIdle);
|
||||
|
||||
datasource.setPoolPreparedStatements(poolPreparedStatements);
|
||||
datasource.setMaxPoolPreparedStatementPerConnectionSize(maxPoolPreparedStatementPerConnectionSize);
|
||||
|
||||
datasource.setConnectionErrorRetryAttempts(connectionErrorRetryAttempts);
|
||||
datasource.setBreakAfterAcquireFailure(breakAfterAcquireFailure);
|
||||
datasource.setTimeBetweenConnectErrorMillis(timeBetweenConnectErrorMillis);
|
||||
return datasource;
|
||||
}
|
||||
|
||||
}
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
package com.anjiplus.template.gaea.business.constant;
|
||||
|
||||
/**
|
||||
* 常量
|
||||
*
|
||||
* @author lr
|
||||
* @since 2021-03-26
|
||||
*/
|
||||
public interface BusinessConstant {
|
||||
|
||||
String LEFT_BIG_BOAST = "{";
|
||||
|
||||
String RIGTH_BIG_BOAST = "}";
|
||||
|
||||
String LEFT_MIDDLE_BOAST = "[";
|
||||
|
||||
String RIGHT_MIDDLE_BOAST = "]";
|
||||
|
||||
/**
|
||||
* 字典项重复
|
||||
*/
|
||||
String DICT_ITEM_EXIST_GROUP = "dictItemExist";
|
||||
|
||||
/**
|
||||
* 所有url的权限码缓存key
|
||||
*/
|
||||
String GAEA_SECURITY_AUTHORITIES = "gaea:security:authorities:all";
|
||||
|
||||
/**
|
||||
* 用户登录的token缓存key
|
||||
*/
|
||||
String GAEA_SECURITY_LOGIN_TOKEN = "gaea:security:login:token:%s";
|
||||
|
||||
/**
|
||||
* 用户登录的主信息缓存信息
|
||||
*/
|
||||
String GAEA_SECURITY_LOGIN_USER = "gaea:security:login:user:%s";
|
||||
|
||||
}
|
||||
+55
@@ -0,0 +1,55 @@
|
||||
package com.anjiplus.template.gaea.business.enums;
|
||||
|
||||
public enum DeleteFlagEnum {
|
||||
|
||||
DELETED(1, "已删除"), UNDELETED(0, "未删除"),;
|
||||
|
||||
private int codeValue;
|
||||
|
||||
private String codeDesc;
|
||||
|
||||
private DeleteFlagEnum(int codeValue, String codeDesc) {
|
||||
this.codeValue = codeValue;
|
||||
this.codeDesc = codeDesc;
|
||||
}
|
||||
|
||||
public int getCodeValue() {
|
||||
return this.codeValue;
|
||||
}
|
||||
|
||||
public String getCodeDesc() {
|
||||
return this.codeDesc;
|
||||
}
|
||||
|
||||
// 根据codeValue获取枚举
|
||||
public static DeleteFlagEnum parseFromCodeValue(int codeValue) {
|
||||
for (DeleteFlagEnum e : DeleteFlagEnum.values()) {
|
||||
if (e.codeValue == codeValue) {
|
||||
return e;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
// 根据codeValue获取描述
|
||||
public static String getCodeDescByCodeValue(int codeValue) {
|
||||
DeleteFlagEnum enumItem = parseFromCodeValue(codeValue);
|
||||
return enumItem == null ? "" : enumItem.getCodeDesc();
|
||||
}
|
||||
|
||||
// 验证codeValue是否有效
|
||||
public static boolean validateCodeValue(int codeValue) {
|
||||
return parseFromCodeValue(codeValue) != null;
|
||||
}
|
||||
|
||||
// 列出所有值字符串
|
||||
public static String getString() {
|
||||
StringBuffer buffer = new StringBuffer();
|
||||
for (DeleteFlagEnum e : DeleteFlagEnum.values()) {
|
||||
buffer.append(e.codeValue).append("--").append(e.getCodeDesc()).append(", ");
|
||||
}
|
||||
buffer.deleteCharAt(buffer.lastIndexOf(","));
|
||||
return buffer.toString().trim();
|
||||
}
|
||||
|
||||
}
|
||||
+55
@@ -0,0 +1,55 @@
|
||||
package com.anjiplus.template.gaea.business.enums;
|
||||
|
||||
public enum EnableFlagEnum {
|
||||
|
||||
ENABLE(1, "启用"), DISABLE(0, "禁用"),;
|
||||
|
||||
private int codeValue;
|
||||
|
||||
private String codeDesc;
|
||||
|
||||
private EnableFlagEnum(int codeValue, String codeDesc) {
|
||||
this.codeValue = codeValue;
|
||||
this.codeDesc = codeDesc;
|
||||
}
|
||||
|
||||
public int getCodeValue() {
|
||||
return this.codeValue;
|
||||
}
|
||||
|
||||
public String getCodeDesc() {
|
||||
return this.codeDesc;
|
||||
}
|
||||
|
||||
// 根据codeValue获取枚举
|
||||
public static EnableFlagEnum parseFromCodeValue(int codeValue) {
|
||||
for (EnableFlagEnum e : EnableFlagEnum.values()) {
|
||||
if (e.codeValue == codeValue) {
|
||||
return e;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
// 根据codeValue获取描述
|
||||
public static String getCodeDescByCodeBalue(int codeValue) {
|
||||
EnableFlagEnum enumItem = parseFromCodeValue(codeValue);
|
||||
return enumItem == null ? "" : enumItem.getCodeDesc();
|
||||
}
|
||||
|
||||
// 验证codeValue是否有效
|
||||
public static boolean validateCodeValue(int codeValue) {
|
||||
return parseFromCodeValue(codeValue) != null;
|
||||
}
|
||||
|
||||
// 列出所有值字符串
|
||||
public static String getString() {
|
||||
StringBuffer buffer = new StringBuffer();
|
||||
for (EnableFlagEnum e : EnableFlagEnum.values()) {
|
||||
buffer.append(e.codeValue).append("--").append(e.getCodeDesc()).append(", ");
|
||||
}
|
||||
buffer.deleteCharAt(buffer.lastIndexOf(","));
|
||||
return buffer.toString().trim();
|
||||
}
|
||||
|
||||
}
|
||||
+44
@@ -0,0 +1,44 @@
|
||||
package com.anjiplus.template.gaea.business.filter;
|
||||
|
||||
import org.springframework.core.Ordered;
|
||||
import org.springframework.core.annotation.Order;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import javax.servlet.*;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
* Created by raodeming on 2021/6/24.
|
||||
*/
|
||||
@Component
|
||||
@Order(Ordered.HIGHEST_PRECEDENCE)
|
||||
public class CorsFilter implements Filter {
|
||||
|
||||
@Override
|
||||
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
|
||||
throws IOException, ServletException {
|
||||
HttpServletRequest req = (HttpServletRequest) request;
|
||||
HttpServletResponse res = (HttpServletResponse) response;
|
||||
// 设置允许Cookie
|
||||
res.addHeader("Access-Control-Allow-Credentials", "true");
|
||||
// 允许http://www.xxx.com域(自行设置,这里只做示例)发起跨域请求
|
||||
res.addHeader("Access-Control-Allow-Origin", req.getHeader("Origin"));
|
||||
// 设置允许跨域请求的方法
|
||||
res.addHeader("Access-Control-Allow-Methods", "*");
|
||||
// 允许跨域请求包含content-type
|
||||
res.addHeader("Access-Control-Allow-Headers", "*");
|
||||
res.addHeader("Access-Control-Expose-Headers", "*");
|
||||
chain.doFilter(req, res);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void destroy() {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void init(FilterConfig filterConfig) throws ServletException {
|
||||
}
|
||||
|
||||
}
|
||||
+82
@@ -0,0 +1,82 @@
|
||||
package com.anjiplus.template.gaea.business.filter;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.anji.plus.gaea.bean.ResponseBean;
|
||||
import org.springframework.core.annotation.Order;
|
||||
import org.springframework.http.HttpMethod;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import javax.servlet.*;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.io.IOException;
|
||||
import java.util.List;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
/**
|
||||
* 简单的鉴权
|
||||
*
|
||||
* @author raodeming
|
||||
* @date 2021/6/24.
|
||||
*/
|
||||
@Component
|
||||
@Order(Integer.MIN_VALUE + 99)
|
||||
public class TokenFilter implements Filter {
|
||||
|
||||
private static final Pattern PATTERN = Pattern.compile(".*().*");
|
||||
|
||||
@Override
|
||||
public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain)
|
||||
throws IOException, ServletException {
|
||||
HttpServletRequest request = (HttpServletRequest) servletRequest;
|
||||
HttpServletResponse response = (HttpServletResponse) servletResponse;
|
||||
String uri = request.getRequestURI();
|
||||
|
||||
String method = request.getMethod();
|
||||
|
||||
if (HttpMethod.POST.name().equalsIgnoreCase(method) || HttpMethod.PUT.name().equalsIgnoreCase(method)
|
||||
|| HttpMethod.DELETE.name().equalsIgnoreCase(method)) {
|
||||
ResponseBean responseBean = ResponseBean.builder().code("50001").message("在线体验版本,不允许此操作。").build();
|
||||
response.getWriter().print(JSONObject.toJSONString(responseBean));
|
||||
return;
|
||||
}
|
||||
|
||||
// 执行
|
||||
filterChain.doFilter(request, response);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void destroy() {
|
||||
Filter.super.destroy();
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据名单,生成正则
|
||||
* @param skipUrlList
|
||||
* @return
|
||||
*/
|
||||
private Pattern fitByList(List<String> skipUrlList) {
|
||||
if (skipUrlList == null || skipUrlList.size() == 0) {
|
||||
return PATTERN;
|
||||
}
|
||||
StringBuffer patternString = new StringBuffer();
|
||||
patternString.append(".*(");
|
||||
|
||||
skipUrlList.stream().forEach(url -> {
|
||||
patternString.append(url.trim());
|
||||
patternString.append("|");
|
||||
});
|
||||
if (skipUrlList.size() > 0) {
|
||||
patternString.deleteCharAt(patternString.length() - 1);
|
||||
}
|
||||
patternString.append(").*");
|
||||
|
||||
return Pattern.compile(patternString.toString());
|
||||
}
|
||||
|
||||
private void error(HttpServletResponse response) throws IOException {
|
||||
ResponseBean responseBean = ResponseBean.builder().code("50014").message("The Token has expired").build();
|
||||
response.getWriter().print(JSONObject.toJSONString(responseBean));
|
||||
}
|
||||
|
||||
}
|
||||
+69
@@ -0,0 +1,69 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.accessauthority.controller;
|
||||
|
||||
import com.anji.plus.gaea.annotation.Permission;
|
||||
import com.anji.plus.gaea.annotation.AccessKey;
|
||||
import com.anji.plus.gaea.bean.KeyValue;
|
||||
import com.anji.plus.gaea.bean.ResponseBean;
|
||||
import com.anji.plus.gaea.bean.TreeNode;
|
||||
import com.anji.plus.gaea.curd.controller.GaeaBaseController;
|
||||
import com.anji.plus.gaea.curd.service.GaeaBaseService;
|
||||
import com.anji.plus.gaea.holder.UserContentHolder;
|
||||
import com.anji.plus.gaea.utils.GaeaBeanUtils;
|
||||
import com.anji.plus.gaea.utils.GaeaUtils;
|
||||
import com.anjiplus.template.gaea.business.modules.accessauthority.dao.entity.AccessAuthority;
|
||||
import com.anjiplus.template.gaea.business.modules.accessauthority.service.AccessAuthorityService;
|
||||
import com.anjiplus.template.gaea.business.modules.accessauthority.controller.dto.AccessAuthorityDto;
|
||||
import com.anjiplus.template.gaea.business.modules.accessauthority.controller.param.AccessAuthorityParam;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.i18n.LocaleContextHolder;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import io.swagger.annotations.Api;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @desc 权限管理 controller
|
||||
* @author 木子李·De <lide1202@hotmail.com>
|
||||
* @date 2019-02-17 08:50:10.009
|
||||
**/
|
||||
@RestController
|
||||
@Api(tags = "权限管理管理")
|
||||
@RequestMapping("/accessAuthority")
|
||||
@Permission(code = "authorityManage", name = "权限管理")
|
||||
public class AccessAuthorityController
|
||||
extends GaeaBaseController<AccessAuthorityParam, AccessAuthority, AccessAuthorityDto> {
|
||||
|
||||
@Autowired
|
||||
private AccessAuthorityService accessAuthorityService;
|
||||
|
||||
@Override
|
||||
public GaeaBaseService<AccessAuthorityParam, AccessAuthority> getService() {
|
||||
return accessAuthorityService;
|
||||
}
|
||||
|
||||
@Override
|
||||
public AccessAuthority getEntity() {
|
||||
return new AccessAuthority();
|
||||
}
|
||||
|
||||
@Override
|
||||
public AccessAuthorityDto getDTO() {
|
||||
return new AccessAuthorityDto();
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取一二级菜单
|
||||
* @return
|
||||
*/
|
||||
@Permission(code = "query", name = "查询")
|
||||
@GetMapping("/menuTree")
|
||||
public ResponseBean menuTree() {
|
||||
String username = UserContentHolder.getContext().getUsername();
|
||||
List<TreeNode> parentTreeList = accessAuthorityService.getAuthorityTree(username, false);
|
||||
return responseSuccessWithData(parentTreeList);
|
||||
}
|
||||
|
||||
}
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.accessauthority.controller.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.anji.plus.gaea.annotation.Query;
|
||||
import com.anji.plus.gaea.constant.QueryEnum;
|
||||
import com.anji.plus.gaea.curd.dto.GaeaBaseDTO;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import com.anji.plus.gaea.annotation.Formatter;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @description 权限管理 dto
|
||||
* @author 木子李·De <lide1202@hotmail.com>
|
||||
* @date 2019-02-17 08:50:10.009
|
||||
**/
|
||||
@Data
|
||||
public class AccessAuthorityDto extends GaeaBaseDTO implements Serializable {
|
||||
|
||||
/** 父菜单代码 */
|
||||
@ApiModelProperty(value = "父菜单代码")
|
||||
private String parentTarget;
|
||||
|
||||
/** 目标菜单 */
|
||||
@ApiModelProperty(value = "菜单代码")
|
||||
@NotEmpty(message = "6002")
|
||||
private String target;
|
||||
|
||||
/** 目标菜单名称 */
|
||||
@ApiModelProperty(value = "菜单名称")
|
||||
@NotEmpty(message = "6002")
|
||||
private String targetName;
|
||||
|
||||
/** 目标按钮 */
|
||||
@ApiModelProperty(value = "按钮代码")
|
||||
@NotEmpty(message = "6002")
|
||||
private String action;
|
||||
|
||||
/** 目标按钮名称 */
|
||||
@ApiModelProperty(value = "按钮名称")
|
||||
@NotEmpty(message = "6002")
|
||||
private String actionName;
|
||||
|
||||
/** 0--未删除 1--已删除 DIC_NAME=DEL_FLAG */
|
||||
@ApiModelProperty(value = " 0--未删除 1--已删除 DIC_NAME=DEL_FLAG")
|
||||
private Integer deleteFlag;
|
||||
|
||||
/** 0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG */
|
||||
@ApiModelProperty(value = "0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG")
|
||||
@NotNull(message = "6002")
|
||||
private Integer enableFlag;
|
||||
|
||||
@ApiModelProperty(value = "sort")
|
||||
private Integer sort;
|
||||
|
||||
}
|
||||
+45
@@ -0,0 +1,45 @@
|
||||
/**/
|
||||
package com.anjiplus.template.gaea.business.modules.accessauthority.controller.param;
|
||||
|
||||
import lombok.Data;
|
||||
import java.io.Serializable;
|
||||
import com.anji.plus.gaea.annotation.Query;
|
||||
import com.anji.plus.gaea.constant.QueryEnum;
|
||||
import com.anji.plus.gaea.curd.params.PageParam;
|
||||
import java.util.List;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @desc AccessAuthority 权限管理查询输入类
|
||||
* @author 木子李·De <lide1202@hotmail.com>
|
||||
* @date 2019-02-17 08:50:10.009
|
||||
**/
|
||||
@Data
|
||||
public class AccessAuthorityParam extends PageParam implements Serializable {
|
||||
|
||||
/** 父菜单代码 */
|
||||
@Query(value = QueryEnum.LIKE)
|
||||
private String parentTarget;
|
||||
|
||||
/** 菜单代码 */
|
||||
@Query(value = QueryEnum.LIKE)
|
||||
private String target;
|
||||
|
||||
/** 菜单名称 */
|
||||
@Query(value = QueryEnum.LIKE)
|
||||
private String targetName;
|
||||
|
||||
/** 按钮代码 */
|
||||
@Query(value = QueryEnum.LIKE)
|
||||
private String action;
|
||||
|
||||
/** 按钮名称 */
|
||||
@Query(value = QueryEnum.LIKE)
|
||||
private String actionName;
|
||||
|
||||
// 0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG
|
||||
@Query
|
||||
private Integer enableFlag;
|
||||
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
package com.anjiplus.template.gaea.business.modules.accessauthority.dao;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
||||
import com.anjiplus.template.gaea.business.modules.accessauthority.dao.entity.AccessAuthority;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* AccessAuthority Mapper
|
||||
*
|
||||
* @author 木子李·De <lide1202@hotmail.com>
|
||||
* @date 2019-02-17 08:50:10.009
|
||||
**/
|
||||
@Mapper
|
||||
public interface AccessAuthorityMapper extends GaeaBaseMapper<AccessAuthority> {
|
||||
|
||||
}
|
||||
+40
@@ -0,0 +1,40 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.accessauthority.dao.entity;
|
||||
|
||||
import com.anji.plus.gaea.curd.entity.GaeaBaseEntity;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @description 权限管理 entity
|
||||
* @author 木子李·De <lide1202@hotmail.com>
|
||||
* @date 2019-02-17 08:50:10.009
|
||||
**/
|
||||
@TableName(value = "access_authority")
|
||||
@Data
|
||||
public class AccessAuthority extends GaeaBaseEntity {
|
||||
|
||||
/** 父菜单代码 */
|
||||
private String parentTarget;
|
||||
|
||||
/** 菜单代码 */
|
||||
private String target;
|
||||
|
||||
/** 菜单名称 */
|
||||
private String targetName;
|
||||
|
||||
/** 按钮代码 */
|
||||
private String action;
|
||||
|
||||
/** 按钮名称 */
|
||||
private String actionName;
|
||||
|
||||
/** 0--未删除 1--已删除 DIC_NAME=DEL_FLAG */
|
||||
private Integer deleteFlag;
|
||||
|
||||
/** 0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG */
|
||||
private Integer enableFlag;
|
||||
|
||||
private Integer sort;
|
||||
|
||||
}
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.accessauthority.service;
|
||||
|
||||
import com.anji.plus.gaea.bean.TreeNode;
|
||||
import com.anjiplus.template.gaea.business.modules.accessauthority.dao.entity.AccessAuthority;
|
||||
import com.anjiplus.template.gaea.business.modules.accessauthority.controller.param.AccessAuthorityParam;
|
||||
import com.anji.plus.gaea.curd.service.GaeaBaseService;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @desc AccessAuthority 权限管理服务接口
|
||||
* @author 木子李·De <lide1202@hotmail.com>
|
||||
* @date 2019-02-17 08:50:10.009
|
||||
**/
|
||||
public interface AccessAuthorityService extends GaeaBaseService<AccessAuthorityParam, AccessAuthority> {
|
||||
|
||||
/**
|
||||
* @param loginName 当前登录的用户名
|
||||
* @param withActionNode 带第三层的按钮节点
|
||||
* @return
|
||||
*/
|
||||
List<TreeNode> getAuthorityTree(String loginName, boolean withActionNode);
|
||||
|
||||
/**
|
||||
* 扫描所有mvc url的需要权限码,建立拦截体系
|
||||
*/
|
||||
void scanGaeaSecurityAuthorities();
|
||||
|
||||
}
|
||||
+139
@@ -0,0 +1,139 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.accessauthority.service.impl;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.anji.plus.gaea.bean.TreeNode;
|
||||
import com.anji.plus.gaea.cache.CacheHelper;
|
||||
import com.anji.plus.gaea.constant.Enabled;
|
||||
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
||||
import com.anji.plus.gaea.init.InitRequestUrlMappings;
|
||||
import com.anjiplus.template.gaea.business.constant.BusinessConstant;
|
||||
import com.anjiplus.template.gaea.business.modules.accessauthority.dao.entity.AccessAuthority;
|
||||
import com.anjiplus.template.gaea.business.modules.accessauthority.service.AccessAuthorityService;
|
||||
import com.anjiplus.template.gaea.business.modules.accessauthority.dao.AccessAuthorityMapper;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* @desc AccessAuthority 权限管理服务实现
|
||||
* @author 木子李·De <lide1202@hotmail.com>
|
||||
* @date 2019-02-17 08:50:10.009
|
||||
**/
|
||||
@Service
|
||||
public class AccessAuthorityServiceImpl implements AccessAuthorityService {
|
||||
|
||||
@Autowired
|
||||
private InitRequestUrlMappings initRequestUrlMappings;
|
||||
|
||||
@Autowired
|
||||
private CacheHelper cacheHelper;
|
||||
|
||||
@Autowired
|
||||
private AccessAuthorityMapper accessAuthorityMapper;
|
||||
|
||||
@Override
|
||||
public GaeaBaseMapper<AccessAuthority> getMapper() {
|
||||
return accessAuthorityMapper;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<TreeNode> getAuthorityTree(String loginName, boolean withActionNode) {
|
||||
// 查询出所有的菜单记录
|
||||
LambdaQueryWrapper<AccessAuthority> wrapper = Wrappers.lambdaQuery();
|
||||
wrapper.select(AccessAuthority::getParentTarget, AccessAuthority::getTarget, AccessAuthority::getTargetName,
|
||||
AccessAuthority::getAction, AccessAuthority::getActionName).eq(AccessAuthority::getEnableFlag, 1)
|
||||
.eq(AccessAuthority::getDeleteFlag, 0).orderByAsc(AccessAuthority::getSort);
|
||||
// 按operator去筛选 后面再加where
|
||||
List<AccessAuthority> accessAuthorityList = getMapper().selectList(wrapper);
|
||||
|
||||
// 筛选出一级菜单
|
||||
List<TreeNode> parentNodes = accessAuthorityList.stream()
|
||||
.filter(accessAuthority -> StringUtils.isBlank(accessAuthority.getParentTarget())).map(item -> {
|
||||
TreeNode treeNode = new TreeNode();
|
||||
treeNode.setId(item.getTarget());
|
||||
treeNode.setLabel(item.getTargetName());
|
||||
return treeNode;
|
||||
}).collect(Collectors.toList());
|
||||
|
||||
// 菜单-按钮的map
|
||||
Map<String, List<AccessAuthority>> targetActionsMap = accessAuthorityList.stream()
|
||||
.filter(accessAuthority -> StringUtils.isNoneBlank(accessAuthority.getParentTarget()))
|
||||
.collect(Collectors.groupingBy(AccessAuthority::getTarget));
|
||||
|
||||
// 设置每个一级菜单的二菜单
|
||||
parentNodes.stream().forEach(parentNode -> {
|
||||
List<String> alreadyTargets = new ArrayList<>();
|
||||
|
||||
accessAuthorityList.stream().forEach(authority -> {
|
||||
if (!StringUtils.equals(parentNode.getId(), authority.getParentTarget())
|
||||
|| alreadyTargets.contains(authority.getTarget())) {
|
||||
return;
|
||||
}
|
||||
// 找到一级菜单对应的二级菜单
|
||||
|
||||
// 初始化二级菜单节点
|
||||
TreeNode levelTwoMenuNode = new TreeNode();
|
||||
levelTwoMenuNode.setId(authority.getTarget());
|
||||
levelTwoMenuNode.setLabel(authority.getTargetName());
|
||||
levelTwoMenuNode.setChildren(new ArrayList<TreeNode>());
|
||||
|
||||
// 初始化二级菜单的按钮
|
||||
if (withActionNode) {
|
||||
List<AccessAuthority> actionList = targetActionsMap.get(authority.getTarget());
|
||||
if (actionList != null && !actionList.isEmpty()) {
|
||||
actionList.stream().forEach(action -> {
|
||||
TreeNode buttonNode = new TreeNode();
|
||||
buttonNode.setId(String.format("%s_%s", action.getTarget(), action.getAction()));
|
||||
buttonNode.setLabel(action.getActionName());
|
||||
levelTwoMenuNode.getChildren().add(buttonNode);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
// 将上面找到的二级菜单加入到一菜单的子树中去
|
||||
List<TreeNode> children = parentNode.getChildren();
|
||||
if (children == null) {
|
||||
children = new ArrayList<TreeNode>();
|
||||
}
|
||||
children.add(levelTwoMenuNode);
|
||||
parentNode.setChildren(children);
|
||||
|
||||
// 已经找过的二级菜单,后面不在重复添加
|
||||
alreadyTargets.add(authority.getTarget());
|
||||
});
|
||||
});
|
||||
|
||||
return parentNodes;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void scanGaeaSecurityAuthorities() {
|
||||
/*
|
||||
* 获取当前应用中所有的请求信息 { "applicationName": "aj-report", "authCode":
|
||||
* "authorityManage:query", "authName": "权限管理查询", "beanName":
|
||||
* "accessAuthorityController", "menuCode": "authorityManage", "path":
|
||||
* "GET#/accessAuthority/menuTree" }
|
||||
*/
|
||||
List<InitRequestUrlMappings.RequestInfo> requestInfos = initRequestUrlMappings
|
||||
.getRequestInfos(Enabled.YES.getValue());
|
||||
|
||||
// key="GET#/accessAuthority/menuTree" value="authorityManage:query"
|
||||
Map<String, String> securityAuthorityMap = new HashMap<String, String>();
|
||||
requestInfos.stream().forEach(requestInfo -> {
|
||||
securityAuthorityMap.put(requestInfo.getPath(), requestInfo.getAuthCode());
|
||||
});
|
||||
|
||||
// 将key存入到缓存中
|
||||
cacheHelper.hashSet(BusinessConstant.GAEA_SECURITY_AUTHORITIES, securityAuthorityMap);
|
||||
}
|
||||
|
||||
}
|
||||
+76
@@ -0,0 +1,76 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.accessrole.controller;
|
||||
|
||||
import com.anji.plus.gaea.annotation.Permission;
|
||||
import com.anji.plus.gaea.annotation.AccessKey;
|
||||
import com.anji.plus.gaea.bean.ResponseBean;
|
||||
import com.anji.plus.gaea.bean.TreeNode;
|
||||
import com.anji.plus.gaea.curd.controller.GaeaBaseController;
|
||||
import com.anji.plus.gaea.curd.service.GaeaBaseService;
|
||||
import com.anji.plus.gaea.holder.UserContentHolder;
|
||||
import com.anji.plus.gaea.utils.GaeaBeanUtils;
|
||||
import com.anji.plus.gaea.utils.GaeaUtils;
|
||||
import com.anjiplus.template.gaea.business.modules.accessrole.dao.entity.AccessRole;
|
||||
import com.anjiplus.template.gaea.business.modules.accessrole.service.AccessRoleService;
|
||||
import com.anjiplus.template.gaea.business.modules.accessrole.controller.dto.AccessRoleDto;
|
||||
import com.anjiplus.template.gaea.business.modules.accessrole.controller.param.AccessRoleParam;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import io.swagger.annotations.Api;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @desc 角色管理 controller
|
||||
* @author 木子李·De <lide1202@hotmail.com>
|
||||
* @date 2019-02-17 08:50:14.136
|
||||
**/
|
||||
@RestController
|
||||
@Api(tags = "角色管理管理")
|
||||
@RequestMapping("/accessRole")
|
||||
@Permission(code = "roleManage", name = "角色管理")
|
||||
public class AccessRoleController extends GaeaBaseController<AccessRoleParam, AccessRole, AccessRoleDto> {
|
||||
|
||||
@Autowired
|
||||
private AccessRoleService accessRoleService;
|
||||
|
||||
@Override
|
||||
public GaeaBaseService<AccessRoleParam, AccessRole> getService() {
|
||||
return accessRoleService;
|
||||
}
|
||||
|
||||
@Override
|
||||
public AccessRole getEntity() {
|
||||
return new AccessRole();
|
||||
}
|
||||
|
||||
@Override
|
||||
public AccessRoleDto getDTO() {
|
||||
return new AccessRoleDto();
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取角色的 菜单按钮树 一级菜单 二级菜单 三级按钮
|
||||
* @return
|
||||
*/
|
||||
@Permission(code = "grantAuthority", name = "分配权限")
|
||||
@GetMapping("/authorityTree/{roleCode}")
|
||||
public ResponseBean authorityTree(@PathVariable("roleCode") String roleCode) {
|
||||
String operator = UserContentHolder.getContext().getUsername();
|
||||
Map map = accessRoleService.getAuthorityTree(roleCode, operator);
|
||||
return responseSuccessWithData(map);
|
||||
}
|
||||
|
||||
/**
|
||||
* 保存角色的权限
|
||||
* @return
|
||||
*/
|
||||
@Permission(code = "grantAuthority", name = "分配权限")
|
||||
@PostMapping("/saveAuthorityTree")
|
||||
public ResponseBean saveAuthorityTree(@RequestBody AccessRoleDto dto) {
|
||||
Boolean data = accessRoleService.saveAuthorityTree(dto);
|
||||
return responseSuccessWithData(data);
|
||||
}
|
||||
|
||||
}
|
||||
+46
@@ -0,0 +1,46 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.accessrole.controller.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.anji.plus.gaea.annotation.Query;
|
||||
import com.anji.plus.gaea.constant.QueryEnum;
|
||||
import com.anji.plus.gaea.curd.dto.GaeaBaseDTO;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import com.anji.plus.gaea.annotation.Formatter;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @description 角色管理 dto
|
||||
* @author 木子李·De <lide1202@hotmail.com>
|
||||
* @date 2019-02-17 08:50:14.136
|
||||
**/
|
||||
@Data
|
||||
public class AccessRoleDto extends GaeaBaseDTO implements Serializable {
|
||||
|
||||
/** 角色编码 */
|
||||
@ApiModelProperty(value = "角色编码")
|
||||
@NotEmpty(message = "6002")
|
||||
private String roleCode;
|
||||
|
||||
/** 角色名称 */
|
||||
@ApiModelProperty(value = "角色名称")
|
||||
@NotEmpty(message = "6002")
|
||||
private String roleName;
|
||||
|
||||
/** 0--未删除 1--已删除 DIC_NAME=DEL_FLAG */
|
||||
@ApiModelProperty(value = " 0--未删除 1--已删除 DIC_NAME=DEL_FLAG")
|
||||
private Integer deleteFlag;
|
||||
|
||||
/** 0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG */
|
||||
@ApiModelProperty(value = "0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG")
|
||||
@NotNull(message = "6002")
|
||||
private Integer enableFlag;
|
||||
|
||||
/** 角色保存的权限 */
|
||||
private List<String> authorityList;
|
||||
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
/**/
|
||||
package com.anjiplus.template.gaea.business.modules.accessrole.controller.param;
|
||||
|
||||
import lombok.Data;
|
||||
import java.io.Serializable;
|
||||
import com.anji.plus.gaea.annotation.Query;
|
||||
import com.anji.plus.gaea.constant.QueryEnum;
|
||||
import com.anji.plus.gaea.curd.params.PageParam;
|
||||
import java.util.List;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @desc AccessRole 角色管理查询输入类
|
||||
* @author 木子李·De <lide1202@hotmail.com>
|
||||
* @date 2019-02-17 08:50:14.136
|
||||
**/
|
||||
@Data
|
||||
public class AccessRoleParam extends PageParam implements Serializable {
|
||||
|
||||
/** 角色编码 */
|
||||
@Query(value = QueryEnum.LIKE)
|
||||
private String roleCode;
|
||||
|
||||
// 角色名称
|
||||
@Query(value = QueryEnum.LIKE)
|
||||
private String roleName;
|
||||
|
||||
// 0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG
|
||||
@Query
|
||||
private Integer enableFlag;
|
||||
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
package com.anjiplus.template.gaea.business.modules.accessrole.dao;
|
||||
|
||||
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
||||
import com.anjiplus.template.gaea.business.modules.accessrole.dao.entity.AccessRoleAuthority;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* AccessRoleAuthority Mapper
|
||||
*
|
||||
* @author 木子李·De <lide1202@hotmail.com>
|
||||
* @date 2019-02-17 08:50:14.136
|
||||
**/
|
||||
@Mapper
|
||||
public interface AccessRoleAuthorityMapper extends GaeaBaseMapper<AccessRoleAuthority> {
|
||||
|
||||
}
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
package com.anjiplus.template.gaea.business.modules.accessrole.dao;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
||||
import com.anjiplus.template.gaea.business.modules.accessrole.dao.entity.AccessRole;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.toolkit.Constants;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* AccessRole Mapper
|
||||
*
|
||||
* @author 木子李·De <lide1202@hotmail.com>
|
||||
* @date 2019-02-17 08:50:14.136
|
||||
**/
|
||||
@Mapper
|
||||
public interface AccessRoleMapper extends GaeaBaseMapper<AccessRole> {
|
||||
|
||||
List<String> checkedAuthoritys(@Param("roleCode") String roleCode);
|
||||
|
||||
}
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.accessrole.dao.entity;
|
||||
|
||||
import lombok.Data;
|
||||
import com.anji.plus.gaea.curd.entity.GaeaBaseEntity;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import javax.validation.constraints.*;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @description 角色管理 entity
|
||||
* @author 木子李·De <lide1202@hotmail.com>
|
||||
* @date 2019-02-17 08:50:14.136
|
||||
**/
|
||||
@TableName(value = "access_role")
|
||||
@Data
|
||||
public class AccessRole extends GaeaBaseEntity {
|
||||
|
||||
/** 角色编码 */
|
||||
private String roleCode;
|
||||
|
||||
/** 角色名称 */
|
||||
private String roleName;
|
||||
|
||||
/** 0--未删除 1--已删除 DIC_NAME=DEL_FLAG */
|
||||
private Integer deleteFlag;
|
||||
|
||||
/** 0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG */
|
||||
private Integer enableFlag;
|
||||
|
||||
}
|
||||
+45
@@ -0,0 +1,45 @@
|
||||
package com.anjiplus.template.gaea.business.modules.accessrole.dao.entity;
|
||||
|
||||
import com.anji.plus.gaea.curd.entity.GaeaBaseEntity;
|
||||
import com.baomidou.mybatisplus.annotation.FieldFill;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.annotation.Version;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @description 角色--菜单--按钮关联关系 entity
|
||||
* @author 木子李·De <lide1202@hotmail.com>
|
||||
* @date 2019-02-17 08:50:14.136
|
||||
**/
|
||||
@TableName(value = "access_role_authority")
|
||||
@Data
|
||||
public class AccessRoleAuthority extends GaeaBaseEntity {
|
||||
|
||||
/** 角色编码 */
|
||||
private String roleCode;
|
||||
|
||||
/** 菜单代码 */
|
||||
private String target;
|
||||
|
||||
/** 按钮代码 */
|
||||
private String action;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String createBy;
|
||||
|
||||
@TableField(exist = false)
|
||||
private Date createTime;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String updateBy;
|
||||
|
||||
@TableField(exist = false)
|
||||
private Date updateTime;
|
||||
|
||||
@TableField(exist = false)
|
||||
private Integer version;
|
||||
|
||||
}
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.accessrole.service;
|
||||
|
||||
import com.anji.plus.gaea.bean.ResponseBean;
|
||||
import com.anjiplus.template.gaea.business.modules.accessrole.controller.dto.AccessRoleDto;
|
||||
import com.anjiplus.template.gaea.business.modules.accessrole.dao.entity.AccessRole;
|
||||
import com.anjiplus.template.gaea.business.modules.accessrole.controller.param.AccessRoleParam;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.anji.plus.gaea.curd.service.GaeaBaseService;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @desc AccessRole 角色管理服务接口
|
||||
* @author 木子李·De <lide1202@hotmail.com>
|
||||
* @date 2019-02-17 08:50:14.136
|
||||
**/
|
||||
public interface AccessRoleService extends GaeaBaseService<AccessRoleParam, AccessRole> {
|
||||
|
||||
/**
|
||||
* 查询某角色的权限树
|
||||
* @param roleCode 被操作的对象
|
||||
* @param operator 当前登录者
|
||||
* @return
|
||||
*/
|
||||
Map getAuthorityTree(String roleCode, String operator);
|
||||
|
||||
/**
|
||||
* 保存角色的权限
|
||||
* @param accessRoleDto
|
||||
* @return
|
||||
*/
|
||||
Boolean saveAuthorityTree(AccessRoleDto accessRoleDto);
|
||||
|
||||
}
|
||||
+94
@@ -0,0 +1,94 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.accessrole.service.impl;
|
||||
|
||||
import com.anji.plus.gaea.bean.TreeNode;
|
||||
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
||||
import com.anji.plus.gaea.exception.BusinessExceptionBuilder;
|
||||
import com.anjiplus.template.gaea.business.code.ResponseCode;
|
||||
import com.anjiplus.template.gaea.business.modules.accessauthority.service.AccessAuthorityService;
|
||||
import com.anjiplus.template.gaea.business.modules.accessrole.controller.dto.AccessRoleDto;
|
||||
import com.anjiplus.template.gaea.business.modules.accessrole.dao.AccessRoleAuthorityMapper;
|
||||
import com.anjiplus.template.gaea.business.modules.accessrole.dao.entity.AccessRole;
|
||||
import com.anjiplus.template.gaea.business.modules.accessrole.dao.entity.AccessRoleAuthority;
|
||||
import com.anjiplus.template.gaea.business.modules.accessrole.service.AccessRoleService;
|
||||
import com.anjiplus.template.gaea.business.modules.accessrole.dao.AccessRoleMapper;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @desc AccessRole 角色管理服务实现
|
||||
* @author 木子李·De <lide1202@hotmail.com>
|
||||
* @date 2019-02-17 08:50:14.136
|
||||
**/
|
||||
@Service
|
||||
public class AccessRoleServiceImpl implements AccessRoleService {
|
||||
|
||||
@Autowired
|
||||
private AccessRoleMapper accessRoleMapper;
|
||||
|
||||
@Autowired
|
||||
private AccessRoleAuthorityMapper accessRoleAuthorityMapper;
|
||||
|
||||
@Autowired
|
||||
private AccessAuthorityService accessAuthorityService;
|
||||
|
||||
@Override
|
||||
public GaeaBaseMapper<AccessRole> getMapper() {
|
||||
return accessRoleMapper;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map getAuthorityTree(String roleCode, String operator) {
|
||||
Map<String, Object> result = new HashMap<String, Object>();
|
||||
|
||||
// 菜单按钮树
|
||||
List<TreeNode> treeData = accessAuthorityService.getAuthorityTree(operator, true);
|
||||
|
||||
// 该角色已选中的菜单及按钮
|
||||
List<String> checkedKeys = accessRoleMapper.checkedAuthoritys(roleCode);
|
||||
|
||||
result.put("treeData", treeData);
|
||||
result.put("checkedKeys", checkedKeys);
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean saveAuthorityTree(AccessRoleDto accessRoleDto) {
|
||||
// 校验
|
||||
String roleCode = accessRoleDto.getRoleCode();
|
||||
List<String> authorityList = accessRoleDto.getAuthorityList();
|
||||
if (StringUtils.isBlank(roleCode)) {
|
||||
throw BusinessExceptionBuilder.build(ResponseCode.NOT_EMPTY, roleCode);
|
||||
}
|
||||
if (authorityList == null || authorityList.isEmpty()) {
|
||||
throw BusinessExceptionBuilder.build(ResponseCode.NOT_EMPTY, authorityList);
|
||||
}
|
||||
|
||||
// 先清除该角色已保存的权限
|
||||
LambdaQueryWrapper<AccessRoleAuthority> wrapper = Wrappers.lambdaQuery();
|
||||
wrapper.eq(AccessRoleAuthority::getRoleCode, roleCode);
|
||||
accessRoleAuthorityMapper.delete(wrapper);
|
||||
|
||||
// 保存勾选的权限(菜单和按钮)
|
||||
authorityList.stream().forEach(authorityStr -> {
|
||||
if (!authorityStr.contains("_")) {
|
||||
return;
|
||||
}
|
||||
String[] array = authorityStr.split("_");
|
||||
AccessRoleAuthority accessRoleAuthority = new AccessRoleAuthority();
|
||||
accessRoleAuthority.setRoleCode(roleCode);
|
||||
accessRoleAuthority.setTarget(array[0].trim());
|
||||
accessRoleAuthority.setAction(array[1].trim());
|
||||
accessRoleAuthorityMapper.insert(accessRoleAuthority);
|
||||
});
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
+111
@@ -0,0 +1,111 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.accessuser.controller;
|
||||
|
||||
import com.anji.plus.gaea.annotation.Permission;
|
||||
import com.anji.plus.gaea.bean.ResponseBean;
|
||||
import com.anji.plus.gaea.curd.controller.GaeaBaseController;
|
||||
import com.anji.plus.gaea.curd.service.GaeaBaseService;
|
||||
import com.anji.plus.gaea.holder.UserContentHolder;
|
||||
import com.anjiplus.template.gaea.business.modules.accessuser.controller.dto.GaeaUserDto;
|
||||
import com.anjiplus.template.gaea.business.modules.accessuser.controller.dto.UpdatePasswordDto;
|
||||
import com.anjiplus.template.gaea.business.modules.accessuser.dao.entity.AccessUser;
|
||||
import com.anjiplus.template.gaea.business.modules.accessuser.service.AccessUserService;
|
||||
import com.anjiplus.template.gaea.business.modules.accessuser.controller.dto.AccessUserDto;
|
||||
import com.anjiplus.template.gaea.business.modules.accessuser.controller.param.AccessUserParam;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import io.swagger.annotations.Api;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @desc 用户管理 controller
|
||||
* @author 木子李·De <lide1202@hotmail.com>
|
||||
* @date 2019-02-17 08:50:11.902
|
||||
**/
|
||||
@RestController
|
||||
@Api(tags = "用户管理管理")
|
||||
@RequestMapping("/accessUser")
|
||||
@Permission(code = "userManage", name = "用户管理")
|
||||
public class AccessUserController extends GaeaBaseController<AccessUserParam, AccessUser, AccessUserDto> {
|
||||
|
||||
@Autowired
|
||||
private AccessUserService accessUserService;
|
||||
|
||||
@Override
|
||||
public GaeaBaseService<AccessUserParam, AccessUser> getService() {
|
||||
return accessUserService;
|
||||
}
|
||||
|
||||
@Override
|
||||
public AccessUser getEntity() {
|
||||
return new AccessUser();
|
||||
}
|
||||
|
||||
@Override
|
||||
public AccessUserDto getDTO() {
|
||||
return new AccessUserDto();
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取用户的角色树
|
||||
* @return
|
||||
*/
|
||||
@Permission(code = "grantRole", name = "分配角色")
|
||||
@GetMapping("/roleTree/{loginName}")
|
||||
public ResponseBean getRoleTree(@PathVariable("loginName") String loginName) {
|
||||
String operator = UserContentHolder.getContext().getUsername();
|
||||
Map map = accessUserService.getRoleTree(loginName, operator);
|
||||
return responseSuccessWithData(map);
|
||||
}
|
||||
|
||||
/**
|
||||
* 保存用户的角色树
|
||||
* @return
|
||||
*/
|
||||
@Permission(code = "grantRole", name = "分配角色")
|
||||
@PostMapping("/saveRoleTree")
|
||||
public ResponseBean saveRoleTree(@RequestBody AccessUserDto dto) {
|
||||
Boolean data = accessUserService.saveRoleTree(dto);
|
||||
return responseSuccessWithData(data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 重置密码
|
||||
* @param dto
|
||||
* @return
|
||||
*/
|
||||
@Permission(code = "resetPassword", name = "重置密码")
|
||||
@PostMapping({ "/resetPassword" })
|
||||
public ResponseBean resetPassword(@RequestBody @Validated GaeaUserDto dto) {
|
||||
Boolean data = accessUserService.resetPassword(dto);
|
||||
return responseSuccessWithData(data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 简单实现登录
|
||||
* @param dto
|
||||
* @return
|
||||
*/
|
||||
@PostMapping({ "/login" })
|
||||
public ResponseBean login(@RequestBody @Validated GaeaUserDto dto) {
|
||||
return responseSuccessWithData(accessUserService.login(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改自己的密码
|
||||
* @param dto
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/updatePassword")
|
||||
public ResponseBean updatePassword(@RequestBody UpdatePasswordDto dto) {
|
||||
return responseSuccessWithData(accessUserService.updatePassword(dto));
|
||||
}
|
||||
|
||||
}
|
||||
+66
@@ -0,0 +1,66 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.accessuser.controller.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import com.anji.plus.gaea.curd.dto.GaeaBaseDTO;
|
||||
import com.anjiplus.template.gaea.business.modules.accessuser.dao.entity.AccessUser;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import com.anji.plus.gaea.annotation.Formatter;
|
||||
import lombok.Data;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @description 用户管理 dto
|
||||
* @author 木子李·De <lide1202@hotmail.com>
|
||||
* @date 2019-02-17 08:50:11.902
|
||||
**/
|
||||
@Data
|
||||
public class AccessUserDto extends GaeaBaseDTO implements Serializable {
|
||||
|
||||
/** 登录名 */
|
||||
@ApiModelProperty(value = " 登录名")
|
||||
@NotEmpty(message = "6002")
|
||||
private String loginName;
|
||||
|
||||
/** 真实用户 */
|
||||
@ApiModelProperty(value = "真实用户")
|
||||
@NotEmpty(message = "6002")
|
||||
private String realName;
|
||||
|
||||
/** 手机号码 */
|
||||
@ApiModelProperty(value = "手机号码")
|
||||
private String phone;
|
||||
|
||||
/** 用户邮箱 */
|
||||
@ApiModelProperty(value = "用户邮箱")
|
||||
private String email;
|
||||
|
||||
/** 0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG */
|
||||
@ApiModelProperty(value = "0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG")
|
||||
@NotNull(message = "6002")
|
||||
private Integer enableFlag;
|
||||
|
||||
/** 0--未删除 1--已删除 DIC_NAME=DEL_FLAG */
|
||||
@ApiModelProperty(value = " 0--未删除 1--已删除 DIC_NAME=DEL_FLAG")
|
||||
private Integer deleteFlag;
|
||||
|
||||
/** 最后一次登录IP */
|
||||
@ApiModelProperty(value = "最后一次登录IP")
|
||||
private String lastLoginIp;
|
||||
|
||||
/** 最后一次登陆时间 */
|
||||
@ApiModelProperty(value = "最后一次登陆时间")
|
||||
private Date lastLoginTime;
|
||||
|
||||
/** 备注 */
|
||||
@ApiModelProperty(value = "备注")
|
||||
private String remark;
|
||||
|
||||
/** 用户勾选的角色 */
|
||||
private List<String> roleCodeList;
|
||||
|
||||
}
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
package com.anjiplus.template.gaea.business.modules.accessuser.controller.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import java.util.List;
|
||||
|
||||
@ApiModel(value = "用户登录")
|
||||
@Data
|
||||
public class GaeaUserDto {
|
||||
|
||||
@ApiModelProperty(value = "登录名")
|
||||
@NotBlank
|
||||
private String loginName;
|
||||
|
||||
@ApiModelProperty(value = "密码")
|
||||
@NotBlank
|
||||
private String password;
|
||||
|
||||
/** 真实用户 */
|
||||
private String realName;
|
||||
|
||||
/** 登录成功后的 */
|
||||
private String token;
|
||||
|
||||
/** 用户所拥有的权限合集 */
|
||||
private List<String> authorities;
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.anjiplus.template.gaea.business.modules.accessuser.controller.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import java.util.List;
|
||||
|
||||
@ApiModel(value = "修改密码")
|
||||
@Data
|
||||
public class UpdatePasswordDto {
|
||||
|
||||
@ApiModelProperty(value = "旧密码密码")
|
||||
@NotBlank
|
||||
private String oldPassword;
|
||||
|
||||
@ApiModelProperty(value = "密码")
|
||||
@NotBlank
|
||||
private String password;
|
||||
|
||||
@ApiModelProperty(value = "密码")
|
||||
@NotBlank
|
||||
private String confirmPassword;
|
||||
|
||||
}
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
/**/
|
||||
package com.anjiplus.template.gaea.business.modules.accessuser.controller.param;
|
||||
|
||||
import lombok.Data;
|
||||
import java.io.Serializable;
|
||||
import com.anji.plus.gaea.annotation.Query;
|
||||
import com.anji.plus.gaea.constant.QueryEnum;
|
||||
import com.anji.plus.gaea.curd.params.PageParam;
|
||||
import java.util.List;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @desc AccessUser 用户管理查询输入类
|
||||
* @author 木子李·De <lide1202@hotmail.com>
|
||||
* @date 2019-02-17 08:50:11.902
|
||||
**/
|
||||
@Data
|
||||
public class AccessUserParam extends PageParam implements Serializable {
|
||||
|
||||
// 登录名
|
||||
@Query(value = QueryEnum.LIKE)
|
||||
private String loginName;
|
||||
|
||||
// 真实用户
|
||||
@Query(value = QueryEnum.LIKE)
|
||||
private String realName;
|
||||
|
||||
// 手机号码
|
||||
@Query(value = QueryEnum.LIKE)
|
||||
private String phone;
|
||||
|
||||
// 0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG
|
||||
@Query
|
||||
private Integer enableFlag;
|
||||
|
||||
}
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
package com.anjiplus.template.gaea.business.modules.accessuser.dao;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
||||
import com.anjiplus.template.gaea.business.modules.accessuser.dao.entity.AccessUser;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.toolkit.Constants;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* AccessUser Mapper
|
||||
*
|
||||
* @author 木子李·De <lide1202@hotmail.com>
|
||||
* @date 2019-02-17 08:50:11.902
|
||||
**/
|
||||
@Mapper
|
||||
public interface AccessUserMapper extends GaeaBaseMapper<AccessUser> {
|
||||
|
||||
/**
|
||||
* 查询用户所拥有的所有角色下的权限
|
||||
* @param loginName
|
||||
* @return
|
||||
*/
|
||||
List<String> queryAuthoritiesByLoginName(@Param("loginName") String loginName);
|
||||
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
package com.anjiplus.template.gaea.business.modules.accessuser.dao;
|
||||
|
||||
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
||||
import com.anjiplus.template.gaea.business.modules.accessuser.dao.entity.AccessUserRole;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* AccessUser Mapper
|
||||
*
|
||||
* @author 木子李·De <lide1202@hotmail.com>
|
||||
* @date 2019-02-17 08:50:11.902
|
||||
**/
|
||||
@Mapper
|
||||
public interface AccessUserRoleMapper extends GaeaBaseMapper<AccessUserRole> {
|
||||
|
||||
}
|
||||
+49
@@ -0,0 +1,49 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.accessuser.dao.entity;
|
||||
|
||||
import lombok.Data;
|
||||
import com.anji.plus.gaea.curd.entity.GaeaBaseEntity;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import javax.validation.constraints.*;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @description 用户管理 entity
|
||||
* @author 木子李·De <lide1202@hotmail.com>
|
||||
* @date 2019-02-17 08:50:11.902
|
||||
**/
|
||||
@TableName(value = "access_user")
|
||||
@Data
|
||||
public class AccessUser extends GaeaBaseEntity {
|
||||
|
||||
/** 登录名 */
|
||||
private String loginName;
|
||||
|
||||
/** 密码 */
|
||||
private String password;
|
||||
|
||||
/** 真实用户 */
|
||||
private String realName;
|
||||
|
||||
/** 手机号码 */
|
||||
private String phone;
|
||||
|
||||
/** 用户邮箱 */
|
||||
private String email;
|
||||
|
||||
/** 备注 */
|
||||
private String remark;
|
||||
|
||||
/** 0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG */
|
||||
private Integer enableFlag;
|
||||
|
||||
/** 0--未删除 1--已删除 DIC_NAME=DEL_FLAG */
|
||||
private Integer deleteFlag;
|
||||
|
||||
/** 最后一次登录IP */
|
||||
private String lastLoginIp;
|
||||
|
||||
/** 最后一次登陆时间 */
|
||||
private Date lastLoginTime;
|
||||
|
||||
}
|
||||
+41
@@ -0,0 +1,41 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.accessuser.dao.entity;
|
||||
|
||||
import com.anji.plus.gaea.curd.entity.GaeaBaseEntity;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @description 用户--角色关联关系 entity
|
||||
* @author 木子李·De <lide1202@hotmail.com>
|
||||
* @date 2019-02-17 08:50:11.902
|
||||
**/
|
||||
@TableName(value = "access_user_role")
|
||||
@Data
|
||||
public class AccessUserRole extends GaeaBaseEntity {
|
||||
|
||||
/** 登录名 */
|
||||
private String loginName;
|
||||
|
||||
/** 角色编码 */
|
||||
private String roleCode;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String createBy;
|
||||
|
||||
@TableField(exist = false)
|
||||
private Date createTime;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String updateBy;
|
||||
|
||||
@TableField(exist = false)
|
||||
private Date updateTime;
|
||||
|
||||
@TableField(exist = false)
|
||||
private Integer version;
|
||||
|
||||
}
|
||||
+56
@@ -0,0 +1,56 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.accessuser.service;
|
||||
|
||||
import com.anjiplus.template.gaea.business.modules.accessuser.controller.dto.AccessUserDto;
|
||||
import com.anjiplus.template.gaea.business.modules.accessuser.controller.dto.GaeaUserDto;
|
||||
import com.anjiplus.template.gaea.business.modules.accessuser.controller.dto.UpdatePasswordDto;
|
||||
import com.anjiplus.template.gaea.business.modules.accessuser.dao.entity.AccessUser;
|
||||
import com.anjiplus.template.gaea.business.modules.accessuser.controller.param.AccessUserParam;
|
||||
import com.anji.plus.gaea.curd.service.GaeaBaseService;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @desc AccessUser 用户管理服务接口
|
||||
* @author 木子李·De <lide1202@hotmail.com>
|
||||
* @date 2019-02-17 08:50:11.902
|
||||
**/
|
||||
public interface AccessUserService extends GaeaBaseService<AccessUserParam, AccessUser> {
|
||||
|
||||
/**
|
||||
* 获取用户的角色树
|
||||
* @param loginName 被操作的对象
|
||||
* @param operator 当前登录者
|
||||
* @return
|
||||
*/
|
||||
Map getRoleTree(String loginName, String operator);
|
||||
|
||||
/**
|
||||
* 保存用户的角色树
|
||||
* @param accessUserDto
|
||||
* @return
|
||||
*/
|
||||
Boolean saveRoleTree(AccessUserDto accessUserDto);
|
||||
|
||||
/**
|
||||
* 重置密码
|
||||
* @param gaeaUserDto
|
||||
* @return
|
||||
*/
|
||||
Boolean resetPassword(GaeaUserDto gaeaUserDto);
|
||||
|
||||
/**
|
||||
* 用户登录
|
||||
* @param gaeaUserDto
|
||||
* @return
|
||||
*/
|
||||
GaeaUserDto login(GaeaUserDto gaeaUserDto);
|
||||
|
||||
/**
|
||||
* 修改密码
|
||||
* @param dto
|
||||
* @return
|
||||
*/
|
||||
Boolean updatePassword(UpdatePasswordDto dto);
|
||||
|
||||
}
|
||||
+238
@@ -0,0 +1,238 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.accessuser.service.impl;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.anji.plus.gaea.bean.TreeNode;
|
||||
import com.anji.plus.gaea.cache.CacheHelper;
|
||||
import com.anji.plus.gaea.constant.BaseOperationEnum;
|
||||
import com.anji.plus.gaea.exception.BusinessException;
|
||||
import com.anji.plus.gaea.exception.BusinessExceptionBuilder;
|
||||
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
||||
import com.anji.plus.gaea.holder.UserContentHolder;
|
||||
import com.anji.plus.gaea.utils.GaeaUtils;
|
||||
import com.anji.plus.gaea.utils.JwtBean;
|
||||
import com.anjiplus.template.gaea.business.code.ResponseCode;
|
||||
import com.anjiplus.template.gaea.business.constant.BusinessConstant;
|
||||
import com.anjiplus.template.gaea.business.modules.accessrole.dao.AccessRoleMapper;
|
||||
import com.anjiplus.template.gaea.business.modules.accessrole.dao.entity.AccessRole;
|
||||
import com.anjiplus.template.gaea.business.modules.accessuser.controller.dto.AccessUserDto;
|
||||
import com.anjiplus.template.gaea.business.modules.accessuser.controller.dto.GaeaUserDto;
|
||||
import com.anjiplus.template.gaea.business.modules.accessuser.controller.dto.UpdatePasswordDto;
|
||||
import com.anjiplus.template.gaea.business.modules.accessuser.dao.AccessUserRoleMapper;
|
||||
import com.anjiplus.template.gaea.business.modules.accessuser.dao.entity.AccessUser;
|
||||
import com.anjiplus.template.gaea.business.modules.accessuser.dao.entity.AccessUserRole;
|
||||
import com.anjiplus.template.gaea.business.modules.accessuser.service.AccessUserService;
|
||||
import com.anjiplus.template.gaea.business.modules.accessuser.dao.AccessUserMapper;
|
||||
import com.anjiplus.template.gaea.business.util.MD5Util;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* @desc AccessUser 用户管理服务实现
|
||||
* @author 木子李·De <lide1202@hotmail.com>
|
||||
* @date 2019-02-17 08:50:11.902
|
||||
**/
|
||||
@Service
|
||||
public class AccessUserServiceImpl implements AccessUserService {
|
||||
|
||||
@Autowired
|
||||
private AccessRoleMapper accessRoleMapper;
|
||||
|
||||
@Autowired
|
||||
private AccessUserMapper accessUserMapper;
|
||||
|
||||
@Autowired
|
||||
private AccessUserRoleMapper accessUserRoleMapper;
|
||||
|
||||
@Value("${customer.user.default.password:'123456'}")
|
||||
private String defaultPassword;
|
||||
|
||||
@Override
|
||||
public GaeaBaseMapper<AccessUser> getMapper() {
|
||||
return accessUserMapper;
|
||||
}
|
||||
|
||||
@Autowired
|
||||
private JwtBean jwtBean;
|
||||
|
||||
@Autowired
|
||||
private CacheHelper cacheHelper;
|
||||
|
||||
@Override
|
||||
public Map getRoleTree(String loginName, String operator) {
|
||||
Map<String, Object> result = new HashMap<String, Object>();
|
||||
List<TreeNode> treeData = new ArrayList<>();
|
||||
List checkedKeys = new ArrayList();
|
||||
|
||||
// 角色树
|
||||
LambdaQueryWrapper<AccessRole> roleQuery = Wrappers.lambdaQuery();
|
||||
roleQuery.select(AccessRole::getRoleCode, AccessRole::getRoleName);
|
||||
// 按operator去筛选role 后面再加where
|
||||
List<AccessRole> roleList = accessRoleMapper.selectList(roleQuery);
|
||||
if (roleList == null || roleList.isEmpty()) {
|
||||
result.put("treeData", treeData);
|
||||
result.put("checkedKeys", checkedKeys);
|
||||
return result;
|
||||
}
|
||||
treeData = roleList.stream().map(role -> {
|
||||
TreeNode treeNode = new TreeNode();
|
||||
treeNode.setId(role.getRoleCode());
|
||||
treeNode.setLabel(role.getRoleName());
|
||||
return treeNode;
|
||||
}).collect(Collectors.toList());
|
||||
|
||||
// 该用户已保存的角色
|
||||
LambdaQueryWrapper<AccessUserRole> queryWrapper = Wrappers.lambdaQuery();
|
||||
queryWrapper.select(AccessUserRole::getRoleCode).eq(AccessUserRole::getLoginName, loginName);
|
||||
checkedKeys = accessUserRoleMapper.selectObjs(queryWrapper);
|
||||
|
||||
result.put("treeData", treeData);
|
||||
result.put("checkedKeys", checkedKeys);
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean saveRoleTree(AccessUserDto accessUserDto) {
|
||||
// 校验
|
||||
String loginName = accessUserDto.getLoginName();
|
||||
List<String> roleCodeList = accessUserDto.getRoleCodeList();
|
||||
if (StringUtils.isBlank(loginName)) {
|
||||
throw BusinessExceptionBuilder.build(ResponseCode.NOT_EMPTY, loginName);
|
||||
}
|
||||
if (roleCodeList == null || roleCodeList.isEmpty()) {
|
||||
throw BusinessExceptionBuilder.build(ResponseCode.NOT_EMPTY, roleCodeList);
|
||||
}
|
||||
|
||||
// 先清除该用户已保存的角色
|
||||
LambdaQueryWrapper<AccessUserRole> wrapper = Wrappers.lambdaQuery();
|
||||
wrapper.eq(AccessUserRole::getLoginName, loginName);
|
||||
accessUserRoleMapper.delete(wrapper);
|
||||
|
||||
// 保存勾选的角色
|
||||
roleCodeList.stream().forEach(roleCode -> {
|
||||
AccessUserRole accessUserRole = new AccessUserRole();
|
||||
accessUserRole.setLoginName(loginName);
|
||||
accessUserRole.setRoleCode(roleCode);
|
||||
accessUserRoleMapper.insert(accessUserRole);
|
||||
});
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean resetPassword(GaeaUserDto gaeaUserDto) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public GaeaUserDto login(GaeaUserDto gaeaUserDto) {
|
||||
|
||||
String loginName = gaeaUserDto.getLoginName();
|
||||
String password = gaeaUserDto.getPassword();
|
||||
|
||||
// 1.判断用户是否存在
|
||||
LambdaQueryWrapper<AccessUser> wrapper = Wrappers.lambdaQuery();
|
||||
wrapper.eq(AccessUser::getLoginName, loginName);
|
||||
AccessUser accessUser = accessUserMapper.selectOne(wrapper);
|
||||
if (null == accessUser) {
|
||||
throw BusinessExceptionBuilder.build(ResponseCode.LOGIN_ERROR);
|
||||
}
|
||||
// 2.密码错误
|
||||
if (!accessUser.getPassword().equals(MD5Util.encrypt(password))) {
|
||||
throw BusinessExceptionBuilder.build(ResponseCode.USER_PASSWORD_ERROR);
|
||||
}
|
||||
|
||||
// 3.如果该用户登录未过期,这里允许一个用户在多个终端登录
|
||||
String tokenKey = String.format(BusinessConstant.GAEA_SECURITY_LOGIN_TOKEN, loginName);
|
||||
String token = "";
|
||||
GaeaUserDto gaeaUser = new GaeaUserDto();
|
||||
if (cacheHelper.exist(tokenKey)) {
|
||||
token = cacheHelper.stringGet(tokenKey);
|
||||
}
|
||||
else {
|
||||
// 生成用户token
|
||||
String uuid = GaeaUtils.UUID();
|
||||
token = jwtBean.createToken(loginName, uuid);
|
||||
cacheHelper.stringSetExpire(tokenKey, token, 3600);
|
||||
}
|
||||
|
||||
// 4.读取用户最新人权限主信息
|
||||
String userKey = String.format(BusinessConstant.GAEA_SECURITY_LOGIN_USER, loginName);
|
||||
|
||||
List<String> authorities = accessUserMapper.queryAuthoritiesByLoginName(loginName);
|
||||
gaeaUser.setLoginName(loginName);
|
||||
gaeaUser.setRealName(accessUser.getRealName());
|
||||
gaeaUser.setToken(token);
|
||||
gaeaUser.setAuthorities(authorities);
|
||||
String gaeaUserStr = JSONObject.toJSONString(gaeaUser);
|
||||
cacheHelper.stringSetExpire(userKey, gaeaUserStr, 3600);
|
||||
|
||||
return gaeaUser;
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改密码
|
||||
* @param dto
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public Boolean updatePassword(UpdatePasswordDto dto) {
|
||||
if (!dto.getConfirmPassword().equals(dto.getPassword())) {
|
||||
// 密码和确认密码不一致
|
||||
throw BusinessExceptionBuilder.build(ResponseCode.USER_INCONSISTENT_PASSWORD_ERROR);
|
||||
}
|
||||
// 新密码不能与老密码一样
|
||||
if (StringUtils.equals(dto.getOldPassword(), dto.getPassword())) {
|
||||
throw BusinessExceptionBuilder.build(ResponseCode.USER_PASSWORD_CONFIG_PASSWORD_CANOT_EQUAL);
|
||||
}
|
||||
|
||||
String username = UserContentHolder.getUsername();
|
||||
|
||||
LambdaQueryWrapper<AccessUser> wrapper = Wrappers.lambdaQuery();
|
||||
wrapper.eq(AccessUser::getLoginName, username);
|
||||
AccessUser accessUser = selectOne(wrapper);
|
||||
String password = accessUser.getPassword();
|
||||
if (!MD5Util.encrypt(dto.getOldPassword()).equals(password)) {
|
||||
throw BusinessExceptionBuilder.build(ResponseCode.USER_OLD_PASSWORD_ERROR);
|
||||
}
|
||||
accessUser.setPassword(MD5Util.encrypt(dto.getPassword()));
|
||||
|
||||
accessUserMapper.updateById(accessUser);
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* 操作前处理
|
||||
* @param entity 前端传递的对象
|
||||
* @param operationEnum 操作类型
|
||||
* @throws BusinessException 阻止程序继续执行或回滚事务
|
||||
*/
|
||||
@Override
|
||||
public void processBeforeOperation(AccessUser entity, BaseOperationEnum operationEnum) throws BusinessException {
|
||||
// 过滤密码
|
||||
switch (operationEnum) {
|
||||
case INSERT:
|
||||
// gaea是为了和前端加密保持一致
|
||||
entity.setPassword(MD5Util.encrypt(MD5Util.encrypt(defaultPassword.concat("gaea"))));
|
||||
break;
|
||||
case UPDATE:
|
||||
// 更新用户不允许修改密码
|
||||
entity.setPassword(null);
|
||||
break;
|
||||
default:
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
+96
@@ -0,0 +1,96 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.dashboard.controller;
|
||||
|
||||
import com.anji.plus.gaea.annotation.Permission;
|
||||
import com.anji.plus.gaea.annotation.log.GaeaAuditLog;
|
||||
import com.anji.plus.gaea.bean.ResponseBean;
|
||||
import com.anjiplus.template.gaea.business.modules.dashboard.service.ReportDashboardService;
|
||||
import com.anjiplus.template.gaea.business.modules.dashboard.controller.dto.ChartDto;
|
||||
import com.anjiplus.template.gaea.business.modules.dashboard.controller.dto.ReportDashboardObjectDto;
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
/**
|
||||
* @desc 大屏设计 controller
|
||||
* @website https://gitee.com/anji-plus/gaea
|
||||
* @author Raod
|
||||
* @date 2021-04-12 14:52:21.761
|
||||
**/
|
||||
@RestController
|
||||
@Api(tags = "大屏设计管理")
|
||||
@Permission(code = "bigScreenManage", name = "大屏报表")
|
||||
@RequestMapping("/reportDashboard")
|
||||
public class ReportDashboardController {
|
||||
|
||||
@Autowired
|
||||
private ReportDashboardService reportDashboardService;
|
||||
|
||||
/**
|
||||
* 预览、查询大屏详情
|
||||
* @param reportCode
|
||||
* @return
|
||||
*/
|
||||
@GetMapping({ "/{reportCode}" })
|
||||
@Permission(code = "view", name = "查看大屏")
|
||||
public ResponseBean detail(@PathVariable("reportCode") String reportCode) {
|
||||
return ResponseBean.builder().data(reportDashboardService.getDetail(reportCode)).build();
|
||||
}
|
||||
|
||||
/**
|
||||
* 保存大屏设计
|
||||
* @param dto
|
||||
* @return
|
||||
*/
|
||||
@PostMapping
|
||||
@Permission(code = "design", name = "设计大屏")
|
||||
@GaeaAuditLog(pageTitle = "新增")
|
||||
public ResponseBean insert(@RequestBody ReportDashboardObjectDto dto) {
|
||||
reportDashboardService.insertDashboard(dto);
|
||||
return ResponseBean.builder().build();
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取去单个图层数据
|
||||
* @param dto
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/getData")
|
||||
@Permission(code = "view", name = "查看大屏")
|
||||
public ResponseBean getData(@RequestBody ChartDto dto) {
|
||||
return ResponseBean.builder().data(reportDashboardService.getChartData(dto)).build();
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出大屏
|
||||
* @param reportCode
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/export")
|
||||
@Permission(code = "view", name = "导出大屏")
|
||||
public ResponseEntity<byte[]> exportDashboard(HttpServletRequest request, HttpServletResponse response,
|
||||
@RequestParam("reportCode") String reportCode,
|
||||
@RequestParam(value = "showDataSet", required = false, defaultValue = "1") Integer showDataSet) {
|
||||
return reportDashboardService.exportDashboard(request, response, reportCode, showDataSet);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导入大屏
|
||||
* @param file 导入的zip文件
|
||||
* @param reportCode
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/import/{reportCode}")
|
||||
@Permission(code = "design", name = "导入大屏")
|
||||
public ResponseBean importDashboard(@RequestParam("file") MultipartFile file,
|
||||
@PathVariable("reportCode") String reportCode) {
|
||||
reportDashboardService.importDashboard(file, reportCode);
|
||||
return ResponseBean.builder().build();
|
||||
}
|
||||
|
||||
}
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.dashboard.controller.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @description 大屏设计 dto
|
||||
* @author Raod
|
||||
* @date 2021-04-12 14:52:21.761
|
||||
**/
|
||||
@Data
|
||||
public class ChartDto implements Serializable {
|
||||
|
||||
private String chartType;
|
||||
|
||||
/** 数据集编码 */
|
||||
private String setCode;
|
||||
|
||||
/** 传入的自定义参数 */
|
||||
private Map<String, Object> contextData;
|
||||
|
||||
/** 图表属性 */
|
||||
private Map<String, String> chartProperties;
|
||||
|
||||
/** 时间字段 */
|
||||
private String timeLineFiled;
|
||||
|
||||
/** 时间颗粒度 */
|
||||
private String particles;
|
||||
|
||||
/** 时间格式化 */
|
||||
private String dataTimeFormat;
|
||||
|
||||
/** 时间展示层 */
|
||||
private String timeLineFormat;
|
||||
|
||||
private int timeUnit;
|
||||
|
||||
/** 时间区间 */
|
||||
private String startTime;
|
||||
|
||||
/** 时间区间 */
|
||||
private String endTime;
|
||||
|
||||
}
|
||||
+54
@@ -0,0 +1,54 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.dashboard.controller.dto;
|
||||
|
||||
import com.anji.plus.gaea.curd.dto.GaeaBaseDTO;
|
||||
import com.anjiplus.template.gaea.business.modules.dashboardwidget.controller.dto.ReportDashboardWidgetDto;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @description 大屏设计 dto
|
||||
* @author Raod
|
||||
* @date 2021-04-12 14:52:21.761
|
||||
**/
|
||||
@Data
|
||||
public class ReportDashboardDto extends GaeaBaseDTO implements Serializable {
|
||||
|
||||
/** 报表编码 */
|
||||
private String reportCode;
|
||||
|
||||
/** 看板标题 */
|
||||
private String title;
|
||||
|
||||
/** 宽度px */
|
||||
private Long width;
|
||||
|
||||
/** 高度px */
|
||||
private Long height;
|
||||
|
||||
/** 背景色 */
|
||||
private String backgroundColor;
|
||||
|
||||
/** 背景图片 */
|
||||
private String backgroundImage;
|
||||
|
||||
/** 工作台中的辅助线 */
|
||||
private String presetLine;
|
||||
|
||||
/** 自动刷新间隔秒,数据字典REFRESH_TYPE */
|
||||
private Integer refreshSeconds;
|
||||
|
||||
/** 0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG */
|
||||
private Integer enableFlag;
|
||||
|
||||
/** 0--未删除 1--已删除 DIC_NAME=DEL_FLAG */
|
||||
private Integer deleteFlag;
|
||||
|
||||
/** 排序,降序 */
|
||||
private Integer sort;
|
||||
|
||||
private List<ReportDashboardWidgetDto> widgets;
|
||||
|
||||
}
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.dashboard.controller.dto;
|
||||
|
||||
import com.anjiplus.template.gaea.business.modules.dashboardwidget.controller.dto.ReportDashboardWidgetDto;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @description 大屏设计 dto
|
||||
* @author Raod
|
||||
* @date 2021-04-12 14:52:21.761
|
||||
**/
|
||||
@Data
|
||||
public class ReportDashboardObjectDto implements Serializable {
|
||||
|
||||
/** 报表编码 */
|
||||
private String reportCode;
|
||||
|
||||
/**
|
||||
* 报表编码
|
||||
*/
|
||||
private ReportDashboardDto dashboard;
|
||||
|
||||
/**
|
||||
* 大屏画布中的组件
|
||||
*/
|
||||
private List<ReportDashboardWidgetDto> widgets;
|
||||
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
/**/
|
||||
package com.anjiplus.template.gaea.business.modules.dashboard.controller.param;
|
||||
|
||||
import lombok.Data;
|
||||
import java.io.Serializable;
|
||||
import com.anji.plus.gaea.annotation.Query;
|
||||
import com.anji.plus.gaea.constant.QueryEnum;
|
||||
import com.anji.plus.gaea.curd.params.PageParam;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @desc ReportDashboard 大屏设计查询输入类
|
||||
* @author Raod
|
||||
* @date 2021-04-12 14:52:21.761
|
||||
**/
|
||||
@Data
|
||||
public class ReportDashboardParam extends PageParam implements Serializable {
|
||||
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
package com.anjiplus.template.gaea.business.modules.dashboard.dao;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
||||
import com.anjiplus.template.gaea.business.modules.dashboard.dao.entity.ReportDashboard;
|
||||
|
||||
/**
|
||||
* ReportDashboard Mapper
|
||||
*
|
||||
* @author Raod
|
||||
* @date 2021-04-12 14:52:21.761
|
||||
**/
|
||||
@Mapper
|
||||
public interface ReportDashboardMapper extends GaeaBaseMapper<ReportDashboard> {
|
||||
|
||||
}
|
||||
+54
@@ -0,0 +1,54 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.dashboard.dao.entity;
|
||||
|
||||
import com.anji.plus.gaea.annotation.Unique;
|
||||
import com.anji.plus.gaea.curd.entity.GaeaBaseEntity;
|
||||
import com.anjiplus.template.gaea.business.code.ResponseCode;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @description 大屏设计 entity
|
||||
* @author Raod
|
||||
* @date 2021-04-12 14:52:21.761
|
||||
**/
|
||||
@TableName(value = "gaea_report_dashboard")
|
||||
@Data
|
||||
public class ReportDashboard extends GaeaBaseEntity {
|
||||
|
||||
@ApiModelProperty(value = "报表编码")
|
||||
@Unique(code = ResponseCode.REPORT_CODE_ISEXIST)
|
||||
private String reportCode;
|
||||
|
||||
@ApiModelProperty(value = "看板标题")
|
||||
private String title;
|
||||
|
||||
@ApiModelProperty(value = "宽度px")
|
||||
private Long width;
|
||||
|
||||
@ApiModelProperty(value = "高度px")
|
||||
private Long height;
|
||||
|
||||
@ApiModelProperty(value = "背景色")
|
||||
private String backgroundColor;
|
||||
|
||||
@ApiModelProperty(value = "背景图片")
|
||||
private String backgroundImage;
|
||||
|
||||
@ApiModelProperty(value = "工作台中的辅助线")
|
||||
private String presetLine;
|
||||
|
||||
@ApiModelProperty(value = "自动刷新间隔秒,数据字典REFRESH_TYPE")
|
||||
private Integer refreshSeconds;
|
||||
|
||||
@ApiModelProperty(value = "0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG")
|
||||
private Integer enableFlag;
|
||||
|
||||
@ApiModelProperty(value = " 0--未删除 1--已删除 DIC_NAME=DEL_FLAG")
|
||||
private Integer deleteFlag;
|
||||
|
||||
@ApiModelProperty(value = "排序,降序")
|
||||
private Integer sort;
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.anjiplus.template.gaea.business.modules.dashboard.service;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.anjiplus.template.gaea.business.modules.dashboard.controller.dto.ChartDto;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by raodeming on 2021/4/26.
|
||||
*/
|
||||
public interface ChartStrategy {
|
||||
|
||||
/**
|
||||
* 图表类型
|
||||
* @return
|
||||
*/
|
||||
String type();
|
||||
|
||||
/**
|
||||
* 针对每种图表类型做单独的数据转换解析
|
||||
* @param dto
|
||||
* @return
|
||||
*/
|
||||
Object transform(ChartDto dto, List<JSONObject> data);
|
||||
|
||||
}
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.dashboard.service;
|
||||
|
||||
import com.anji.plus.gaea.curd.service.GaeaBaseService;
|
||||
import com.anjiplus.template.gaea.business.modules.dashboard.controller.dto.ChartDto;
|
||||
import com.anjiplus.template.gaea.business.modules.dashboard.controller.dto.ReportDashboardObjectDto;
|
||||
import com.anjiplus.template.gaea.business.modules.dashboard.controller.param.ReportDashboardParam;
|
||||
import com.anjiplus.template.gaea.business.modules.dashboard.dao.entity.ReportDashboard;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
/**
|
||||
* @desc ReportDashboard 大屏设计服务接口
|
||||
* @author Raod
|
||||
* @date 2021-04-12 14:52:21.761
|
||||
**/
|
||||
public interface ReportDashboardService extends GaeaBaseService<ReportDashboardParam, ReportDashboard> {
|
||||
|
||||
/***
|
||||
* 查询详情
|
||||
* @param reportCode
|
||||
*/
|
||||
ReportDashboardObjectDto getDetail(String reportCode);
|
||||
|
||||
/***
|
||||
* 保存大屏设计
|
||||
* @param dto
|
||||
*/
|
||||
void insertDashboard(ReportDashboardObjectDto dto);
|
||||
|
||||
/**
|
||||
* 获取单个图表数据
|
||||
* @param dto
|
||||
* @return
|
||||
*/
|
||||
Object getChartData(ChartDto dto);
|
||||
|
||||
/**
|
||||
* 导出大屏,zip文件
|
||||
* @param request
|
||||
* @param response
|
||||
* @param reportCode
|
||||
* @return
|
||||
*/
|
||||
ResponseEntity<byte[]> exportDashboard(HttpServletRequest request, HttpServletResponse response, String reportCode,
|
||||
Integer showDataSet);
|
||||
|
||||
/**
|
||||
* 导入大屏zip
|
||||
* @param file
|
||||
* @param reportCode
|
||||
* @return
|
||||
*/
|
||||
void importDashboard(MultipartFile file, String reportCode);
|
||||
|
||||
}
|
||||
+61
@@ -0,0 +1,61 @@
|
||||
package com.anjiplus.template.gaea.business.modules.dashboard.service.impl;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.anjiplus.template.gaea.business.modules.dashboard.controller.dto.ChartDto;
|
||||
import com.anjiplus.template.gaea.business.modules.dashboard.service.ChartStrategy;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 柱状体或者折线图 Created by raodeming on 2021/4/26.
|
||||
*/
|
||||
@Component
|
||||
public class BarChartServiceImpl implements ChartStrategy {
|
||||
|
||||
/**
|
||||
* 图表类型
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public String type() {
|
||||
return "widget-barchart|widget-linechart";
|
||||
}
|
||||
|
||||
/**
|
||||
* 针对每种图表类型做单独的数据转换解析
|
||||
* @param dto
|
||||
* @param data
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public Object transform(ChartDto dto, List<JSONObject> data) {
|
||||
// JSONObject json = new JSONObject();
|
||||
// List<Object> xAxis = new ArrayList<>();
|
||||
// List<Object> series = new ArrayList<>();
|
||||
// data.forEach(jsonObject -> {
|
||||
// jsonObject.forEach((s, o) -> {
|
||||
// if ("xAxis".equals(s)) {
|
||||
// xAxis.add(o);
|
||||
// } else {
|
||||
// series.add(o);
|
||||
// }
|
||||
// });
|
||||
// });
|
||||
//
|
||||
// json.put("xAxis", xAxis);
|
||||
// JSONArray objects = new JSONArray();
|
||||
// JSONObject jsonObject = new JSONObject();
|
||||
// jsonObject.put("data", series);
|
||||
// objects.add(jsonObject);
|
||||
// json.put("series", objects);
|
||||
// return json.toJSONString();
|
||||
return data;
|
||||
}
|
||||
|
||||
/*
|
||||
* { "xAxis": [ "哈哈", "洗洗", "来了", "问问", "天天" ], "series": [ { "data": [ 1, 2, 3, 4, 5
|
||||
* ] } ] }
|
||||
*/
|
||||
|
||||
}
|
||||
+79
@@ -0,0 +1,79 @@
|
||||
package com.anjiplus.template.gaea.business.modules.dashboard.service.impl;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.anjiplus.template.gaea.business.modules.dashboard.controller.dto.ChartDto;
|
||||
import com.anjiplus.template.gaea.business.modules.dashboard.service.ChartStrategy;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 折柱图 Created by raodeming on 2021/4/26.
|
||||
*/
|
||||
@Component
|
||||
public class BarLineChartServiceImpl implements ChartStrategy {
|
||||
|
||||
/**
|
||||
* 图表类型
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public String type() {
|
||||
return "widget-barlinechart";
|
||||
}
|
||||
|
||||
/**
|
||||
* 针对每种图表类型做单独的数据转换解析
|
||||
* @param dto
|
||||
* @param data
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public Object transform(ChartDto dto, List<JSONObject> data) {
|
||||
// JSONObject json = new JSONObject();
|
||||
// List<Object> xAxis = new ArrayList<>();
|
||||
// Map<String, List<Object>> series = new HashMap<>();
|
||||
// data.forEach(jsonObject -> {
|
||||
// jsonObject.forEach((s, o) -> {
|
||||
// if ("xAxis".equals(s)) {
|
||||
// xAxis.add(o);
|
||||
// } else {
|
||||
// List<Object> objects;
|
||||
// if (series.containsKey(s)) {
|
||||
// objects = series.get(s);
|
||||
// } else {
|
||||
// objects = new ArrayList<>();
|
||||
//
|
||||
// }
|
||||
// objects.add(o);
|
||||
// series.put(s, objects);
|
||||
//
|
||||
// }
|
||||
// });
|
||||
// });
|
||||
//
|
||||
// json.put("xAxis", xAxis);
|
||||
// List<JSONObject> result = new ArrayList<>();
|
||||
// series.forEach((s, objects) -> {
|
||||
// JSONObject jsonObject = new JSONObject();
|
||||
// jsonObject.put("name", s);
|
||||
// if (s.endsWith("bar")) {
|
||||
// jsonObject.put("type", "bar");
|
||||
// } else {
|
||||
// jsonObject.put("type", "line");
|
||||
// }
|
||||
// jsonObject.put("data", objects);
|
||||
// result.add(jsonObject);
|
||||
// });
|
||||
// json.put("series", result);
|
||||
// return json.toJSONString();
|
||||
return data;
|
||||
}
|
||||
|
||||
/*
|
||||
* { "xAxis": [ "1月", "2月", "3月" ], "series": [ { "name": "指标1", //暂时用不上 "type":
|
||||
* "bar", //需要处理 "data": [ 2, 49, 2 ] }, { "name": "指标2", "type": "line",
|
||||
* "yAxisIndex": 1, "data": [ 2, 32, 4 ] } ] }
|
||||
*/
|
||||
|
||||
}
|
||||
+38
@@ -0,0 +1,38 @@
|
||||
package com.anjiplus.template.gaea.business.modules.dashboard.service.impl;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.anjiplus.template.gaea.business.modules.dashboard.controller.dto.ChartDto;
|
||||
import com.anjiplus.template.gaea.business.modules.dashboard.service.ChartStrategy;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 饼图或者空心饼图或者漏斗图 Created by raodeming on 2021/4/26.
|
||||
*/
|
||||
@Component
|
||||
public class GaugeChartServiceImpl implements ChartStrategy {
|
||||
|
||||
/**
|
||||
* 图表类型
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public String type() {
|
||||
return "widget-gauge";
|
||||
}
|
||||
|
||||
/**
|
||||
* 针对每种图表类型做单独的数据转换解析
|
||||
* @param dto
|
||||
* @param data
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public Object transform(ChartDto dto, List<JSONObject> data) {
|
||||
|
||||
// return "{\"value\": 50, \"name\": \"名称1\", \"unit\": \"%\"}";
|
||||
return data;
|
||||
}
|
||||
|
||||
}
|
||||
+41
@@ -0,0 +1,41 @@
|
||||
package com.anjiplus.template.gaea.business.modules.dashboard.service.impl;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.anjiplus.template.gaea.business.modules.dashboard.controller.dto.ChartDto;
|
||||
import com.anjiplus.template.gaea.business.modules.dashboard.service.ChartStrategy;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 饼图或者空心饼图或者漏斗图 Created by raodeming on 2021/4/26.
|
||||
*/
|
||||
@Component
|
||||
public class PieChartServiceImpl implements ChartStrategy {
|
||||
|
||||
/**
|
||||
* 图表类型
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public String type() {
|
||||
return "widget-piechart|widget-hollow-piechart|widget-funnel";
|
||||
}
|
||||
|
||||
/**
|
||||
* 针对每种图表类型做单独的数据转换解析
|
||||
* @param dto
|
||||
* @param data
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public Object transform(ChartDto dto, List<JSONObject> data) {
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
/*
|
||||
* [ { "value": 11, "name": "指标1" }, { "value": 10, "name": "指标2" } ]
|
||||
*/
|
||||
|
||||
}
|
||||
+539
@@ -0,0 +1,539 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.dashboard.service.impl;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
||||
import com.anji.plus.gaea.exception.BusinessExceptionBuilder;
|
||||
import com.anji.plus.gaea.utils.GaeaAssert;
|
||||
import com.anji.plus.gaea.utils.GaeaBeanUtils;
|
||||
import com.anjiplus.template.gaea.business.code.ResponseCode;
|
||||
import com.anjiplus.template.gaea.business.modules.dashboard.controller.dto.ChartDto;
|
||||
import com.anjiplus.template.gaea.business.modules.dashboard.controller.dto.ReportDashboardDto;
|
||||
import com.anjiplus.template.gaea.business.modules.dashboard.controller.dto.ReportDashboardObjectDto;
|
||||
import com.anjiplus.template.gaea.business.modules.dashboard.dao.ReportDashboardMapper;
|
||||
import com.anjiplus.template.gaea.business.modules.dashboard.dao.entity.ReportDashboard;
|
||||
import com.anjiplus.template.gaea.business.modules.dashboard.service.ChartStrategy;
|
||||
import com.anjiplus.template.gaea.business.modules.dashboard.service.ReportDashboardService;
|
||||
import com.anjiplus.template.gaea.business.modules.dashboardwidget.controller.dto.ReportDashboardWidgetDto;
|
||||
import com.anjiplus.template.gaea.business.modules.dashboardwidget.controller.dto.ReportDashboardWidgetValueDto;
|
||||
import com.anjiplus.template.gaea.business.modules.dashboardwidget.dao.entity.ReportDashboardWidget;
|
||||
import com.anjiplus.template.gaea.business.modules.dashboardwidget.service.ReportDashboardWidgetService;
|
||||
import com.anjiplus.template.gaea.business.modules.dataset.controller.dto.DataSetDto;
|
||||
import com.anjiplus.template.gaea.business.modules.dataset.controller.dto.OriginalDataDto;
|
||||
import com.anjiplus.template.gaea.business.modules.dataset.service.DataSetService;
|
||||
import com.anjiplus.template.gaea.business.modules.file.entity.GaeaFile;
|
||||
import com.anjiplus.template.gaea.business.modules.file.service.GaeaFileService;
|
||||
import com.anjiplus.template.gaea.business.modules.file.util.FileUtils;
|
||||
import com.anjiplus.template.gaea.business.util.DateUtil;
|
||||
import com.anjiplus.template.gaea.business.util.FileUtil;
|
||||
import com.anjiplus.template.gaea.business.util.UuidUtil;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.beans.BeanUtils;
|
||||
import org.springframework.beans.BeansException;
|
||||
import org.springframework.beans.factory.InitializingBean;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.context.ApplicationContext;
|
||||
import org.springframework.context.ApplicationContextAware;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.io.File;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* @author Raod
|
||||
* @desc ReportDashboard 大屏设计服务实现
|
||||
* @date 2021-04-12 14:52:21.761
|
||||
**/
|
||||
@Service
|
||||
@Slf4j
|
||||
// @RequiredArgsConstructor
|
||||
public class ReportDashboardServiceImpl implements ReportDashboardService, InitializingBean, ApplicationContextAware {
|
||||
|
||||
@Autowired
|
||||
private ReportDashboardMapper reportDashboardMapper;
|
||||
|
||||
@Autowired
|
||||
private ReportDashboardWidgetService reportDashboardWidgetService;
|
||||
|
||||
@Autowired
|
||||
private DataSetService dataSetService;
|
||||
|
||||
@Autowired
|
||||
private GaeaFileService gaeaFileService;
|
||||
|
||||
@Value("${customer.file.downloadPath:''}")
|
||||
private String fileDownloadPath;
|
||||
|
||||
@Value("${customer.file.dist-path:''}")
|
||||
private String dictPath;
|
||||
|
||||
private final static String ZIP_PATH = "/zip/";
|
||||
|
||||
private final static String JSON_PATH = "dashboard.json";
|
||||
|
||||
private Map<String, ChartStrategy> queryServiceImplMap = new HashMap<>();
|
||||
|
||||
private ApplicationContext applicationContext;
|
||||
|
||||
@Override
|
||||
public GaeaBaseMapper<ReportDashboard> getMapper() {
|
||||
return reportDashboardMapper;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ReportDashboardObjectDto getDetail(String reportCode) {
|
||||
ReportDashboardObjectDto result = new ReportDashboardObjectDto();
|
||||
ReportDashboardDto reportDashboardDto = new ReportDashboardDto();
|
||||
ReportDashboard reportDashboard = this.selectOne("report_code", reportCode);
|
||||
if (null == reportDashboard) {
|
||||
return new ReportDashboardObjectDto();
|
||||
}
|
||||
GaeaBeanUtils.copyAndFormatter(reportDashboard, reportDashboardDto);
|
||||
|
||||
List<ReportDashboardWidget> list = reportDashboardWidgetService.list(
|
||||
new QueryWrapper<ReportDashboardWidget>().lambda().eq(ReportDashboardWidget::getReportCode, reportCode)
|
||||
.orderByAsc(ReportDashboardWidget::getSort));
|
||||
List<ReportDashboardWidgetDto> reportDashboardWidgetDtoList = new ArrayList<>();
|
||||
list.forEach(reportDashboardWidget -> {
|
||||
ReportDashboardWidgetDto reportDashboardWidgetDto = new ReportDashboardWidgetDto();
|
||||
ReportDashboardWidgetValueDto value = new ReportDashboardWidgetValueDto();
|
||||
value.setSetup(StringUtils.isNotBlank(reportDashboardWidget.getSetup())
|
||||
? JSONObject.parseObject(reportDashboardWidget.getSetup()) : new JSONObject());
|
||||
value.setData(StringUtils.isNotBlank(reportDashboardWidget.getData())
|
||||
? JSONObject.parseObject(reportDashboardWidget.getData()) : new JSONObject());
|
||||
value.setPosition(StringUtils.isNotBlank(reportDashboardWidget.getPosition())
|
||||
? JSONObject.parseObject(reportDashboardWidget.getPosition()) : new JSONObject());
|
||||
value.setCollapse(StringUtils.isNotBlank(reportDashboardWidget.getCollapse())
|
||||
? JSONObject.parseObject(reportDashboardWidget.getCollapse()) : new JSONObject());
|
||||
|
||||
// 实时数据的替换
|
||||
analysisData(value);
|
||||
reportDashboardWidgetDto.setType(reportDashboardWidget.getType());
|
||||
reportDashboardWidgetDto.setValue(value);
|
||||
reportDashboardWidgetDto.setOptions(JSONObject.parseObject(reportDashboardWidget.getOptions()));
|
||||
reportDashboardWidgetDtoList.add(reportDashboardWidgetDto);
|
||||
});
|
||||
reportDashboardDto.setWidgets(reportDashboardWidgetDtoList);
|
||||
result.setDashboard(reportDashboardDto);
|
||||
result.setReportCode(reportCode);
|
||||
return result;
|
||||
}
|
||||
|
||||
/***
|
||||
* 保存大屏设计
|
||||
* @param dto
|
||||
*/
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public void insertDashboard(ReportDashboardObjectDto dto) {
|
||||
String reportCode = dto.getReportCode();
|
||||
GaeaAssert.notEmpty(reportCode, ResponseCode.PARAM_IS_NULL, "reportCode");
|
||||
// 查询ReportDashboard
|
||||
ReportDashboard reportDashboard = this.selectOne("report_code", reportCode);
|
||||
ReportDashboard dashboard = new ReportDashboard();
|
||||
GaeaBeanUtils.copyAndFormatter(dto.getDashboard(), dashboard);
|
||||
BeanUtils.copyProperties(dto.getDashboard(), dashboard);
|
||||
dashboard.setReportCode(reportCode);
|
||||
if (null == reportDashboard) {
|
||||
// 新增
|
||||
this.insert(dashboard);
|
||||
}
|
||||
else {
|
||||
// 更新
|
||||
dashboard.setId(reportDashboard.getId());
|
||||
dashboard.setVersion(null);
|
||||
this.update(dashboard);
|
||||
}
|
||||
|
||||
// 删除reportDashboardWidget
|
||||
reportDashboardWidgetService.delete(new QueryWrapper<ReportDashboardWidget>().lambda()
|
||||
.eq(ReportDashboardWidget::getReportCode, reportCode));
|
||||
List<ReportDashboardWidgetDto> widgets = dto.getWidgets();
|
||||
|
||||
List<ReportDashboardWidget> reportDashboardWidgetList = new ArrayList<>();
|
||||
for (int i = 0; i < widgets.size(); i++) {
|
||||
ReportDashboardWidget reportDashboardWidget = new ReportDashboardWidget();
|
||||
ReportDashboardWidgetDto reportDashboardWidgetDto = widgets.get(i);
|
||||
String type = reportDashboardWidgetDto.getType();
|
||||
ReportDashboardWidgetValueDto value = reportDashboardWidgetDto.getValue();
|
||||
reportDashboardWidget.setReportCode(reportCode);
|
||||
reportDashboardWidget.setType(type);
|
||||
reportDashboardWidget.setSetup(value.getSetup() != null ? JSONObject.toJSONString(value.getSetup()) : "");
|
||||
reportDashboardWidget.setData(value.getData() != null ? JSONObject.toJSONString(value.getData()) : "");
|
||||
reportDashboardWidget
|
||||
.setPosition(value.getPosition() != null ? JSONObject.toJSONString(value.getPosition()) : "");
|
||||
reportDashboardWidget
|
||||
.setCollapse(value.getCollapse() != null ? JSONObject.toJSONString(value.getCollapse()) : "");
|
||||
reportDashboardWidget.setOptions(reportDashboardWidgetDto.getOptions() != null
|
||||
? JSONObject.toJSONString(reportDashboardWidgetDto.getOptions()) : "");
|
||||
reportDashboardWidget.setEnableFlag(1);
|
||||
reportDashboardWidget.setDeleteFlag(0);
|
||||
reportDashboardWidget.setSort((long) (i + 1));
|
||||
reportDashboardWidgetList.add(reportDashboardWidget);
|
||||
}
|
||||
reportDashboardWidgetService.insertBatch(reportDashboardWidgetList);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getChartData(ChartDto dto) {
|
||||
// String chartType = dto.getChartType();
|
||||
DataSetDto setDto = new DataSetDto();
|
||||
setDto.setSetCode(dto.getSetCode());
|
||||
setDto.setContextData(dto.getContextData());
|
||||
OriginalDataDto result = dataSetService.getData(setDto);
|
||||
List<JSONObject> data = result.getData();
|
||||
// 处理时间轴
|
||||
List<JSONObject> resultData = buildTimeLine(data, dto);
|
||||
return resultData;
|
||||
// return getTarget(chartType).transform(dto, result.getData());
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出大屏,zip文件
|
||||
* @param request
|
||||
* @param response
|
||||
* @param reportCode
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public ResponseEntity<byte[]> exportDashboard(HttpServletRequest request, HttpServletResponse response,
|
||||
String reportCode, Integer showDataSet) {
|
||||
String userAgent = request.getHeader("User-Agent");
|
||||
boolean isIeBrowser = userAgent.indexOf("MSIE") > 0;
|
||||
|
||||
ReportDashboardObjectDto detail = getDetail(reportCode);
|
||||
List<ReportDashboardWidgetDto> widgets = detail.getDashboard().getWidgets();
|
||||
detail.setWidgets(widgets);
|
||||
detail.getDashboard().setWidgets(null);
|
||||
|
||||
// 1.组装临时目录,/app/disk/upload/zip/临时文件夹
|
||||
String path = dictPath + ZIP_PATH + UuidUtil.generateShortUuid();
|
||||
|
||||
// 将涉及到的图片保存下来(1.背景图,2.组件为图片的)
|
||||
String backgroundImage = detail.getDashboard().getBackgroundImage();
|
||||
zipLoadImage(backgroundImage, path);
|
||||
detail.getWidgets().stream()
|
||||
.filter(reportDashboardWidgetDto -> "widget-image".equals(reportDashboardWidgetDto.getType()))
|
||||
.forEach(reportDashboardWidgetDto -> {
|
||||
String imageAddress = reportDashboardWidgetDto.getValue().getSetup().getString("imageAdress");
|
||||
zipLoadImage(imageAddress, path);
|
||||
});
|
||||
|
||||
// showDataSet == 0 代表不包含数据集
|
||||
if (0 == showDataSet) {
|
||||
detail.getWidgets().forEach(reportDashboardWidgetDto -> {
|
||||
ReportDashboardWidgetValueDto value = reportDashboardWidgetDto.getValue();
|
||||
JSONObject data = value.getData();
|
||||
if (null != data && data.containsKey("dataType")) {
|
||||
reportDashboardWidgetDto.getValue().getData().put("dataType", "staticData");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// 2.将大屏设计到的json文件保存
|
||||
String jsonPath = path + "/" + JSON_PATH;
|
||||
FileUtil.WriteStringToFile(jsonPath, JSONObject.toJSONString(detail));
|
||||
|
||||
// 将path文件夹打包zip
|
||||
String zipPath = path + ".zip";
|
||||
FileUtil.compress(path, zipPath);
|
||||
|
||||
File file = new File(zipPath);
|
||||
ResponseEntity.BodyBuilder builder = ResponseEntity.ok();
|
||||
builder.contentLength(file.length());
|
||||
// application/octet-stream 二进制数据流(最常见的文件下载)
|
||||
builder.contentType(MediaType.APPLICATION_OCTET_STREAM);
|
||||
if (isIeBrowser) {
|
||||
builder.header("Content-Disposition", "attachment; filename=" + reportCode + ".zip");
|
||||
}
|
||||
else {
|
||||
builder.header("Content-Disposition", "attacher; filename*=UTF-8''" + reportCode + ".zip");
|
||||
}
|
||||
|
||||
ResponseEntity<byte[]> body = builder.body(FileUtils.readFileToByteArray(file));
|
||||
|
||||
// 删除zip文件
|
||||
file.delete();
|
||||
// 删除path临时文件夹
|
||||
FileUtil.delete(path);
|
||||
log.info("删除临时文件:{},{}", zipPath, path);
|
||||
|
||||
return body;
|
||||
}
|
||||
|
||||
/**
|
||||
* 导入大屏zip
|
||||
* @param file
|
||||
* @param reportCode
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public void importDashboard(MultipartFile file, String reportCode) {
|
||||
log.info("导入开始,{}", reportCode);
|
||||
// 1.组装临时目录,/app/disk/upload/zip/临时文件夹
|
||||
String path = dictPath + ZIP_PATH + UuidUtil.generateShortUuid();
|
||||
// 2.解压
|
||||
FileUtil.decompress(file, path);
|
||||
// path/uuid/
|
||||
File parentPath = new File(path);
|
||||
// 获取打包的第一层目录
|
||||
File firstFile = parentPath.listFiles()[0];
|
||||
|
||||
File[] files = firstFile.listFiles();
|
||||
|
||||
// 定义map
|
||||
Map<String, String> fileMap = new HashMap<>();
|
||||
String content = "";
|
||||
|
||||
for (int i = 0; i < files.length; i++) {
|
||||
File childFile = files[i];
|
||||
if (JSON_PATH.equals(childFile.getName())) {
|
||||
// json文件
|
||||
content = FileUtil.readFile(childFile);
|
||||
}
|
||||
else if ("image".equals(childFile.getName())) {
|
||||
File[] imageFiles = childFile.listFiles();
|
||||
// 所有需要上传的图片
|
||||
for (File imageFile : imageFiles) {
|
||||
// 查看是否存在此image
|
||||
String fileName = imageFile.getName().split("\\.")[0];
|
||||
// 根据fileId,从gaea_file中读出filePath
|
||||
LambdaQueryWrapper<GaeaFile> queryWrapper = Wrappers.lambdaQuery();
|
||||
queryWrapper.eq(GaeaFile::getFileId, fileName);
|
||||
GaeaFile gaeaFile = gaeaFileService.selectOne(queryWrapper);
|
||||
if (null == gaeaFile) {
|
||||
GaeaFile upload = gaeaFileService.upload(imageFile, fileName);
|
||||
log.info("存入图片: {}", upload.getFilePath());
|
||||
fileMap.put(fileName, upload.getUrlPath());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// 解析cotent
|
||||
ReportDashboardObjectDto detail = JSONObject.parseObject(content, ReportDashboardObjectDto.class);
|
||||
// 将涉及到的图片路径替换(1.背景图,2.组件为图片的)
|
||||
String backgroundImage = detail.getDashboard().getBackgroundImage();
|
||||
detail.getDashboard().setBackgroundImage(replaceUrl(backgroundImage, fileMap));
|
||||
detail.getWidgets().stream()
|
||||
.filter(reportDashboardWidgetDto -> "widget-image".equals(reportDashboardWidgetDto.getType()))
|
||||
.forEach(reportDashboardWidgetDto -> {
|
||||
String imageAddress = reportDashboardWidgetDto.getValue().getSetup().getString("imageAdress");
|
||||
String address = replaceUrl(imageAddress, fileMap);
|
||||
reportDashboardWidgetDto.getValue().getSetup().put("imageAdress", address);
|
||||
reportDashboardWidgetDto.getOptions().getJSONArray("setup").getJSONObject(4).put("value", address);
|
||||
});
|
||||
// 将新的大屏编码赋值
|
||||
detail.setReportCode(reportCode);
|
||||
|
||||
// 解析结束,删除临时文件夹
|
||||
FileUtil.delete(path);
|
||||
|
||||
log.info("解析成功,开始存入数据库...");
|
||||
insertDashboard(detail);
|
||||
}
|
||||
|
||||
private String replaceUrl(String imageAddress, Map<String, String> fileMap) {
|
||||
String fileId = imageAddress.substring(imageAddress.trim().length() - 36);
|
||||
String orDefault = fileMap.getOrDefault(fileId, null);
|
||||
if (StringUtils.isBlank(orDefault)) {
|
||||
return imageAddress;
|
||||
}
|
||||
return orDefault;
|
||||
}
|
||||
|
||||
/**
|
||||
* 将大屏涉及到的图片存入指定文件夹
|
||||
* @param imageAddress
|
||||
* @param path
|
||||
*/
|
||||
private void zipLoadImage(String imageAddress, String path) {
|
||||
// http://10.108.26.197:9095/file/download/1d9bcd35-82a1-4f08-9465-b66b930b6a8d
|
||||
if (imageAddress.trim().startsWith(fileDownloadPath)) {
|
||||
// 以fileDownloadPath为前缀的代表为上传的图片
|
||||
String fileName = imageAddress.substring(fileDownloadPath.length() + 1);
|
||||
// 根据fileId,从gaea_file中读出filePath
|
||||
LambdaQueryWrapper<GaeaFile> queryWrapper = Wrappers.lambdaQuery();
|
||||
queryWrapper.eq(GaeaFile::getFileId, fileName);
|
||||
GaeaFile gaeaFile = gaeaFileService.selectOne(queryWrapper);
|
||||
if (null != gaeaFile) {
|
||||
String fileType = gaeaFile.getFileType();
|
||||
path = path + "/image/" + fileName + "." + fileType;
|
||||
// path = /app/disk/upload/zip/UUID/image
|
||||
|
||||
// 原始文件的路径
|
||||
String filePath = gaeaFile.getFilePath();
|
||||
FileUtil.copyFileUsingFileChannels(filePath, path);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public ChartStrategy getTarget(String type) {
|
||||
for (String s : queryServiceImplMap.keySet()) {
|
||||
if (s.contains(type)) {
|
||||
return queryServiceImplMap.get(s);
|
||||
}
|
||||
}
|
||||
throw BusinessExceptionBuilder.build(ResponseCode.RULE_CONTENT_NOT_EXIST);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void afterPropertiesSet() {
|
||||
Map<String, ChartStrategy> beanMap = applicationContext.getBeansOfType(ChartStrategy.class);
|
||||
// 遍历该接口的所有实现,将其放入map中
|
||||
for (ChartStrategy serviceImpl : beanMap.values()) {
|
||||
queryServiceImplMap.put(serviceImpl.type(), serviceImpl);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
|
||||
this.applicationContext = applicationContext;
|
||||
}
|
||||
|
||||
/**
|
||||
* 解析图层数据
|
||||
* @param dto
|
||||
*/
|
||||
public void analysisData(ReportDashboardWidgetValueDto dto) {
|
||||
// if (StringUtils.isBlank(reportDashboardWidgetDto.getSetCode())) {
|
||||
// return;
|
||||
// }
|
||||
// DataSetDto dto = new DataSetDto();
|
||||
// dto.setSetCode(reportDashboardWidgetDto.getSetCode());
|
||||
// if (reportDashboardWidgetDto.getContextData() != null &&
|
||||
// reportDashboardWidgetDto.getContextData().size() > 0) {
|
||||
// dto.setContextData(reportDashboardWidgetDto.getContextData());
|
||||
// }
|
||||
// OriginalDataDto data = dataSetService.getData(dto);
|
||||
// reportDashboardWidgetDto.setData(JSONObject.toJSONString(data.getData()));
|
||||
}
|
||||
|
||||
public List<JSONObject> buildTimeLine(List<JSONObject> data, ChartDto dto) {
|
||||
Map<String, String> chartProperties = dto.getChartProperties();
|
||||
if (null == chartProperties || chartProperties.size() < 1) {
|
||||
return data;
|
||||
}
|
||||
Map<String, Object> contextData = dto.getContextData();
|
||||
if (null == contextData || contextData.size() < 1) {
|
||||
return data;
|
||||
}
|
||||
if (contextData.containsKey("startTime") && contextData.containsKey("endTime")) {
|
||||
dto.setStartTime(contextData.get("startTime").toString());
|
||||
dto.setEndTime(contextData.get("endTime").toString());
|
||||
}
|
||||
if (StringUtils.isBlank(dto.getStartTime()) || StringUtils.isBlank(dto.getEndTime())) {
|
||||
return data;
|
||||
}
|
||||
// 获取时间轴字段和解析时间颗粒度
|
||||
chartProperties.forEach((key, value) -> {
|
||||
dto.setParticles(value);
|
||||
setTimeLineFormat(dto);
|
||||
if (StringUtils.isNotBlank(dto.getDataTimeFormat())) {
|
||||
dto.setTimeLineFiled(key);
|
||||
return;
|
||||
}
|
||||
});
|
||||
|
||||
if (StringUtils.isBlank(dto.getDataTimeFormat())) {
|
||||
return data;
|
||||
}
|
||||
|
||||
Date beginTime = DateUtil.parseHmsTime(dto.getStartTime());
|
||||
Date endTime = DateUtil.parseHmsTime(dto.getEndTime());
|
||||
SimpleDateFormat showFormat = new SimpleDateFormat(dto.getTimeLineFormat());
|
||||
SimpleDateFormat dataFormat = new SimpleDateFormat(dto.getDataTimeFormat());
|
||||
|
||||
Calendar calendar = Calendar.getInstance();
|
||||
calendar.setTime(beginTime);
|
||||
|
||||
Calendar calendarEnd = Calendar.getInstance();
|
||||
calendarEnd.setTime(endTime);
|
||||
|
||||
List<String> timeLine = new ArrayList<>();
|
||||
List<String> dataTimeline = new ArrayList<>();
|
||||
timeLine.add(showFormat.format(calendar.getTime()));
|
||||
dataTimeline.add(dataFormat.format(calendar.getTime()));
|
||||
|
||||
// 添加时间轴数据
|
||||
while (true) {
|
||||
calendar.add(dto.getTimeUnit(), 1);
|
||||
timeLine.add(showFormat.format(calendar.getTime()));
|
||||
dataTimeline.add(dataFormat.format(calendar.getTime()));
|
||||
if (showFormat.format(calendar.getTime()).equals(showFormat.format(calendarEnd.getTime()))) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// 根据时间轴生成对应的时间线,数据不存在,补数据
|
||||
List<JSONObject> result = new ArrayList<>();
|
||||
JSONObject jsonDemo = data.get(0);
|
||||
String timeLineFiled = dto.getTimeLineFiled();
|
||||
for (String dateFormat : dataTimeline) {
|
||||
boolean flag = true;
|
||||
for (JSONObject datum : data) {
|
||||
if (datum.containsKey(timeLineFiled) && datum.getString(timeLineFiled).equals(dateFormat)) {
|
||||
result.add(datum);
|
||||
flag = false;
|
||||
}
|
||||
}
|
||||
if (flag) {
|
||||
// 补数据
|
||||
JSONObject json = new JSONObject();
|
||||
jsonDemo.forEach((s, o) -> {
|
||||
if (s.equals(timeLineFiled)) {
|
||||
json.put(timeLineFiled, dateFormat);
|
||||
}
|
||||
else {
|
||||
json.put(s, 0);
|
||||
}
|
||||
});
|
||||
result.add(json);
|
||||
}
|
||||
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
// 设置时间格式
|
||||
private void setTimeLineFormat(ChartDto dto) {
|
||||
String particles = dto.getParticles();
|
||||
if ("xAxis-hour".equals(particles)) {
|
||||
dto.setDataTimeFormat("yyyy-MM-dd HH");
|
||||
dto.setTimeLineFormat("MM-dd HH");
|
||||
dto.setTimeUnit(Calendar.HOUR);
|
||||
}
|
||||
else if ("xAxis-day".equals(particles)) {
|
||||
dto.setDataTimeFormat("yyyy-MM-dd");
|
||||
dto.setTimeLineFormat("yyyy-MM-dd");
|
||||
dto.setTimeUnit(Calendar.DATE);
|
||||
}
|
||||
else if ("xAxis-month".equals(particles)) {
|
||||
dto.setDataTimeFormat("yyyy-MM");
|
||||
dto.setTimeLineFormat("yyyy-MM");
|
||||
dto.setTimeUnit(Calendar.MONTH);
|
||||
}
|
||||
else if ("xAxis-year".equals(particles)) {
|
||||
dto.setDataTimeFormat("yyyy");
|
||||
dto.setTimeLineFormat("yyyy");
|
||||
dto.setTimeUnit(Calendar.YEAR);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.dashboardwidget.controller.dto;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @description 大屏看板数据渲染 dto
|
||||
* @author Raod
|
||||
* @date 2021-04-12 15:12:43.724
|
||||
**/
|
||||
@Data
|
||||
public class ReportDashboardWidgetDto implements Serializable {
|
||||
|
||||
/**
|
||||
* 组件类型参考字典DASHBOARD_PANEL_TYPE
|
||||
*/
|
||||
private String type;
|
||||
|
||||
/**
|
||||
* value
|
||||
*/
|
||||
private ReportDashboardWidgetValueDto value;
|
||||
|
||||
/**
|
||||
* options
|
||||
*/
|
||||
private JSONObject options;
|
||||
|
||||
}
|
||||
+46
@@ -0,0 +1,46 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.dashboardwidget.controller.dto;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @description 大屏看板数据渲染 dto,已弃用
|
||||
* @author Raod
|
||||
* @date 2021-04-12 15:12:43.724
|
||||
**/
|
||||
@Data
|
||||
public class ReportDashboardWidgetValueDto implements Serializable {
|
||||
|
||||
/** 报表编码 */
|
||||
private String reportCode;
|
||||
|
||||
/** 组件的渲染属性json */
|
||||
private JSONObject setup;
|
||||
|
||||
/** 组件的数据属性json */
|
||||
private JSONObject data;
|
||||
|
||||
/** 组件的配置属性json */
|
||||
private JSONObject collapse;
|
||||
|
||||
/** 组件的大小位置属性json */
|
||||
private JSONObject position;
|
||||
|
||||
private String options;
|
||||
|
||||
/** 自动刷新间隔秒 */
|
||||
private Integer refreshSeconds;
|
||||
|
||||
/** 0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG */
|
||||
private Integer enableFlag;
|
||||
|
||||
/** 0--未删除 1--已删除 DIC_NAME=DEL_FLAG */
|
||||
private Integer deleteFlag;
|
||||
|
||||
/** 排序,图层的概念 */
|
||||
private Long sort;
|
||||
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
/**/
|
||||
package com.anjiplus.template.gaea.business.modules.dashboardwidget.controller.param;
|
||||
|
||||
import lombok.Data;
|
||||
import java.io.Serializable;
|
||||
import com.anji.plus.gaea.annotation.Query;
|
||||
import com.anji.plus.gaea.constant.QueryEnum;
|
||||
import com.anji.plus.gaea.curd.params.PageParam;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @desc ReportDashboardWidget 大屏看板数据渲染查询输入类
|
||||
* @author Raod
|
||||
* @date 2021-04-12 15:12:43.724
|
||||
**/
|
||||
@Data
|
||||
public class ReportDashboardWidgetParam extends PageParam implements Serializable {
|
||||
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
package com.anjiplus.template.gaea.business.modules.dashboardwidget.dao;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
||||
import com.anjiplus.template.gaea.business.modules.dashboardwidget.dao.entity.ReportDashboardWidget;
|
||||
|
||||
/**
|
||||
* ReportDashboardWidget Mapper
|
||||
*
|
||||
* @author Raod
|
||||
* @date 2021-04-12 15:12:43.724
|
||||
**/
|
||||
@Mapper
|
||||
public interface ReportDashboardWidgetMapper extends GaeaBaseMapper<ReportDashboardWidget> {
|
||||
|
||||
}
|
||||
+50
@@ -0,0 +1,50 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.dashboardwidget.dao.entity;
|
||||
|
||||
import com.anji.plus.gaea.curd.entity.GaeaBaseEntity;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @description 大屏看板数据渲染 entity
|
||||
* @author Raod
|
||||
* @date 2021-04-12 15:12:43.724
|
||||
**/
|
||||
@TableName(value = "gaea_report_dashboard_widget")
|
||||
@Data
|
||||
public class ReportDashboardWidget extends GaeaBaseEntity {
|
||||
|
||||
@ApiModelProperty(value = "报表编码")
|
||||
private String reportCode;
|
||||
|
||||
@ApiModelProperty(value = "组件类型参考字典DASHBOARD_PANEL_TYPE")
|
||||
private String type;
|
||||
|
||||
@ApiModelProperty(value = "组件的渲染属性json")
|
||||
private String setup;
|
||||
|
||||
@ApiModelProperty(value = "组件的数据属性json")
|
||||
private String data;
|
||||
|
||||
@ApiModelProperty(value = "组件的配置属性json")
|
||||
private String collapse;
|
||||
|
||||
@ApiModelProperty(value = "组件的大小位置属性json")
|
||||
private String position;
|
||||
|
||||
private String options;
|
||||
|
||||
@ApiModelProperty(value = "自动刷新间隔秒")
|
||||
private Integer refreshSeconds;
|
||||
|
||||
@ApiModelProperty(value = "0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG")
|
||||
private Integer enableFlag;
|
||||
|
||||
@ApiModelProperty(value = " 0--未删除 1--已删除 DIC_NAME=DEL_FLAG")
|
||||
private Integer deleteFlag;
|
||||
|
||||
@ApiModelProperty(value = "排序,图层的概念")
|
||||
private Long sort;
|
||||
|
||||
}
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.dashboardwidget.service;
|
||||
|
||||
import com.anjiplus.template.gaea.business.modules.dashboardwidget.controller.param.ReportDashboardWidgetParam;
|
||||
import com.anjiplus.template.gaea.business.modules.dashboardwidget.dao.entity.ReportDashboardWidget;
|
||||
import com.anji.plus.gaea.curd.service.GaeaBaseService;
|
||||
|
||||
/**
|
||||
* @desc ReportDashboardWidget 大屏看板数据渲染服务接口
|
||||
* @author Raod
|
||||
* @date 2021-04-12 15:12:43.724
|
||||
**/
|
||||
public interface ReportDashboardWidgetService
|
||||
extends GaeaBaseService<ReportDashboardWidgetParam, ReportDashboardWidget> {
|
||||
|
||||
/***
|
||||
* 查询详情
|
||||
* @param id
|
||||
*/
|
||||
ReportDashboardWidget getDetail(Long id);
|
||||
|
||||
}
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.dashboardwidget.service.impl;
|
||||
|
||||
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import com.anjiplus.template.gaea.business.modules.dashboardwidget.dao.entity.ReportDashboardWidget;
|
||||
import com.anjiplus.template.gaea.business.modules.dashboardwidget.service.ReportDashboardWidgetService;
|
||||
import com.anjiplus.template.gaea.business.modules.dashboardwidget.dao.ReportDashboardWidgetMapper;
|
||||
|
||||
/**
|
||||
* @desc ReportDashboardWidget 大屏看板数据渲染服务实现
|
||||
* @author Raod
|
||||
* @date 2021-04-12 15:12:43.724
|
||||
**/
|
||||
@Service
|
||||
// @RequiredArgsConstructor
|
||||
public class ReportDashboardWidgetServiceImpl implements ReportDashboardWidgetService {
|
||||
|
||||
@Autowired
|
||||
private ReportDashboardWidgetMapper reportDashboardWidgetMapper;
|
||||
|
||||
@Override
|
||||
public GaeaBaseMapper<ReportDashboardWidget> getMapper() {
|
||||
return reportDashboardWidgetMapper;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ReportDashboardWidget getDetail(Long id) {
|
||||
ReportDashboardWidget reportDashboardWidget = this.selectOne(id);
|
||||
return reportDashboardWidget;
|
||||
}
|
||||
|
||||
}
|
||||
+131
@@ -0,0 +1,131 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.dataset.controller;
|
||||
|
||||
import com.anji.plus.gaea.annotation.AccessKey;
|
||||
import com.anji.plus.gaea.annotation.Permission;
|
||||
import com.anji.plus.gaea.annotation.log.GaeaAuditLog;
|
||||
import com.anji.plus.gaea.bean.ResponseBean;
|
||||
import com.anji.plus.gaea.curd.controller.GaeaBaseController;
|
||||
import com.anji.plus.gaea.curd.service.GaeaBaseService;
|
||||
import com.anji.plus.gaea.holder.UserContentHolder;
|
||||
import com.anji.plus.gaea.utils.GaeaUtils;
|
||||
import com.anjiplus.template.gaea.business.modules.dataset.controller.dto.DataSetDto;
|
||||
import com.anjiplus.template.gaea.business.modules.dataset.controller.param.DataSetParam;
|
||||
import com.anjiplus.template.gaea.business.modules.dataset.controller.param.DataSetTestTransformParam;
|
||||
import com.anjiplus.template.gaea.business.modules.dataset.dao.entity.DataSet;
|
||||
import com.anjiplus.template.gaea.business.modules.dataset.service.DataSetService;
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.beans.BeanUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
/**
|
||||
* @desc 数据集 controller
|
||||
* @website https://gitee.com/anji-plus/gaea
|
||||
* @author Raod
|
||||
* @date 2021-03-18 12:11:31.150755900
|
||||
**/
|
||||
@RestController
|
||||
@Api(tags = "数据集管理")
|
||||
@Permission(code = "resultsetManage", name = "数据集管理")
|
||||
@RequestMapping("/dataSet")
|
||||
public class DataSetController extends GaeaBaseController<DataSetParam, DataSet, DataSetDto> {
|
||||
|
||||
@Autowired
|
||||
private DataSetService dataSetService;
|
||||
|
||||
@Override
|
||||
public GaeaBaseService<DataSetParam, DataSet> getService() {
|
||||
return dataSetService;
|
||||
}
|
||||
|
||||
@Override
|
||||
public DataSet getEntity() {
|
||||
return new DataSet();
|
||||
}
|
||||
|
||||
@Override
|
||||
public DataSetDto getDTO() {
|
||||
return new DataSetDto();
|
||||
}
|
||||
|
||||
@GetMapping("/detailBysetId/{id}")
|
||||
@Permission(code = "query", name = "明细")
|
||||
public ResponseBean detailBysetId(@PathVariable("id") Long id) {
|
||||
this.logger.info("{}根据ID查询服务开始,id为:{}", this.getClass().getSimpleName(), id);
|
||||
ResponseBean responseBean = this.responseSuccessWithData(dataSetService.detailSet(id));
|
||||
this.logger.info("{}根据ID查询结束,结果:{}", this.getClass().getSimpleName(), GaeaUtils.toJSONString(responseBean));
|
||||
return responseBean;
|
||||
}
|
||||
|
||||
@GetMapping({ "/detailBysetCode/{setCode}" })
|
||||
@Permission(code = "query", name = "明细")
|
||||
@AccessKey
|
||||
public ResponseBean detailBysetCode(@PathVariable("setCode") String setCode) {
|
||||
this.logger.info("{}根据setCode查询服务开始,setCode为:{}", this.getClass().getSimpleName(), setCode);
|
||||
ResponseBean responseBean = this.responseSuccessWithData(dataSetService.detailSet(setCode));
|
||||
this.logger.info("{}根据setCode查询结束,结果:{}", this.getClass().getSimpleName(),
|
||||
GaeaUtils.toJSONString(responseBean));
|
||||
return responseBean;
|
||||
}
|
||||
|
||||
@PostMapping
|
||||
@Permission(code = "insert", name = "新增")
|
||||
@GaeaAuditLog(pageTitle = "新增")
|
||||
@Override
|
||||
public ResponseBean insert(@RequestBody DataSetDto dto) {
|
||||
this.logger.info("{}新增服务开始,参数:{}", this.getClass().getSimpleName(), GaeaUtils.toJSONString(dto));
|
||||
DataSetDto dataSetDto = dataSetService.insertSet(dto);
|
||||
this.logger.info("{}新增服务结束,结果:{}", this.getClass().getSimpleName(), GaeaUtils.toJSONString(dataSetDto));
|
||||
return ResponseBean.builder().data(dataSetDto).build();
|
||||
}
|
||||
|
||||
@PutMapping
|
||||
@Permission(code = "update", name = "更新")
|
||||
@GaeaAuditLog(pageTitle = "修改")
|
||||
@Override
|
||||
public ResponseBean update(@RequestBody DataSetDto dto) {
|
||||
String username = UserContentHolder.getContext().getUsername();
|
||||
this.logger.info("{}更新服务开始,更新人:{},参数:{}", this.getClass().getSimpleName(), username,
|
||||
GaeaUtils.toJSONString(dto));
|
||||
ResponseBean responseBean = this.responseSuccess();
|
||||
dataSetService.updateSet(dto);
|
||||
this.logger.info("{}更新服务结束,结果:{}", this.getClass().getSimpleName(), GaeaUtils.toJSONString(responseBean));
|
||||
return this.responseSuccess();
|
||||
}
|
||||
|
||||
@DeleteMapping({ "/{id}" })
|
||||
@Permission(code = "delete", name = "删除")
|
||||
@GaeaAuditLog(pageTitle = "删除")
|
||||
@Override
|
||||
public ResponseBean deleteById(@PathVariable("id") Long id) {
|
||||
this.logger.info("{}删除服务开始,参数ID:{}", this.getClass().getSimpleName(), id);
|
||||
dataSetService.deleteSet(id);
|
||||
this.logger.info("{}删除服务结束", this.getClass().getSimpleName());
|
||||
return this.responseSuccess();
|
||||
}
|
||||
|
||||
/**
|
||||
* 测试 数据转换是否正确
|
||||
* @param param
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/testTransform")
|
||||
@Permission(code = "query", name = "明细")
|
||||
public ResponseBean testTransform(@Validated @RequestBody DataSetTestTransformParam param) {
|
||||
DataSetDto dto = new DataSetDto();
|
||||
BeanUtils.copyProperties(param, dto);
|
||||
return responseSuccessWithData(dataSetService.testTransform(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取所有数据集
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/queryAllDataSet")
|
||||
public ResponseBean queryAllDataSet() {
|
||||
return responseSuccessWithData(dataSetService.queryAllDataSet());
|
||||
}
|
||||
|
||||
}
|
||||
+57
@@ -0,0 +1,57 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.dataset.controller.dto;
|
||||
|
||||
import com.anji.plus.gaea.curd.dto.GaeaBaseDTO;
|
||||
import com.anjiplus.template.gaea.business.modules.datasetparam.controller.dto.DataSetParamDto;
|
||||
import com.anjiplus.template.gaea.business.modules.datasettransform.controller.dto.DataSetTransformDto;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* @description 数据集 dto
|
||||
* @author Raod
|
||||
* @date 2021-03-18 12:11:31.150755900
|
||||
**/
|
||||
@Data
|
||||
public class DataSetDto extends GaeaBaseDTO implements Serializable {
|
||||
|
||||
/** 数据集编码 */
|
||||
private String setCode;
|
||||
|
||||
/** 数据集名称 */
|
||||
private String setName;
|
||||
|
||||
/** 数据集描述 */
|
||||
private String setDesc;
|
||||
|
||||
/** 数据源编码 */
|
||||
private String sourceCode;
|
||||
|
||||
/** 动态查询sql或者接口中的请求体 */
|
||||
private String dynSentence;
|
||||
|
||||
/** 结果案例 */
|
||||
private String caseResult;
|
||||
|
||||
/** 0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG */
|
||||
private Integer enableFlag;
|
||||
|
||||
/** 0--未删除 1--已删除 DIC_NAME=DELETE_FLAG */
|
||||
private Integer deleteFlag;
|
||||
|
||||
/** 请求参数集合 */
|
||||
private List<DataSetParamDto> dataSetParamDtoList;
|
||||
|
||||
/** 数据转换集合 */
|
||||
private List<DataSetTransformDto> dataSetTransformDtoList;
|
||||
|
||||
/** 传入的自定义参数 */
|
||||
private Map<String, Object> contextData;
|
||||
|
||||
private Set<String> setParamList;
|
||||
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
package com.anjiplus.template.gaea.business.modules.dataset.controller.dto;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by raodeming on 2021/3/26.
|
||||
*/
|
||||
@Data
|
||||
public class OriginalDataDto implements Serializable {
|
||||
|
||||
/** 总数 */
|
||||
private long total;
|
||||
|
||||
/** 获取的数据详情 */
|
||||
private List<JSONObject> data;
|
||||
|
||||
public OriginalDataDto(List<JSONObject> data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public OriginalDataDto(long total, List<JSONObject> data) {
|
||||
this.total = total;
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public OriginalDataDto() {
|
||||
}
|
||||
|
||||
}
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
/**/
|
||||
package com.anjiplus.template.gaea.business.modules.dataset.controller.param;
|
||||
|
||||
import com.anji.plus.gaea.annotation.Query;
|
||||
import com.anji.plus.gaea.constant.QueryEnum;
|
||||
import com.anji.plus.gaea.curd.params.PageParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @desc DataSet 数据集查询输入类
|
||||
* @author Raod
|
||||
* @date 2021-03-18 12:11:31.150755900
|
||||
**/
|
||||
@Data
|
||||
public class DataSetParam extends PageParam implements Serializable {
|
||||
|
||||
/** 数据集编码 */
|
||||
@Query(QueryEnum.LIKE)
|
||||
private String setCode;
|
||||
|
||||
/** 数据集名称 */
|
||||
@Query(QueryEnum.LIKE)
|
||||
private String setName;
|
||||
|
||||
/** 数据源编码 */
|
||||
@Query(QueryEnum.EQ)
|
||||
private String sourceCode;
|
||||
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
/**/
|
||||
package com.anjiplus.template.gaea.business.modules.dataset.controller.param;
|
||||
|
||||
import com.anjiplus.template.gaea.business.modules.datasetparam.controller.dto.DataSetParamDto;
|
||||
import com.anjiplus.template.gaea.business.modules.datasettransform.controller.dto.DataSetTransformDto;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @desc DataSet 数据集查询输入类
|
||||
* @author Raod
|
||||
* @date 2021-03-18 12:11:31.150755900
|
||||
**/
|
||||
@Data
|
||||
public class DataSetTestTransformParam implements Serializable {
|
||||
|
||||
/** 数据源编码 */
|
||||
@NotBlank(message = "sourceCode not empty")
|
||||
private String sourceCode;
|
||||
|
||||
/** 动态查询sql或者接口中的请求体 */
|
||||
private String dynSentence;
|
||||
|
||||
/** 请求参数集合 */
|
||||
private List<DataSetParamDto> dataSetParamDtoList;
|
||||
|
||||
/** 数据转换集合 */
|
||||
private List<DataSetTransformDto> dataSetTransformDtoList;
|
||||
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
package com.anjiplus.template.gaea.business.modules.dataset.dao;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
||||
import com.anjiplus.template.gaea.business.modules.dataset.dao.entity.DataSet;
|
||||
|
||||
/**
|
||||
* DataSet Mapper
|
||||
*
|
||||
* @author Raod
|
||||
* @date 2021-03-18 12:11:31.150755900
|
||||
**/
|
||||
@Mapper
|
||||
public interface DataSetMapper extends GaeaBaseMapper<DataSet> {
|
||||
|
||||
}
|
||||
+45
@@ -0,0 +1,45 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.dataset.dao.entity;
|
||||
|
||||
import com.anji.plus.gaea.annotation.Unique;
|
||||
import com.anji.plus.gaea.curd.entity.GaeaBaseEntity;
|
||||
import com.anjiplus.template.gaea.business.code.ResponseCode;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @description 数据集 entity
|
||||
* @author Raod
|
||||
* @date 2021-03-18 12:11:31.150755900
|
||||
**/
|
||||
@TableName(value = "gaea_report_data_set")
|
||||
@Data
|
||||
public class DataSet extends GaeaBaseEntity {
|
||||
|
||||
@ApiModelProperty(value = "数据集编码")
|
||||
@Unique(code = ResponseCode.SET_CODE_ISEXIST)
|
||||
private String setCode;
|
||||
|
||||
@ApiModelProperty(value = "数据集名称")
|
||||
private String setName;
|
||||
|
||||
@ApiModelProperty(value = "数据集描述")
|
||||
private String setDesc;
|
||||
|
||||
@ApiModelProperty(value = "数据源编码")
|
||||
private String sourceCode;
|
||||
|
||||
@ApiModelProperty(value = "动态查询sql或者接口中的请求体")
|
||||
private String dynSentence;
|
||||
|
||||
@ApiModelProperty(value = "结果案例")
|
||||
private String caseResult;
|
||||
|
||||
@ApiModelProperty(value = "0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG")
|
||||
private Integer enableFlag;
|
||||
|
||||
@ApiModelProperty(value = "0--未删除 1--已删除 DIC_NAME=DELETE_FLAG")
|
||||
private Integer deleteFlag;
|
||||
|
||||
}
|
||||
+70
@@ -0,0 +1,70 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.dataset.service;
|
||||
|
||||
import com.anji.plus.gaea.curd.service.GaeaBaseService;
|
||||
import com.anjiplus.template.gaea.business.modules.dataset.controller.dto.DataSetDto;
|
||||
import com.anjiplus.template.gaea.business.modules.dataset.controller.dto.OriginalDataDto;
|
||||
import com.anjiplus.template.gaea.business.modules.dataset.controller.param.DataSetParam;
|
||||
import com.anjiplus.template.gaea.business.modules.dataset.dao.entity.DataSet;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @desc DataSet 数据集服务接口
|
||||
* @author Raod
|
||||
* @date 2021-03-18 12:11:31.150755900
|
||||
**/
|
||||
public interface DataSetService extends GaeaBaseService<DataSetParam, DataSet> {
|
||||
|
||||
/**
|
||||
* 单条详情
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
DataSetDto detailSet(Long id);
|
||||
|
||||
/**
|
||||
* 单条详情
|
||||
* @param setCode
|
||||
* @return
|
||||
*/
|
||||
DataSetDto detailSet(String setCode);
|
||||
|
||||
/**
|
||||
* 新增数据集、添加查询参数、数据转换
|
||||
* @param dto
|
||||
*/
|
||||
DataSetDto insertSet(DataSetDto dto);
|
||||
|
||||
/**
|
||||
* 更新数据集、添加查询参数、数据转换
|
||||
* @param dto
|
||||
*/
|
||||
void updateSet(DataSetDto dto);
|
||||
|
||||
/**
|
||||
* 删除数据集、添加查询参数、数据转换
|
||||
* @param id
|
||||
*/
|
||||
void deleteSet(Long id);
|
||||
|
||||
/**
|
||||
* 获取数据
|
||||
* @param dto
|
||||
* @return
|
||||
*/
|
||||
OriginalDataDto getData(DataSetDto dto);
|
||||
|
||||
/**
|
||||
* @param dto
|
||||
* @return
|
||||
*/
|
||||
OriginalDataDto testTransform(DataSetDto dto);
|
||||
|
||||
/**
|
||||
* 获取所有数据集
|
||||
* @return
|
||||
*/
|
||||
List<DataSet> queryAllDataSet();
|
||||
|
||||
}
|
||||
+317
@@ -0,0 +1,317 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.dataset.service.impl;
|
||||
|
||||
import com.alibaba.fastjson.JSONArray;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.anji.plus.gaea.constant.Enabled;
|
||||
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
||||
import com.anji.plus.gaea.exception.BusinessExceptionBuilder;
|
||||
import com.anji.plus.gaea.utils.GaeaBeanUtils;
|
||||
import com.anjiplus.template.gaea.business.code.ResponseCode;
|
||||
import com.anjiplus.template.gaea.business.modules.dataset.controller.dto.OriginalDataDto;
|
||||
import com.anjiplus.template.gaea.business.modules.dataset.controller.dto.DataSetDto;
|
||||
import com.anjiplus.template.gaea.business.modules.dataset.dao.DataSetMapper;
|
||||
import com.anjiplus.template.gaea.business.modules.dataset.dao.entity.DataSet;
|
||||
import com.anjiplus.template.gaea.business.modules.dataset.service.DataSetService;
|
||||
import com.anjiplus.template.gaea.business.modules.datasetparam.controller.dto.DataSetParamDto;
|
||||
import com.anjiplus.template.gaea.business.modules.datasetparam.dao.entity.DataSetParam;
|
||||
import com.anjiplus.template.gaea.business.modules.datasetparam.service.DataSetParamService;
|
||||
import com.anjiplus.template.gaea.business.modules.datasettransform.controller.dto.DataSetTransformDto;
|
||||
import com.anjiplus.template.gaea.business.modules.datasettransform.dao.entity.DataSetTransform;
|
||||
import com.anjiplus.template.gaea.business.modules.datasettransform.service.DataSetTransformService;
|
||||
import com.anjiplus.template.gaea.business.modules.datasource.controller.dto.DataSourceDto;
|
||||
import com.anjiplus.template.gaea.business.modules.datasource.dao.entity.DataSource;
|
||||
import com.anjiplus.template.gaea.business.modules.datasource.service.DataSourceService;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.beans.BeanUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* @desc DataSet 数据集服务实现
|
||||
* @author Raod
|
||||
* @date 2021-03-18 12:11:31.150755900
|
||||
**/
|
||||
@Service
|
||||
// @RequiredArgsConstructor
|
||||
@Slf4j
|
||||
public class DataSetServiceImpl implements DataSetService {
|
||||
|
||||
@Autowired
|
||||
private DataSetMapper dataSetMapper;
|
||||
|
||||
@Autowired
|
||||
private DataSetParamService dataSetParamService;
|
||||
|
||||
@Autowired
|
||||
private DataSetTransformService dataSetTransformService;
|
||||
|
||||
@Autowired
|
||||
private DataSourceService dataSourceService;
|
||||
|
||||
@Override
|
||||
public GaeaBaseMapper<DataSet> getMapper() {
|
||||
return dataSetMapper;
|
||||
}
|
||||
|
||||
/**
|
||||
* 单条详情
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public DataSetDto detailSet(Long id) {
|
||||
DataSetDto dto = new DataSetDto();
|
||||
DataSet result = selectOne(id);
|
||||
String setCode = result.getSetCode();
|
||||
GaeaBeanUtils.copyAndFormatter(result, dto);
|
||||
return getDetailSet(dto, setCode);
|
||||
}
|
||||
|
||||
/**
|
||||
* 单条详情
|
||||
* @param setCode
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public DataSetDto detailSet(String setCode) {
|
||||
DataSetDto dto = new DataSetDto();
|
||||
DataSet result = selectOne("set_code", setCode);
|
||||
GaeaBeanUtils.copyAndFormatter(result, dto);
|
||||
return getDetailSet(dto, setCode);
|
||||
}
|
||||
|
||||
public DataSetDto getDetailSet(DataSetDto dto, String setCode) {
|
||||
// 查询参数
|
||||
List<DataSetParam> dataSetParamList = dataSetParamService
|
||||
.list(new QueryWrapper<DataSetParam>().lambda().eq(DataSetParam::getSetCode, setCode));
|
||||
List<DataSetParamDto> dataSetParamDtoList = new ArrayList<>();
|
||||
dataSetParamList.forEach(dataSetParam -> {
|
||||
DataSetParamDto dataSetParamDto = new DataSetParamDto();
|
||||
GaeaBeanUtils.copyAndFormatter(dataSetParam, dataSetParamDto);
|
||||
dataSetParamDtoList.add(dataSetParamDto);
|
||||
});
|
||||
dto.setDataSetParamDtoList(dataSetParamDtoList);
|
||||
|
||||
// 数据转换
|
||||
|
||||
List<DataSetTransform> dataSetTransformList = dataSetTransformService.list(new QueryWrapper<DataSetTransform>()
|
||||
.lambda().eq(DataSetTransform::getSetCode, setCode).orderByAsc(DataSetTransform::getOrderNum));
|
||||
List<DataSetTransformDto> dataSetTransformDtoList = new ArrayList<>();
|
||||
dataSetTransformList.forEach(dataSetTransform -> {
|
||||
DataSetTransformDto dataSetTransformDto = new DataSetTransformDto();
|
||||
GaeaBeanUtils.copyAndFormatter(dataSetTransform, dataSetTransformDto);
|
||||
dataSetTransformDtoList.add(dataSetTransformDto);
|
||||
});
|
||||
dto.setDataSetTransformDtoList(dataSetTransformDtoList);
|
||||
|
||||
if (StringUtils.isNotBlank(dto.getCaseResult())) {
|
||||
try {
|
||||
JSONArray jsonArray = JSONArray.parseArray(dto.getCaseResult());
|
||||
JSONObject jsonObject = jsonArray.getJSONObject(0);
|
||||
dto.setSetParamList(jsonObject.keySet());
|
||||
}
|
||||
catch (Exception e) {
|
||||
log.error("error", e);
|
||||
}
|
||||
}
|
||||
return dto;
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增数据集、添加查询参数、数据转换
|
||||
* @param dto
|
||||
*/
|
||||
@Override
|
||||
@Transactional
|
||||
public DataSetDto insertSet(DataSetDto dto) {
|
||||
List<DataSetParamDto> dataSetParamDtoList = dto.getDataSetParamDtoList();
|
||||
List<DataSetTransformDto> dataSetTransformDtoList = dto.getDataSetTransformDtoList();
|
||||
|
||||
// 1.新增数据集
|
||||
DataSet dataSet = new DataSet();
|
||||
BeanUtils.copyProperties(dto, dataSet);
|
||||
insert(dataSet);
|
||||
// 2.更新查询参数
|
||||
dataSetParamBatch(dataSetParamDtoList, dto.getSetCode());
|
||||
|
||||
// 3.更新数据转换
|
||||
dataSetTransformBatch(dataSetTransformDtoList, dto.getSetCode());
|
||||
return dto;
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新数据集、添加查询参数、数据转换
|
||||
* @param dto
|
||||
*/
|
||||
@Override
|
||||
@Transactional
|
||||
public void updateSet(DataSetDto dto) {
|
||||
List<DataSetParamDto> dataSetParamDtoList = dto.getDataSetParamDtoList();
|
||||
List<DataSetTransformDto> dataSetTransformDtoList = dto.getDataSetTransformDtoList();
|
||||
// 1.更新数据集
|
||||
DataSet dataSet = new DataSet();
|
||||
BeanUtils.copyProperties(dto, dataSet);
|
||||
update(dataSet);
|
||||
|
||||
// 2.更新查询参数
|
||||
dataSetParamBatch(dataSetParamDtoList, dto.getSetCode());
|
||||
|
||||
// 3.更新数据转换
|
||||
dataSetTransformBatch(dataSetTransformDtoList, dto.getSetCode());
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除数据集、添加查询参数、数据转换
|
||||
* @param id
|
||||
*/
|
||||
@Override
|
||||
public void deleteSet(Long id) {
|
||||
DataSet dataSet = selectOne(id);
|
||||
String setCode = dataSet.getSetCode();
|
||||
// 1.删除数据集
|
||||
deleteById(id);
|
||||
|
||||
// 2.删除查询参数
|
||||
dataSetParamService.delete(new QueryWrapper<DataSetParam>().lambda().eq(DataSetParam::getSetCode, setCode));
|
||||
|
||||
// 3.删除数据转换
|
||||
dataSetTransformService
|
||||
.delete(new QueryWrapper<DataSetTransform>().lambda().eq(DataSetTransform::getSetCode, setCode));
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取数据
|
||||
* @param dto
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public OriginalDataDto getData(DataSetDto dto) {
|
||||
OriginalDataDto originalDataDto = new OriginalDataDto();
|
||||
String setCode = dto.getSetCode();
|
||||
// 1.获取数据集、参数替换、数据转换
|
||||
DataSetDto dataSetDto = detailSet(setCode);
|
||||
// 2.获取数据源
|
||||
DataSource dataSource = dataSourceService.selectOne("source_code", dataSetDto.getSourceCode());
|
||||
// 3.参数替换
|
||||
// 3.1参数校验
|
||||
boolean verification = dataSetParamService.verification(dataSetDto.getDataSetParamDtoList(),
|
||||
dto.getContextData());
|
||||
if (!verification) {
|
||||
throw BusinessExceptionBuilder.build(ResponseCode.RULE_FIELDS_CHECK_ERROR);
|
||||
}
|
||||
String dynSentence = dataSetParamService.transform(dto.getContextData(), dataSetDto.getDynSentence());
|
||||
// 4.获取数据
|
||||
DataSourceDto dataSourceDto = new DataSourceDto();
|
||||
BeanUtils.copyProperties(dataSource, dataSourceDto);
|
||||
dataSourceDto.setDynSentence(dynSentence);
|
||||
dataSourceDto.setContextData(dto.getContextData());
|
||||
// 获取total,判断contextData中是否传入分页参数
|
||||
if (null != dto.getContextData() && dto.getContextData().containsKey("pageNumber")
|
||||
&& dto.getContextData().containsKey("pageSize")) {
|
||||
long total = dataSourceService.total(dataSourceDto, dto);
|
||||
originalDataDto.setTotal(total);
|
||||
}
|
||||
List<JSONObject> data = dataSourceService.execute(dataSourceDto);
|
||||
// 5.数据转换
|
||||
List<JSONObject> transform = dataSetTransformService.transform(dataSetDto.getDataSetTransformDtoList(), data);
|
||||
originalDataDto.setData(transform);
|
||||
return originalDataDto;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param dto
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public OriginalDataDto testTransform(DataSetDto dto) {
|
||||
OriginalDataDto originalDataDto = new OriginalDataDto();
|
||||
String sourceCode = dto.getSourceCode();
|
||||
// 1.获取数据源
|
||||
DataSource dataSource = dataSourceService.selectOne("source_code", sourceCode);
|
||||
// 3.参数替换
|
||||
// 3.1参数校验
|
||||
boolean verification = dataSetParamService.verification(dto.getDataSetParamDtoList(), null);
|
||||
if (!verification) {
|
||||
throw BusinessExceptionBuilder.build(ResponseCode.RULE_FIELDS_CHECK_ERROR);
|
||||
}
|
||||
|
||||
String dynSentence = dataSetParamService.transform(dto.getDataSetParamDtoList(), dto.getDynSentence());
|
||||
// 4.获取数据
|
||||
DataSourceDto dataSourceDto = new DataSourceDto();
|
||||
BeanUtils.copyProperties(dataSource, dataSourceDto);
|
||||
dataSourceDto.setDynSentence(dynSentence);
|
||||
dataSourceDto.setContextData(dto.getContextData());
|
||||
|
||||
// 获取total,判断DataSetParamDtoList中是否传入分页参数
|
||||
Map<String, Object> collect = dto.getDataSetParamDtoList().stream()
|
||||
.collect(Collectors.toMap(DataSetParamDto::getParamName, DataSetParamDto::getSampleItem));
|
||||
if (collect.containsKey("pageNumber") && collect.containsKey("pageSize")) {
|
||||
dto.setContextData(collect);
|
||||
long total = dataSourceService.total(dataSourceDto, dto);
|
||||
originalDataDto.setTotal(total);
|
||||
}
|
||||
|
||||
List<JSONObject> data = dataSourceService.execute(dataSourceDto);
|
||||
// 5.数据转换
|
||||
List<JSONObject> transform = dataSetTransformService.transform(dto.getDataSetTransformDtoList(), data);
|
||||
originalDataDto.setData(transform);
|
||||
return originalDataDto;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取所有数据集
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public List<DataSet> queryAllDataSet() {
|
||||
LambdaQueryWrapper<DataSet> wrapper = Wrappers.lambdaQuery();
|
||||
wrapper.select(DataSet::getSetCode, DataSet::getSetName, DataSet::getSetDesc, DataSet::getId)
|
||||
.eq(DataSet::getEnableFlag, Enabled.YES.getValue());
|
||||
return dataSetMapper.selectList(wrapper);
|
||||
}
|
||||
|
||||
public void dataSetParamBatch(List<DataSetParamDto> dataSetParamDtoList, String setCode) {
|
||||
dataSetParamService.delete(new QueryWrapper<DataSetParam>().lambda().eq(DataSetParam::getSetCode, setCode));
|
||||
if (null == dataSetParamDtoList || dataSetParamDtoList.size() <= 0) {
|
||||
return;
|
||||
}
|
||||
List<DataSetParam> dataSetParamList = new ArrayList<>();
|
||||
dataSetParamDtoList.forEach(dataSetParamDto -> {
|
||||
DataSetParam dataSetParam = new DataSetParam();
|
||||
BeanUtils.copyProperties(dataSetParamDto, dataSetParam);
|
||||
dataSetParam.setSetCode(setCode);
|
||||
dataSetParamList.add(dataSetParam);
|
||||
});
|
||||
dataSetParamService.insertBatch(dataSetParamList);
|
||||
|
||||
}
|
||||
|
||||
public void dataSetTransformBatch(List<DataSetTransformDto> dataSetTransformDtoList, String setCode) {
|
||||
dataSetTransformService
|
||||
.delete(new QueryWrapper<DataSetTransform>().lambda().eq(DataSetTransform::getSetCode, setCode));
|
||||
if (null == dataSetTransformDtoList || dataSetTransformDtoList.size() <= 0) {
|
||||
return;
|
||||
}
|
||||
List<DataSetTransform> dataSetTransformList = new ArrayList<>();
|
||||
for (int i = 0; i < dataSetTransformDtoList.size(); i++) {
|
||||
DataSetTransform dataSetTransform = new DataSetTransform();
|
||||
BeanUtils.copyProperties(dataSetTransformDtoList.get(i), dataSetTransform);
|
||||
dataSetTransform.setOrderNum(i + 1);
|
||||
dataSetTransform.setSetCode(setCode);
|
||||
dataSetTransformList.add(dataSetTransform);
|
||||
}
|
||||
dataSetTransformService.insertBatch(dataSetTransformList);
|
||||
}
|
||||
|
||||
}
|
||||
+62
@@ -0,0 +1,62 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.datasetparam.controller;
|
||||
|
||||
import com.anji.plus.gaea.bean.ResponseBean;
|
||||
import com.anji.plus.gaea.curd.controller.GaeaBaseController;
|
||||
import com.anji.plus.gaea.curd.service.GaeaBaseService;
|
||||
import com.anjiplus.template.gaea.business.modules.datasetparam.controller.dto.DataSetParamDto;
|
||||
import com.anjiplus.template.gaea.business.modules.datasetparam.controller.param.DataSetParamParam;
|
||||
import com.anjiplus.template.gaea.business.modules.datasetparam.controller.param.DataSetParamValidationParam;
|
||||
import com.anjiplus.template.gaea.business.modules.datasetparam.dao.entity.DataSetParam;
|
||||
import com.anjiplus.template.gaea.business.modules.datasetparam.service.DataSetParamService;
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* @desc 数据集动态参数 controller
|
||||
* @website https://gitee.com/anji-plus/gaea
|
||||
* @author Raod
|
||||
* @date 2021-03-18 12:12:33.108033200
|
||||
**/
|
||||
@RestController
|
||||
@Api(tags = "数据集动态参数管理")
|
||||
@RequestMapping("/dataSetParam")
|
||||
public class DataSetParamController extends GaeaBaseController<DataSetParamParam, DataSetParam, DataSetParamDto> {
|
||||
|
||||
@Autowired
|
||||
private DataSetParamService dataSetParamService;
|
||||
|
||||
@Override
|
||||
public GaeaBaseService<DataSetParamParam, DataSetParam> getService() {
|
||||
return dataSetParamService;
|
||||
}
|
||||
|
||||
@Override
|
||||
public DataSetParam getEntity() {
|
||||
return new DataSetParam();
|
||||
}
|
||||
|
||||
@Override
|
||||
public DataSetParamDto getDTO() {
|
||||
return new DataSetParamDto();
|
||||
}
|
||||
|
||||
/**
|
||||
* 测试 查询参数是否正确
|
||||
* @param param
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/verification")
|
||||
public ResponseBean verification(@Validated @RequestBody DataSetParamValidationParam param) {
|
||||
DataSetParamDto dto = new DataSetParamDto();
|
||||
dto.setSampleItem(param.getSampleItem());
|
||||
dto.setValidationRules(param.getValidationRules());
|
||||
return responseSuccessWithData(dataSetParamService.verification(dto));
|
||||
}
|
||||
|
||||
}
|
||||
+47
@@ -0,0 +1,47 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.datasetparam.controller.dto;
|
||||
|
||||
import com.anji.plus.gaea.curd.dto.GaeaBaseDTO;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @description 数据集动态参数 dto
|
||||
* @author Raod
|
||||
* @date 2021-03-18 12:12:33.108033200
|
||||
**/
|
||||
@Data
|
||||
public class DataSetParamDto extends GaeaBaseDTO implements Serializable {
|
||||
|
||||
/** 数据集编码 */
|
||||
private String setCode;
|
||||
|
||||
/** 参数名 */
|
||||
private String paramName;
|
||||
|
||||
/** 参数描述 */
|
||||
private String paramDesc;
|
||||
|
||||
/** 参数类型,字典= */
|
||||
private String paramType;
|
||||
|
||||
/** 参数示例项 */
|
||||
private String sampleItem;
|
||||
|
||||
/** 0--非必填 1--必填 DIC_NAME=REQUIRED_FLAG */
|
||||
private Integer requiredFlag;
|
||||
|
||||
/** js校验字段值规则,满足校验返回 true */
|
||||
private String validationRules;
|
||||
|
||||
/** 排序 */
|
||||
private Integer orderNum;
|
||||
|
||||
/** 0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG */
|
||||
private Integer enableFlag;
|
||||
|
||||
/** 0--未删除 1--已删除 DIC_NAME=DELETE_FLAG */
|
||||
private Integer deleteFlag;
|
||||
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
/**/
|
||||
package com.anjiplus.template.gaea.business.modules.datasetparam.controller.param;
|
||||
|
||||
import com.anji.plus.gaea.curd.params.PageParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @desc DataSetParam 数据集动态参数查询输入类
|
||||
* @author Raod
|
||||
* @date 2021-03-18 12:12:33.108033200
|
||||
**/
|
||||
@Data
|
||||
public class DataSetParamParam extends PageParam implements Serializable {
|
||||
|
||||
}
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
package com.anjiplus.template.gaea.business.modules.datasetparam.controller.param;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* Created by raodeming on 2021/3/24.
|
||||
*/
|
||||
@Data
|
||||
public class DataSetParamValidationParam implements Serializable {
|
||||
|
||||
/** 参数示例项 */
|
||||
@NotBlank(message = "sampleItem not empty")
|
||||
private String sampleItem;
|
||||
|
||||
/** js校验字段值规则,满足校验返回 true */
|
||||
@NotBlank(message = "validationRules not empty")
|
||||
private String validationRules;
|
||||
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
package com.anjiplus.template.gaea.business.modules.datasetparam.dao;
|
||||
|
||||
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
||||
import com.anjiplus.template.gaea.business.modules.datasetparam.dao.entity.DataSetParam;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* DataSetParam Mapper
|
||||
*
|
||||
* @author Raod
|
||||
* @date 2021-03-18 12:12:33.108033200
|
||||
**/
|
||||
@Mapper
|
||||
public interface DataSetParamMapper extends GaeaBaseMapper<DataSetParam> {
|
||||
|
||||
}
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.datasetparam.dao.entity;
|
||||
|
||||
import com.anji.plus.gaea.curd.entity.GaeaBaseEntity;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @description 数据集动态参数 entity
|
||||
* @author Raod
|
||||
* @date 2021-03-18 12:12:33.108033200
|
||||
**/
|
||||
@TableName(value = "gaea_report_data_set_param")
|
||||
@Data
|
||||
public class DataSetParam extends GaeaBaseEntity {
|
||||
|
||||
@ApiModelProperty(value = "数据集编码")
|
||||
private String setCode;
|
||||
|
||||
@ApiModelProperty(value = "参数名")
|
||||
private String paramName;
|
||||
|
||||
@ApiModelProperty(value = "参数描述")
|
||||
private String paramDesc;
|
||||
|
||||
@ApiModelProperty(value = "参数类型,字典=")
|
||||
private String paramType;
|
||||
|
||||
@ApiModelProperty(value = "参数示例项")
|
||||
private String sampleItem;
|
||||
|
||||
@ApiModelProperty(value = "0--非必填 1--必填 DIC_NAME=REQUIRED_FLAG")
|
||||
private Integer requiredFlag;
|
||||
|
||||
@ApiModelProperty(value = "js校验字段值规则,满足校验返回 true")
|
||||
private String validationRules;
|
||||
|
||||
@ApiModelProperty(value = "排序")
|
||||
private Integer orderNum;
|
||||
|
||||
@ApiModelProperty(value = "0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG")
|
||||
private Integer enableFlag;
|
||||
|
||||
@ApiModelProperty(value = "0--未删除 1--已删除 DIC_NAME=DELETE_FLAG")
|
||||
private Integer deleteFlag;
|
||||
|
||||
}
|
||||
+49
@@ -0,0 +1,49 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.datasetparam.service;
|
||||
|
||||
import com.anji.plus.gaea.curd.service.GaeaBaseService;
|
||||
import com.anjiplus.template.gaea.business.modules.datasetparam.controller.dto.DataSetParamDto;
|
||||
import com.anjiplus.template.gaea.business.modules.datasetparam.controller.param.DataSetParamParam;
|
||||
import com.anjiplus.template.gaea.business.modules.datasetparam.dao.entity.DataSetParam;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author Raod
|
||||
* @desc DataSetParam 数据集动态参数服务接口
|
||||
* @date 2021-03-18 12:12:33.108033200
|
||||
**/
|
||||
public interface DataSetParamService extends GaeaBaseService<DataSetParamParam, DataSetParam> {
|
||||
|
||||
/**
|
||||
* 参数替换
|
||||
* @param contextData
|
||||
* @param dynSentence
|
||||
* @return
|
||||
*/
|
||||
String transform(Map<String, Object> contextData, String dynSentence);
|
||||
|
||||
/**
|
||||
* 参数替换
|
||||
* @param dataSetParamDtoList
|
||||
* @param dynSentence
|
||||
* @return
|
||||
*/
|
||||
String transform(List<DataSetParamDto> dataSetParamDtoList, String dynSentence);
|
||||
|
||||
/**
|
||||
* 参数校验 js脚本
|
||||
* @param dataSetParamDto
|
||||
* @return
|
||||
*/
|
||||
boolean verification(DataSetParamDto dataSetParamDto);
|
||||
|
||||
/**
|
||||
* 参数校验 js脚本
|
||||
* @param dataSetParamDtoList
|
||||
* @return
|
||||
*/
|
||||
boolean verification(List<DataSetParamDto> dataSetParamDtoList, Map<String, Object> contextData);
|
||||
|
||||
}
|
||||
+139
@@ -0,0 +1,139 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.datasetparam.service.impl;
|
||||
|
||||
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
||||
import com.anji.plus.gaea.exception.BusinessExceptionBuilder;
|
||||
import com.anjiplus.template.gaea.business.modules.datasetparam.controller.dto.DataSetParamDto;
|
||||
import com.anjiplus.template.gaea.business.modules.datasetparam.dao.DataSetParamMapper;
|
||||
import com.anjiplus.template.gaea.business.modules.datasetparam.dao.entity.DataSetParam;
|
||||
import com.anjiplus.template.gaea.business.modules.datasetparam.service.DataSetParamService;
|
||||
import com.anjiplus.template.gaea.business.modules.datasetparam.util.ParamsResolverHelper;
|
||||
import com.anjiplus.template.gaea.business.code.ResponseCode;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import javax.script.Invocable;
|
||||
import javax.script.ScriptEngine;
|
||||
import javax.script.ScriptEngineManager;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @desc DataSetParam 数据集动态参数服务实现
|
||||
* @author Raod
|
||||
* @date 2021-03-18 12:12:33.108033200
|
||||
**/
|
||||
@Service
|
||||
// @RequiredArgsConstructor
|
||||
@Slf4j
|
||||
public class DataSetParamServiceImpl implements DataSetParamService {
|
||||
|
||||
private ScriptEngine engine;
|
||||
|
||||
{
|
||||
ScriptEngineManager manager = new ScriptEngineManager();
|
||||
engine = manager.getEngineByName("JavaScript");
|
||||
}
|
||||
|
||||
@Autowired
|
||||
private DataSetParamMapper dataSetParamMapper;
|
||||
|
||||
@Override
|
||||
public GaeaBaseMapper<DataSetParam> getMapper() {
|
||||
return dataSetParamMapper;
|
||||
}
|
||||
|
||||
/**
|
||||
* 参数替换
|
||||
* @param contextData
|
||||
* @param dynSentence
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public String transform(Map<String, Object> contextData, String dynSentence) {
|
||||
if (StringUtils.isBlank(dynSentence)) {
|
||||
return dynSentence;
|
||||
}
|
||||
if (dynSentence.contains("${")) {
|
||||
dynSentence = ParamsResolverHelper.resolveParams(contextData, dynSentence);
|
||||
}
|
||||
if (dynSentence.contains("${")) {
|
||||
throw BusinessExceptionBuilder.build(ResponseCode.INCOMPLETE_PARAMETER_REPLACEMENT_VALUES, dynSentence);
|
||||
}
|
||||
return dynSentence;
|
||||
}
|
||||
|
||||
/**
|
||||
* 参数替换
|
||||
* @param dataSetParamDtoList
|
||||
* @param dynSentence
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public String transform(List<DataSetParamDto> dataSetParamDtoList, String dynSentence) {
|
||||
Map<String, Object> contextData = new HashMap<>();
|
||||
if (null == dataSetParamDtoList || dataSetParamDtoList.size() <= 0) {
|
||||
return dynSentence;
|
||||
}
|
||||
dataSetParamDtoList.forEach(dataSetParamDto -> {
|
||||
contextData.put(dataSetParamDto.getParamName(), dataSetParamDto.getSampleItem());
|
||||
});
|
||||
return transform(contextData, dynSentence);
|
||||
}
|
||||
|
||||
/**
|
||||
* 参数校验 js脚本
|
||||
* @param dataSetParamDto
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public boolean verification(DataSetParamDto dataSetParamDto) {
|
||||
|
||||
String validationRules = dataSetParamDto.getValidationRules();
|
||||
if (StringUtils.isNotBlank(validationRules)) {
|
||||
try {
|
||||
engine.eval(validationRules);
|
||||
if (engine instanceof Invocable) {
|
||||
Invocable invocable = (Invocable) engine;
|
||||
Object exec = invocable.invokeFunction("verification", dataSetParamDto);
|
||||
ObjectMapper objectMapper = new ObjectMapper();
|
||||
return objectMapper.convertValue(exec, Boolean.class);
|
||||
}
|
||||
|
||||
}
|
||||
catch (Exception ex) {
|
||||
throw BusinessExceptionBuilder.build(ResponseCode.EXECUTE_JS_ERROR, ex.getMessage());
|
||||
}
|
||||
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* 参数校验 js脚本
|
||||
* @param dataSetParamDtoList
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public boolean verification(List<DataSetParamDto> dataSetParamDtoList, Map<String, Object> contextData) {
|
||||
if (null == dataSetParamDtoList || dataSetParamDtoList.size() == 0) {
|
||||
return true;
|
||||
}
|
||||
|
||||
for (DataSetParamDto dataSetParamDto : dataSetParamDtoList) {
|
||||
if (null != contextData) {
|
||||
String value = contextData.getOrDefault(dataSetParamDto.getParamName(), "").toString();
|
||||
dataSetParamDto.setSampleItem(value);
|
||||
}
|
||||
if (!verification(dataSetParamDto)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
package com.anjiplus.template.gaea.business.modules.datasetparam.util;
|
||||
|
||||
import org.springframework.util.PropertyPlaceholderHelper;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
/**
|
||||
* Created by raodeming on 2021/3/23.
|
||||
*/
|
||||
public class ParamsResolverHelper {
|
||||
|
||||
private static String placeholderPrefix = "${";
|
||||
|
||||
private static String placeholderSuffix = "}";
|
||||
|
||||
private static PropertyPlaceholderHelper helper = new PropertyPlaceholderHelper(placeholderPrefix,
|
||||
placeholderSuffix);
|
||||
|
||||
public static String resolveParams(final Map<String, Object> param, String con) {
|
||||
con = helper.replacePlaceholders(con, (key -> param.get(key) + ""));
|
||||
return con;
|
||||
}
|
||||
|
||||
private static Pattern key = Pattern.compile("\\$\\{(.*?)\\}");
|
||||
|
||||
public static List<String> findParamKeys(String con) {
|
||||
Matcher m = key.matcher(con);
|
||||
List ret = new ArrayList();
|
||||
while (m.find()) {
|
||||
ret.add(m.group(1));
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
}
|
||||
+45
@@ -0,0 +1,45 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.datasettransform.controller;
|
||||
|
||||
import com.anji.plus.gaea.curd.controller.GaeaBaseController;
|
||||
import com.anji.plus.gaea.curd.service.GaeaBaseService;
|
||||
import com.anjiplus.template.gaea.business.modules.datasettransform.controller.dto.DataSetTransformDto;
|
||||
import com.anjiplus.template.gaea.business.modules.datasettransform.controller.param.DataSetTransformParam;
|
||||
import com.anjiplus.template.gaea.business.modules.datasettransform.dao.entity.DataSetTransform;
|
||||
import com.anjiplus.template.gaea.business.modules.datasettransform.service.DataSetTransformService;
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* @desc 数据集数据转换 controller
|
||||
* @website https://gitee.com/anji-plus/gaea
|
||||
* @author Raod
|
||||
* @date 2021-03-18 12:13:15.591309400
|
||||
**/
|
||||
@RestController
|
||||
@Api(tags = "数据集数据转换管理")
|
||||
@RequestMapping("/dataSetTransform")
|
||||
public class DataSetTransformController
|
||||
extends GaeaBaseController<DataSetTransformParam, DataSetTransform, DataSetTransformDto> {
|
||||
|
||||
@Autowired
|
||||
private DataSetTransformService dataSetTransformService;
|
||||
|
||||
@Override
|
||||
public GaeaBaseService<DataSetTransformParam, DataSetTransform> getService() {
|
||||
return dataSetTransformService;
|
||||
}
|
||||
|
||||
@Override
|
||||
public DataSetTransform getEntity() {
|
||||
return new DataSetTransform();
|
||||
}
|
||||
|
||||
@Override
|
||||
public DataSetTransformDto getDTO() {
|
||||
return new DataSetTransformDto();
|
||||
}
|
||||
|
||||
}
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.datasettransform.controller.dto;
|
||||
|
||||
import com.anji.plus.gaea.curd.dto.GaeaBaseDTO;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @description 数据集数据转换 dto
|
||||
* @author Raod
|
||||
* @date 2021-03-18 12:13:15.591309400
|
||||
**/
|
||||
@Data
|
||||
public class DataSetTransformDto extends GaeaBaseDTO implements Serializable {
|
||||
|
||||
/** 数据集编码 */
|
||||
private String setCode;
|
||||
|
||||
/** 数据转换类型,DIC_NAME=TRANSFORM_TYPE; js,javaBean,字典转换 */
|
||||
private String transformType;
|
||||
|
||||
/** 数据转换script,处理逻辑 */
|
||||
private String transformScript;
|
||||
|
||||
/** 排序,执行数据转换顺序 */
|
||||
private Integer orderNum;
|
||||
|
||||
/** 0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG */
|
||||
private Integer enableFlag;
|
||||
|
||||
/** 0--未删除 1--已删除 DIC_NAME=DELETE_FLAG */
|
||||
private Integer deleteFlag;
|
||||
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
/**/
|
||||
package com.anjiplus.template.gaea.business.modules.datasettransform.controller.param;
|
||||
|
||||
import com.anji.plus.gaea.curd.params.PageParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @desc DataSetTransform 数据集数据转换查询输入类
|
||||
* @author Raod
|
||||
* @date 2021-03-18 12:13:15.591309400
|
||||
**/
|
||||
@Data
|
||||
public class DataSetTransformParam extends PageParam implements Serializable {
|
||||
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
package com.anjiplus.template.gaea.business.modules.datasettransform.dao;
|
||||
|
||||
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
||||
import com.anjiplus.template.gaea.business.modules.datasettransform.dao.entity.DataSetTransform;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* DataSetTransform Mapper
|
||||
*
|
||||
* @author Raod
|
||||
* @date 2021-03-18 12:13:15.591309400
|
||||
**/
|
||||
@Mapper
|
||||
public interface DataSetTransformMapper extends GaeaBaseMapper<DataSetTransform> {
|
||||
|
||||
}
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.datasettransform.dao.entity;
|
||||
|
||||
import com.anji.plus.gaea.curd.entity.GaeaBaseEntity;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @description 数据集数据转换 entity
|
||||
* @author Raod
|
||||
* @date 2021-03-18 12:13:15.591309400
|
||||
**/
|
||||
@TableName(value = "gaea_report_data_set_transform")
|
||||
@Data
|
||||
public class DataSetTransform extends GaeaBaseEntity {
|
||||
|
||||
@ApiModelProperty(value = "数据集编码")
|
||||
private String setCode;
|
||||
|
||||
@ApiModelProperty(value = "数据转换类型,DIC_NAME=TRANSFORM_TYPE; js,javaBean,字典转换")
|
||||
private String transformType;
|
||||
|
||||
@ApiModelProperty(value = "数据转换script,处理逻辑")
|
||||
private String transformScript;
|
||||
|
||||
@ApiModelProperty(value = "排序,执行数据转换顺序")
|
||||
private Integer orderNum;
|
||||
|
||||
@ApiModelProperty(value = "0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG")
|
||||
private Integer enableFlag;
|
||||
|
||||
@ApiModelProperty(value = "0--未删除 1--已删除 DIC_NAME=DELETE_FLAG")
|
||||
private Integer deleteFlag;
|
||||
|
||||
}
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.datasettransform.service;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.anji.plus.gaea.curd.service.GaeaBaseService;
|
||||
import com.anjiplus.template.gaea.business.modules.datasettransform.controller.dto.DataSetTransformDto;
|
||||
import com.anjiplus.template.gaea.business.modules.datasettransform.controller.param.DataSetTransformParam;
|
||||
import com.anjiplus.template.gaea.business.modules.datasettransform.dao.entity.DataSetTransform;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @desc DataSetTransform 数据集数据转换服务接口
|
||||
* @author Raod
|
||||
* @date 2021-03-18 12:13:15.591309400
|
||||
**/
|
||||
public interface DataSetTransformService extends GaeaBaseService<DataSetTransformParam, DataSetTransform> {
|
||||
|
||||
List<JSONObject> transform(List<DataSetTransformDto> dataSetTransformDtoList, List<JSONObject> data);
|
||||
|
||||
}
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
package com.anjiplus.template.gaea.business.modules.datasettransform.service;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.anjiplus.template.gaea.business.modules.datasettransform.controller.dto.DataSetTransformDto;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by raodeming on 2021/3/23.
|
||||
*/
|
||||
public interface TransformStrategy {
|
||||
|
||||
/**
|
||||
* 数据清洗转换 类型
|
||||
* @return
|
||||
*/
|
||||
String type();
|
||||
|
||||
/***
|
||||
* 清洗转换算法接口
|
||||
* @param def
|
||||
* @param data
|
||||
* @return
|
||||
*/
|
||||
List<JSONObject> transform(DataSetTransformDto def, List<JSONObject> data);
|
||||
|
||||
}
|
||||
+73
@@ -0,0 +1,73 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.datasettransform.service.impl;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper;
|
||||
import com.anjiplus.template.gaea.business.modules.datasettransform.controller.dto.DataSetTransformDto;
|
||||
import com.anjiplus.template.gaea.business.modules.datasettransform.dao.DataSetTransformMapper;
|
||||
import com.anjiplus.template.gaea.business.modules.datasettransform.dao.entity.DataSetTransform;
|
||||
import com.anjiplus.template.gaea.business.modules.datasettransform.service.DataSetTransformService;
|
||||
import com.anjiplus.template.gaea.business.modules.datasettransform.service.TransformStrategy;
|
||||
import org.springframework.beans.BeansException;
|
||||
import org.springframework.beans.factory.InitializingBean;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationContext;
|
||||
import org.springframework.context.ApplicationContextAware;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @desc DataSetTransform 数据集数据转换服务实现
|
||||
* @author Raod
|
||||
* @date 2021-03-18 12:13:15.591309400
|
||||
**/
|
||||
@Service
|
||||
// @RequiredArgsConstructor
|
||||
public class DataSetTransformServiceImpl implements DataSetTransformService, InitializingBean, ApplicationContextAware {
|
||||
|
||||
private final Map<String, TransformStrategy> queryServiceImplMap = new HashMap<>();
|
||||
|
||||
private ApplicationContext applicationContext;
|
||||
|
||||
@Autowired
|
||||
private DataSetTransformMapper dataSetTransformMapper;
|
||||
|
||||
@Override
|
||||
public GaeaBaseMapper<DataSetTransform> getMapper() {
|
||||
return dataSetTransformMapper;
|
||||
}
|
||||
|
||||
public TransformStrategy getTarget(String type) {
|
||||
return queryServiceImplMap.get(type);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void afterPropertiesSet() {
|
||||
Map<String, TransformStrategy> beanMap = applicationContext.getBeansOfType(TransformStrategy.class);
|
||||
// 遍历该接口的所有实现,将其放入map中
|
||||
for (TransformStrategy serviceImpl : beanMap.values()) {
|
||||
queryServiceImplMap.put(serviceImpl.type(), serviceImpl);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
|
||||
this.applicationContext = applicationContext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<JSONObject> transform(List<DataSetTransformDto> dataSetTransformDtoList, List<JSONObject> data) {
|
||||
if (dataSetTransformDtoList == null || dataSetTransformDtoList.size() <= 0) {
|
||||
return data;
|
||||
}
|
||||
|
||||
for (DataSetTransformDto dataSetTransformDto : dataSetTransformDtoList) {
|
||||
data = getTarget(dataSetTransformDto.getTransformType()).transform(dataSetTransformDto, data);
|
||||
}
|
||||
return data;
|
||||
}
|
||||
|
||||
}
|
||||
+55
@@ -0,0 +1,55 @@
|
||||
package com.anjiplus.template.gaea.business.modules.datasettransform.service.impl;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.anjiplus.template.gaea.business.modules.datasettransform.controller.dto.DataSetTransformDto;
|
||||
import com.anjiplus.template.gaea.business.modules.datasettransform.service.TransformStrategy;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* 字典转换 Created by raodeming on 2021/3/29.
|
||||
*/
|
||||
@Component
|
||||
@Slf4j
|
||||
public class DictTransformServiceImpl implements TransformStrategy {
|
||||
|
||||
/**
|
||||
* 数据清洗转换 类型
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public String type() {
|
||||
return "dict";
|
||||
}
|
||||
|
||||
/***
|
||||
* 清洗转换算法接口
|
||||
* @param def
|
||||
* @param data
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public List<JSONObject> transform(DataSetTransformDto def, List<JSONObject> data) {
|
||||
String transformScript = def.getTransformScript();
|
||||
if (StringUtils.isBlank(transformScript)) {
|
||||
return data;
|
||||
}
|
||||
JSONObject jsonObject = JSONObject.parseObject(transformScript);
|
||||
Set<String> keys = jsonObject.keySet();
|
||||
|
||||
data.forEach(dataDetail -> dataDetail.forEach((key, value) -> {
|
||||
if (keys.contains(key)) {
|
||||
String string = jsonObject.getJSONObject(key).getString(value.toString());
|
||||
if (StringUtils.isNotBlank(string)) {
|
||||
dataDetail.put(key, string);
|
||||
}
|
||||
}
|
||||
}));
|
||||
return data;
|
||||
}
|
||||
|
||||
}
|
||||
+67
@@ -0,0 +1,67 @@
|
||||
package com.anjiplus.template.gaea.business.modules.datasettransform.service.impl;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.anji.plus.gaea.exception.BusinessExceptionBuilder;
|
||||
import com.anjiplus.template.gaea.business.code.ResponseCode;
|
||||
import com.anjiplus.template.gaea.business.modules.datasettransform.controller.dto.DataSetTransformDto;
|
||||
import com.anjiplus.template.gaea.business.modules.datasettransform.service.TransformStrategy;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import javax.script.Invocable;
|
||||
import javax.script.ScriptEngine;
|
||||
import javax.script.ScriptEngineManager;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by raodeming on 2021/3/23.
|
||||
*/
|
||||
@Component
|
||||
@Slf4j
|
||||
public class JsTransformServiceImpl implements TransformStrategy {
|
||||
|
||||
private ScriptEngine engine;
|
||||
|
||||
{
|
||||
ScriptEngineManager manager = new ScriptEngineManager();
|
||||
engine = manager.getEngineByName("JavaScript");
|
||||
}
|
||||
|
||||
/**
|
||||
* 数据清洗转换 类型
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public String type() {
|
||||
return "js";
|
||||
}
|
||||
|
||||
/***
|
||||
* 清洗转换算法接口
|
||||
* @param def
|
||||
* @param data
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public List<JSONObject> transform(DataSetTransformDto def, List<JSONObject> data) {
|
||||
return getValueFromJs(def, data);
|
||||
}
|
||||
|
||||
private List<JSONObject> getValueFromJs(DataSetTransformDto def, List<JSONObject> data) {
|
||||
String js = def.getTransformScript();
|
||||
try {
|
||||
engine.eval(js);
|
||||
if (engine instanceof Invocable) {
|
||||
Invocable invocable = (Invocable) engine;
|
||||
return (List<JSONObject>) invocable.invokeFunction("dataTransform", data);
|
||||
}
|
||||
|
||||
}
|
||||
catch (Exception ex) {
|
||||
throw BusinessExceptionBuilder.build(ResponseCode.EXECUTE_JS_ERROR, ex.getMessage());
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
+214
@@ -0,0 +1,214 @@
|
||||
package com.anjiplus.template.gaea.business.modules.datasource.config;
|
||||
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.http.Header;
|
||||
import org.apache.http.HeaderElement;
|
||||
import org.apache.http.HeaderElementIterator;
|
||||
import org.apache.http.HttpHost;
|
||||
import org.apache.http.client.HttpClient;
|
||||
import org.apache.http.client.protocol.HttpClientContext;
|
||||
import org.apache.http.config.Registry;
|
||||
import org.apache.http.config.RegistryBuilder;
|
||||
import org.apache.http.conn.ConnectionKeepAliveStrategy;
|
||||
import org.apache.http.conn.socket.ConnectionSocketFactory;
|
||||
import org.apache.http.conn.socket.PlainConnectionSocketFactory;
|
||||
import org.apache.http.conn.ssl.NoopHostnameVerifier;
|
||||
import org.apache.http.conn.ssl.SSLConnectionSocketFactory;
|
||||
import org.apache.http.impl.client.DefaultHttpRequestRetryHandler;
|
||||
import org.apache.http.impl.client.HttpClientBuilder;
|
||||
import org.apache.http.impl.conn.PoolingHttpClientConnectionManager;
|
||||
import org.apache.http.message.BasicHeader;
|
||||
import org.apache.http.message.BasicHeaderElementIterator;
|
||||
import org.apache.http.protocol.HTTP;
|
||||
import org.apache.http.ssl.SSLContextBuilder;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Qualifier;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.http.client.ClientHttpRequestFactory;
|
||||
import org.springframework.http.client.HttpComponentsClientHttpRequestFactory;
|
||||
import org.springframework.http.converter.HttpMessageConverter;
|
||||
import org.springframework.http.converter.StringHttpMessageConverter;
|
||||
import org.springframework.web.client.DefaultResponseErrorHandler;
|
||||
import org.springframework.web.client.RestTemplate;
|
||||
|
||||
import javax.net.ssl.HostnameVerifier;
|
||||
import javax.net.ssl.SSLContext;
|
||||
import java.nio.charset.Charset;
|
||||
import java.security.KeyManagementException;
|
||||
import java.security.KeyStoreException;
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* Created by raodeming on 2021/3/24.
|
||||
*/
|
||||
@Configuration
|
||||
@Slf4j
|
||||
public class HttpClientConfig {
|
||||
|
||||
@Autowired
|
||||
private HttpClientPoolConfig httpClientPoolConfig;
|
||||
|
||||
/**
|
||||
* 创建HTTP客户端工厂
|
||||
*/
|
||||
@Bean(name = "clientHttpRequestFactory")
|
||||
public ClientHttpRequestFactory clientHttpRequestFactory() {
|
||||
/**
|
||||
* maxTotalConnection 和 maxConnectionPerRoute 必须要配
|
||||
*/
|
||||
if (httpClientPoolConfig.getMaxTotalConnect() <= 0) {
|
||||
throw new IllegalArgumentException(
|
||||
"invalid maxTotalConnection: " + httpClientPoolConfig.getMaxTotalConnect());
|
||||
}
|
||||
if (httpClientPoolConfig.getMaxConnectPerRoute() <= 0) {
|
||||
throw new IllegalArgumentException(
|
||||
"invalid maxConnectionPerRoute: " + httpClientPoolConfig.getMaxConnectPerRoute());
|
||||
}
|
||||
HttpComponentsClientHttpRequestFactory clientHttpRequestFactory = new HttpComponentsClientHttpRequestFactory(
|
||||
httpClient());
|
||||
// 连接超时
|
||||
clientHttpRequestFactory.setConnectTimeout(httpClientPoolConfig.getConnectTimeout());
|
||||
// 数据读取超时时间,即SocketTimeout
|
||||
clientHttpRequestFactory.setReadTimeout(httpClientPoolConfig.getReadTimeout());
|
||||
// 从连接池获取请求连接的超时时间,不宜过长,必须设置,比如连接不够用时,时间过长将是灾难性的
|
||||
clientHttpRequestFactory.setConnectionRequestTimeout(httpClientPoolConfig.getConnectionRequestTimout());
|
||||
return clientHttpRequestFactory;
|
||||
}
|
||||
|
||||
/**
|
||||
* 初始化RestTemplate,并加入spring的Bean工厂,由spring统一管理
|
||||
*/
|
||||
@Bean(name = "dataSourceRestTemplate")
|
||||
public RestTemplate restTemplate(@Qualifier("clientHttpRequestFactory") ClientHttpRequestFactory factory) {
|
||||
return createRestTemplate(factory);
|
||||
}
|
||||
|
||||
/**
|
||||
* 配置httpClient
|
||||
* @return
|
||||
*/
|
||||
@Bean
|
||||
public HttpClient httpClient() {
|
||||
HttpClientBuilder httpClientBuilder = HttpClientBuilder.create();
|
||||
try {
|
||||
// 设置信任ssl访问
|
||||
SSLContext sslContext = new SSLContextBuilder().loadTrustMaterial(null, (arg0, arg1) -> true).build();
|
||||
|
||||
httpClientBuilder.setSSLContext(sslContext);
|
||||
HostnameVerifier hostnameVerifier = NoopHostnameVerifier.INSTANCE;
|
||||
SSLConnectionSocketFactory sslConnectionSocketFactory = new SSLConnectionSocketFactory(sslContext,
|
||||
hostnameVerifier);
|
||||
Registry<ConnectionSocketFactory> socketFactoryRegistry = RegistryBuilder.<ConnectionSocketFactory>create()
|
||||
// 注册http和https请求
|
||||
.register("http", PlainConnectionSocketFactory.getSocketFactory())
|
||||
.register("https", sslConnectionSocketFactory).build();
|
||||
|
||||
// 使用Httpclient连接池的方式配置(推荐),同时支持netty,okHttp以及其他http框架
|
||||
PoolingHttpClientConnectionManager poolingHttpClientConnectionManager = new PoolingHttpClientConnectionManager(
|
||||
socketFactoryRegistry);
|
||||
// 最大连接数
|
||||
poolingHttpClientConnectionManager.setMaxTotal(httpClientPoolConfig.getMaxTotalConnect());
|
||||
// 同路由并发数
|
||||
poolingHttpClientConnectionManager.setDefaultMaxPerRoute(httpClientPoolConfig.getMaxConnectPerRoute());
|
||||
// 配置连接池
|
||||
httpClientBuilder.setConnectionManager(poolingHttpClientConnectionManager);
|
||||
// 重试次数
|
||||
httpClientBuilder
|
||||
.setRetryHandler(new DefaultHttpRequestRetryHandler(httpClientPoolConfig.getRetryTimes(), true));
|
||||
|
||||
// 设置默认请求头
|
||||
List<Header> headers = getDefaultHeaders();
|
||||
httpClientBuilder.setDefaultHeaders(headers);
|
||||
// 设置长连接保持策略
|
||||
httpClientBuilder.setKeepAliveStrategy(connectionKeepAliveStrategy());
|
||||
return httpClientBuilder.build();
|
||||
}
|
||||
catch (KeyManagementException | NoSuchAlgorithmException | KeyStoreException e) {
|
||||
log.error("初始化HTTP连接池出错", e);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* 配置长连接保持策略
|
||||
* @return
|
||||
*/
|
||||
public ConnectionKeepAliveStrategy connectionKeepAliveStrategy() {
|
||||
return (response, context) -> {
|
||||
// Honor 'keep-alive' header
|
||||
HeaderElementIterator it = new BasicHeaderElementIterator(response.headerIterator(HTTP.CONN_KEEP_ALIVE));
|
||||
while (it.hasNext()) {
|
||||
HeaderElement he = it.nextElement();
|
||||
log.info("HeaderElement:{}", JSON.toJSONString(he));
|
||||
String param = he.getName();
|
||||
String value = he.getValue();
|
||||
if (value != null && "timeout".equalsIgnoreCase(param)) {
|
||||
try {
|
||||
return Long.parseLong(value) * 1000;
|
||||
}
|
||||
catch (NumberFormatException ignore) {
|
||||
log.error("解析长连接过期时间异常", ignore);
|
||||
}
|
||||
}
|
||||
}
|
||||
HttpHost target = (HttpHost) context.getAttribute(HttpClientContext.HTTP_TARGET_HOST);
|
||||
// 如果请求目标地址,单独配置了长连接保持时间,使用该配置
|
||||
Optional<Map.Entry<String, Integer>> any = Optional
|
||||
.ofNullable(httpClientPoolConfig.getKeepAliveTargetHost()).orElseGet(HashMap::new).entrySet()
|
||||
.stream().filter(e -> e.getKey().equalsIgnoreCase(target.getHostName())).findAny();
|
||||
// 否则使用默认长连接保持时间
|
||||
return any.map(en -> en.getValue() * 1000L).orElse(httpClientPoolConfig.getKeepAliveTime() * 1000L);
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置请求头
|
||||
* @return
|
||||
*/
|
||||
private List<Header> getDefaultHeaders() {
|
||||
List<Header> headers = new ArrayList<>();
|
||||
headers.add(new BasicHeader("User-Agent",
|
||||
"Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.16 Safari/537.36"));
|
||||
headers.add(new BasicHeader("Accept-Encoding", "gzip,deflate"));
|
||||
headers.add(new BasicHeader("Accept-Language", "zh-CN"));
|
||||
headers.add(new BasicHeader("Connection", "Keep-Alive"));
|
||||
return headers;
|
||||
}
|
||||
|
||||
private RestTemplate createRestTemplate(ClientHttpRequestFactory factory) {
|
||||
RestTemplate restTemplate = new RestTemplate(factory);
|
||||
|
||||
// 我们采用RestTemplate内部的MessageConverter
|
||||
// 重新设置StringHttpMessageConverter字符集,解决中文乱码问题
|
||||
modifyDefaultCharset(restTemplate);
|
||||
|
||||
// 设置错误处理器
|
||||
restTemplate.setErrorHandler(new DefaultResponseErrorHandler());
|
||||
|
||||
return restTemplate;
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改默认的字符集类型为utf-8
|
||||
* @param restTemplate
|
||||
*/
|
||||
private void modifyDefaultCharset(RestTemplate restTemplate) {
|
||||
List<HttpMessageConverter<?>> converterList = restTemplate.getMessageConverters();
|
||||
HttpMessageConverter<?> converterTarget = null;
|
||||
for (HttpMessageConverter<?> item : converterList) {
|
||||
if (StringHttpMessageConverter.class == item.getClass()) {
|
||||
converterTarget = item;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (null != converterTarget) {
|
||||
converterList.remove(converterTarget);
|
||||
}
|
||||
Charset defaultCharset = Charset.forName(httpClientPoolConfig.getCharset());
|
||||
converterList.add(1, new StringHttpMessageConverter(defaultCharset));
|
||||
}
|
||||
|
||||
}
|
||||
+62
@@ -0,0 +1,62 @@
|
||||
package com.anjiplus.template.gaea.business.modules.datasource.config;
|
||||
|
||||
import lombok.Data;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* Created by raodeming on 2021/3/24.
|
||||
*/
|
||||
@Component
|
||||
@ConfigurationProperties(prefix = "spring.http-client.pool")
|
||||
@Data
|
||||
public class HttpClientPoolConfig {
|
||||
|
||||
/**
|
||||
* java配置的优先级低于yml配置;如果yml配置不存在,会采用java配置
|
||||
*/
|
||||
/**
|
||||
* 连接池的最大连接数
|
||||
*/
|
||||
private int maxTotalConnect = 1000;
|
||||
|
||||
/**
|
||||
* 同路由的并发数
|
||||
*/
|
||||
private int maxConnectPerRoute = 200;
|
||||
|
||||
/**
|
||||
* 客户端和服务器建立连接超时,默认2s
|
||||
*/
|
||||
private int connectTimeout = 2 * 1000;
|
||||
|
||||
/**
|
||||
* 指客户端从服务器读取数据包的间隔超时时间,不是总读取时间,默认30s
|
||||
*/
|
||||
private int readTimeout = 30 * 1000;
|
||||
|
||||
private String charset = "UTF-8";
|
||||
|
||||
/**
|
||||
* 重试次数,默认2次
|
||||
*/
|
||||
private int retryTimes = 2;
|
||||
|
||||
/**
|
||||
* 从连接池获取连接的超时时间,不宜过长,单位ms
|
||||
*/
|
||||
private int connectionRequestTimout = 200;
|
||||
|
||||
/**
|
||||
* 针对不同的地址,特别设置不同的长连接保持时间
|
||||
*/
|
||||
private Map<String, Integer> keepAliveTargetHost;
|
||||
|
||||
/**
|
||||
* 针对不同的地址,特别设置不同的长连接保持时间,单位 s
|
||||
*/
|
||||
private int keepAliveTime = 60;
|
||||
|
||||
}
|
||||
+68
@@ -0,0 +1,68 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.datasource.controller;
|
||||
|
||||
import com.anji.plus.gaea.annotation.Permission;
|
||||
import com.anji.plus.gaea.bean.ResponseBean;
|
||||
import com.anji.plus.gaea.curd.controller.GaeaBaseController;
|
||||
import com.anji.plus.gaea.curd.service.GaeaBaseService;
|
||||
import com.anjiplus.template.gaea.business.modules.datasource.controller.dto.DataSourceDto;
|
||||
import com.anjiplus.template.gaea.business.modules.datasource.controller.param.ConnectionParam;
|
||||
import com.anjiplus.template.gaea.business.modules.datasource.controller.param.DataSourceParam;
|
||||
import com.anjiplus.template.gaea.business.modules.datasource.dao.entity.DataSource;
|
||||
import com.anjiplus.template.gaea.business.modules.datasource.service.DataSourceService;
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
/**
|
||||
* @desc 数据源 controller
|
||||
* @website https://gitee.com/anji-plus/gaea
|
||||
* @author Raod
|
||||
* @date 2021-03-18 12:09:57.728203200
|
||||
**/
|
||||
@RestController
|
||||
@Api(tags = "数据源管理")
|
||||
@Permission(code = "datasourceManage", name = "数据源管理")
|
||||
@RequestMapping("/dataSource")
|
||||
public class DataSourceController extends GaeaBaseController<DataSourceParam, DataSource, DataSourceDto> {
|
||||
|
||||
@Autowired
|
||||
private DataSourceService dataSourceService;
|
||||
|
||||
@Override
|
||||
public GaeaBaseService<DataSourceParam, DataSource> getService() {
|
||||
return dataSourceService;
|
||||
}
|
||||
|
||||
@Override
|
||||
public DataSource getEntity() {
|
||||
return new DataSource();
|
||||
}
|
||||
|
||||
@Override
|
||||
public DataSourceDto getDTO() {
|
||||
return new DataSourceDto();
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取所有数据源
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/queryAllDataSource")
|
||||
public ResponseBean queryAllDataSource() {
|
||||
return responseSuccessWithData(dataSourceService.queryAllDataSource());
|
||||
}
|
||||
|
||||
/**
|
||||
* 测试 连接
|
||||
* @param connectionParam
|
||||
* @return
|
||||
*/
|
||||
@Permission(code = "query", name = "测试数据源")
|
||||
@PostMapping("/testConnection")
|
||||
public ResponseBean testConnection(@Validated @RequestBody ConnectionParam connectionParam) {
|
||||
return responseSuccessWithData(dataSourceService.testConnection(connectionParam));
|
||||
}
|
||||
|
||||
}
|
||||
+80
@@ -0,0 +1,80 @@
|
||||
|
||||
package com.anjiplus.template.gaea.business.modules.datasource.controller.dto;
|
||||
|
||||
import com.anji.plus.gaea.curd.dto.GaeaBaseDTO;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @description 数据源 dto
|
||||
* @author Raod
|
||||
* @date 2021-03-18 12:09:57.728203200
|
||||
**/
|
||||
@Data
|
||||
public class DataSourceDto extends GaeaBaseDTO implements Serializable {
|
||||
|
||||
/** 数据源编码 */
|
||||
private String sourceCode;
|
||||
|
||||
/** 数据源名称 */
|
||||
private String sourceName;
|
||||
|
||||
/** 数据源描述 */
|
||||
private String sourceDesc;
|
||||
|
||||
/**
|
||||
* 数据源类型 DIC_NAME=SOURCE_TYPE;
|
||||
* mysql,orace,sqlserver,elasticsearch,接口,javaBean,数据源类型字典中item-extend动态生成表单
|
||||
*/
|
||||
private String sourceType;
|
||||
|
||||
/**
|
||||
* 数据源连接配置json:关系库{ jdbcUrl:'', username:'', password:'','driverName':''}ES-sql{
|
||||
* apiUrl:'http://127.0.0.1:9092/_xpack/sql?format=json','method':'POST','body':'{"query":"select
|
||||
* 1"}' } 接口{ apiUrl:'http://ip:port/url', method:'' } javaBean{ beanNamw:'xxx' }
|
||||
*/
|
||||
private String sourceConfig;
|
||||
|
||||
/** 0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG */
|
||||
private Integer enableFlag;
|
||||
|
||||
/** 0--未删除 1--已删除 DIC_NAME=DELETE_FLAG */
|
||||
private Integer deleteFlag;
|
||||
|
||||
/**************************************************************/
|
||||
/** 关系型数据库jdbcUrl */
|
||||
private String jdbcUrl;
|
||||
|
||||
/** 关系型数据库用户名 */
|
||||
private String username;
|
||||
|
||||
/** 关系型数据库密码 */
|
||||
private String password;
|
||||
|
||||
/** 关系型数据库驱动类 */
|
||||
private String driverName;
|
||||
|
||||
/** 关系型数据库sql */
|
||||
private String sql;
|
||||
|
||||
/** http requestUrl */
|
||||
private String apiUrl;
|
||||
|
||||
/** http method */
|
||||
private String method;
|
||||
|
||||
/** http header */
|
||||
private String header;
|
||||
|
||||
/** http 请求体 */
|
||||
private String body;
|
||||
|
||||
/** 动态查询sql或者接口中的请求体 */
|
||||
private String dynSentence;
|
||||
|
||||
/** 传入的自定义参数,解决url中存在的动态参数 */
|
||||
private Map<String, Object> contextData;
|
||||
|
||||
}
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
package com.anjiplus.template.gaea.business.modules.datasource.controller.param;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* Created by raodeming on 2021/3/19.
|
||||
*/
|
||||
@Data
|
||||
public class ConnectionParam implements Serializable {
|
||||
|
||||
/**
|
||||
* 数据源类型 DIC_NAME=SOURCE_TYPE;
|
||||
* mysql,orace,sqlserver,elasticsearch,接口,javaBean,数据源类型字典中item-extend动态生成表单
|
||||
*/
|
||||
@NotBlank(message = "sourceType not empty")
|
||||
private String sourceType;
|
||||
|
||||
/**
|
||||
* 数据源连接配置json:关系库{ jdbcUrl:'', username:'', password:'','driverName':''}ES-sql{
|
||||
* apiUrl:'http://127.0.0.1:9092/_xpack/sql?format=json','method':'POST','body':'{"query":"select
|
||||
* 1"}' } 接口{ apiUrl:'http://ip:port/url', method:'' } javaBean{ beanNamw:'xxx' }
|
||||
*/
|
||||
@NotBlank(message = "sourceConfig not empty")
|
||||
private String sourceConfig;
|
||||
|
||||
}
|
||||
Loaded 100 of 292 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user