diff --git a/app/admin/view/queue/index.html b/app/admin/view/queue/index.html index 0e0e1666e..4b1c8d6fb 100644 --- a/app/admin/view/queue/index.html +++ b/app/admin/view/queue/index.html @@ -85,10 +85,7 @@ 计划时间:{$vo.exec_time|format_datetime} {if isset($vo.exec_pid) and $vo.exec_pid>0}( 进程 {$vo.exec_pid|default='-'} ){/if}
- {if $vo.status eq 3 or $vo.status eq 4} - 执行时间:{$vo.enter_time|format_datetime}( 耗时 {:sprintf("%.4f",$vo.outer_time-$vo.enter_time)} 秒 ) - {elseif $vo.status eq 2} 执行时间:{$vo.enter_time|format_datetime} - {else}执行时间:任务还没有执行,等待执行... {/if}
+ {if $vo.enter_time>0 and $vo.outer_time>0} 执行时间:{$vo.enter_time|format_datetime}( 耗时 {:sprintf("%.4f",$vo.outer_time-$vo.enter_time)} 秒 ){elseif $vo.status eq 2} 执行时间:{$vo.enter_time|format_datetime}( 任务执行中 ){else}执行时间:任务还没有执行,等待执行... {/if}
创建时间:{$vo.create_at|format_datetime} {if isset($vo.loops_time) and $vo.loops_time > 0}( 每 {$vo.loops_time|default='0'} 秒执行,共 {$vo.attempts} 次){else}( 共执行 {$vo.attempts} 次 ) {/if}