|
|
@ -118,8 +118,8 @@ |
|
|
|
|
|
|
|
|
<!-- 列表 --> |
|
|
<!-- 列表 --> |
|
|
<ContentWrap> |
|
|
<ContentWrap> |
|
|
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true"> |
|
|
|
|
|
<el-table-column type="selection" width="55" /> |
|
|
|
|
|
|
|
|
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="false"> |
|
|
|
|
|
<!-- <el-table-column type="selection" width="55" /> --> |
|
|
<el-table-column label="持有人" align="center" prop="name"> |
|
|
<el-table-column label="持有人" align="center" prop="name"> |
|
|
<!-- <template #default="scope"> |
|
|
<!-- <template #default="scope"> |
|
|
{{ |
|
|
{{ |
|
|
@ -128,11 +128,14 @@ |
|
|
}} |
|
|
}} |
|
|
</template> --> |
|
|
</template> --> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column label="设备编号" align="center" prop="sn" /> |
|
|
|
|
|
|
|
|
<el-table-column label="设备编号" align="center" prop="sn" width="150"/> |
|
|
<el-table-column label="经度" align="center" prop="longitude" /> |
|
|
<el-table-column label="经度" align="center" prop="longitude" /> |
|
|
<el-table-column label="纬度" align="center" prop="latitude" /> |
|
|
<el-table-column label="纬度" align="center" prop="latitude" /> |
|
|
<el-table-column label="气体数值" align="center" prop="value" /> |
|
|
<el-table-column label="气体数值" align="center" prop="value" /> |
|
|
<el-table-column label="电量" align="center" prop="battery" /> |
|
|
<el-table-column label="电量" align="center" prop="battery" /> |
|
|
|
|
|
<el-table-column label="信号" align="center" prop="sig" width="160"/> |
|
|
|
|
|
<el-table-column label="内存(KB)" align="center" prop="mem" :formatter="formatByte" width="90" /> |
|
|
|
|
|
<el-table-column label="开机(秒)" align="center" prop="boot" width="90" /> |
|
|
|
|
|
|
|
|
<!-- <el-table-column label="气体类型" align="center" prop="gasType"></el-table-column> --> |
|
|
<!-- <el-table-column label="气体类型" align="center" prop="gasType"></el-table-column> --> |
|
|
<!-- <el-table-column label="首报值" align="center" prop="vAlarmFirst" /> |
|
|
<!-- <el-table-column label="首报值" align="center" prop="vAlarmFirst" /> |
|
|
@ -157,7 +160,7 @@ |
|
|
align="center" |
|
|
align="center" |
|
|
prop="ts" |
|
|
prop="ts" |
|
|
:formatter="dateFormatter" |
|
|
:formatter="dateFormatter" |
|
|
width="180px" |
|
|
|
|
|
|
|
|
width="160px" |
|
|
/> |
|
|
/> |
|
|
</el-table> |
|
|
</el-table> |
|
|
<!-- 分页 --> |
|
|
<!-- 分页 --> |
|
|
@ -181,6 +184,8 @@ |
|
|
|
|
|
|
|
|
<script setup lang="ts"> |
|
|
<script setup lang="ts"> |
|
|
import { dateFormatter } from '@/utils/formatTime' |
|
|
import { dateFormatter } from '@/utils/formatTime' |
|
|
|
|
|
import { formatByte } from '@/utils/formatter' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import { tdengineApi, tdStruct, tdQuery } from '@/api/gas/tdengine/index' |
|
|
import { tdengineApi, tdStruct, tdQuery } from '@/api/gas/tdengine/index' |
|
|
// import HandAlarmForm from './HandAlarmForm.vue' |
|
|
// import HandAlarmForm from './HandAlarmForm.vue' |
|
|
|