|
@@ -1,10 +1,21 @@
|
|
|
<template>
|
|
|
<div class="app-container">
|
|
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
|
|
- <el-form-item label="报文类型" prop="bwlx">
|
|
|
- <el-select v-model="queryParams.bwlx" placeholder="请选择报文类型" clearable>
|
|
|
+<!-- <el-form-item label="报文类型" prop="bwlx">-->
|
|
|
+<!-- <el-select v-model="queryParams.bwlx" placeholder="请选择报文类型" clearable>-->
|
|
|
+<!-- <el-option-->
|
|
|
+<!-- v-for="dict in dict.type.WL004"-->
|
|
|
+<!-- :key="dict.value"-->
|
|
|
+<!-- :label="dict.label"-->
|
|
|
+<!-- :value="dict.value"-->
|
|
|
+<!-- />-->
|
|
|
+<!-- </el-select>-->
|
|
|
+<!-- </el-form-item>-->
|
|
|
+
|
|
|
+ <el-form-item label="信息类型" prop="xxlx">
|
|
|
+ <el-select v-model="queryParams.xxlx" placeholder="请选择信息类型" clearable>
|
|
|
<el-option
|
|
|
- v-for="dict in dict.type.WL004"
|
|
|
+ v-for="dict in dict.type.WL015"
|
|
|
:key="dict.value"
|
|
|
:label="dict.label"
|
|
|
:value="dict.value"
|
|
@@ -82,9 +93,9 @@
|
|
|
{{ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1 }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="报文类型" align="center" prop="bwlx">
|
|
|
+ <el-table-column label="信息类型" align="center" prop="xxlx">
|
|
|
<template slot-scope="scope">
|
|
|
- <dict-tag :options="dict.type.WL004" :value="scope.row.bwlx"/>
|
|
|
+ <dict-tag :options="dict.type.WL015" :value="scope.row.xxlx"/>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="设备编号" align="center" prop="sbbh"/>
|
|
@@ -94,7 +105,7 @@
|
|
|
<span>{{ special(scope.row.sbsj, 'time') }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="触发原因" align="center" prop="cfjg"/>
|
|
|
+ <el-table-column label="触发结果" align="center" prop="cfjg"/>
|
|
|
<el-table-column label="是否处理" align="center" prop="iscl">
|
|
|
<template slot-scope="scope">
|
|
|
<dict-tag :options="dict.type.CZ035" :value="scope.row.iscl"/>
|
|
@@ -103,7 +114,7 @@
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button
|
|
|
- v-if="scope.row.iscl === '0'"
|
|
|
+ v-if="scope.row.iscl === '0' && scope.row.xxlx === '监控报警'"
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
icon="el-icon-edit"
|
|
@@ -145,26 +156,38 @@
|
|
|
<h3>智能硬件报文信息</h3>
|
|
|
<table>
|
|
|
<tr>
|
|
|
+ <td>信息类型</td>
|
|
|
+ <td>{{ translateDict('WL015', form.xxlx) }}</td>
|
|
|
<td>报文类型</td>
|
|
|
<td>{{ translateDict('WL004', form.bwlx) }}</td>
|
|
|
- <td>设备编号</td>
|
|
|
- <td>{{ form.sbbh }}</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
+ <td>设备编号</td>
|
|
|
+ <td>{{ form.sbbh }}</td>
|
|
|
<td>归属老人</td>
|
|
|
<td>{{ form.lrXm }}</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
<td>接收时间</td>
|
|
|
<td>{{ special(form.sbsj, 'time') }}</td>
|
|
|
+ <td>触发结果</td>
|
|
|
+ <td>{{ form.cfjg }}</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <td>触发原因</td>
|
|
|
- <td>{{ form.cfjg }}</td>
|
|
|
- <td>处理结果</td>
|
|
|
- <td>{{ form.cljg }}</td>
|
|
|
+ <td>附加信息</td>
|
|
|
+ <td colspan="3">{{ form.fjxx1 }}</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>附加信息</td>
|
|
|
+ <td colspan="3">{{ form.fjxx2 }}</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <td>报文信息</td>
|
|
|
- <td colspan="3">{{ form.jbsj }}</td>
|
|
|
+ <td>附加信息</td>
|
|
|
+ <td colspan="3">{{ form.fjxx3 }}</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>处理结果</td>
|
|
|
+ <td colspan="3">{{ form.cljg }}</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
</el-scrollbar>
|
|
@@ -198,7 +221,7 @@ import {mapState} from "vuex";
|
|
|
|
|
|
export default {
|
|
|
name: "Yjbw",
|
|
|
- dicts: ['WL004', 'CZ035'],
|
|
|
+ dicts: ['WL004', 'WL015', 'CZ035'],
|
|
|
computed: {
|
|
|
...mapState(['user'])
|
|
|
},
|
|
@@ -235,6 +258,7 @@ export default {
|
|
|
bwlx: null,
|
|
|
sbbh: null,
|
|
|
lrId: null,
|
|
|
+ xxlx: '监控报警',
|
|
|
},
|
|
|
paramJg: '',
|
|
|
// 表单参数
|