feat: 新增异常挂接日志页面,优化多个页面UI和功能
1. 新增mill/abnormal/log.vue页面,实现钢卷异常挂接日志的查询、导出功能 2. 调整成本项目页面查询表单label宽度为80px 3. 移除异常性能页面的导出按钮 4. 重构轧辊计划页面的操作按钮布局,新增分组样式 5. 注释并停用工作辊页面的实时性能数据加载和展示
This commit is contained in:
@@ -109,7 +109,7 @@
|
||||
</el-card>
|
||||
|
||||
<!-- 工作绩效 -->
|
||||
<el-card shadow="never" class="roll-table-card aside-panel">
|
||||
<!-- <el-card shadow="never" class="roll-table-card aside-panel">
|
||||
<div slot="header" class="card-header">
|
||||
<span class="card-title"><i class="el-icon-data-analysis" /> 工作绩效(实时)</span>
|
||||
<el-button size="mini" icon="el-icon-refresh" style="margin-left:auto" @click="loadRollPerformance">刷新</el-button>
|
||||
@@ -127,7 +127,7 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</el-card>
|
||||
</el-card> -->
|
||||
|
||||
</div>
|
||||
|
||||
@@ -157,7 +157,7 @@
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
<KLPTable v-loading="historyLoading" :data="historyList">
|
||||
<el-table v-loading="historyLoading" :data="historyList">
|
||||
<el-table-column label="换辊编号" align="center" prop="changeNo" width="130" />
|
||||
<el-table-column label="机架" align="center" prop="standNo" width="80" />
|
||||
<el-table-column label="换辊时间" align="center" prop="changeTime" width="160" />
|
||||
@@ -178,13 +178,13 @@
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="工作长度(m)" align="center" prop="workLength" width="96">
|
||||
<!-- <el-table-column label="工作长度(m)" align="center" prop="workLength" width="96">
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.workLength != null">{{ scope.row.workLength }}</span>
|
||||
<span v-else style="color:#c0c4cc">—</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="过卷数" align="center" prop="coilCount" width="72">
|
||||
</el-table-column> -->
|
||||
<!-- <el-table-column label="过卷数" align="center" prop="coilCount" width="72">
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.coilCount != null">{{ scope.row.coilCount }}</span>
|
||||
<span v-else style="color:#c0c4cc">—</span>
|
||||
@@ -195,7 +195,7 @@
|
||||
<span v-if="scope.row.totalWeight != null">{{ scope.row.totalWeight }}</span>
|
||||
<span v-else style="color:#c0c4cc">—</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table-column> -->
|
||||
<el-table-column label="备注" align="left" prop="remark" min-width="100" show-overflow-tooltip />
|
||||
<el-table-column label="操作" align="center" width="110" fixed="right">
|
||||
<template slot-scope="scope">
|
||||
@@ -204,7 +204,7 @@
|
||||
@click="handleDeleteHistory(scope.row)">删除</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</KLPTable>
|
||||
</el-table>
|
||||
<pagination
|
||||
v-show="historyTotal > 0"
|
||||
:total="historyTotal"
|
||||
@@ -378,7 +378,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { getCurrentRolls, listRollChange, addRollChange, updateRollChange, delRollChange, getRollPerformance } from '@/api/mill/rollChange'
|
||||
import { getCurrentRolls, listRollChange, addRollChange, updateRollChange, delRollChange } from '@/api/mill/rollChange'
|
||||
import { listRollStandby, addRollStandby, delRollStandby, clearRollStandby } from '@/api/mill/rollStandby'
|
||||
import { listRollOptions, listRollInfo } from '@/api/mill/rollInfo'
|
||||
import rollLineMixin from '../rollLineMixin'
|
||||
@@ -630,15 +630,15 @@ export default {
|
||||
})
|
||||
this.loadHistory()
|
||||
this.loadOfflineRolls()
|
||||
this.loadRollPerformance()
|
||||
// this.loadRollPerformance()
|
||||
},
|
||||
|
||||
loadRollPerformance() {
|
||||
this.perfLoading = true
|
||||
getRollPerformance(this.lineId).then(res => {
|
||||
this.perfData = res.data || {}
|
||||
}).finally(() => { this.perfLoading = false })
|
||||
},
|
||||
// loadRollPerformance() {
|
||||
// this.perfLoading = true
|
||||
// getRollPerformance(this.lineId).then(res => {
|
||||
// this.perfData = res.data || {}
|
||||
// }).finally(() => { this.perfLoading = false })
|
||||
// },
|
||||
|
||||
loadCurrent(standNo) {
|
||||
this.$set(this.loadingCurrent, standNo, true)
|
||||
@@ -732,7 +732,7 @@ export default {
|
||||
this.loadStandby(standNo)
|
||||
this.loadHistory()
|
||||
this.loadOfflineRolls()
|
||||
this.loadRollPerformance()
|
||||
// this.loadRollPerformance()
|
||||
})
|
||||
}).finally(() => {
|
||||
this.changeSubmitting = false
|
||||
|
||||
Reference in New Issue
Block a user