界面调整

This commit is contained in:
lsymicc
2026-04-09 17:21:51 +08:00
parent 9bc0cbf620
commit a490dd0d9a
4 changed files with 113 additions and 106 deletions

View File

@@ -89,7 +89,7 @@
<div slot="header" class="card-header">
<span>任务类型分布</span> <!-- 任务类型分布 -->
</div>
<div id="taskTypeChart" style="height: 300px;"></div>
<div id="taskTypeChart" style="height: 350px;"></div>
</el-card>
</el-col>
<el-col :span="12">
@@ -97,7 +97,7 @@
<div slot="header" class="card-header">
<span>设备状态分布</span> <!-- 设备状态分布 -->
</div>
<div id="deviceStatusChart" style="height: 300px;"></div>
<div id="deviceStatusChart" style="height: 350px;"></div>
</el-card>
</el-col>
</el-row>
@@ -149,9 +149,12 @@
style="width: 100%"
height="300"
v-loading="loading.devices">
<el-table-column prop="deviceCode" :label="$t('index.deviceCode')" width="200"/> <!-- 设备编码 -->
<el-table-column prop="deviceName" :label="$t('index.deviceName')" width="200"/> <!-- 设备名称 -->
<el-table-column prop="deviceType" :label="$t('index.type')" width="150"> <!-- 类型 -->
<!-- 设备编码 -->
<!-- <el-table-column prop="deviceCode" :label="$t('index.deviceCode')" width="200"/> -->
<!-- 设备名称 -->
<el-table-column prop="deviceName" :label="$t('index.deviceName')" width="200"/>
<!-- 类型 -->
<el-table-column prop="deviceType" :label="$t('index.type')" width="150">
<template slot-scope="scope">
<el-tag>{{scope.row.deviceType}}</el-tag>
</template>
@@ -585,6 +588,8 @@ export default {
height: 120px;
cursor: pointer;
transition: all 0.3s;
overflow-x: auto;
/* white-space: nowrap; */
}
.stats-card:hover {
@@ -601,6 +606,7 @@ export default {
.stats-icon {
width: 60px;
/* width: 60vh; */
height: 60px;
border-radius: 50%;
display: flex;

View File

@@ -401,7 +401,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const jobIds = row.jobId || this.ids
this.$modal.confirm('是否确认删除作业信息编号为"' + jobIds + '"的数据项?').then(function() {
this.$modal.confirm('是否确认删除作业信息编号为"' + jobIds + '"的数据项?(此操作可能影响任务回传,请和上层系统核对账目)').then(function() {
return delMydoJob(jobIds)
}).then(() => {
this.getList()