|
|
@ -121,6 +121,9 @@
|
|
|
|
<el-table-column label="计量设备编号" align="center" prop="monitorCode" v-if="columns[1].visible"/>
|
|
|
|
<el-table-column label="计量设备编号" align="center" prop="monitorCode" v-if="columns[1].visible"/>
|
|
|
|
<el-table-column label="计量设备名称" align="center" prop="monitorName" v-if="columns[12].visible"/>
|
|
|
|
<el-table-column label="计量设备名称" align="center" prop="monitorName" v-if="columns[12].visible"/>
|
|
|
|
<el-table-column label="耗量" align="center" prop="expend" v-if="columns[3].visible"/>
|
|
|
|
<el-table-column label="耗量" align="center" prop="expend" v-if="columns[3].visible"/>
|
|
|
|
|
|
|
|
<el-table-column label="仪表值" align="center" prop="instrumentValue" v-if="columns[2].visible"/>
|
|
|
|
|
|
|
|
<el-table-column label="发电量" align="center" prop="powerExpend" v-if="columns[13].visible"/>
|
|
|
|
|
|
|
|
<el-table-column label="反向有功仪表值" align="center" prop="powerValue" v-if="columns[14].visible"/>
|
|
|
|
<el-table-column label="记录时间" align="center" prop="recordTime" width="180" v-if="columns[4].visible">
|
|
|
|
<el-table-column label="记录时间" align="center" prop="recordTime" width="180" v-if="columns[4].visible">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<span>{{ parseTime(scope.row.recordTime, '{y}-{m}-{d} {h}:{i}:{s}') }}</span>
|
|
|
|
<span>{{ parseTime(scope.row.recordTime, '{y}-{m}-{d} {h}:{i}:{s}') }}</span>
|
|
|
@ -136,7 +139,6 @@
|
|
|
|
<span>{{ parseTime(scope.row.endTime, '{y}-{m}-{d} {h}:{i}:{s}') }}</span>
|
|
|
|
<span>{{ parseTime(scope.row.endTime, '{y}-{m}-{d} {h}:{i}:{s}') }}</span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="仪表值" align="center" prop="instrumentValue" v-if="columns[2].visible"/>
|
|
|
|
|
|
|
|
<el-table-column label="修改标识" align="center" prop="updateFlag" v-if="columns[7].visible">
|
|
|
|
<el-table-column label="修改标识" align="center" prop="updateFlag" v-if="columns[7].visible">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<dict-tag :options="dict.type.update_flag" :value="scope.row.updateFlag"/>
|
|
|
|
<dict-tag :options="dict.type.update_flag" :value="scope.row.updateFlag"/>
|
|
|
@ -183,11 +185,17 @@
|
|
|
|
<el-form-item label="计量设备名称" prop="monitorName">
|
|
|
|
<el-form-item label="计量设备名称" prop="monitorName">
|
|
|
|
<el-input v-model="form.monitorName" placeholder="计量设备名称" disabled/>
|
|
|
|
<el-input v-model="form.monitorName" placeholder="计量设备名称" disabled/>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="耗量" prop="expend">
|
|
|
|
|
|
|
|
<el-input v-model="form.expend" placeholder="请输入耗量"/>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="仪表值" prop="instrumentValue">
|
|
|
|
<el-form-item label="仪表值" prop="instrumentValue">
|
|
|
|
<el-input v-model="form.instrumentValue" placeholder="请输入仪表值"/>
|
|
|
|
<el-input v-model="form.instrumentValue" placeholder="请输入仪表值"/>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="耗量" prop="expend">
|
|
|
|
<el-form-item label="发电量" prop="powerExpend">
|
|
|
|
<el-input v-model="form.expend" placeholder="请输入耗量"/>
|
|
|
|
<el-input v-model="form.powerExpend" placeholder="请输入发电量"/>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="反向有功仪表值" prop="powerValue">
|
|
|
|
|
|
|
|
<el-input v-model="form.powerValue" placeholder="请输入反向有功仪表值"/>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<!-- <el-form-item label="记录时间" prop="recordTime">-->
|
|
|
|
<!-- <el-form-item label="记录时间" prop="recordTime">-->
|
|
|
|
<!-- <el-date-picker clearable-->
|
|
|
|
<!-- <el-date-picker clearable-->
|
|
|
@ -293,6 +301,8 @@ export default {
|
|
|
|
recordTime: null,
|
|
|
|
recordTime: null,
|
|
|
|
beginTime: null,
|
|
|
|
beginTime: null,
|
|
|
|
endTime: null,
|
|
|
|
endTime: null,
|
|
|
|
|
|
|
|
powerExpend: null,
|
|
|
|
|
|
|
|
powerValue: null,
|
|
|
|
updateFlag: null
|
|
|
|
updateFlag: null
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 表单参数
|
|
|
|
// 表单参数
|
|
|
@ -306,7 +316,7 @@ export default {
|
|
|
|
columns: [
|
|
|
|
columns: [
|
|
|
|
{ key: 0, label: `主键标识`, visible: false },
|
|
|
|
{ key: 0, label: `主键标识`, visible: false },
|
|
|
|
{ key: 1, label: `计量设备编号`, visible: true },
|
|
|
|
{ key: 1, label: `计量设备编号`, visible: true },
|
|
|
|
{ key: 2, label: `仪表值`, visible: true },
|
|
|
|
{ key: 2, label: `仪表值`, visible: false },
|
|
|
|
{ key: 3, label: `耗量`, visible: true },
|
|
|
|
{ key: 3, label: `耗量`, visible: true },
|
|
|
|
{ key: 4, label: `记录时间`, visible: false },
|
|
|
|
{ key: 4, label: `记录时间`, visible: false },
|
|
|
|
{ key: 5, label: `开始时间`, visible: true },
|
|
|
|
{ key: 5, label: `开始时间`, visible: true },
|
|
|
@ -316,7 +326,9 @@ export default {
|
|
|
|
{ key: 9, label: `创建时间`, visible: false },
|
|
|
|
{ key: 9, label: `创建时间`, visible: false },
|
|
|
|
{ key: 10, label: `更新人`, visible: false },
|
|
|
|
{ key: 10, label: `更新人`, visible: false },
|
|
|
|
{ key: 11, label: `更新时间`, visible: false },
|
|
|
|
{ key: 11, label: `更新时间`, visible: false },
|
|
|
|
{ key: 12, label: `计量设备名称`, visible: true }
|
|
|
|
{ key: 12, label: `计量设备名称`, visible: true },
|
|
|
|
|
|
|
|
{ key: 13, label: `发电量`, visible: true },
|
|
|
|
|
|
|
|
{ key: 14, label: `反向有功仪表值`, visible: false },
|
|
|
|
]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|