修改bug

This commit is contained in:
Vce 2024-05-18 17:50:03 +08:00
parent 5d928ea186
commit a64d6ad78b
4 changed files with 40 additions and 37 deletions

View File

@ -92,18 +92,20 @@
<scroll-view :scroll-x="true" class="teble-list">
<view class="teble-item">
<view class="table-item-inner">
<view class="item-col" style="display: flex;justify-content: center;align-items: flex-end;line-height: 20rpx;"><text>设备管道</text></view>
<view class="item-col" style="width: 665rpx;">管道参数</view>
<view class="item-col" style="margin-right: 5rpx;width: 665rpx;">盲板参数</view>
<view class="item-col" style="display: flex;justify-content: center;align-items: flex-end;line-height: 20rpx;font-weight: bold;background-color: lightgray;">
<text>设备管道</text>
</view>
<view class="item-col" style="width: 665rpx;font-weight: bold;background-color: lightgray;">管道参数</view>
<view class="item-col" style="margin-right: 5rpx;width: 665rpx;font-weight: bold;background-color: lightgray;">盲板参数</view>
</view>
<view class="table-item-inner">
<view class="item-col" style="margin-top: 0;display: flex;justify-content: center;align-items: flex-start;line-height: 20rpx;">名称</view>
<view class="item-col" style="">介质</view>
<view class="item-col" style="">温度</view>
<view class="item-col" style="">压力</view>
<view class="item-col" style="">材质</view>
<view class="item-col" style="">规格</view>
<view class="item-col" style="margin-right: 5rpx;">编号</view>
<view class="item-col" style="margin-top: 0;display: flex;justify-content: center;align-items: flex-start;line-height: 20rpx;font-weight: bold;background-color: lightgray;">名称</view>
<view class="item-col" style="font-weight: bold;background-color: lightgray;">介质</view>
<view class="item-col" style="font-weight: bold;background-color: lightgray;">温度</view>
<view class="item-col" style="font-weight: bold;background-color: lightgray;">压力</view>
<view class="item-col" style="font-weight: bold;background-color: lightgray;">材质</view>
<view class="item-col" style="font-weight: bold;background-color: lightgray;">规格</view>
<view class="item-col" style="margin-right: 5rpx;font-weight: bold;background-color: lightgray;">编号</view>
</view>
<view class="table-item-inner" style="padding-bottom: 5rpx;">
<view class="item-col" style="">{{detailData.devPipelineName}}</view>
@ -431,7 +433,7 @@
display: inline-block;
white-space: normal;
.table-item-inner{
background-color: lightgray;
// background-color: lightgray;
display: flex;
// min-width: 200rpx;

View File

@ -56,17 +56,18 @@
</view>
<view class="table-info" style="">
<scroll-view :scroll-x="true" class="teble-list">
<view class="teble-item">
<view class="teble-item" style="font-weight: bold;">
<view class="item-col" style="background-color: lightgray;">气体取样分析时间</view>
<view class="item-col" style="background-color: lightgray;">代表性气体</view>
<view class="item-col" style="background-color: lightgray;">分析结果/%</view>
<view class="item-col" style="margin-bottom: 5rpx;background-color: lightgray;">分析人</view>
</view>
<view class="teble-item" v-for="(item,i) in detailData.xzGasAnalyzeList" :key="i">
<view class="item-col" style=""><text>{{item.gasAnalyzeTime||'--'}}</text></view>
<view class="item-col"><text>{{item.representativeGas||'--'}}</text></view>
<view class="item-col"><text>{{item.analyzeResult||'--'}}</text></view>
<view class="item-col" style="margin-bottom: 5rpx;"><text>{{item.analyzer||'--'}}</text></view>
<view class="item-col" style=""><text>{{item.gasAnalyzeTime||'--'}}</text></view>
<view class="item-col"><text>{{item.representativeGas||'--'}}</text></view>
<view class="item-col"><text>{{item.analyzeResult||'--'}}</text></view>
<view class="item-col" style="margin-bottom: 5rpx;"><text>{{item.analyzer||'--'}}</text>
</view>
</view>
</scroll-view>
</view>

View File

@ -67,17 +67,17 @@
<view class="table-info" style="">
<scroll-view :scroll-x="true" class="teble-list">
<view class="teble-item">
<view class="table-item-inner">
<view class="item-col" style=""></view>
<view class="item-col" style="width: 442rpx;">有毒有害气体名称</view>
<view class="item-col" style="width: 442rpx;">可燃气体名称</view>
<view class="item-col" style="">氧气含量</view>
<view class="item-col" style="">取样分析时间</view>
<view class="item-col" style="">分析部位</view>
<view class="item-col" style="margin-right: 5rpx;">分析人</view>
<view class="table-item-inner" style="font-weight: bold;">
<view class="item-col" style="background-color: lightgray;"></view>
<view class="item-col" style="width: 442rpx;background-color: lightgray;">有毒有害气体名称</view>
<view class="item-col" style="width: 442rpx;background-color: lightgray;">可燃气体名称</view>
<view class="item-col" style="background-color: lightgray;">氧气含量</view>
<view class="item-col" style="background-color: lightgray;">取样分析时间</view>
<view class="item-col" style="background-color: lightgray;">分析部位</view>
<view class="item-col" style="margin-right: 5rpx;background-color: lightgray;">分析人</view>
</view>
<view class="table-item-inner">
<view class="item-col" style="">分析项目</view>
<view class="item-col" style="background-color: lightgray;font-weight: bold;">分析项目</view>
<view class="item-col" style="">{{JSON.parse(detailData.toxicAndHarmfulGasInformation)[0]?JSON.parse(detailData.toxicAndHarmfulGasInformation)[0].name||'--':'--'}}</view>
<view class="item-col" style="">{{JSON.parse(detailData.toxicAndHarmfulGasInformation)[1]?JSON.parse(detailData.toxicAndHarmfulGasInformation)[1].name||'--':'--'}}</view>
<view class="item-col" style="">{{JSON.parse(detailData.combustibleGasInformation)[0]?JSON.parse(detailData.combustibleGasInformation)[0].name||'--':'--'}}</view>
@ -88,7 +88,7 @@
<view class="item-col" style="margin-right: 5rpx;">--</view>
</view>
<view class="table-item-inner">
<view class="item-col" style="">合格标准</view>
<view class="item-col" style="background-color: lightgray;font-weight: bold;">合格标准</view>
<view class="item-col" style="">{{JSON.parse(detailData.toxicAndHarmfulGasInformation)[0]?JSON.parse(detailData.toxicAndHarmfulGasInformation)[0].standard||'--':'--'}}</view>
<view class="item-col" style="">{{JSON.parse(detailData.toxicAndHarmfulGasInformation)[1]?JSON.parse(detailData.toxicAndHarmfulGasInformation)[1].standard||'--':'--'}}</view>
<view class="item-col" style="">{{JSON.parse(detailData.combustibleGasInformation)[0]?JSON.parse(detailData.combustibleGasInformation)[0].standard||'--':'--'}}</view>
@ -100,7 +100,7 @@
</view>
<view :class="{'table-item-inner':true,'last-row':(i+1) === JSON.parse(detailData.gasAnalysisData).length}"
v-for="(item,i) in JSON.parse(detailData.gasAnalysisData)" :key="i">
<view class="item-col" style="">分析数据</view>
<view class="item-col" style="background-color: lightgray;font-weight: bold;">分析数据</view>
<view class="item-col" style="">{{item.name1}}</view>
<view class="item-col" style="">{{item.name2}}</view>
<view class="item-col" style="">{{item.name3}}</view>
@ -564,7 +564,7 @@
display: inline-block;
white-space: normal;
.table-item-inner{
background-color: lightgray;
// background-color: lightgray;
display: flex;
// min-width: 200rpx;

View File

@ -85,17 +85,17 @@
<scroll-view :scroll-x="true" class="teble-list">
<view class="teble-item">
<view class="table-item-inner">
<view class="item-col" style="">分析人</view>
<view class="item-col" style="">分析时间</view>
<view class="item-col" style="">分析点</view>
<view class="item-col" style="margin-right: 5rpx;">可燃气体检测结果</view>
<view class="item-col" style="font-weight: bold;background-color: lightgray;">分析人</view>
<view class="item-col" style="font-weight: bold;background-color: lightgray;">分析时间</view>
<view class="item-col" style="font-weight: bold;background-color: lightgray;">分析点</view>
<view class="item-col" style="margin-right: 5rpx;font-weight: bold;background-color: lightgray;">可燃气体检测结果</view>
</view>
<view :class="{'table-item-inner':true,'last-row':(i+1) === JSON.parse(detailData.combustibleGasAnalysis).length}"
v-for="(item,i) in JSON.parse(detailData.combustibleGasAnalysis)" :key="i">
<view class="item-col" style="">{{detailData.analysePerson}}</view>
<view class="item-col" style="">{{item.time}}</view>
<view class="item-col" style="">{{detailData.analysePlace}}</view>
<view class="item-col" style="margin-right: 5rpx;">{{item.result}}</view>
<view class="item-col" style="">{{detailData.analysePerson||'--'}}</view>
<view class="item-col" style="">{{item.time||'--'}}</view>
<view class="item-col" style="">{{detailData.analysePlace||'--'}}</view>
<view class="item-col" style="margin-right: 5rpx;">{{item.result||'--'}}</view>
</view>
</view>
</scroll-view>
@ -410,7 +410,7 @@
display: inline-block;
white-space: normal;
.table-item-inner{
background-color: lightgray;
// background-color: lightgray;
display: flex;
// min-width: 200rpx;