新增app和跟踪页面,现已经调通

This commit is contained in:
2026-05-13 16:43:38 +08:00
parent 5fdaa89afd
commit ba7593e825
10 changed files with 1838 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
<template>
<div>
<div class="actual-container">
<!-- 顶部实绩列表 (PLTCM_PDO_EXCOIL) -->
<div class="top-section">
@@ -74,6 +75,11 @@
<el-tag type="primary" size="mini" effect="plain">{{ row.STATUS || row.status || '产出' }}</el-tag>
</template>
</el-table-column>
<el-table-column label="" width="64" align="center" fixed="right">
<template slot-scope="{ row }">
<el-button type="text" size="mini" style="color:#2c5282;font-weight:600" @click.stop="openQualityReport(row)">质保书</el-button>
</template>
</el-table-column>
</el-table>
<div class="table-pagination">
<el-pagination
@@ -162,7 +168,7 @@
</el-tabs>
</div>
<!-- 右侧查找面板 -->
<!-- 右侧查找面板 + 质保书入口 -->
<div class="search-panel">
<div class="panel-title">查找</div>
<div class="search-type-group">
@@ -194,11 +200,15 @@
</div>
</div>
</div>
<quality-report-dialog ref="qualityReport" />
</div>
</template>
<script>
import * as echarts from 'echarts'
import 'echarts-gl'
import QualityReportDialog from './QualityReportDialog.vue'
import {
getExcoilList,
getExcoilCount,
@@ -360,6 +370,7 @@ function xLocData(rows) {
export default {
name: 'ActualPerformance',
components: { QualityReportDialog },
data() {
return {
excoilLoading: false,
@@ -1012,6 +1023,17 @@ export default {
return items
},
openQualityReport(row) {
// If the clicked row is already the selected row, use in-memory data
const isSame = this.selectedRow &&
(row.EXCOILID || row.excoilid) === (this.selectedRow.EXCOILID || this.selectedRow.excoilid)
const segData = isSame ? this.segData : null
const gaugeRows = isSame ? this.gaugeRows : null
const shapeRows = isSame ? this.shapeRows : null
const presetData = isSame ? this.presetData : null
this.$refs.qualityReport.open(row, segData, gaugeRows, shapeRows, presetData)
},
calcLengthPerTon(row) {
const len = parseFloat(row.EXIT_LENGTH || row.exit_length)
const wt = parseFloat(row.MEAS_EXIT_WEIGHT || row.meas_exit_weight)