界面功能优化

This commit is contained in:
jiangzhe 2024-05-27 11:17:38 +08:00
parent 29a89ff21b
commit c23e71b6da
3 changed files with 8 additions and 6 deletions

View File

@ -34,6 +34,12 @@
<span>{{ parseTime(scope.row.warnTime, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column label="状态" align="center" prop="interveneStatus" width="180">
<template #default="scope">
<el-tag :type="scope.row.interveneStatus === 0 ? 'success' : 'danger'">{{ scope.row.interveneStatus === 0 ?
'无须干预' : '干预中' }}</el-tag>
</template>
</el-table-column>
<el-table-column label="补充说明" align="center" prop="note" />
<el-table-column label="严重度" align="center" prop="situation">
<template #default="scope">

View File

@ -81,7 +81,7 @@
<span>完成数量</span>
<span>时间</span>
</div>
<vue3-seamless-scroll :list="list" class="scroll" :classOptions="classOptions">
<vue3-seamless-scroll :list="list" :hover="true" class="scroll" :singleWaitTime="5000">
<div class="item" v-for="(item, index) in list" :key="index">
<span>{{ item.sessionName }}</span>
<span>{{ item.value }} / {{ item.total }}</span>
@ -143,10 +143,6 @@ use([
let showTime = ref('')
let timer: any = null
const classOptions = {
step: 20
}
function time() {
let dt = new Date();
let y = dt.getFullYear();

View File

@ -175,7 +175,7 @@ function getGreeting() {
const leftPieOption = ref({
title: {
text: '预警统计',
text: '风险统计',
subtext: '严重度',
x: 'center',
y: '40%',