<template>
|
<div class="mod-analysis-full-det">
|
<el-form :inline="true" :model="formData">
|
<el-form-item>
|
<span>原煤化验数据表</span><span>【{{formData.curvesCode}}】</span>
|
</el-form-item>
|
<el-form-item>
|
<el-button size="mini" @click="getDataList()">刷新</el-button>
|
</el-form-item>
|
<el-form-item>
|
<el-button size="mini" type="primary" @click="drawWashCurves()">可选性曲线</el-button>
|
</el-form-item>
|
<el-form-item>
|
<el-button type="warning" plain @click="handleImport">
|
<Icon icon="ep:upload" />导出
|
</el-button>
|
</el-form-item>
|
</el-form>
|
<el-table
|
ref="table"
|
v-loading="loading"
|
:data="dataList"
|
border
|
height="300"
|
>
|
<el-table-column prop="code" label="流水号" header-align="center" align="center"
|
width="140"/>
|
<el-table-column prop="mdjName" label="密度级" header-align="center"
|
align="center"/>
|
<el-table-column label="综合累计" header-align="center">
|
<el-table-column prop="zhljcl" label="产率(%)" header-align="center"
|
align="center"/>
|
<el-table-column prop="zhljhf" label="灰分(%)" header-align="center"
|
align="center"/>
|
</el-table-column>
|
<el-table-column label="浮物累计" header-align="center" >
|
<el-table-column prop="fwljcl" label="产率(%)" header-align="center"
|
align="center"/>
|
<el-table-column prop="fwljhf" label="灰分(%)" header-align="center"
|
align="center"/>
|
</el-table-column>
|
<el-table-column label="沉物累计" header-align="center" >
|
<el-table-column prop="cwljcl" label="产率(%)" header-align="center"
|
align="center"/>
|
<el-table-column prop="cwljhf" label="灰分(%)" header-align="center"
|
align="center"/>
|
</el-table-column>
|
<el-table-column prop="md" label="密度" header-align="center" align="center" />
|
<el-table-column prop="hl" label="±0.1含量" header-align="center" align="center" />
|
<el-table-column prop="lf" label="硫分(%)" header-align="center" align="center" />
|
</el-table>
|
</div>
|
</template>
|
<script lang="ts" setup>
|
import * as WashCurvesDetApi from '@/api/xmcpms/coal-quality/analysis/wash-curves/wash-curves-det'
|
|
const message = useMessage() // 消息弹窗
|
const loading = ref(false) // 列表的加载中
|
const formDataRef = ref()
|
const formData = ref({
|
curvesId: undefined,
|
curvesCode: '',
|
fcfa: ''
|
})
|
const dataList = ref()
|
const open = async (row) => {
|
formData.value.curvesId = row.id
|
formData.value.curvesCode = row.code
|
dataList.value = await WashCurvesDetApi.getWashCurvesDet(row.id)
|
}
|
defineExpose({ open }) // 提供 open 方法,用于打开弹窗
|
|
const emits = defineEmits(['drawWashCurves'])
|
const drawWashCurves = () => {
|
emits('drawWashCurves')
|
}
|
|
</script>
|