数据修改

This commit is contained in:
2025-12-10 10:52:35 +08:00
parent 5381463e27
commit b5a136463f

View File

@@ -65,7 +65,7 @@
</div>
<!-- <div class="absolute exit_btn iconfont" @click.stop="$router.push('/setup')">&#xe85b;</div> -->
<div class="absolute elec_btn iconfont2" @click="openModal('button3')">&#xe600;</div>
<div class="absolute qi_btn iconfont2" @click="openModal('button4')">&#xe805;</div>
<!-- <div class="absolute qi_btn iconfont2" @click="openModal('button4')">&#xe805;</div> -->
<t-workshop></t-workshop>
</div>
<div class="n_right_wraper">
@@ -204,14 +204,14 @@
<button class="close-btn" @click="closeModal">&times;</button>
<div class="item_wraper3">
<div class="title_wraper">
<p>设备用电情况</p>
<p>设备用电/情况</p>
</div>
<div class="content_wraper3" style="padding: 0">
<div class="scroll_wrap">
<ul class="scroll_tab_3">
<li>设备名称</li>
<li>当日用电量</li>
<li>当月用电量</li>
<li>当日用电/</li>
<li>当月用电/</li>
</ul>
<div class="scroll_container_3">
<vue-seamless-scroll :data="devicekwhList" :class-option="defaultOption">
@@ -229,7 +229,7 @@
</div>
</div>
<!-- 小弹窗 - 按钮4 -->
<div class="modal modal-small" v-if="currentModal === 'button4'" @click.stop>
<!-- <div class="modal modal-small" v-if="currentModal === 'button4'" @click.stop>
<button class="close-btn" @click="closeModal">&times;</button>
<div class="item_wraper3">
<div class="title_wraper">
@@ -256,7 +256,7 @@
</div>
</div>
</div>
</div>
</div> -->
</div>
</div>
</template>
@@ -304,7 +304,7 @@ export default {
historyList: [], // 历史分析
historymonthList: [], // 历史分析整月
devicekwhList: [], // 设备用电情况
devicekqiList: [], // 设备用气情况
// devicekqiList: [], // 设备用气情况
deviceRunStat: {}, // 设备运行统计
pressdayList: [], // 压制当日生产统计
unstackingdayList: [] // 分拣当日生产统计
@@ -449,14 +449,14 @@ export default {
this.clearTime()
this.mixingList = [...res.mixingList]
this.productList = [...res.productList]
this.todayproductList = [...res.todayproductList]
this.historyList = [...res.historyList]
this.historymonthList = [...res.historymonthList]
this.devicekwhList = [...res.devicekwhList]
this.devicekqiList = [...res.devicekqiList]
// this.devicekqiList = [...res.devicekqiList]
this.SplitData(res.deviceRunStat)
this.pressdayList = [...res.pressdayList]
this.unstackingdayList = [...res.unstackingdayList]
this.todayproductList = [...res.todayproductList]
// this.setEchart1()
this.setEchart2()
this.setEchart3()
@@ -1707,4 +1707,8 @@ export default {
width: 90%;
}
}
.content_wraper3
.scroll_wrap
overflow hidden
height 250px
</style>