|
@@ -92,6 +92,56 @@ $(function() {
|
92
|
92
|
{ "data": 'jobGroup', "visible" : false},
|
93
|
93
|
{ "data": 'jobId', "visible" : false},
|
94
|
94
|
{
|
|
95
|
+ "data": 'JobKey',
|
|
96
|
+ "visible" : true,
|
|
97
|
+ "render": function ( data, type, row ) {
|
|
98
|
+ var jobKey = row.jobGroup + "_" + row.jobId;
|
|
99
|
+ return jobKey;
|
|
100
|
+ }
|
|
101
|
+ },
|
|
102
|
+ // { "data": 'executorAddress', "visible" : true},
|
|
103
|
+ // {
|
|
104
|
+ // "data": 'glueType',
|
|
105
|
+ // "visible" : true,
|
|
106
|
+ // "render": function ( data, type, row ) {
|
|
107
|
+ // if ('GLUE_GROOVY'==row.glueType) {
|
|
108
|
+ // return "GLUE模式(Java)";
|
|
109
|
+ // } else if ('GLUE_SHELL'==row.glueType) {
|
|
110
|
+ // return "GLUE模式(Shell)";
|
|
111
|
+ // } else if ('GLUE_PYTHON'==row.glueType) {
|
|
112
|
+ // return "GLUE模式(Python)";
|
|
113
|
+ // } else if ('BEAN'==row.glueType) {
|
|
114
|
+ // return "BEAN模式:" + row.executorHandler;
|
|
115
|
+ // }
|
|
116
|
+ // return row.executorHandler;
|
|
117
|
+ // }
|
|
118
|
+ // },
|
|
119
|
+ // { "data": 'executorParam', "visible" : true},
|
|
120
|
+ {
|
|
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
|
+ {
|
95
|
145
|
"data": 'triggerTime',
|
96
|
146
|
"render": function ( data, type, row ) {
|
97
|
147
|
return data?moment(new Date(data)).format("YYYY-MM-DD HH:mm:ss"):"";
|
|
@@ -110,25 +160,6 @@ $(function() {
|
110
|
160
|
return data?'<a class="logTips" href="javascript:;" >查看<span style="display:none;">'+ data +'</span></a>':"无";
|
111
|
161
|
}
|
112
|
162
|
},
|
113
|
|
- { "data": 'executorAddress', "visible" : true},
|
114
|
|
- {
|
115
|
|
- "data": 'glueType',
|
116
|
|
- "visible" : true,
|
117
|
|
- "render": function ( data, type, row ) {
|
118
|
|
- if ('GLUE_GROOVY'==row.glueType) {
|
119
|
|
- return "GLUE模式(Java)";
|
120
|
|
- } else if ('GLUE_SHELL'==row.glueType) {
|
121
|
|
- return "GLUE模式(Shell)";
|
122
|
|
- } else if ('GLUE_PYTHON'==row.glueType) {
|
123
|
|
- return "GLUE模式(Python)";
|
124
|
|
- } else if ('BEAN'==row.glueType) {
|
125
|
|
- return "BEAN模式:" + row.executorHandler;
|
126
|
|
- }
|
127
|
|
- return row.executorHandler;
|
128
|
|
- }
|
129
|
|
- },
|
130
|
|
- { "data": 'executorParam', "visible" : true},
|
131
|
|
-
|
132
|
163
|
{
|
133
|
164
|
"data": 'handleTime',
|
134
|
165
|
"render": function ( data, type, row ) {
|