|
@@ -6,9 +6,10 @@
|
|
|
<el-radio-group v-model="contrastType">
|
|
|
<el-radio :label="1">中波光谱辐射强度</el-radio>
|
|
|
<el-radio :label="2">长波光谱辐射强度</el-radio>
|
|
|
+ <el-radio :label="3">光谱辐射计算后数据3~5</el-radio>
|
|
|
+ <el-radio :label="4">光谱辐射计算后数据8~14</el-radio>
|
|
|
<el-radio :label="5">中波透过率曲线</el-radio>
|
|
|
<el-radio :label="6">长波透过率曲线</el-radio>
|
|
|
- <el-radio :label="7">角度辐射强度</el-radio>
|
|
|
</el-radio-group>
|
|
|
</el-form-item>
|
|
|
<div class="mod-bd" style="float: right;padding-bottom: 10px;">
|
|
@@ -25,12 +26,14 @@
|
|
|
<div class="panel-bd">
|
|
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="68px">
|
|
|
<el-form-item label="测量批次" prop="measurementBatch" label-width="90px">
|
|
|
- <el-input v-model="queryParams.measurementBatch" placeholder="请输入测量批次" clearable
|
|
|
- @keyup.enter.native="handleQuery" />
|
|
|
+ <el-select v-model="queryParams.measurementBatch" placeholder="请选择测量批次" clearable>
|
|
|
+ <el-option v-for="item in measurementBatchOptions" :key="item.id" :label="item.label" :value="item.id" />
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="发动机型号" prop="engineModel" label-width="90px">
|
|
|
- <el-input v-model="queryParams.engineModel" placeholder="请输入发动机型号" clearable
|
|
|
- @keyup.enter.native="handleQuery" />
|
|
|
+ <el-select v-model="queryParams.engineModel" placeholder="请选择发动机型号" clearable>
|
|
|
+ <el-option v-for="item in engineModelOptions" :key="item.id" :label="item.label" :value="item.id" />
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="发动机状态" prop="engineStatus" label-width="90px">
|
|
|
<el-select v-model="queryParams.engineStatus" placeholder="请选择发动机状态" clearable>
|
|
@@ -104,6 +107,8 @@ import { statusOption } from '@/api/meas/status'
|
|
|
import { angleOption } from '@/api/meas/angle'
|
|
|
import { compareData, listEnvData } from '@/api/meas/envData'
|
|
|
import ECharts from './ECharts.vue'
|
|
|
+import { getMeasurementBatchList } from "@/api/meas/measBatch";
|
|
|
+import {getEngineModelList} from "@/api/meas/engineModel";
|
|
|
|
|
|
export default {
|
|
|
components: { ECharts },
|
|
@@ -138,6 +143,8 @@ export default {
|
|
|
// 发动机角度
|
|
|
angleOptions: [],
|
|
|
contrastType: 1,
|
|
|
+ measurementBatchOptions: [], // 测量批次选项
|
|
|
+ engineModelOptions: [], // 发动机型号选项
|
|
|
// 查询参数
|
|
|
queryParams: {
|
|
|
pageNum: 1,
|
|
@@ -156,8 +163,24 @@ export default {
|
|
|
this.getList();
|
|
|
this.getAngleOption();
|
|
|
this.getStatusOption();
|
|
|
+ this.getMeasurementBatchOptions();
|
|
|
+ this.getEngineModelOptions();
|
|
|
},
|
|
|
methods: {
|
|
|
+ getMeasurementBatchOptions() {
|
|
|
+ // 调用 API 获取测量批次列表
|
|
|
+ getMeasurementBatchList().then(response => {
|
|
|
+ this.measurementBatchOptions = response.data;
|
|
|
+ });
|
|
|
+ },
|
|
|
+
|
|
|
+ // 获取发动机型号选项
|
|
|
+ getEngineModelOptions() {
|
|
|
+ // 调用 API 获取发动机型号列表
|
|
|
+ getEngineModelList().then(response => {
|
|
|
+ this.engineModelOptions = response.data;
|
|
|
+ });
|
|
|
+ },
|
|
|
// 获取状态Option
|
|
|
getStatusOption() {
|
|
|
this.loading = true;
|
|
@@ -230,6 +253,7 @@ export default {
|
|
|
this.$modal.msgWarning("数据最多可对比20条!");
|
|
|
}
|
|
|
},
|
|
|
+
|
|
|
/** 查询测量环境数据列表 */
|
|
|
getList() {
|
|
|
this.loading = true;
|