Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
熊鹏飞
/
xxljob220
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a0238d52
authored
Apr 09, 2020
by
xuxueli
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
执行器UI交互优化
parent
fbd83d51
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
doc/db/tables_xxl_job.sql
xxl-job-admin/src/main/resources/templates/jobgroup/jobgroup.index.ftl
doc/db/tables_xxl_job.sql
View file @
a0238d52
...
@@ -89,7 +89,6 @@ CREATE TABLE `xxl_job_group` (
...
@@ -89,7 +89,6 @@ CREATE TABLE `xxl_job_group` (
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`app_name`
varchar
(
64
)
NOT
NULL
COMMENT
'执行器AppName'
,
`app_name`
varchar
(
64
)
NOT
NULL
COMMENT
'执行器AppName'
,
`title`
varchar
(
12
)
NOT
NULL
COMMENT
'执行器名称'
,
`title`
varchar
(
12
)
NOT
NULL
COMMENT
'执行器名称'
,
`order`
int
(
11
)
NOT
NULL
DEFAULT
'0'
COMMENT
'排序'
,
`address_type`
tinyint
(
4
)
NOT
NULL
DEFAULT
'0'
COMMENT
'执行器地址类型:0=自动注册、1=手动录入'
,
`address_type`
tinyint
(
4
)
NOT
NULL
DEFAULT
'0'
COMMENT
'执行器地址类型:0=自动注册、1=手动录入'
,
`address_list`
varchar
(
512
)
DEFAULT
NULL
COMMENT
'执行器地址列表,多地址逗号分隔'
,
`address_list`
varchar
(
512
)
DEFAULT
NULL
COMMENT
'执行器地址列表,多地址逗号分隔'
,
PRIMARY
KEY
(
`id`
)
PRIMARY
KEY
(
`id`
)
...
@@ -111,7 +110,7 @@ CREATE TABLE `xxl_job_lock` (
...
@@ -111,7 +110,7 @@ CREATE TABLE `xxl_job_lock` (
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
;
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
;
INSERT
INTO
`xxl_job_group`
(
`id`
,
`app_name`
,
`title`
,
`
order`
,
`address_type`
,
`address_list`
)
VALUES
(
1
,
'xxl-job-executor-sample'
,
'示例执行器'
,
1
,
0
,
NULL
);
INSERT
INTO
`xxl_job_group`
(
`id`
,
`app_name`
,
`title`
,
`
address_type`
,
`address_list`
)
VALUES
(
1
,
'xxl-job-executor-sample'
,
'示例执行器'
,
0
,
NULL
);
INSERT
INTO
`xxl_job_info`
(
`id`
,
`job_group`
,
`job_cron`
,
`job_desc`
,
`add_time`
,
`update_time`
,
`author`
,
`alarm_email`
,
`executor_route_strategy`
,
`executor_handler`
,
`executor_param`
,
`executor_block_strategy`
,
`executor_timeout`
,
`executor_fail_retry_count`
,
`glue_type`
,
`glue_source`
,
`glue_remark`
,
`glue_updatetime`
,
`child_jobid`
)
VALUES
(
1
,
1
,
'0 0 0 * * ? *'
,
'测试任务1'
,
'2018-11-03 22:21:31'
,
'2018-11-03 22:21:31'
,
'XXL'
,
''
,
'FIRST'
,
'demoJobHandler'
,
''
,
'SERIAL_EXECUTION'
,
0
,
0
,
'BEAN'
,
''
,
'GLUE代码初始化'
,
'2018-11-03 22:21:31'
,
''
);
INSERT
INTO
`xxl_job_info`
(
`id`
,
`job_group`
,
`job_cron`
,
`job_desc`
,
`add_time`
,
`update_time`
,
`author`
,
`alarm_email`
,
`executor_route_strategy`
,
`executor_handler`
,
`executor_param`
,
`executor_block_strategy`
,
`executor_timeout`
,
`executor_fail_retry_count`
,
`glue_type`
,
`glue_source`
,
`glue_remark`
,
`glue_updatetime`
,
`child_jobid`
)
VALUES
(
1
,
1
,
'0 0 0 * * ? *'
,
'测试任务1'
,
'2018-11-03 22:21:31'
,
'2018-11-03 22:21:31'
,
'XXL'
,
''
,
'FIRST'
,
'demoJobHandler'
,
''
,
'SERIAL_EXECUTION'
,
0
,
0
,
'BEAN'
,
''
,
'GLUE代码初始化'
,
'2018-11-03 22:21:31'
,
''
);
INSERT
INTO
`xxl_job_user`
(
`id`
,
`username`
,
`password`
,
`role`
,
`permission`
)
VALUES
(
1
,
'admin'
,
'e10adc3949ba59abbe56e057f20f883e'
,
1
,
NULL
);
INSERT
INTO
`xxl_job_user`
(
`id`
,
`username`
,
`password`
,
`role`
,
`permission`
)
VALUES
(
1
,
'admin'
,
'e10adc3949ba59abbe56e057f20f883e'
,
1
,
NULL
);
INSERT
INTO
`xxl_job_lock`
(
`lock_name`
)
VALUES
(
'schedule_lock'
);
INSERT
INTO
`xxl_job_lock`
(
`lock_name`
)
VALUES
(
'schedule_lock'
);
...
...
xxl-job-admin/src/main/resources/templates/jobgroup/jobgroup.index.ftl
View file @
a0238d52
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
<div
class=
"col-xs-3"
>
<div
class=
"col-xs-3"
>
<div
class=
"input-group"
>
<div
class=
"input-group"
>
<span
class=
"input-group-addon"
>
${I18n.jobgroup_field_title}
</span>
<span
class=
"input-group-addon"
>
${I18n.jobgroup_field_title}
</span>
<input
type=
"text"
class=
"form-control"
id=
"title"
autocomplete=
"on"
placeholder=
"${I18n.jobgroup_field_title}
JobHandler
"
>
<input
type=
"text"
class=
"form-control"
id=
"title"
autocomplete=
"on"
placeholder=
"${I18n.jobgroup_field_title}"
>
</div>
</div>
</div>
</div>
<div
class=
"col-xs-2"
>
<div
class=
"col-xs-2"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment