|
@@ -96,7 +96,24 @@ $(function() {
|
96
|
96
|
"visible" : true,
|
97
|
97
|
"render": function ( data, type, row ) {
|
98
|
98
|
var jobKey = row.jobGroup + "_" + row.jobId;
|
99
|
|
- return jobKey;
|
|
99
|
+
|
|
100
|
+ var glueTypeTitle = row.glueType;
|
|
101
|
+ if ('GLUE_GROOVY'==row.glueType) {
|
|
102
|
+ glueTypeTitle = "GLUE模式(Java)";
|
|
103
|
+ } else if ('GLUE_SHELL'==row.glueType) {
|
|
104
|
+ glueTypeTitle = "GLUE模式(Shell)";
|
|
105
|
+ } else if ('GLUE_PYTHON'==row.glueType) {
|
|
106
|
+ glueTypeTitle = "GLUE模式(Python)";
|
|
107
|
+ } else if ('BEAN'==row.glueType) {
|
|
108
|
+ glueTypeTitle = "BEAN模式:" + row.executorHandler;
|
|
109
|
+ }
|
|
110
|
+
|
|
111
|
+ var temp = '';
|
|
112
|
+ temp += '执行器地址:' + row.executorAddress;
|
|
113
|
+ temp += '<br>运行模式:' + glueTypeTitle;
|
|
114
|
+ temp += '<br>任务参数:' + row.executorParam;
|
|
115
|
+
|
|
116
|
+ return '<a class="logTips" href="javascript:;" >'+ jobKey +'<span style="display:none;">'+ temp +'</span></a>';
|
100
|
117
|
}
|
101
|
118
|
},
|
102
|
119
|
// { "data": 'executorAddress', "visible" : true},
|
|
@@ -118,30 +135,6 @@ $(function() {
|
118
|
135
|
// },
|
119
|
136
|
// { "data": 'executorParam', "visible" : true},
|
120
|
137
|
{
|
121
|
|
- "data": 'JobInfo',
|
122
|
|
- "visible" : true,
|
123
|
|
- "render": function ( data, type, row ) {
|
124
|
|
-
|
125
|
|
- var glueTypeTitle = row.glueType;
|
126
|
|
- if ('GLUE_GROOVY'==row.glueType) {
|
127
|
|
- glueTypeTitle = "GLUE模式(Java)";
|
128
|
|
- } else if ('GLUE_SHELL'==row.glueType) {
|
129
|
|
- glueTypeTitle = "GLUE模式(Shell)";
|
130
|
|
- } else if ('GLUE_PYTHON'==row.glueType) {
|
131
|
|
- glueTypeTitle = "GLUE模式(Python)";
|
132
|
|
- } else if ('BEAN'==row.glueType) {
|
133
|
|
- glueTypeTitle = "BEAN模式:" + row.executorHandler;
|
134
|
|
- }
|
135
|
|
-
|
136
|
|
- var temp = '';
|
137
|
|
- temp += '执行器地址:' + row.executorAddress;
|
138
|
|
- temp += '<br>运行模式:' + glueTypeTitle;
|
139
|
|
- temp += '<br>任务参数:' + row.executorParam;
|
140
|
|
-
|
141
|
|
- return temp;
|
142
|
|
- }
|
143
|
|
- },
|
144
|
|
- {
|
145
|
138
|
"data": 'triggerTime',
|
146
|
139
|
"render": function ( data, type, row ) {
|
147
|
140
|
return data?moment(new Date(data)).format("YYYY-MM-DD HH:mm:ss"):"";
|