执行器名称处理
This commit is contained in:
parent
629d029adc
commit
420922d798
@ -85,10 +85,18 @@ const { columnChecks, columns, data, getData, loading, mobilePagination, searchP
|
|||||||
tooltip: true,
|
tooltip: true,
|
||||||
},
|
},
|
||||||
render: row => {
|
render: row => {
|
||||||
if (row.executorType == 1) {
|
|
||||||
|
switch (row.executorInfo){
|
||||||
|
case 'snailJobHttpExecutor':
|
||||||
|
return '内置HTTP执行器:'+row.executorInfo;
|
||||||
|
case 'snailJobCMDExecutor':
|
||||||
|
return '内置CMD执行器:'+row.executorInfo;
|
||||||
|
case 'snailJobPowerShellJobExecutor':
|
||||||
|
return '内置PowerShell执行器:'+row.executorInfo;
|
||||||
|
case 'snailJobShellJobExecutor':
|
||||||
|
return '内置Shell执行器:'+row.executorInfo;
|
||||||
|
default:
|
||||||
return '自定义执行器:'+row.executorInfo;
|
return '自定义执行器:'+row.executorInfo;
|
||||||
}else{
|
|
||||||
return '内置执行器';
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user