mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
feat: upgrade sql for 5.0.0
This commit is contained in:
parent
5e1f7e2d11
commit
9dbd470c5a
@ -1,3 +1,22 @@
|
|||||||
|
/*
|
||||||
|
官方 SQL 仅基于特定版本(MySQL8)导出,不一定兼容其他数据库,也不一定兼容其他版本。此 SQL 仅供参考。
|
||||||
|
如果您的数据库无法使用此 SQL,建议使用 SpringDataJPA 自带的建表能力,先在开发环境直连测试库自动建表,然后自行导出相关的 SQL 即可。
|
||||||
|
|
||||||
|
Navicat Premium Data Transfer
|
||||||
|
|
||||||
|
Source Server : Local@3306
|
||||||
|
Source Server Type : MySQL
|
||||||
|
Source Server Version : 80300 (8.3.0)
|
||||||
|
Source Host : localhost:3306
|
||||||
|
Source Schema : powerjob500
|
||||||
|
|
||||||
|
Target Server Type : MySQL
|
||||||
|
Target Server Version : 80300 (8.3.0)
|
||||||
|
File Encoding : 65001
|
||||||
|
|
||||||
|
Date: 17/02/2024 22:20:07
|
||||||
|
*/
|
||||||
|
|
||||||
SET NAMES utf8mb4;
|
SET NAMES utf8mb4;
|
||||||
SET FOREIGN_KEY_CHECKS = 0;
|
SET FOREIGN_KEY_CHECKS = 0;
|
||||||
|
|
||||||
@ -5,260 +24,320 @@ SET FOREIGN_KEY_CHECKS = 0;
|
|||||||
-- Table structure for app_info
|
-- Table structure for app_info
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `app_info`;
|
DROP TABLE IF EXISTS `app_info`;
|
||||||
CREATE TABLE `app_info`
|
CREATE TABLE `app_info` (
|
||||||
(
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
||||||
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '应用ID',
|
`app_name` varchar(255) DEFAULT NULL,
|
||||||
`app_name` varchar(128) not NULL COMMENT '应用名称',
|
`creator` bigint DEFAULT NULL,
|
||||||
`current_server` varchar(255) default null COMMENT 'Server地址,用于负责调度应用的ActorSystem地址',
|
`current_server` varchar(255) DEFAULT NULL,
|
||||||
`gmt_create` datetime not null COMMENT '创建时间',
|
`extra` varchar(255) DEFAULT NULL,
|
||||||
`gmt_modified` datetime not null COMMENT '更新时间',
|
`gmt_create` datetime(6) DEFAULT NULL,
|
||||||
`password` varchar(255) not null COMMENT '应用密码',
|
`gmt_modified` datetime(6) DEFAULT NULL,
|
||||||
PRIMARY KEY (`id`),
|
`modifier` bigint DEFAULT NULL,
|
||||||
UNIQUE KEY `uidx01_app_info` (`app_name`)
|
`namespace_id` bigint DEFAULT NULL,
|
||||||
) ENGINE = InnoDB
|
`password` varchar(255) DEFAULT NULL,
|
||||||
AUTO_INCREMENT = 1
|
`tags` varchar(255) DEFAULT NULL,
|
||||||
DEFAULT CHARSET = utf8mb4
|
`title` varchar(255) DEFAULT NULL,
|
||||||
COLLATE = utf8mb4_general_ci COMMENT ='应用表';
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `uidx01_app_info` (`app_name`)
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for container_info
|
-- Table structure for container_info
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
|
|
||||||
DROP TABLE IF EXISTS `container_info`;
|
DROP TABLE IF EXISTS `container_info`;
|
||||||
CREATE TABLE `container_info`
|
CREATE TABLE `container_info` (
|
||||||
(
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
||||||
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '容器ID',
|
`app_id` bigint DEFAULT NULL,
|
||||||
`app_id` bigint not null COMMENT '应用ID',
|
`container_name` varchar(255) DEFAULT NULL,
|
||||||
`container_name` varchar(128) not null COMMENT '容器名称',
|
`gmt_create` datetime(6) DEFAULT NULL,
|
||||||
`gmt_create` datetime not null COMMENT '创建时间',
|
`gmt_modified` datetime(6) DEFAULT NULL,
|
||||||
`gmt_modified` datetime not null COMMENT '更新时间',
|
`last_deploy_time` datetime(6) DEFAULT NULL,
|
||||||
`last_deploy_time` datetime DEFAULT NULL COMMENT '上次部署时间',
|
`source_info` varchar(255) DEFAULT NULL,
|
||||||
`source_info` varchar(255) DEFAULT NULL COMMENT '资源信息,内容取决于source_type\n1、FatJar -> String\n2、Git -> JSON,{"repo”:””仓库,”branch”:”分支”,”username”:”账号,”password”:”密码”}',
|
`source_type` int DEFAULT NULL,
|
||||||
`source_type` int not null COMMENT '资源类型,1:FatJar/2:Git',
|
`status` int DEFAULT NULL,
|
||||||
`status` int not null COMMENT '状态,1:正常ENABLE/2:已禁用DISABLE/99:已删除DELETED',
|
`version` varchar(255) DEFAULT NULL,
|
||||||
`version` varchar(255) default null COMMENT '版本',
|
PRIMARY KEY (`id`),
|
||||||
PRIMARY KEY (`id`),
|
KEY `idx01_container_info` (`app_id`)
|
||||||
KEY `idx01_container_info` (`app_id`)
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||||||
) ENGINE = InnoDB
|
|
||||||
DEFAULT CHARSET = utf8mb4
|
|
||||||
COLLATE = utf8mb4_general_ci COMMENT ='容器表';
|
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for instance_info
|
-- Table structure for instance_info
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `instance_info`;
|
DROP TABLE IF EXISTS `instance_info`;
|
||||||
CREATE TABLE `instance_info`
|
CREATE TABLE `instance_info` (
|
||||||
(
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
||||||
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '任务实例ID',
|
`actual_trigger_time` bigint DEFAULT NULL,
|
||||||
`app_id` bigint not null COMMENT '应用ID',
|
`app_id` bigint DEFAULT NULL,
|
||||||
`instance_id` bigint not null COMMENT '任务实例ID',
|
`expected_trigger_time` bigint DEFAULT NULL,
|
||||||
`type` int not NULL COMMENT '任务实例类型,1:普通NORMAL/2:工作流WORKFLOW',
|
`finished_time` bigint DEFAULT NULL,
|
||||||
`job_id` bigint not NULL COMMENT '任务ID',
|
`gmt_create` datetime(6) DEFAULT NULL,
|
||||||
`instance_params` longtext COMMENT '任务动态参数',
|
`gmt_modified` datetime(6) DEFAULT NULL,
|
||||||
`job_params` longtext COMMENT '任务静态参数',
|
`instance_id` bigint DEFAULT NULL,
|
||||||
`actual_trigger_time` bigint default NULL COMMENT '实际触发时间',
|
`instance_params` longtext,
|
||||||
`expected_trigger_time` bigint DEFAULT NULL COMMENT '计划触发时间',
|
`job_id` bigint DEFAULT NULL,
|
||||||
`finished_time` bigint DEFAULT NULL COMMENT '执行结束时间',
|
`job_params` longtext,
|
||||||
`last_report_time` bigint DEFAULT NULL COMMENT '最后上报时间',
|
`last_report_time` bigint DEFAULT NULL,
|
||||||
`result` longtext COMMENT '执行结果',
|
`result` longtext,
|
||||||
`running_times` bigint DEFAULT NULL COMMENT '总执行次数,用于重试判断',
|
`running_times` bigint DEFAULT NULL,
|
||||||
`status` int not NULL COMMENT '任务状态,1:等待派发WAITING_DISPATCH/2:等待Worker接收WAITING_WORKER_RECEIVE/3:运行中RUNNING/4:失败FAILED/5:成功SUCCEED/9:取消CANCELED/10:手动停止STOPPED',
|
`status` int DEFAULT NULL,
|
||||||
`task_tracker_address` varchar(255) DEFAULT NULL COMMENT 'TaskTracker地址',
|
`task_tracker_address` varchar(255) DEFAULT NULL,
|
||||||
`wf_instance_id` bigint DEFAULT NULL COMMENT '工作流实例ID',
|
`type` int DEFAULT NULL,
|
||||||
`additional_data` longtext comment '附加信息 (JSON)',
|
`wf_instance_id` bigint DEFAULT NULL,
|
||||||
`gmt_create` datetime not NULL COMMENT '创建时间',
|
PRIMARY KEY (`id`),
|
||||||
`gmt_modified` datetime not NULL COMMENT '更新时间',
|
KEY `idx01_instance_info` (`job_id`,`status`),
|
||||||
PRIMARY KEY (`id`),
|
KEY `idx02_instance_info` (`app_id`,`status`),
|
||||||
KEY `idx01_instance_info` (`job_id`, `status`),
|
KEY `idx03_instance_info` (`instance_id`,`status`)
|
||||||
KEY `idx02_instance_info` (`app_id`, `status`),
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||||||
KEY `idx03_instance_info` (`instance_id`, `status`)
|
|
||||||
) ENGINE = InnoDB
|
|
||||||
AUTO_INCREMENT = 1
|
|
||||||
DEFAULT CHARSET = utf8mb4
|
|
||||||
COLLATE = utf8mb4_general_ci COMMENT ='任务实例表';
|
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for job_info
|
-- Table structure for job_info
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `job_info`;
|
DROP TABLE IF EXISTS `job_info`;
|
||||||
CREATE TABLE `job_info`
|
CREATE TABLE `job_info` (
|
||||||
(
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
||||||
`id` bigint NOT NULL AUTO_INCREMENT,
|
`alarm_config` varchar(255) DEFAULT NULL,
|
||||||
`app_id` bigint DEFAULT NULL COMMENT '应用ID',
|
`app_id` bigint DEFAULT NULL,
|
||||||
`job_name` varchar(128) DEFAULT NULL COMMENT '任务名称',
|
`concurrency` int DEFAULT NULL,
|
||||||
`job_description` varchar(255) DEFAULT NULL COMMENT '任务描述',
|
`designated_workers` varchar(255) DEFAULT NULL,
|
||||||
`job_params` text COMMENT '任务默认参数',
|
`dispatch_strategy` int DEFAULT NULL,
|
||||||
`concurrency` int DEFAULT NULL COMMENT '并发度,同时执行某个任务的最大线程数量',
|
`execute_type` int DEFAULT NULL,
|
||||||
`designated_workers` varchar(255) DEFAULT NULL COMMENT '运行节点,空:不限(多值逗号分割)',
|
`extra` varchar(255) DEFAULT NULL,
|
||||||
`dispatch_strategy` int DEFAULT NULL COMMENT '投递策略,1:健康优先/2:随机',
|
`gmt_create` datetime(6) DEFAULT NULL,
|
||||||
`execute_type` int not NULL COMMENT '执行类型,1:单机STANDALONE/2:广播BROADCAST/3:MAP_REDUCE/4:MAP',
|
`gmt_modified` datetime(6) DEFAULT NULL,
|
||||||
`instance_retry_num` int not null DEFAULT 0 COMMENT 'Instance重试次数',
|
`instance_retry_num` int DEFAULT NULL,
|
||||||
`instance_time_limit` bigint not null DEFAULT 0 COMMENT '任务整体超时时间',
|
`instance_time_limit` bigint DEFAULT NULL,
|
||||||
`lifecycle` varchar(255) DEFAULT NULL COMMENT '生命周期',
|
`job_description` varchar(255) DEFAULT NULL,
|
||||||
`max_instance_num` int not null DEFAULT 1 COMMENT '最大同时运行任务数,默认 1',
|
`job_name` varchar(255) DEFAULT NULL,
|
||||||
`max_worker_count` int not null DEFAULT 0 COMMENT '最大运行节点数量',
|
`job_params` longtext,
|
||||||
`min_cpu_cores` double NOT NULL default 0 COMMENT '最低CPU核心数量,0:不限',
|
`lifecycle` varchar(255) DEFAULT NULL,
|
||||||
`min_disk_space` double NOT NULL default 0 COMMENT '最低磁盘空间(GB),0:不限',
|
`log_config` varchar(255) DEFAULT NULL,
|
||||||
`min_memory_space` double NOT NULL default 0 COMMENT '最低内存空间(GB),0:不限',
|
`max_instance_num` int DEFAULT NULL,
|
||||||
`next_trigger_time` bigint DEFAULT NULL COMMENT '下一次调度时间',
|
`max_worker_count` int DEFAULT NULL,
|
||||||
`notify_user_ids` varchar(255) DEFAULT NULL COMMENT '报警用户(多值逗号分割)',
|
`min_cpu_cores` double NOT NULL,
|
||||||
`processor_info` varchar(255) DEFAULT NULL COMMENT '执行器信息',
|
`min_disk_space` double NOT NULL,
|
||||||
`processor_type` int not NULL COMMENT '执行器类型,1:内建处理器BUILT_IN/2:SHELL/3:PYTHON/4:外部处理器(动态加载)EXTERNAL',
|
`min_memory_space` double NOT NULL,
|
||||||
`status` int not NULL COMMENT '状态,1:正常ENABLE/2:已禁用DISABLE/99:已删除DELETED',
|
`next_trigger_time` bigint DEFAULT NULL,
|
||||||
`task_retry_num` int not NULL default 0 COMMENT 'Task重试次数',
|
`notify_user_ids` varchar(255) DEFAULT NULL,
|
||||||
`time_expression` varchar(255) default NULL COMMENT '时间表达式,内容取决于time_expression_type,1:CRON/2:NULL/3:LONG/4:LONG',
|
`processor_info` varchar(255) DEFAULT NULL,
|
||||||
`time_expression_type` int not NULL COMMENT '时间表达式类型,1:CRON/2:API/3:FIX_RATE/4:FIX_DELAY,5:WORKFLOW\n)',
|
`processor_type` int DEFAULT NULL,
|
||||||
`tag` varchar(255) DEFAULT NULL COMMENT 'TAG',
|
`status` int DEFAULT NULL,
|
||||||
`log_config` varchar(255) DEFAULT NULL COMMENT '日志配置',
|
`tag` varchar(255) DEFAULT NULL,
|
||||||
`extra` varchar(255) DEFAULT NULL COMMENT '扩展字段',
|
`task_retry_num` int DEFAULT NULL,
|
||||||
`gmt_create` datetime not NULL COMMENT '创建时间',
|
`time_expression` varchar(255) DEFAULT NULL,
|
||||||
`gmt_modified` datetime not NULL COMMENT '更新时间',
|
`time_expression_type` int DEFAULT NULL,
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
KEY `idx01_job_info` (`app_id`, `status`, `time_expression_type`, `next_trigger_time`)
|
KEY `idx01_job_info` (`app_id`,`status`,`time_expression_type`,`next_trigger_time`)
|
||||||
) ENGINE = InnoDB
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||||||
AUTO_INCREMENT = 1
|
|
||||||
DEFAULT CHARSET = utf8mb4
|
-- ----------------------------
|
||||||
COLLATE = utf8mb4_general_ci COMMENT ='任务表';
|
-- Table structure for namespace
|
||||||
|
-- ----------------------------
|
||||||
|
DROP TABLE IF EXISTS `namespace`;
|
||||||
|
CREATE TABLE `namespace` (
|
||||||
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
||||||
|
`code` varchar(255) DEFAULT NULL,
|
||||||
|
`creator` bigint DEFAULT NULL,
|
||||||
|
`dept` varchar(255) DEFAULT NULL,
|
||||||
|
`extra` varchar(255) DEFAULT NULL,
|
||||||
|
`gmt_create` datetime(6) DEFAULT NULL,
|
||||||
|
`gmt_modified` datetime(6) DEFAULT NULL,
|
||||||
|
`modifier` bigint DEFAULT NULL,
|
||||||
|
`name` varchar(255) DEFAULT NULL,
|
||||||
|
`status` int DEFAULT NULL,
|
||||||
|
`tags` varchar(255) DEFAULT NULL,
|
||||||
|
`token` varchar(255) DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `uidx01_namespace` (`code`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for oms_lock
|
-- Table structure for oms_lock
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `oms_lock`;
|
DROP TABLE IF EXISTS `oms_lock`;
|
||||||
CREATE TABLE `oms_lock`
|
CREATE TABLE `oms_lock` (
|
||||||
(
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
||||||
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '序号ID',
|
`gmt_create` datetime(6) DEFAULT NULL,
|
||||||
`lock_name` varchar(128) DEFAULT NULL COMMENT '名称',
|
`gmt_modified` datetime(6) DEFAULT NULL,
|
||||||
`max_lock_time` bigint DEFAULT NULL COMMENT '最长持锁时间',
|
`lock_name` varchar(255) DEFAULT NULL,
|
||||||
`ownerip` varchar(255) DEFAULT NULL COMMENT '拥有者IP',
|
`max_lock_time` bigint DEFAULT NULL,
|
||||||
`gmt_create` datetime not NULL COMMENT '创建时间',
|
`ownerip` varchar(255) DEFAULT NULL,
|
||||||
`gmt_modified` datetime not NULL COMMENT '更新时间',
|
PRIMARY KEY (`id`),
|
||||||
PRIMARY KEY (`id`),
|
UNIQUE KEY `uidx01_oms_lock` (`lock_name`)
|
||||||
UNIQUE KEY `uidx01_oms_lock` (`lock_name`)
|
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||||||
) ENGINE = InnoDB
|
|
||||||
AUTO_INCREMENT = 1
|
-- ----------------------------
|
||||||
DEFAULT CHARSET = utf8mb4
|
-- Table structure for powerjob_files
|
||||||
COLLATE = utf8mb4_general_ci COMMENT ='数据库锁';
|
-- ----------------------------
|
||||||
|
DROP TABLE IF EXISTS `powerjob_files`;
|
||||||
|
CREATE TABLE `powerjob_files` (
|
||||||
|
`id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||||
|
`bucket` varchar(255) NOT NULL COMMENT '分桶',
|
||||||
|
`name` varchar(255) NOT NULL COMMENT '文件名称',
|
||||||
|
`version` varchar(255) NOT NULL COMMENT '版本',
|
||||||
|
`meta` varchar(255) DEFAULT NULL COMMENT '元数据',
|
||||||
|
`length` bigint NOT NULL COMMENT '长度',
|
||||||
|
`status` int NOT NULL COMMENT '状态',
|
||||||
|
`data` longblob NOT NULL COMMENT '文件内容',
|
||||||
|
`extra` varchar(255) DEFAULT NULL COMMENT '其他信息',
|
||||||
|
`gmt_create` datetime NOT NULL COMMENT '创建时间',
|
||||||
|
`gmt_modified` datetime DEFAULT NULL COMMENT '更新时间',
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||||||
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- Table structure for pwjb_user_info
|
||||||
|
-- ----------------------------
|
||||||
|
DROP TABLE IF EXISTS `pwjb_user_info`;
|
||||||
|
CREATE TABLE `pwjb_user_info` (
|
||||||
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
||||||
|
`extra` varchar(255) DEFAULT NULL,
|
||||||
|
`gmt_create` datetime(6) DEFAULT NULL,
|
||||||
|
`gmt_modified` datetime(6) DEFAULT NULL,
|
||||||
|
`password` varchar(255) DEFAULT NULL,
|
||||||
|
`username` varchar(255) DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `uidx01_username` (`username`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for server_info
|
-- Table structure for server_info
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `server_info`;
|
DROP TABLE IF EXISTS `server_info`;
|
||||||
CREATE TABLE `server_info`
|
CREATE TABLE `server_info` (
|
||||||
(
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
||||||
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '服务器ID',
|
`gmt_create` datetime(6) DEFAULT NULL,
|
||||||
`gmt_create` datetime DEFAULT NULL COMMENT '创建时间',
|
`gmt_modified` datetime(6) DEFAULT NULL,
|
||||||
`gmt_modified` datetime DEFAULT NULL COMMENT '更新时间',
|
`ip` varchar(255) DEFAULT NULL,
|
||||||
`ip` varchar(128) DEFAULT NULL COMMENT '服务器IP地址',
|
PRIMARY KEY (`id`),
|
||||||
PRIMARY KEY (`id`),
|
UNIQUE KEY `uidx01_server_info` (`ip`),
|
||||||
UNIQUE KEY `uidx01_server_info` (`ip`),
|
KEY `idx01_server_info` (`gmt_modified`)
|
||||||
KEY `idx01_server_info` (`gmt_modified`)
|
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||||||
) ENGINE = InnoDB
|
|
||||||
AUTO_INCREMENT = 1
|
-- ----------------------------
|
||||||
DEFAULT CHARSET = utf8mb4
|
-- Table structure for sundry
|
||||||
COLLATE = utf8mb4_general_ci COMMENT ='服务器表';
|
-- ----------------------------
|
||||||
|
DROP TABLE IF EXISTS `sundry`;
|
||||||
|
CREATE TABLE `sundry` (
|
||||||
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
||||||
|
`content` varchar(255) DEFAULT NULL,
|
||||||
|
`extra` varchar(255) DEFAULT NULL,
|
||||||
|
`gmt_create` datetime(6) DEFAULT NULL,
|
||||||
|
`gmt_modified` datetime(6) DEFAULT NULL,
|
||||||
|
`pkey` varchar(255) DEFAULT NULL,
|
||||||
|
`skey` varchar(255) DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `uidx01_sundry` (`pkey`,`skey`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for user_info
|
-- Table structure for user_info
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `user_info`;
|
DROP TABLE IF EXISTS `user_info`;
|
||||||
CREATE TABLE `user_info`
|
CREATE TABLE `user_info` (
|
||||||
(
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
||||||
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '用户ID',
|
`account_type` varchar(255) DEFAULT NULL,
|
||||||
`username` varchar(128) not NULL COMMENT '用户名',
|
`email` varchar(255) DEFAULT NULL,
|
||||||
`password` varchar(255) default NULL COMMENT '密码',
|
`extra` varchar(255) DEFAULT NULL,
|
||||||
`phone` varchar(255) DEFAULT NULL COMMENT '手机号',
|
`gmt_create` datetime(6) DEFAULT NULL,
|
||||||
`email` varchar(128) not NULL COMMENT '邮箱',
|
`gmt_modified` datetime(6) DEFAULT NULL,
|
||||||
`extra` varchar(255) DEFAULT NULL COMMENT '扩展字段',
|
`nick` varchar(255) DEFAULT NULL,
|
||||||
`web_hook` varchar(255) DEFAULT NULL COMMENT 'webhook地址',
|
`origin_username` varchar(255) DEFAULT NULL,
|
||||||
`gmt_create` datetime not NULL COMMENT '创建时间',
|
`password` varchar(255) DEFAULT NULL,
|
||||||
`gmt_modified` datetime not NULL COMMENT '更新时间',
|
`phone` varchar(255) DEFAULT NULL,
|
||||||
PRIMARY KEY (`id`),
|
`token_login_verify_info` varchar(255) DEFAULT NULL,
|
||||||
unique index uidx01_user_info (username),
|
`username` varchar(255) DEFAULT NULL,
|
||||||
unique index uidx02_user_info (email)
|
`web_hook` varchar(255) DEFAULT NULL,
|
||||||
) ENGINE = InnoDB
|
PRIMARY KEY (`id`),
|
||||||
DEFAULT CHARSET = utf8mb4
|
UNIQUE KEY `uidx01_user_name` (`username`),
|
||||||
COLLATE = utf8mb4_general_ci COMMENT ='用户表';
|
KEY `uidx02_user_info` (`email`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||||||
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- Table structure for user_role
|
||||||
|
-- ----------------------------
|
||||||
|
DROP TABLE IF EXISTS `user_role`;
|
||||||
|
CREATE TABLE `user_role` (
|
||||||
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
||||||
|
`extra` varchar(255) DEFAULT NULL,
|
||||||
|
`gmt_create` datetime(6) DEFAULT NULL,
|
||||||
|
`gmt_modified` datetime(6) DEFAULT NULL,
|
||||||
|
`role` int DEFAULT NULL,
|
||||||
|
`scope` int DEFAULT NULL,
|
||||||
|
`target` bigint DEFAULT NULL,
|
||||||
|
`user_id` bigint DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
KEY `uidx01_user_id` (`user_id`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for workflow_info
|
-- Table structure for workflow_info
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `workflow_info`;
|
DROP TABLE IF EXISTS `workflow_info`;
|
||||||
CREATE TABLE `workflow_info`
|
CREATE TABLE `workflow_info` (
|
||||||
(
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
||||||
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '工作流ID',
|
`app_id` bigint DEFAULT NULL,
|
||||||
`app_id` bigint not NULL COMMENT '应用ID',
|
`extra` varchar(255) DEFAULT NULL,
|
||||||
`wf_name` varchar(128) not NULL COMMENT '工作流名称',
|
`gmt_create` datetime(6) DEFAULT NULL,
|
||||||
`wf_description` varchar(255) default NULL COMMENT '工作流描述',
|
`gmt_modified` datetime(6) DEFAULT NULL,
|
||||||
`extra` varchar(255) DEFAULT NULL COMMENT '扩展字段',
|
`lifecycle` varchar(255) DEFAULT NULL,
|
||||||
`lifecycle` varchar(255) DEFAULT NULL COMMENT '生命周期',
|
`max_wf_instance_num` int DEFAULT NULL,
|
||||||
`max_wf_instance_num` int not null DEFAULT 1 COMMENT '最大运行工作流数量,默认 1',
|
`next_trigger_time` bigint DEFAULT NULL,
|
||||||
`next_trigger_time` bigint DEFAULT NULL COMMENT '下次调度时间',
|
`notify_user_ids` varchar(255) DEFAULT NULL,
|
||||||
`notify_user_ids` varchar(255) DEFAULT NULL COMMENT '报警用户(多值逗号分割)',
|
`pedag` longtext,
|
||||||
`pedag` text COMMENT 'DAG信息(JSON)',
|
`status` int DEFAULT NULL,
|
||||||
`status` int not NULL COMMENT '状态,1:正常ENABLE/2:已禁用DISABLE/99:已删除DELETED',
|
`time_expression` varchar(255) DEFAULT NULL,
|
||||||
`time_expression` varchar(255) DEFAULT NULL COMMENT '时间表达式,内容取决于time_expression_type,1:CRON/2:NULL/3:LONG/4:LONG',
|
`time_expression_type` int DEFAULT NULL,
|
||||||
`time_expression_type` int not NULL COMMENT '时间表达式类型,1:CRON/2:API/3:FIX_RATE/4:FIX_DELAY,5:WORKFLOW\n)',
|
`wf_description` varchar(255) DEFAULT NULL,
|
||||||
`gmt_create` datetime DEFAULT NULL COMMENT '创建时间',
|
`wf_name` varchar(255) DEFAULT NULL,
|
||||||
`gmt_modified` datetime DEFAULT NULL COMMENT '更新时间',
|
PRIMARY KEY (`id`),
|
||||||
PRIMARY KEY (`id`),
|
KEY `idx01_workflow_info` (`app_id`,`status`,`time_expression_type`,`next_trigger_time`)
|
||||||
KEY `idx01_workflow_info` (`app_id`, `status`, `time_expression_type`, next_trigger_time)
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||||||
) ENGINE = InnoDB
|
|
||||||
AUTO_INCREMENT = 1
|
|
||||||
DEFAULT CHARSET = utf8mb4
|
|
||||||
COLLATE = utf8mb4_general_ci COMMENT ='工作流表';
|
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for workflow_instance_info
|
-- Table structure for workflow_instance_info
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `workflow_instance_info`;
|
DROP TABLE IF EXISTS `workflow_instance_info`;
|
||||||
CREATE TABLE `workflow_instance_info`
|
CREATE TABLE `workflow_instance_info` (
|
||||||
(
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
||||||
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '工作流实例ID',
|
`actual_trigger_time` bigint DEFAULT NULL,
|
||||||
`wf_instance_id` bigint DEFAULT NULL COMMENT '工作流实例ID',
|
`app_id` bigint DEFAULT NULL,
|
||||||
`workflow_id` bigint DEFAULT NULL COMMENT '工作流ID',
|
`dag` longtext,
|
||||||
`actual_trigger_time` bigint DEFAULT NULL COMMENT '实际触发时间',
|
`expected_trigger_time` bigint DEFAULT NULL,
|
||||||
`app_id` bigint DEFAULT NULL COMMENT '应用ID',
|
`finished_time` bigint DEFAULT NULL,
|
||||||
`dag` text COMMENT 'DAG信息(JSON)',
|
`gmt_create` datetime(6) DEFAULT NULL,
|
||||||
`expected_trigger_time` bigint DEFAULT NULL COMMENT '计划触发时间',
|
`gmt_modified` datetime(6) DEFAULT NULL,
|
||||||
`finished_time` bigint DEFAULT NULL COMMENT '执行结束时间',
|
`parent_wf_instance_id` bigint DEFAULT NULL,
|
||||||
`result` text COMMENT '执行结果',
|
`result` longtext,
|
||||||
`status` int DEFAULT NULL COMMENT '工作流实例状态,1:等待调度WAITING/2:运行中RUNNING/3:失败FAILED/4:成功SUCCEED/10:手动停止STOPPED',
|
`status` int DEFAULT NULL,
|
||||||
`wf_context` text COMMENT '工作流上下文',
|
`wf_context` longtext,
|
||||||
`wf_init_params` text COMMENT '工作流启动参数',
|
`wf_init_params` longtext,
|
||||||
`gmt_create` datetime DEFAULT NULL COMMENT '创建时间',
|
`wf_instance_id` bigint DEFAULT NULL,
|
||||||
`gmt_modified` datetime DEFAULT NULL COMMENT '更新时间',
|
`workflow_id` bigint DEFAULT NULL,
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
unique index uidx01_wf_instance (`wf_instance_id`),
|
UNIQUE KEY `uidx01_wf_instance` (`wf_instance_id`),
|
||||||
index idx01_wf_instance (`workflow_id`, `status`),
|
KEY `idx01_wf_instance` (`workflow_id`,`status`,`app_id`,`expected_trigger_time`)
|
||||||
index idx02_wf_instance (`app_id`, `status`, `expected_trigger_time`)
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||||||
) ENGINE = InnoDB
|
|
||||||
AUTO_INCREMENT = 1
|
|
||||||
DEFAULT CHARSET = utf8mb4
|
|
||||||
COLLATE = utf8mb4_general_ci COMMENT ='工作流实例表';
|
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for workflow_node_info
|
-- Table structure for workflow_node_info
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `workflow_node_info`;
|
DROP TABLE IF EXISTS `workflow_node_info`;
|
||||||
CREATE TABLE `workflow_node_info`
|
CREATE TABLE `workflow_node_info` (
|
||||||
(
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
||||||
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '节点ID',
|
`app_id` bigint NOT NULL,
|
||||||
`app_id` bigint NOT NULL COMMENT '应用ID',
|
`enable` bit(1) NOT NULL,
|
||||||
`enable` bit(1) NOT NULL COMMENT '是否启动,0:否/1:是',
|
`extra` longtext,
|
||||||
`extra` text COMMENT '扩展字段',
|
`gmt_create` datetime(6) NOT NULL,
|
||||||
`gmt_create` datetime NOT NULL COMMENT '创建时间',
|
`gmt_modified` datetime(6) NOT NULL,
|
||||||
`gmt_modified` datetime NOT NULL COMMENT '更新时间',
|
`job_id` bigint DEFAULT NULL,
|
||||||
`job_id` bigint default NULL COMMENT '任务ID',
|
`node_name` varchar(255) DEFAULT NULL,
|
||||||
`node_name` varchar(255) DEFAULT NULL COMMENT '节点名称',
|
`node_params` longtext,
|
||||||
`node_params` text COMMENT '节点参数',
|
`skip_when_failed` bit(1) NOT NULL,
|
||||||
`skip_when_failed` bit(1) NOT NULL COMMENT '是否允许失败跳过,0:否/1:是',
|
`type` int DEFAULT NULL,
|
||||||
`type` int DEFAULT NULL COMMENT '节点类型,1:任务JOB',
|
`workflow_id` bigint DEFAULT NULL,
|
||||||
`workflow_id` bigint DEFAULT NULL COMMENT '工作流ID',
|
PRIMARY KEY (`id`),
|
||||||
PRIMARY KEY (`id`),
|
KEY `idx01_workflow_node_info` (`workflow_id`,`gmt_create`)
|
||||||
KEY `idx01_workflow_node_info` (`workflow_id`,`gmt_create`)
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||||||
) ENGINE = InnoDB
|
|
||||||
AUTO_INCREMENT = 1
|
|
||||||
DEFAULT CHARSET = utf8mb4
|
|
||||||
COLLATE = utf8mb4_general_ci COMMENT ='工作流节点表';
|
|
||||||
|
|
||||||
SET FOREIGN_KEY_CHECKS = 1;
|
SET FOREIGN_KEY_CHECKS = 1;
|
||||||
|
|
||||||
|
88
others/sql/upgrade/v4.3.x-v5.0.x.sql
Normal file
88
others/sql/upgrade/v4.3.x-v5.0.x.sql
Normal file
@ -0,0 +1,88 @@
|
|||||||
|
-- Upgrade SQL FROM 4.1.x to 4.2.x
|
||||||
|
-- ----------------------------
|
||||||
|
-- Table change for app_info
|
||||||
|
-- ----------------------------
|
||||||
|
SET FOREIGN_KEY_CHECKS=0;
|
||||||
|
|
||||||
|
ALTER TABLE `app_info` ADD COLUMN `creator` bigint NULL DEFAULT NULL;
|
||||||
|
ALTER TABLE `app_info` ADD COLUMN `extra` varchar(255) NULL DEFAULT NULL;
|
||||||
|
ALTER TABLE `app_info` ADD COLUMN `modifier` bigint NULL DEFAULT NULL;
|
||||||
|
ALTER TABLE `app_info` ADD COLUMN `namespace_id` bigint NULL DEFAULT NULL;
|
||||||
|
ALTER TABLE `app_info` ADD COLUMN `tags` varchar(255) NULL DEFAULT NULL;
|
||||||
|
ALTER TABLE `app_info` ADD COLUMN `title` varchar(255) NULL DEFAULT NULL;
|
||||||
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- Table change for user_info
|
||||||
|
-- ----------------------------
|
||||||
|
ALTER TABLE `user_info` ADD COLUMN `account_type` varchar(255) NULL DEFAULT NULL;
|
||||||
|
ALTER TABLE `user_info` ADD COLUMN `nick` varchar(255) NULL DEFAULT NULL;
|
||||||
|
ALTER TABLE `user_info` ADD COLUMN `origin_username` varchar(255) NULL DEFAULT NULL;
|
||||||
|
ALTER TABLE `user_info` ADD COLUMN `token_login_verify_info` varchar(255) NULL DEFAULT NULL;
|
||||||
|
ALTER TABLE `user_info` ADD UNIQUE INDEX `uidx01_user_name`(`username` ASC) USING BTREE;
|
||||||
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- new table 'namespace'
|
||||||
|
-- ----------------------------
|
||||||
|
CREATE TABLE `namespace` (
|
||||||
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
||||||
|
`code` varchar(255) NULL DEFAULT NULL,
|
||||||
|
`creator` bigint NULL DEFAULT NULL,
|
||||||
|
`dept` varchar(255) NULL DEFAULT NULL,
|
||||||
|
`extra` varchar(255) NULL DEFAULT NULL,
|
||||||
|
`gmt_create` datetime(6) NULL DEFAULT NULL,
|
||||||
|
`gmt_modified` datetime(6) NULL DEFAULT NULL,
|
||||||
|
`modifier` bigint NULL DEFAULT NULL,
|
||||||
|
`name` varchar(255) NULL DEFAULT NULL,
|
||||||
|
`status` int NULL DEFAULT NULL,
|
||||||
|
`tags` varchar(255) NULL DEFAULT NULL,
|
||||||
|
`token` varchar(255) NULL DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`id`) USING BTREE,
|
||||||
|
UNIQUE INDEX `uidx01_namespace`(`code` ASC) USING BTREE
|
||||||
|
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
|
||||||
|
|
||||||
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- new table 'pwjb_user_info'
|
||||||
|
-- ----------------------------
|
||||||
|
CREATE TABLE `pwjb_user_info` (
|
||||||
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
||||||
|
`extra` varchar(255) NULL DEFAULT NULL,
|
||||||
|
`gmt_create` datetime(6) NULL DEFAULT NULL,
|
||||||
|
`gmt_modified` datetime(6) NULL DEFAULT NULL,
|
||||||
|
`password` varchar(255) NULL DEFAULT NULL,
|
||||||
|
`username` varchar(255) NULL DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`id`) USING BTREE,
|
||||||
|
UNIQUE INDEX `uidx01_username`(`username` ASC) USING BTREE
|
||||||
|
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
|
||||||
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- new table 'sundry'
|
||||||
|
-- ----------------------------
|
||||||
|
CREATE TABLE `sundry` (
|
||||||
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
||||||
|
`content` varchar(255) NULL DEFAULT NULL,
|
||||||
|
`extra` varchar(255) NULL DEFAULT NULL,
|
||||||
|
`gmt_create` datetime(6) NULL DEFAULT NULL,
|
||||||
|
`gmt_modified` datetime(6) NULL DEFAULT NULL,
|
||||||
|
`pkey` varchar(255) NULL DEFAULT NULL,
|
||||||
|
`skey` varchar(255) NULL DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`id`) USING BTREE,
|
||||||
|
UNIQUE INDEX `uidx01_sundry`(`pkey` ASC, `skey` ASC) USING BTREE
|
||||||
|
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
|
||||||
|
|
||||||
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- new table 'user_role'
|
||||||
|
-- ----------------------------
|
||||||
|
CREATE TABLE `user_role` (
|
||||||
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
||||||
|
`extra` varchar(255) NULL DEFAULT NULL,
|
||||||
|
`gmt_create` datetime(6) NULL DEFAULT NULL,
|
||||||
|
`gmt_modified` datetime(6) NULL DEFAULT NULL,
|
||||||
|
`role` int NULL DEFAULT NULL,
|
||||||
|
`scope` int NULL DEFAULT NULL,
|
||||||
|
`target` bigint NULL DEFAULT NULL,
|
||||||
|
`user_id` bigint NULL DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`id`) USING BTREE,
|
||||||
|
INDEX `uidx01_user_id`(`user_id` ASC) USING BTREE
|
||||||
|
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,63 @@
|
|||||||
|
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[15],{
|
||||||
|
|
||||||
|
/***/ "./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/admin/Settings.vue?vue&type=script&lang=js":
|
||||||
|
/*!**********************************************************************************************************************************************************************************************************************************************************!*\
|
||||||
|
!*** ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/admin/Settings.vue?vue&type=script&lang=js ***!
|
||||||
|
\**********************************************************************************************************************************************************************************************************************************************************/
|
||||||
|
/*! exports provided: default */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var element_ui__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! element-ui */ \"./node_modules/element-ui/lib/element-ui.common.js\");\n/* harmony import */ var element_ui__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_ui__WEBPACK_IMPORTED_MODULE_0__);\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'Settings',\n data() {\n return {\n activeNames: ['grantGlobalAdmin'],\n user_list: [],\n adminUserIds: []\n };\n },\n methods: {\n handleChange(val) {\n console.log(val);\n },\n listUser() {\n // 加载用户信息\n let that = this;\n that.axios.get(\"/user/list\").then(res => {\n that.user_list = res;\n });\n },\n listGlobalAdmins() {\n let that = this;\n this.axios.get('/auth/listGlobalAdmin').then(ret => that.adminUserIds = ret);\n },\n saveGlobalAdmins() {\n const param = {\n admin: this.adminUserIds\n };\n this.axios.post('/auth/saveGlobalAdmin', param).then(() => {\n element_ui__WEBPACK_IMPORTED_MODULE_0__[\"Message\"].success('SUCCESS');\n });\n }\n },\n mounted() {\n this.listUser();\n this.listGlobalAdmins();\n }\n});\n\n//# sourceURL=webpack:///./src/components/admin/Settings.vue?./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options");
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"77823dab-vue-loader-template\"}!./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/admin/Settings.vue?vue&type=template&id=3c1540da&scoped=true":
|
||||||
|
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||||
|
!*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"77823dab-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/admin/Settings.vue?vue&type=template&id=3c1540da&scoped=true ***!
|
||||||
|
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||||
|
/*! exports provided: render, staticRenderFns */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _c(\"div\", [_c(\"el-collapse\", {\n on: {\n change: _vm.handleChange\n },\n model: {\n value: _vm.activeNames,\n callback: function ($$v) {\n _vm.activeNames = $$v;\n },\n expression: \"activeNames\"\n }\n }, [_c(\"el-collapse-item\", {\n attrs: {\n title: _vm.$t(\"message.globalAdmin\"),\n name: \"grantGlobalAdmin\"\n }\n }, [_c(\"el-select\", {\n staticStyle: {\n width: \"80%\"\n },\n attrs: {\n multiple: \"\",\n placeholder: \"GlobalAdmin\"\n },\n model: {\n value: _vm.adminUserIds,\n callback: function ($$v) {\n _vm.adminUserIds = $$v;\n },\n expression: \"adminUserIds\"\n }\n }, _vm._l(_vm.user_list, function (item) {\n return _c(\"el-option\", {\n key: item.id,\n attrs: {\n label: item.showName,\n value: item.id\n }\n });\n }), 1), _c(\"el-button\", {\n staticStyle: {\n \"margin-left\": \"20px\"\n },\n attrs: {\n type: \"success\",\n plain: \"\"\n },\n on: {\n click: _vm.saveGlobalAdmins\n }\n }, [_vm._v(_vm._s(_vm.$t(\"message.save\")))])], 1)], 1)], 1);\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack:///./src/components/admin/Settings.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%2277823dab-vue-loader-template%22%7D!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options");
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "./src/components/admin/Settings.vue":
|
||||||
|
/*!*******************************************!*\
|
||||||
|
!*** ./src/components/admin/Settings.vue ***!
|
||||||
|
\*******************************************/
|
||||||
|
/*! exports provided: default */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _Settings_vue_vue_type_template_id_3c1540da_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Settings.vue?vue&type=template&id=3c1540da&scoped=true */ \"./src/components/admin/Settings.vue?vue&type=template&id=3c1540da&scoped=true\");\n/* harmony import */ var _Settings_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Settings.vue?vue&type=script&lang=js */ \"./src/components/admin/Settings.vue?vue&type=script&lang=js\");\n/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ \"./node_modules/vue-loader/lib/runtime/componentNormalizer.js\");\n\n\n\n\n\n/* normalize component */\n\nvar component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(\n _Settings_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n _Settings_vue_vue_type_template_id_3c1540da_scoped_true__WEBPACK_IMPORTED_MODULE_0__[\"render\"],\n _Settings_vue_vue_type_template_id_3c1540da_scoped_true__WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"],\n false,\n null,\n \"3c1540da\",\n null\n \n)\n\n/* hot reload */\nif (false) { var api; }\ncomponent.options.__file = \"src/components/admin/Settings.vue\"\n/* harmony default export */ __webpack_exports__[\"default\"] = (component.exports);\n\n//# sourceURL=webpack:///./src/components/admin/Settings.vue?");
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "./src/components/admin/Settings.vue?vue&type=script&lang=js":
|
||||||
|
/*!*******************************************************************!*\
|
||||||
|
!*** ./src/components/admin/Settings.vue?vue&type=script&lang=js ***!
|
||||||
|
\*******************************************************************/
|
||||||
|
/*! exports provided: default */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Settings_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/babel-loader/lib!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib??vue-loader-options!./Settings.vue?vue&type=script&lang=js */ \"./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/admin/Settings.vue?vue&type=script&lang=js\");\n/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__[\"default\"] = (_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Settings_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"]); \n\n//# sourceURL=webpack:///./src/components/admin/Settings.vue?");
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "./src/components/admin/Settings.vue?vue&type=template&id=3c1540da&scoped=true":
|
||||||
|
/*!*************************************************************************************!*\
|
||||||
|
!*** ./src/components/admin/Settings.vue?vue&type=template&id=3c1540da&scoped=true ***!
|
||||||
|
\*************************************************************************************/
|
||||||
|
/*! exports provided: render, staticRenderFns */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_cache_loader_dist_cjs_js_cacheDirectory_node_modules_cache_vue_loader_cacheIdentifier_77823dab_vue_loader_template_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_node_modules_vue_loader_lib_loaders_templateLoader_js_ref_6_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Settings_vue_vue_type_template_id_3c1540da_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"77823dab-vue-loader-template\"}!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/babel-loader/lib!../../../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib??vue-loader-options!./Settings.vue?vue&type=template&id=3c1540da&scoped=true */ \"./node_modules/cache-loader/dist/cjs.js?{\\\"cacheDirectory\\\":\\\"node_modules/.cache/vue-loader\\\",\\\"cacheIdentifier\\\":\\\"77823dab-vue-loader-template\\\"}!./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/admin/Settings.vue?vue&type=template&id=3c1540da&scoped=true\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_cache_loader_dist_cjs_js_cacheDirectory_node_modules_cache_vue_loader_cacheIdentifier_77823dab_vue_loader_template_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_node_modules_vue_loader_lib_loaders_templateLoader_js_ref_6_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Settings_vue_vue_type_template_id_3c1540da_scoped_true__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return _node_modules_cache_loader_dist_cjs_js_cacheDirectory_node_modules_cache_vue_loader_cacheIdentifier_77823dab_vue_loader_template_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_node_modules_vue_loader_lib_loaders_templateLoader_js_ref_6_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Settings_vue_vue_type_template_id_3c1540da_scoped_true__WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"]; });\n\n\n\n//# sourceURL=webpack:///./src/components/admin/Settings.vue?");
|
||||||
|
|
||||||
|
/***/ })
|
||||||
|
|
||||||
|
}]);
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user