|
|
@@ -4,17 +4,17 @@
|
|
|
<DeptTree @node-click="handleDeptNodeClick" v-model:collapsed="isLeftContentCollapsed" />
|
|
|
<el-col :span="isLeftContentCollapsed ? 24 : 20" :xs="24">
|
|
|
<div ref="statsContainerRef" class="ptw-stats mb-15px">
|
|
|
- <div class="ptw-stats-card">
|
|
|
- <div class="ptw-stats-card__label">作业票总数</div>
|
|
|
- <div class="ptw-stats-card__value">{{ totalStaticCount }}</div>
|
|
|
+ <div class="ptw-stats-card" style="position: relative">
|
|
|
+ <div class="ptw-stats-card__label" style="position: absolute; top: 15px">作业票总数</div>
|
|
|
+ <div class="ptw-stats-card__value" style="text-align: center">{{ totalStaticCount }}</div>
|
|
|
</div>
|
|
|
<div class="ptw-stats-chart-card">
|
|
|
<div class="ptw-stats-card__label">作业票分类统计</div>
|
|
|
- <Echart ref="staticChartRef" :height="220" :options="staticChartOptions" />
|
|
|
+ <Echart ref="staticChartRef" :height="200" :options="staticChartOptions" />
|
|
|
</div>
|
|
|
<div class="ptw-stats-chart-card">
|
|
|
<div class="ptw-stats-card__label">作业票趋势统计</div>
|
|
|
- <Echart ref="timeTrendChartRef" :height="220" :options="timeTrendChartOptions" />
|
|
|
+ <Echart ref="timeTrendChartRef" :height="200" :options="timeTrendChartOptions" />
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="bg-white rounded-sm px-2 py-2">
|
|
|
@@ -928,6 +928,7 @@ const staticChartOptions = computed<EChartsOption>(() => ({
|
|
|
color: '#6b7280',
|
|
|
fontSize: 12,
|
|
|
interval: 0
|
|
|
+ // rotate: 30
|
|
|
}
|
|
|
},
|
|
|
yAxis: {
|