feat: 新增锌线生产监控模块及相关API和组件
refactor(auth): 增加锌线系统token管理功能 feat(api): 添加锌线停机记录、生产报表和设备快照API feat(views): 实现锌线实时监控、生产统计和停机统计页面 feat(components): 开发锌线生产报表、停机统计和班组绩效组件 feat(utils): 新增锌线专用请求工具zinc1Request chore(vue.config): 配置锌线API代理
This commit is contained in:
56
klp-ui/src/views/lines/acid/index.vue
Normal file
56
klp-ui/src/views/lines/acid/index.vue
Normal file
@@ -0,0 +1,56 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-tabs v-model="activeTab" type="card">
|
||||
<el-tab-pane label="实时监控" name="1">
|
||||
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="生产统计" name="2">
|
||||
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="停机统计" name="3">
|
||||
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="班组绩效" name="4">
|
||||
|
||||
</el-tab-pane>
|
||||
</el-tabs>
|
||||
|
||||
<div>
|
||||
<div v-if="activeTab === '1'">
|
||||
<realTimeMonitor></realTimeMonitor>
|
||||
</div>
|
||||
<div v-if="activeTab === '2'">
|
||||
<productStatistic></productStatistic>
|
||||
</div>
|
||||
<div v-if="activeTab === '3'">
|
||||
<shutdownStatistic></shutdownStatistic>
|
||||
</div>
|
||||
<div v-if="activeTab === '4'">
|
||||
<TeamPerformance></TeamPerformance>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import TeamPerformance from './components/team-performance.vue'
|
||||
import ShutdownStatistic from './components/shutdown-statistic.vue';
|
||||
import ProductStatistic from './components/product-statistic.vue';
|
||||
import RealTimeMonitor from './components/real-time-monitoring.vue';
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
activeTab: '1'
|
||||
}
|
||||
},
|
||||
components: {
|
||||
TeamPerformance,
|
||||
ShutdownStatistic,
|
||||
ProductStatistic,
|
||||
RealTimeMonitor
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style></style>
|
||||
Reference in New Issue
Block a user