|
|
@@ -8,11 +8,11 @@
|
|
|
</el-radio-group>
|
|
|
</div>
|
|
|
<el-divider />
|
|
|
- <div class="score-show">
|
|
|
- <VChart class="pic-show" :option="options" />
|
|
|
+ <div v-if="scoreInfoList.length > 0" class="score-show">
|
|
|
+ <VChart class="pic-show" :option="options" :style="{ height: updateChartHeight }" />
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="score-divider"></div>
|
|
|
+ <div class="score-divider" :style="{ height: updateLineHeight }"></div>
|
|
|
<div class="score-right">
|
|
|
<div class="concern-title">重点关注车间</div>
|
|
|
<ul v-if="workshopList.length > 0" class="concern-workspace">
|
|
|
@@ -72,6 +72,9 @@
|
|
|
const timeSelect = ref<TimeEnum>(TimeEnum.DAY);
|
|
|
//const workspaceList = ['车间1', '车间2', '车间3'];
|
|
|
|
|
|
+ const updateChartHeight = computed(() => window.innerHeight - 670 + 'px');
|
|
|
+ const updateLineHeight = computed(() => window.innerHeight - 618 + 'px');
|
|
|
+
|
|
|
const dataZoomConfig = computed(() => [
|
|
|
{
|
|
|
type: 'slider',
|
|
|
@@ -216,10 +219,7 @@
|
|
|
|
|
|
.score-divider {
|
|
|
width: 1px;
|
|
|
- height: 320px;
|
|
|
background: #e9e9e9;
|
|
|
- /* margin-left: 29px;
|
|
|
- margin-right: 27px; */
|
|
|
}
|
|
|
|
|
|
.el-divider--horizontal {
|
|
|
@@ -228,7 +228,6 @@
|
|
|
|
|
|
.pic-show {
|
|
|
flex-grow: 1;
|
|
|
- height: 270px;
|
|
|
}
|
|
|
|
|
|
.concern-title {
|