|
|
@@ -5,14 +5,21 @@
|
|
|
<div v-for="(item, index) in modalDetailsData.basicInfo" :key="index" class="info-item">
|
|
|
<span class="label">{{ item.label }}:</span>
|
|
|
<span class="value" :class="getBasicInfoTagClass(item.value)">
|
|
|
- {{ item.value }}
|
|
|
+ {{ dataRef[item.value] || '-' }}
|
|
|
</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<!-- 监测数据卡片 -->
|
|
|
<div class="data-cards">
|
|
|
- <MiniBoard v-for="(item, index) in modalDetailsData.board" :key="index" type="D" :label="item.label" :value="item.value" layout="val-top" />
|
|
|
+ <MiniBoard
|
|
|
+ v-for="(item, index) in modalDetailsData.board"
|
|
|
+ :key="index"
|
|
|
+ type="D"
|
|
|
+ :label="item.label"
|
|
|
+ :value="dataRef[item.value] || '-'"
|
|
|
+ layout="val-top"
|
|
|
+ />
|
|
|
</div>
|
|
|
|
|
|
<!-- 图表区域 -->
|
|
|
@@ -29,6 +36,11 @@
|
|
|
<CustomChart
|
|
|
:chart-data="modalDetailsData.gasConcentrationData"
|
|
|
:chart-config="modalDetailsData.gasConcentrationConfig"
|
|
|
+ :chart-option="{
|
|
|
+ textStyle: {
|
|
|
+ color: '#000',
|
|
|
+ },
|
|
|
+ }"
|
|
|
style="height: 100%; width: 100%"
|
|
|
/>
|
|
|
</div>
|
|
|
@@ -39,6 +51,11 @@
|
|
|
<CustomChart
|
|
|
:chart-data="modalDetailsData.pressureData"
|
|
|
:chart-config="modalDetailsData.pressureConfig"
|
|
|
+ :chart-option="{
|
|
|
+ textStyle: {
|
|
|
+ color: '#000',
|
|
|
+ },
|
|
|
+ }"
|
|
|
style="height: 100%; width: 100%"
|
|
|
/>
|
|
|
</div>
|