Commit 56d7fefb by liucan

feat:任务信息卡片添加爬虫名称数据

parent 5739de1a
...@@ -56,8 +56,16 @@ ...@@ -56,8 +56,16 @@
/> />
</div> </div>
<div class="item"> <div class="item">
<span class="wordStyle">爬虫名称: </span>
<span class="wordStyle">{{ task.kwargs.spider ?? "-" }} </span>
</div>
<div class="item">
<span class="wordStyle">执行频率: </span> <span class="wordStyle">执行频率: </span>
<span class="wordStyle">{{ parseCronExpression(task?.kwargs?.cron) || "未设置" }} </span> <span class="wordStyle"
>{{
`${task.kwargs.interval[3]} 天 ${task.kwargs.interval[2]} 小时 ${task.kwargs.interval[1]} 分钟 ${task.kwargs.interval[0]} 秒`
}}
</span>
</div> </div>
<div class="item"> <div class="item">
<span class="wordStyle">执行次数: </span> <span class="wordStyle">执行次数: </span>
...@@ -389,7 +397,7 @@ onMounted(() => { ...@@ -389,7 +397,7 @@ onMounted(() => {
.taskCard .wordStyle { .taskCard .wordStyle {
font-size: 16px; font-size: 16px;
color: #ffffff; color: #ffffff !important;
} }
/* 按钮样式微调 */ /* 按钮样式微调 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment