|
|
@@ -190,7 +190,7 @@
|
|
|
<template slot-scope="scope">
|
|
|
<el-checkbox-group v-model="scope.row.AlertFunc" :max="1">
|
|
|
<el-checkbox label="1">正常</el-checkbox>
|
|
|
- <el-checkbox label="2">不正常</el-checkbox>
|
|
|
+ <el-checkbox label="0">不正常</el-checkbox>
|
|
|
</el-checkbox-group>
|
|
|
<!-- <el-input v-model.trim="scope.row.AlertFunction" style="width: 60%" size="mini"></el-input> -->
|
|
|
</template>
|
|
|
@@ -198,23 +198,23 @@
|
|
|
<el-table-column align="center" label="实测报警值(%LEL)">
|
|
|
<el-table-column align="center" label="" prop="Value1">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input type="number" step="0.01" v-model.number="scope.row.Value1" style="width: 100%" size="mini"></el-input>
|
|
|
+ <el-input type="number" step="0.1" v-model.number="scope.row.Value1" style="width: 100%" size="mini"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" label="" prop="Value2">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input type="number" step="0.01" v-model.number="scope.row.Value2" style="width: 100%" size="mini"></el-input>
|
|
|
+ <el-input type="number" step="0.1" v-model.number="scope.row.Value2" style="width: 100%" size="mini"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" label="" prop="Value3">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input type="number" step="0.01" v-model.number="scope.row.Value3" style="width: 100%" size="mini"></el-input>
|
|
|
+ <el-input type="number" step="0.1" v-model.number="scope.row.Value3" style="width: 100%" size="mini"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="ActionValue" align="center" label="报警动作值(%LEL)" min-width="90">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input type="number" step="0.01" v-model.number="scope.row.ActionValue" style="width: 160px" size="mini"></el-input>
|
|
|
+ <el-input type="number" step="0.1" v-model.number="scope.row.ActionValue" style="width: 160px" size="mini"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
@@ -227,34 +227,34 @@
|
|
|
<el-table :data="deviationData" border style="width: 100%">
|
|
|
<el-table-column align="center" prop="GasValue" label="标准气体浓度值(%LEL)" width="180">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input type="number" step="0.01" v-model.number="scope.row.GasValue" style="width: 100%" size="mini"></el-input>
|
|
|
+ <el-input type="number" step="0.1" v-model.number="scope.row.GasValue" style="width: 100%" size="mini" :disabled="true"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" label="仪器示值(%LEL)" min-width="180">
|
|
|
<el-table-column align="center" prop="Value1" label="1">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input @blur="getDeValueAvg(scope.row)" type="number" step="0.01" v-model.number="scope.row.Value1" style="width: 100%" size="mini"></el-input>
|
|
|
+ <el-input @blur="getDeValueAvg(scope.row)" type="number" step="0.1" v-model.number="scope.row.Value1" style="width: 100%" size="mini"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" prop="Value2" label="2">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input @blur="getDeValueAvg(scope.row)" type="number" step="0.01" v-model.number="scope.row.Value2" style="width: 100%" size="mini"></el-input>
|
|
|
+ <el-input @blur="getDeValueAvg(scope.row)" type="number" step="0.1" v-model.number="scope.row.Value2" style="width: 100%" size="mini"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" prop="Value3" label="3">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input @blur="getDeValueAvg(scope.row)" type="number" step="0.01" v-model.number="scope.row.Value3" style="width: 100%" size="mini"></el-input>
|
|
|
+ <el-input @blur="getDeValueAvg(scope.row)" type="number" step="0.1" v-model.number="scope.row.Value3" style="width: 100%" size="mini"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" prop="AvgValue" label="平均值">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input type="number" step="0.01" v-model.number="scope.row.AvgValue" style="width: 100%" size="mini"></el-input>
|
|
|
+ <el-input type="number" step="0.1" v-model.number="scope.row.AvgValue" style="width: 100%" size="mini"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" prop="Deviation" label="示值误差(%FS)" min-width="180">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input type="number" step="0.01" v-model.number="scope.row.Deviation" style="width: 100%" size="mini"></el-input>
|
|
|
+ <el-input type="number" step="0.1" v-model.number="scope.row.Deviation" style="width: 100%" size="mini"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
@@ -267,28 +267,28 @@
|
|
|
<el-table :data="responseTimeData" border style="width: 100%">
|
|
|
<el-table-column align="center" prop="GasValue" label="标准气体浓度值(×10-6 mol/mol)" width="180">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input type="number" step="0.01" v-model.number="scope.row.GasValue" style="width: 100%" size="mini"></el-input>
|
|
|
+ <el-input type="number" step="0.1" v-model.number="scope.row.GasValue" style="width: 100%" size="mini"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" label="时间" min-width="180">
|
|
|
<el-table-column align="center" prop="Value1" label="1">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input type="number" step="0.01" v-model.number="scope.row.Value1" style="width: 100%" size="mini"></el-input>
|
|
|
+ <el-input type="number" step="0.1" v-model.number="scope.row.Value1" style="width: 100%" size="mini"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" prop="Value2" label="2">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input type="number" step="0.01" v-model.number="scope.row.Value2" style="width: 100%" size="mini"></el-input>
|
|
|
+ <el-input type="number" step="0.1" v-model.number="scope.row.Value2" style="width: 100%" size="mini"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" prop="Value3" label="3">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input type="number" step="0.01" v-model.number="scope.row.Value3" style="width: 100%" size="mini"></el-input>
|
|
|
+ <el-input type="number" step="0.1" v-model.number="scope.row.Value3" style="width: 100%" size="mini"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" prop="Deviation" label="响应时间">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input type="number" step="0.01" v-model.number="scope.row.Deviation" style="width: 100%" size="mini"></el-input>
|
|
|
+ <el-input type="number" step="0.1" v-model.number="scope.row.Deviation" style="width: 100%" size="mini"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
|
@@ -302,49 +302,49 @@
|
|
|
<el-table :data="RepeatData" border style="width: 100%">
|
|
|
<el-table-column align="center" prop="GasValue" label="标准气体浓度值(%LEL)" width="180">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input type="number" step="0.01" v-model.number="scope.row.GasValue" style="width: 100%" size="mini"></el-input>
|
|
|
+ <el-input type="number" step="0.1" v-model.number="scope.row.GasValue" style="width: 100%" size="mini" :disabled="true"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" prop="name" label="仪器示值(%LEL)" min-width="180">
|
|
|
<el-table-column align="center" prop="Value1" label="1">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input @blur="getRepeValueAvg(scope.row)" type="number" step="0.01" v-model.number="scope.row.Value1" style="width: 100%" size="mini"></el-input>
|
|
|
+ <el-input @blur="getRepeValueAvg(scope.row)" type="number" step="0.1" v-model.number="scope.row.Value1" style="width: 100%" size="mini"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" prop="Value2" label="2">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input @blur="getRepeValueAvg(scope.row)" type="number" step="0.01" v-model.number="scope.row.Value2" style="width: 100%" size="mini"></el-input>
|
|
|
+ <el-input @blur="getRepeValueAvg(scope.row)" type="number" step="0.1" v-model.number="scope.row.Value2" style="width: 100%" size="mini"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" prop="Value3" label="3">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input @blur="getRepeValueAvg(scope.row)" type="number" step="0.01" v-model.number="scope.row.Value3" style="width: 100%" size="mini"></el-input>
|
|
|
+ <el-input @blur="getRepeValueAvg(scope.row)" type="number" step="0.1" v-model.number="scope.row.Value3" style="width: 100%" size="mini"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" prop="Value4" label="4">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input @blur="getRepeValueAvg(scope.row)" type="number" step="0.01" v-model.number="scope.row.Value4" style="width: 100%" size="mini"></el-input>
|
|
|
+ <el-input @blur="getRepeValueAvg(scope.row)" type="number" step="0.1" v-model.number="scope.row.Value4" style="width: 100%" size="mini"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" prop="Value5" label="5">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input @blur="getRepeValueAvg(scope.row)" type="number" step="0.01" v-model.number="scope.row.Value5" style="width: 100%" size="mini"></el-input>
|
|
|
+ <el-input @blur="getRepeValueAvg(scope.row)" type="number" step="0.1" v-model.number="scope.row.Value5" style="width: 100%" size="mini"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" prop="Value6" label="6">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input @blur="getRepeValueAvg(scope.row)" type="number" step="0.01" v-model.number="scope.row.Value6" style="width: 100%" size="mini"></el-input>
|
|
|
+ <el-input @blur="getRepeValueAvg(scope.row)" type="number" step="0.1" v-model.number="scope.row.Value6" style="width: 100%" size="mini"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" prop="AvgValue" label="平均值">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input type="number" step="0.01" v-model.number="scope.row.AvgValue" style="width: 100%" size="mini"></el-input>
|
|
|
+ <el-input type="number" step="0.1" v-model.number="scope.row.AvgValue" style="width: 100%" size="mini"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" prop="RepeatValue" label="重复性(%)" min-width="180">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input type="number" step="0.01" v-model.number="scope.row.RepeatValue" style="width: 100%" size="mini"></el-input>
|
|
|
+ <el-input type="number" step="0.1" v-model.number="scope.row.RepeatValue" style="width: 100%" size="mini"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
@@ -359,47 +359,47 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="value0" align="center" label="0">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input type="number" step="0.01" v-model.number="scope.row.Value0" style="width: 100%" size="mini"></el-input>
|
|
|
+ <el-input type="number" step="0.1" v-model.number="scope.row.Value0" style="width: 100%" size="mini"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="value1" align="center" label="1h (10min)" min-width="80">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input type="number" step="0.01" v-model.number="scope.row.Value1" style="width: 100%" size="mini"></el-input>
|
|
|
+ <el-input type="number" step="0.1" v-model.number="scope.row.Value1" style="width: 100%" size="mini"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="value2" align="center" label="2h (20min)" min-width="80">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input type="number" step="0.01" v-model.number="scope.row.Value2" style="width: 100%" size="mini"></el-input>
|
|
|
+ <el-input type="number" step="0.1" v-model.number="scope.row.Value2" style="width: 100%" size="mini"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="value3" align="center" label="3h (30min)" min-width="80">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input type="number" step="0.01" v-model.number="scope.row.Value3" style="width: 100%" size="mini"></el-input>
|
|
|
+ <el-input type="number" step="0.1" v-model.number="scope.row.Value3" style="width: 100%" size="mini"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="value4" align="center" label="4h (40min)" min-width="80">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input type="number" step="0.01" v-model.number="scope.row.Value4" style="width: 100%" size="mini"></el-input>
|
|
|
+ <el-input type="number" step="0.1" v-model.number="scope.row.Value4" style="width: 100%" size="mini"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="value5" align="center" label="5h (50min)" min-width="80">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input type="number" step="0.01" v-model.number="scope.row.Value5" style="width: 100%" size="mini"></el-input>
|
|
|
+ <el-input type="number" step="0.1" v-model.number="scope.row.Value5" style="width: 100%" size="mini"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="value6" align="center" label="6h (60min)" min-width="80">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input type="number" step="0.01" v-model.number="scope.row.Value6" style="width: 100%" size="mini"></el-input>
|
|
|
+ <el-input type="number" step="0.1" v-model.number="scope.row.Value6" style="width: 100%" size="mini"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" prop="ZeroValue" label="零点漂移(%FS)" min-width="150">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input type="number" step="0.01" v-model.number="scope.row.ZeroValue" style="width: 100%" size="mini"></el-input>
|
|
|
+ <el-input type="number" step="0.1" v-model.number="scope.row.ZeroValue" style="width: 100%" size="mini"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" prop="ShowValue" label="量程漂移(%FS)" min-width="150">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input type="number" step="0.01" v-model.number="scope.row.ShowValue" style="width: 100%" size="mini"></el-input>
|
|
|
+ <el-input type="number" step="0.1" v-model.number="scope.row.ShowValue" style="width: 100%" size="mini"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
@@ -573,7 +573,7 @@
|
|
|
}],
|
|
|
//示值误差及响应时间
|
|
|
deviationData: [{
|
|
|
- GasValue: '',
|
|
|
+ GasValue: 10,
|
|
|
Value1: '',
|
|
|
Value2: '',
|
|
|
Value3: '',
|
|
|
@@ -582,7 +582,7 @@
|
|
|
DeviationRelative: '0',
|
|
|
Deviation: ''
|
|
|
}, {
|
|
|
- GasValue: '',
|
|
|
+ GasValue: 40.2,
|
|
|
Value1: '',
|
|
|
Value2: '',
|
|
|
Value3: '',
|
|
|
@@ -591,7 +591,7 @@
|
|
|
DeviationRelative: '0',
|
|
|
Deviation: ''
|
|
|
}, {
|
|
|
- GasValue: '',
|
|
|
+ GasValue: 60.8,
|
|
|
Value1: '',
|
|
|
Value2: '',
|
|
|
Value3: '',
|
|
|
@@ -628,7 +628,7 @@
|
|
|
RepeatValue: ''
|
|
|
},
|
|
|
RepeatData: [{
|
|
|
- GasValue: '',
|
|
|
+ GasValue: 40.2,
|
|
|
Value1: '',
|
|
|
Value2: '',
|
|
|
Value3: '',
|
|
|
@@ -805,7 +805,7 @@
|
|
|
sum = sum + parseInt(row.Value3)
|
|
|
}
|
|
|
if (divisor !== 0) {
|
|
|
- row.AvgValue = (sum / divisor).toFixed(2)
|
|
|
+ row.AvgValue = (sum / divisor).toFixed(1)
|
|
|
} else {
|
|
|
row.AvgValue = '0'
|
|
|
}
|
|
|
@@ -838,7 +838,7 @@
|
|
|
sum = sum + parseInt(row.Value6)
|
|
|
}
|
|
|
if (divisor !== 0) {
|
|
|
- row.AvgValue = (sum / divisor).toFixed(2)
|
|
|
+ row.AvgValue = (sum / divisor).toFixed(1)
|
|
|
} else {
|
|
|
row.AvgValue = '0'
|
|
|
}
|