|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div class="app-container">
|
|
|
- <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="90px">
|
|
|
+ <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="130px">
|
|
|
|
|
|
<el-form-item label="飞机类型" prop="aircraftType">
|
|
|
<el-input
|
|
@@ -19,76 +19,20 @@
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
|
|
|
- <el-form-item label="来流方向x" prop="flowDirectionX" >
|
|
|
- <el-input
|
|
|
- v-model="queryParams.flowDirectionX"
|
|
|
- placeholder="请输入来流方向x"
|
|
|
- clearable
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="来流方向y" prop="flowDirectionY">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.flowDirectionY"
|
|
|
- placeholder="请输入来流方向y"
|
|
|
- clearable
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="来流方向z" prop="flowDirectionZ">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.flowDirectionZ"
|
|
|
- placeholder="请输入来流方向z"
|
|
|
- clearable
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="流速x" prop="flowVelocityX">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.flowVelocityX"
|
|
|
- placeholder="请输入流速x"
|
|
|
- clearable
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="流速y" prop="flowVelocityY">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.flowVelocityY"
|
|
|
- placeholder="请输入流速y"
|
|
|
- clearable
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="流速z" prop="flowVelocityZ">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.flowVelocityZ"
|
|
|
- placeholder="请输入流速z"
|
|
|
- clearable
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- <!-- <el-form-item label="3d模型名称" prop="name">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.name"
|
|
|
- placeholder="请输入3d模型名称"
|
|
|
- clearable
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
- />
|
|
|
- </el-form-item> -->
|
|
|
-
|
|
|
- <el-form-item label="飞行高度" prop="flightAltitude">
|
|
|
+
|
|
|
+ <el-form-item label="飞行高度[km]" prop="flightAltitude">
|
|
|
<el-input
|
|
|
v-model="queryParams.flightAltitude"
|
|
|
- placeholder="请输入飞行高度"
|
|
|
+ placeholder="请输入飞行高度[km]"
|
|
|
clearable
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
|
|
|
- <el-form-item label="红外波段" prop="ffiinfraredBand">
|
|
|
+ <el-form-item label="红外波段[μm]" prop="ifiinfraredBand">
|
|
|
<el-input
|
|
|
- v-model="queryParams.ffiinfraredBand"
|
|
|
- placeholder="请输入红外波段"
|
|
|
+ v-model="queryParams.ifiinfraredBand"
|
|
|
+ placeholder="请输入红外波段[μm]"
|
|
|
clearable
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
/>
|
|
@@ -105,41 +49,17 @@
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
- <!-- <el-form-item label="损伤区域" prop="damageArea">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.damageArea"
|
|
|
- placeholder="请输入损伤区域"
|
|
|
- clearable
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="探测距离" prop="detectDistance">
|
|
|
+
|
|
|
+ <el-form-item label="探测垂直角" prop="detectVerticalAngle">
|
|
|
<el-input
|
|
|
- v-model="queryParams.detectDistance"
|
|
|
- placeholder="请输入探测距离"
|
|
|
+ v-model="queryParams.detectVerticalAngle"
|
|
|
+ placeholder="请输入探测垂直角"
|
|
|
clearable
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
|
|
|
- <el-form-item label="红外波段" prop="ifiinfraredBand">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.ifiinfraredBand"
|
|
|
- placeholder="请输入红外波段(红外输入)"
|
|
|
- clearable
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="红外辐射强度" prop="radiationIntensity">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.radiationIntensity"
|
|
|
- placeholder="请输入红外辐射强度"
|
|
|
- clearable
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
- />
|
|
|
- </el-form-item> -->
|
|
|
+
|
|
|
<el-form-item>
|
|
|
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
|
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
|
@@ -179,8 +99,38 @@
|
|
|
v-hasPermi="['data:model:edit']"
|
|
|
>{{ getFileName(scope.row.model3dFilePath) }}
|
|
|
</el-button>
|
|
|
+ <el-button
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-download"
|
|
|
+ @click="downloadfile(scope.row.model3dFilePath)"
|
|
|
+ v-hasPermi="['data:model:edit']"
|
|
|
+ >{{ getFileName(scope.row.model3dFilePath) }}
|
|
|
+ </el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column label="可编辑模型文件" align="center" prop="editablemodelpath">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-button v-if="scope.row.editablemodelpath !== null"
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-folder-opened"
|
|
|
+ @click="openFolder(scope.row.editablemodelpath)"
|
|
|
+ v-hasPermi="['data:model:edit']"
|
|
|
+ >{{ getFileName(scope.row.editablemodelpath) }}
|
|
|
+ </el-button>
|
|
|
+ <el-button v-if="scope.row.editablemodelpath !== null"
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-download"
|
|
|
+ @click="downloadfile(scope.row.editablemodelpath)"
|
|
|
+ v-hasPermi="['data:model:edit']"
|
|
|
+ >{{ getFileName(scope.row.editablemodelpath) }}
|
|
|
+ </el-button>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+
|
|
|
+
|
|
|
|
|
|
|
|
|
<el-table-column label="流场输入编号" align="center" prop="ffiid" />
|
|
@@ -191,7 +141,6 @@
|
|
|
<el-table-column label="流速x" align="center" prop="flowVelocityX" />
|
|
|
<el-table-column label="流速y" align="center" prop="flowVelocityY" />
|
|
|
<el-table-column label="流速z" align="center" prop="flowVelocityZ" />
|
|
|
- <el-table-column label="红外波段" align="center" prop="ffiinfraredBand"/>
|
|
|
<el-table-column label="来流温度" align="center" prop="flowTemperature" />
|
|
|
<el-table-column label="来流静压" align="center" prop="flowPressure" />
|
|
|
<el-table-column label="来流密度" align="center" prop="flowDensity" />
|
|
@@ -199,7 +148,14 @@
|
|
|
<el-table-column label="二氧化碳质量分数" align="center" prop="co2MassFraction" />
|
|
|
<el-table-column label="一氧化碳质量分数" align="center" prop="coMassFraction" />
|
|
|
<el-table-column label="水蒸气质量分数" align="center" prop="h2oMassFraction" />
|
|
|
-
|
|
|
+ <el-table-column label="排气系统外涵温度[T]" width="170" align="center" prop="exhaustSystemConnotationTemperature" />
|
|
|
+ <el-table-column label="排气系统内涵温度[T]" width="170" align="center" prop="exhaustSystemIntrinsicTemperature" />
|
|
|
+ <el-table-column label="排气系统外涵静压[Pa]" width="170" align="center" prop="exhaustSystemConnotationPressure" />
|
|
|
+ <el-table-column label="排气系统内涵静压[Pa]" width="170" align="center" prop="exhaustSystemIntrinsicPressure" />
|
|
|
+ <el-table-column label="排气系统外涵流量[kg/s]" width="170" align="center" prop="exhaustSystemConnotationFlow" />
|
|
|
+ <el-table-column label="排气系统内涵流量[kg/s]" width="170" align="center" prop="exhaustSystemIntrinsicFlow" />
|
|
|
+ <el-table-column label="备注" width="200" align="center" prop="remark" />
|
|
|
+
|
|
|
|
|
|
<el-table-column label="流场输出编号" align="center" prop="ffoid" />
|
|
|
|
|
@@ -222,6 +178,14 @@
|
|
|
v-hasPermi="['data:model:edit']"
|
|
|
>{{ getFileName(scope.row.casOutputFilePath) }}
|
|
|
</el-button>
|
|
|
+ <el-button v-if="scope.row.casOutputFilePath !== null"
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-download"
|
|
|
+ @click="downloadfile(scope.row.casOutputFilePath)"
|
|
|
+ v-hasPermi="['data:flowOut:edit']"
|
|
|
+ >{{ getFileName(scope.row.casOutputFilePath) }}
|
|
|
+ </el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="dat文件输出" align="center" prop="datOutputFile">
|
|
@@ -234,6 +198,14 @@
|
|
|
v-hasPermi="['data:model:edit']"
|
|
|
>{{ getFileName(scope.row.datOutputFilePath) }}
|
|
|
</el-button>
|
|
|
+ <el-button v-if="scope.row.datOutputFilePath !== null"
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-download"
|
|
|
+ @click="downloadfile(scope.row.datOutputFilePath)"
|
|
|
+ v-hasPermi="['data:flowOut:edit']"
|
|
|
+ >{{ getFileName(scope.row.datOutputFilePath) }}
|
|
|
+ </el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="其它文件输出" align="center" prop="otherOutputFile">
|
|
@@ -246,6 +218,14 @@
|
|
|
v-hasPermi="['data:model:edit']"
|
|
|
>{{ getFileName(scope.row.otherOutputFilePath) }}
|
|
|
</el-button>
|
|
|
+ <el-button v-if="scope.row.otherOutputFilePath !== null"
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-download"
|
|
|
+ @click="downloadfile(scope.row.otherOutputFilePath)"
|
|
|
+ v-hasPermi="['data:flowOut:edit']"
|
|
|
+ >{{ getFileName(scope.row.otherOutputFilePath) }}
|
|
|
+ </el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="表面温度分布图" align="center" prop="temperatureImage">
|
|
@@ -258,6 +238,14 @@
|
|
|
v-haspermi="['data:model:edit']">
|
|
|
{{getFileName(scope.row.temperatureImagePath)}}
|
|
|
</el-button>
|
|
|
+ <el-button v-if="scope.row.temperatureImagePath !== null"
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-download"
|
|
|
+ @click="downloadfile(scope.row.temperatureImagePath)"
|
|
|
+ v-hasPermi="['data:flowOut:edit']"
|
|
|
+ >{{ getFileName(scope.row.temperatureImagePath) }}
|
|
|
+ </el-button>
|
|
|
<image-preview v-if="scope.row.temperatureImagePath !== null" :src="scope.row.temperatureImagePath" :width="30" :height="30" ></image-preview>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -271,6 +259,14 @@
|
|
|
v-haspermi="['data:model:edit']">
|
|
|
{{getFileName(scope.row.velocityImagePath)}}
|
|
|
</el-button>
|
|
|
+ <el-button v-if="scope.row.velocityImagePath !== null"
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-download"
|
|
|
+ @click="downloadfile(scope.row.velocityImagePath)"
|
|
|
+ v-hasPermi="['data:flowOut:edit']"
|
|
|
+ >{{ getFileName(scope.row.velocityImagePath) }}
|
|
|
+ </el-button>
|
|
|
<image-preview v-if="scope.row.velocityImagePath !== null" :src="scope.row.velocityImagePath" :width="30" :height="30" ></image-preview>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -284,9 +280,128 @@
|
|
|
v-haspermi="['data:model:edit']">
|
|
|
{{getFileName(scope.row.pressureImagePath)}}
|
|
|
</el-button>
|
|
|
+ <el-button v-if="scope.row.pressureImagePath !== null"
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-download"
|
|
|
+ @click="downloadfile(scope.row.pressureImagePath)"
|
|
|
+ v-hasPermi="['data:flowOut:edit']"
|
|
|
+ >{{ getFileName(scope.row.pressureImagePath) }}
|
|
|
+ </el-button>
|
|
|
<image-preview v-if="scope.row.pressureImagePath !== null" :src="scope.row.pressureImagePath" :width="30" :height="30" ></image-preview>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column label="侧向温度分布图" align="center" prop="lateralTemperatureDistributionPath">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-button v-if="scope.row.lateralTemperatureDistributionPath !== null"
|
|
|
+ size ="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-folder-opened"
|
|
|
+ @click="openFolder(scope.row.lateralTemperatureDistributionPath)"
|
|
|
+ v-haspermi="['data:model:edit']">
|
|
|
+ {{getFileName(scope.row.lateralTemperatureDistributionPath)}}
|
|
|
+ </el-button>
|
|
|
+ <el-button v-if="scope.row.lateralTemperatureDistributionPath !== null"
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-download"
|
|
|
+ @click="downloadfile(scope.row.lateralTemperatureDistributionPath)"
|
|
|
+ v-hasPermi="['data:flowOut:edit']"
|
|
|
+ >{{ getFileName(scope.row.lateralTemperatureDistributionPath) }}
|
|
|
+ </el-button>
|
|
|
+ <image-preview v-if="scope.row.lateralTemperatureDistributionPath !== null" :src="scope.row.lateralTemperatureDistributionPath" :width="30" :height="30" ></image-preview>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+
|
|
|
+ <el-table-column label="侧向H2O分布图" align="center" prop="lateralH2ODistributionPath">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-button v-if="scope.row.lateralH2ODistributionPath !== null"
|
|
|
+ size ="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-folder-opened"
|
|
|
+ @click="openFolder(scope.row.lateralH2ODistributionPath)"
|
|
|
+ v-haspermi="['data:model:edit']">
|
|
|
+ {{getFileName(scope.row.lateralH2ODistributionPath)}}
|
|
|
+ </el-button>
|
|
|
+ <el-button v-if="scope.row.lateralH2ODistributionPath !== null"
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-download"
|
|
|
+ @click="downloadfile(scope.row.lateralH2ODistributionPath)"
|
|
|
+ v-hasPermi="['data:flowOut:edit']"
|
|
|
+ >{{ getFileName(scope.row.lateralH2ODistributionPath) }}
|
|
|
+ </el-button>
|
|
|
+ <image-preview v-if="scope.row.lateralH2ODistributionPath !== null" :src="scope.row.lateralH2ODistributionPath" :width="30" :height="30" ></image-preview>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+
|
|
|
+ <el-table-column label="轴向温度分布图" align="center" prop="axialTemperatureDistributionPath">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-button v-if="scope.row.axialTemperatureDistributionPath !== null"
|
|
|
+ size ="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-folder-opened"
|
|
|
+ @click="openFolder(scope.row.axialTemperatureDistributionPath)"
|
|
|
+ v-haspermi="['data:model:edit']">
|
|
|
+ {{getFileName(scope.row.axialTemperatureDistributionPath)}}
|
|
|
+ </el-button>
|
|
|
+ <el-button v-if="scope.row.axialTemperatureDistributionPath !== null"
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-download"
|
|
|
+ @click="downloadfile(scope.row.axialTemperatureDistributionPath)"
|
|
|
+ v-hasPermi="['data:flowOut:edit']"
|
|
|
+ >{{ getFileName(scope.row.axialTemperatureDistributionPath) }}
|
|
|
+ </el-button>
|
|
|
+ <image-preview v-if="scope.row.axialTemperatureDistributionPath !== null" :src="scope.row.axialTemperatureDistributionPath" :width="30" :height="30" ></image-preview>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+
|
|
|
+ <el-table-column label="轴向H2O分布图" align="center" prop="axialH2OdistributionPath">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-button v-if="scope.row.axialH2OdistributionPath !== null"
|
|
|
+ size ="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-folder-opened"
|
|
|
+ @click="openFolder(scope.row.axialH2OdistributionPath)"
|
|
|
+ v-haspermi="['data:model:edit']">
|
|
|
+ {{getFileName(scope.row.axialH2OdistributionPath)}}
|
|
|
+ </el-button>
|
|
|
+ <el-button v-if="scope.row.axialH2OdistributionPath !== null"
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-download"
|
|
|
+ @click="downloadfile(scope.row.axialH2OdistributionPath)"
|
|
|
+ v-hasPermi="['data:flowOut:edit']"
|
|
|
+ >{{ getFileName(scope.row.axialH2OdistributionPath) }}
|
|
|
+ </el-button>
|
|
|
+ <image-preview v-if="scope.row.axialH2OdistributionPath !== null" :src="scope.row.axialH2OdistributionPath" :width="30" :height="30" ></image-preview>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+
|
|
|
+ <el-table-column label="轴向速度分布图" align="center" prop="axialVelocityDistributionPath">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-button v-if="scope.row.axialVelocityDistributionPath !== null"
|
|
|
+ size ="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-folder-opened"
|
|
|
+ @click="openFolder(scope.row.axialVelocityDistributionPath)"
|
|
|
+ v-haspermi="['data:model:edit']">
|
|
|
+ {{getFileName(scope.row.axialVelocityDistributionPath)}}
|
|
|
+ </el-button>
|
|
|
+ <el-button v-if="scope.row.axialVelocityDistributionPath !== null"
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-download"
|
|
|
+ @click="downloadfile(scope.row.axialVelocityDistributionPath)"
|
|
|
+ v-hasPermi="['data:flowOut:edit']"
|
|
|
+ >{{ getFileName(scope.row.axialVelocityDistributionPath) }}
|
|
|
+ </el-button>
|
|
|
+ <image-preview v-if="scope.row.axialVelocityDistributionPath !== null" :src="scope.row.axialVelocityDistributionPath" :width="30" :height="30" ></image-preview>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+
|
|
|
+
|
|
|
<el-table-column label="红外输入编号" align="center" prop="ifiid" />
|
|
|
<!-- <el-table-column label="对应流场输出编号" align="center" prop="flowFieldOutputID" /> -->
|
|
|
<el-table-column label="完好发射率" align="center" prop="fullLaunchRate"/>
|
|
@@ -296,6 +411,7 @@
|
|
|
<el-table-column label="表面状态说明" align="center" prop="surfaceDescription" />
|
|
|
<el-table-column label="探测距离" align="center" prop="detectDistance" />
|
|
|
<el-table-column label="探测方位角" align="center" prop="detectAngle" />
|
|
|
+ <el-table-column label="探测竖直角" align="center" prop="detectVerticalAngle" />
|
|
|
<el-table-column label="红外波段" align="center" prop="ifiinfraredBand" />
|
|
|
|
|
|
|
|
@@ -311,6 +427,14 @@
|
|
|
v-hasPermi="['data:model:edit']"
|
|
|
>{{ getFileName(scope.row.outputFilePath) }}
|
|
|
</el-button>
|
|
|
+ <el-button v-if="scope.row.outputFilePath !== null"
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-download"
|
|
|
+ @click="downloadfile(scope.row.outputFilePath)"
|
|
|
+ v-hasPermi="['data:infraredOut:edit']"
|
|
|
+ >{{ getFileName(scope.row.outputFilePath) }}
|
|
|
+ </el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="红外辐射强度" align="center" prop="radiationIntensity" />
|
|
@@ -324,9 +448,42 @@
|
|
|
v-hasPermi="['data:infraredOut:edit']">
|
|
|
{{getFileName(scope.row.infraredImagePath)}}
|
|
|
</el-button>
|
|
|
+ <el-button v-if="scope.row.infraredImagePath !== null"
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-download"
|
|
|
+ @click="downloadfile(scope.row.infraredImagePath)"
|
|
|
+ v-hasPermi="['data:infraredOut:edit']"
|
|
|
+ >{{ getFileName(scope.row.infraredImagePath) }}
|
|
|
+ </el-button>
|
|
|
<image-preview v-if="scope.row.infraredImagePath !== null" :src="scope.row.infraredImagePath" :width="30" :height="30" ></image-preview>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column label="固体红外辐射强度[W/Sr]" align="center" prop="solidinfraredradiation" />
|
|
|
+ <el-table-column label="气体红外辐射强度[W/Sr]" align="center" prop="gasinfraredradiation" />
|
|
|
+
|
|
|
+
|
|
|
+ <el-table-column label="红外光谱辐射强度分布图" align="center" prop="infraredspectrumdistribution">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-button v-if="scope.row.infraredspectrumdistribution !== null"
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ @click="openFolder(scope.row.infraredspectrumdistribution)"
|
|
|
+ icon="el-icon-folder-opened"
|
|
|
+ v-hasPermi="['data:infraredOut:edit']">
|
|
|
+ {{getFileName(scope.row.infraredspectrumdistribution)}}
|
|
|
+ </el-button>
|
|
|
+ <el-button v-if="scope.row.infraredspectrumdistribution !== null"
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-download"
|
|
|
+ @click="downloadfile(scope.row.infraredspectrumdistribution)"
|
|
|
+ v-hasPermi="['data:infraredOut:edit']"
|
|
|
+ >{{ getFileName(scope.row.infraredspectrumdistribution) }}
|
|
|
+ </el-button>
|
|
|
+ <image-preview v-if="scope.row.infraredspectrumdistribution !== null" :src="scope.row.infraredspectrumdistribution" :width="30" :height="30" ></image-preview>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
|
|
|
</el-table>
|
|
|
|
|
@@ -379,6 +536,7 @@ export default {
|
|
|
updateBy: null,
|
|
|
updateTime: null,
|
|
|
aircraftType: null,
|
|
|
+ editablemodelpath:null,
|
|
|
|
|
|
model3dId: null,
|
|
|
machNumber: null,
|
|
@@ -388,7 +546,6 @@ export default {
|
|
|
flowVelocityX: null,
|
|
|
flowVelocityY: null,
|
|
|
flowVelocityZ: null,
|
|
|
- ffiinfraredBand:null,
|
|
|
flowTemperature:null,
|
|
|
flowPressure:null,
|
|
|
flowDensity: null,
|
|
@@ -402,6 +559,14 @@ export default {
|
|
|
fluentCasFilePath: null,
|
|
|
fluentDatFile: null,
|
|
|
fluentDatFilePath: null,
|
|
|
+ exhaustSystemConnotationTemperature:null,
|
|
|
+ exhaustSystemIntrinsicTemperature:null,
|
|
|
+ exhaustSystemConnotationPressure:null,
|
|
|
+ exhaustSystemIntrinsicPressure:null,
|
|
|
+ exhaustSystemConnotationFlow:null,
|
|
|
+ exhaustSystemIntrinsicFlow:null,
|
|
|
+ remark:null,
|
|
|
+
|
|
|
|
|
|
|
|
|
flowFieldInputID:null,
|
|
@@ -420,11 +585,18 @@ export default {
|
|
|
velocityImagePath:null,
|
|
|
pressureImage:null,
|
|
|
pressureImagePath:null,
|
|
|
+ lateralTemperatureDistributionPath:null,
|
|
|
+ lateralH2ODistributionPath:null,
|
|
|
+ axialTemperatureDistributionPath:null,
|
|
|
+ axialH2OdistributionPath:null,
|
|
|
+ axialVelocityDistributionPath:null,
|
|
|
+
|
|
|
|
|
|
flowFieldOutputID:null,
|
|
|
damageArea: null,
|
|
|
detectDistance: null,
|
|
|
detectAngle: null,
|
|
|
+ detectVerticalAngle:null,
|
|
|
ifiinfraredBand: null,
|
|
|
|
|
|
infraredInputID:null,
|
|
@@ -433,6 +605,10 @@ export default {
|
|
|
radiationIntensity: null,
|
|
|
infraredImage:null,
|
|
|
infraredImagePath:null,
|
|
|
+ solidinfraredradiation:null,
|
|
|
+ gasinfraredradiation:null,
|
|
|
+ infraredspectrumdistribution:null,
|
|
|
+
|
|
|
},
|
|
|
// 表单参数
|
|
|
form: {},
|
|
@@ -504,8 +680,8 @@ export default {
|
|
|
this.$modal.msgError("流速Z数据格式不正确,请输入DECIMAL(16,6)格式数据");
|
|
|
return;
|
|
|
}
|
|
|
- if (this.queryParams.ifiinfraredBand &&!this.isDecimalFormat(this.queryParams.ifiinfraredBand)) {
|
|
|
- this.$modal.msgError("红外波段数据格式不正确,请输入DECIMAL(16,6)格式数据");
|
|
|
+ if (this.queryParams.ifiinfraredBand &&!this.isifiinfraredBand(this.queryParams.ifiinfraredBand)) {
|
|
|
+ this.$modal.msgError("红外波段数据格式不正确,应为数据-数据格式");
|
|
|
return;
|
|
|
}
|
|
|
if (this.queryParams.flightAltitude &&!this.isDecimalFormat(this.queryParams.flightAltitude)) {
|
|
@@ -520,12 +696,8 @@ export default {
|
|
|
this.$modal.msgError("探测方位角格式不正确,请输入DECIMAL(16,6)格式数据");
|
|
|
return;
|
|
|
}
|
|
|
- if (this.queryParams.ffiinfraredBand &&!this.isDecimalFormat(this.queryParams.ffiinfraredBand)) {
|
|
|
- this.$modal.msgError("红外波段格式不正确,请输入DECIMAL(16,6)格式数据");
|
|
|
- return;
|
|
|
- }
|
|
|
- if (this.queryParams.radiationIntensity &&!this.isDecimalFormat(this.queryParams.radiationIntensity)) {
|
|
|
- this.$modal.msgError("红外辐射强度格式不正确,请输入DECIMAL(16,6)格式数据");
|
|
|
+ if (this.queryParams.detectVerticalAngle &&!this.isDecimalFormat(this.queryParams.detectVerticalAngle)) {
|
|
|
+ this.$modal.msgError("探测垂直角格式不正确,请输入DECIMAL(16,6)格式数据");
|
|
|
return;
|
|
|
}
|
|
|
this.queryParams.pageNum = 1;
|
|
@@ -594,20 +766,25 @@ export default {
|
|
|
...this.queryParams
|
|
|
}, `allinfo_${new Date().getTime()}.xlsx`)
|
|
|
},
|
|
|
- getFileName(path) {
|
|
|
+ getFileName(path) {
|
|
|
if (!path) {
|
|
|
return ''
|
|
|
} else if (path.lastIndexOf("/") > -1) {
|
|
|
- const newName = path.slice(path.lastIndexOf("/") + 1)
|
|
|
- const names = newName.split(".")
|
|
|
- if ((names.size = 2) && (names[0].length > 19)) {
|
|
|
- return newName.substring(0, names[0].length - 19) + '.' + names[1]
|
|
|
- } else {
|
|
|
- return newName
|
|
|
- }
|
|
|
- } else {
|
|
|
- return '';
|
|
|
+
|
|
|
+ const newName = path.slice(path.lastIndexOf("/") + 1)
|
|
|
+ const names = newName.split(".");
|
|
|
+ if (names.length >= 2 && names[0].length > 19) {
|
|
|
+ let fileName = names[0].substring(0, names[0].length - 19);
|
|
|
+ for (let i = 1; i < names.length; i++) {
|
|
|
+ fileName += "." + names[i];
|
|
|
}
|
|
|
+ return fileName;
|
|
|
+ } else {
|
|
|
+ return newName;
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ return "";
|
|
|
+ }
|
|
|
},
|
|
|
downloadfile(path) {
|
|
|
this.$download.resource(path);
|
|
@@ -619,7 +796,11 @@ export default {
|
|
|
isDecimalFormat(value) {
|
|
|
const decimalRegex = /^\d{1,16}(\.\d{1,6})?$/;
|
|
|
return value === '' || decimalRegex.test(value);
|
|
|
- }
|
|
|
+ },
|
|
|
+ isifiinfraredBand(value) {
|
|
|
+ const decimalRegex = /^\d{1,10}(\.\d{1,6})?-\d{1,10}(\.\d{1,6})?$/;
|
|
|
+ return value === '' || decimalRegex.test(value);
|
|
|
+ },
|
|
|
}
|
|
|
};
|
|
|
</script>
|