update ui

This commit is contained in:
lb
2023-10-10 15:30:37 +08:00
parent b2ee61b8cb
commit af5e0333ed
12 changed files with 789 additions and 66 deletions

View File

@@ -6,10 +6,11 @@
-->
<template>
<div class="chart-grid-item" style="">
<div class="chart-grid-item" style="overflow: inherit">
<div
class="pie-chart"
ref="pieChart"
style="overflow: inherit;"
:data-eqname="value.equipmentName || 'Default'"></div>
<div class="data-view">
<div class="data-view__item">
@@ -93,7 +94,7 @@ export default {
name: '',
type: 'pie',
radius: ['75%', '90%'],
center: ['50%', '45%'],
center: ['50%', '48%'],
label: {
show: false,
},
@@ -108,7 +109,7 @@ export default {
// 内环
name: '',
type: 'pie',
center: ['50%', '45%'],
center: ['50%', '48%'],
radius: ['60%', '75%'],
itemStyle: {
borderRadius: 10,

View File

@@ -6,7 +6,7 @@
-->
<template>
<div class="app-container">
<div class="app-container allow-overflow">
<!-- 搜索工作栏 -->
<SearchBar
:formConfigs="searchBarFormConfig"
@@ -29,11 +29,19 @@
:table-data="list"
@emitFun="handleEmitFun"></base-table>
</el-tab-pane>
<el-tab-pane :label="'\u3000可视化\u3000'" name="graph">
<el-tab-pane
:label="'\u3000可视化\u3000'"
name="graph"
style="overflow: inherit">
<div
v-if="activeName == 'graph'"
class="graph"
style="display: flex; flex-direction: column; position: relative">
style="
overflow: inherit;
display: flex;
flex-direction: column;
position: relative;
">
<div class="blue-title">各设备加工数量</div>
<div class="legend">
<div class="legend-item">
@@ -429,6 +437,10 @@ export default {
transform: translateY(-12px);
}
.el-tabs__content {
overflow: visible;
}
.el-tabs__item {
padding-left: 0 !important;
padding-right: 0 !important;
@@ -462,6 +474,7 @@ export default {
border-radius: 12px;
border: 1px solid #ccc;
// background: #0003;
overflow: inherit;
}
.bg-grid {
display: grid;
@@ -469,7 +482,7 @@ export default {
grid-template-columns: repeat(4, minmax(280px, 1fr));
grid-auto-columns: 280px;
grid-auto-rows: 290px;
overflow: hidden;
overflow: inherit;
position: relative;
}