|
@@ -3,14 +3,14 @@
|
|
|
<div class="gas-verify">
|
|
|
<CustomHeader> 瓦斯抽采达标能力核定 </CustomHeader>
|
|
|
<div class="flex mt-90px">
|
|
|
- <div class="nav-l"> 瓦斯抽采达标生产能力:{{ data.gasExtractionSystemCapacityResultLarge }} t/a </div>
|
|
|
+ <div class="nav-l"> 瓦斯抽采达标生产能力:{{ floor(data.gasExtractionSystemCapacityResultLarge, 2) }} t/a </div>
|
|
|
<div class="nav">
|
|
|
<Tabs v-model:active-key="actived" :tabBarStyle="{ color: 'red' }">
|
|
|
<TabPane key="product" tab="矿井瓦斯抽采达标生产能力核定" />
|
|
|
<TabPane key="extract" tab="矿井瓦斯抽采能力核定" />
|
|
|
</Tabs>
|
|
|
</div>
|
|
|
- <div class="nav-r"> 瓦斯抽采能力:{{ data.gasExtractionSystemCapacityResultSmall }} m<sup>3</sup>/min </div>
|
|
|
+ <div class="nav-r"> 瓦斯抽采能力:{{ floor(data.gasExtractionSystemCapacityResultSmall, 2) }} m<sup>3</sup>/min </div>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
<div :style="{ flex: 1 }">
|
|
@@ -31,14 +31,18 @@
|
|
|
</div>
|
|
|
<div v-show="actived === 'product'">
|
|
|
<div class="flex flex-justify-between flex-items-center">
|
|
|
- <FormTitle class="flex-grow-1" icon="pump" :title="`根据矿井实际抽采瓦斯量核定:${data.gasExtractionVolumeVerificationTotal}`" />
|
|
|
+ <FormTitle
|
|
|
+ class="flex-grow-1"
|
|
|
+ icon="pump"
|
|
|
+ :title="`根据矿井实际抽采瓦斯量核定:${floor(data.gasExtractionVolumeVerificationTotal, 2)}`"
|
|
|
+ />
|
|
|
<Button type="primary" @click="submitGasvalForm">提交</Button>
|
|
|
</div>
|
|
|
<BasicForm :schemas="valFormSchema" @register="regGasvalForm" />
|
|
|
</div>
|
|
|
<div v-show="actived === 'product'">
|
|
|
<div class="flex flex-justify-between flex-items-center">
|
|
|
- <FormTitle class="flex-grow-1" icon="pump" :title="`根据矿井瓦斯抽采率核定:${data.gasExtractionRateVerificationTotal}`" />
|
|
|
+ <FormTitle class="flex-grow-1" icon="pump" :title="`根据矿井瓦斯抽采率核定:${floor(data.gasExtractionRateVerificationTotal, 2)}`" />
|
|
|
<Button class="mr-10px" @click="calculateGasrateForm">计算</Button>
|
|
|
<Button type="primary" @click="submitGasrateForm">提交</Button>
|
|
|
</div>
|
|
@@ -57,8 +61,8 @@
|
|
|
class="flex-grow-1"
|
|
|
:title="
|
|
|
{
|
|
|
- extract: `按瓦斯抽采泵站装机能力核定:${data.gasExtractionPumpStationCapacitySmall}`,
|
|
|
- product: `按矿井瓦斯抽采泵站装机能力核定:${data.gasExtractionMainPipelineCapacityLarge}`,
|
|
|
+ extract: `按瓦斯抽采泵站装机能力核定:${floor(data.gasExtractionPumpStationCapacitySmall, 2)}`,
|
|
|
+ product: `按矿井瓦斯抽采泵站装机能力核定:${floor(data.gasExtractionMainPipelineCapacityLarge, 2)}`,
|
|
|
}[actived]
|
|
|
"
|
|
|
/>
|
|
@@ -76,8 +80,8 @@
|
|
|
class="flex-grow-1"
|
|
|
:title="
|
|
|
{
|
|
|
- extract: `按矿井瓦斯主管道系统能力核定:${data.gasExtractionMainPipelineCapacitySmall}`,
|
|
|
- product: `按矿井瓦斯抽采主管道系统能力核定:${data.gasExtractionMainPipelineCapacityLarge}`,
|
|
|
+ extract: `按矿井瓦斯主管道系统能力核定:${floor(data.gasExtractionMainPipelineCapacitySmall, 2)}`,
|
|
|
+ product: `按矿井瓦斯抽采主管道系统能力核定:${floor(data.gasExtractionMainPipelineCapacityLarge, 2)}`,
|
|
|
}[actived]
|
|
|
"
|
|
|
/>
|
|
@@ -138,7 +142,7 @@
|
|
|
} from './gasPumpSetting.data';
|
|
|
import { BasicTable, useTable } from '/@/components/Table';
|
|
|
import { BasicModal, useModal } from '/@/components/Modal';
|
|
|
- import { get, inRange, isNil } from 'lodash-es';
|
|
|
+ import { get, inRange, floor } from 'lodash-es';
|
|
|
|
|
|
const actived = ref<'extract' | 'product'>('product');
|
|
|
|