更新优化

This commit is contained in:
24kycj
2024-11-16 17:40:39 +08:00
parent ee06adb770
commit 26e9c0a75b
3 changed files with 17 additions and 20 deletions
+9 -17
View File
@@ -182,16 +182,16 @@
<span>{{ index + 1 }}</span
>[{{ item.status }}]{{ item.text }}
</div>
<div class="notice_time">{{ item.time.split(' ')[0] }}</div>
<div class="notice_time">{{ item.time }}</div>
</div>
</template>
<template v-if="showAll">
<div v-for="(item, index) in allLogList" :key="index" :class="`flex_box flex_row_between notice_item notice_${item.status}`">
<div v-for="(item, index) in logList" :key="index" :class="`flex_box flex_row_between notice_item notice_${item.status}`">
<div class="notice_content">
<span>{{ index + 1 }}</span
>[{{ item.status }}]{{ item.text }}
</div>
<div class="notice_time">{{ item.time.split(' ')[0] }}</div>
<div class="notice_time">{{ item.time }}</div>
</div>
</template>
</div>
@@ -213,7 +213,6 @@
<div>{{ scope.$index+1 }}_{{ child.$index+1 }}</div>
</template>
</el-table-column>
<el-table-column prop="task_label" label="子任务名称"></el-table-column>
<el-table-column prop="task_size" label="大小">
<template slot-scope="child">
<div>{{ $filterSize(child.row.task_size) }}</div>
@@ -221,13 +220,6 @@
</el-table-column>
<el-table-column prop="start_time" label="开始时间"></el-table-column>
<el-table-column prop="finish_time" label="结束时间"></el-table-column>
<el-table-column label="进度">
<template slot-scope="child">
<div class="work_progress">
<el-progress :text-inside="true" :percentage="child.row.copy_scheduler" status="success"></el-progress>
</div>
</template>
</el-table-column>
<el-table-column prop="task_status" label="状态">
<template slot-scope="child">
<div class="flex_box work_status_box">
@@ -333,14 +325,14 @@ export default {
// 作业列表
task_list: [],
statusList: {
'0': '新建',
'1': '等待中',
'2': '文件准备中',
'3': '正在刻录',
'0': '新建',
'1': '准备中',
'2': '等待中',
'3': '正在拷贝',
'4': '正在打印',
'5': '已失败',
'6': '已取消',
'7': '已完成'
'6': '运行中',
'100': '已完成'
},
// 设备信息
printer_info: {},