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
dea702f6
authored
Sep 23, 2018
by
xuxueli
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
任务参数优化为texearea,方便任务参数赋值;
parent
5ea383c9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
xxl-job-admin/src/main/webapp/WEB-INF/template/jobinfo/jobinfo.index.ftl
xxl-job-admin/src/main/webapp/static/js/jobinfo.index.1.js
xxl-job-admin/src/main/webapp/WEB-INF/template/jobinfo/jobinfo.index.ftl
View file @
dea702f6
...
@@ -164,7 +164,9 @@
...
@@ -164,7 +164,9 @@
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label
for=
"firstname"
class=
"col-sm-2 control-label"
>
${I18n.jobinfo_field_executorparam}
<font
color=
"black"
>
*
</font></label>
<label
for=
"firstname"
class=
"col-sm-2 control-label"
>
${I18n.jobinfo_field_executorparam}
<font
color=
"black"
>
*
</font></label>
<div
class=
"col-sm-10"
><input
type=
"text"
class=
"form-control"
name=
"executorParam"
placeholder=
"${I18n.system_please_input}${I18n.jobinfo_field_executorparam}"
maxlength=
"512"
></div>
<div
class=
"col-sm-10"
>
<textarea
class=
"textarea form-control"
name=
"executorParam"
placeholder=
"${I18n.system_please_input}${I18n.jobinfo_field_executorparam}"
maxlength=
"512"
style=
"height: 63px; line-height: 1.2;"
></textarea>
</div>
</div>
</div>
<hr>
<hr>
...
@@ -358,7 +360,9 @@ exit 0
...
@@ -358,7 +360,9 @@ exit 0
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label
for=
"firstname"
class=
"col-sm-2 control-label"
>
${I18n.jobinfo_field_executorparam}
<font
color=
"black"
>
*
</font></label>
<label
for=
"firstname"
class=
"col-sm-2 control-label"
>
${I18n.jobinfo_field_executorparam}
<font
color=
"black"
>
*
</font></label>
<div
class=
"col-sm-10"
><input
type=
"text"
class=
"form-control"
name=
"executorParam"
placeholder=
"${I18n.system_please_input}${I18n.jobinfo_field_executorparam}"
maxlength=
"512"
></div>
<div
class=
"col-sm-10"
>
<textarea
class=
"textarea form-control"
name=
"executorParam"
placeholder=
"${I18n.system_please_input}${I18n.jobinfo_field_executorparam}"
maxlength=
"512"
style=
"height: 63px; line-height: 1.2;"
></textarea>
</div>
</div>
</div>
<hr>
<hr>
...
...
xxl-job-admin/src/main/webapp/static/js/jobinfo.index.1.js
View file @
dea702f6
...
@@ -398,7 +398,7 @@ $(function() {
...
@@ -398,7 +398,7 @@ $(function() {
$
(
"#updateModal .form input[name='executorFailRetryCount']"
).
val
(
row
.
executorFailRetryCount
);
$
(
"#updateModal .form input[name='executorFailRetryCount']"
).
val
(
row
.
executorFailRetryCount
);
$
(
'#updateModal .form select[name=executorRouteStrategy] option[value='
+
row
.
executorRouteStrategy
+
']'
).
prop
(
'selected'
,
true
);
$
(
'#updateModal .form select[name=executorRouteStrategy] option[value='
+
row
.
executorRouteStrategy
+
']'
).
prop
(
'selected'
,
true
);
$
(
"#updateModal .form input[name='executorHandler']"
).
val
(
row
.
executorHandler
);
$
(
"#updateModal .form input[name='executorHandler']"
).
val
(
row
.
executorHandler
);
$
(
"#updateModal .form
input
[name='executorParam']"
).
val
(
row
.
executorParam
);
$
(
"#updateModal .form
textarea
[name='executorParam']"
).
val
(
row
.
executorParam
);
$
(
"#updateModal .form input[name='childJobId']"
).
val
(
row
.
childJobId
);
$
(
"#updateModal .form input[name='childJobId']"
).
val
(
row
.
childJobId
);
$
(
'#updateModal .form select[name=executorBlockStrategy] option[value='
+
row
.
executorBlockStrategy
+
']'
).
prop
(
'selected'
,
true
);
$
(
'#updateModal .form select[name=executorBlockStrategy] option[value='
+
row
.
executorBlockStrategy
+
']'
).
prop
(
'selected'
,
true
);
$
(
'#updateModal .form select[name=glueType] option[value='
+
row
.
glueType
+
']'
).
prop
(
'selected'
,
true
);
$
(
'#updateModal .form select[name=glueType] option[value='
+
row
.
glueType
+
']'
).
prop
(
'selected'
,
true
);
...
...
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