Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
耿迪迪
gassafety
Commits
13556055
Commit
13556055
authored
Apr 03, 2023
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报警详情地图初始化问题修改
parent
27e7f7bc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
48 deletions
+46
-48
index.vue
gassafety-web/src/views/dataMonitoring/alarmdetail/index.vue
+46
-48
No files found.
gassafety-web/src/views/dataMonitoring/alarmdetail/index.vue
View file @
13556055
...
...
@@ -74,54 +74,6 @@
<el-divider></el-divider>
<el-row
v-if=
"this.deviceType=='调压阀'||this.deviceType=='阀门井'"
style=
"width: 100%;height: 45px;margin-top: -15px;"
>
<el-col
:span=
"14"
style=
"margin-bottom: -10px;"
>
<div
style=
"color: #31EAEA;"
>
<ul><li>
下级设备信息
</li></ul>
</div>
</el-col>
</el-row>
<el-row
v-if=
"this.deviceType=='调压阀'||this.deviceType=='阀门井'"
>
<el-col
:span=
"36"
style=
"padding: 20px;width: 100%;"
>
<div
style=
"width: 100%;float: left;height: 100%;"
>
<el-table
:data=
"deviceInfoList"
style=
"width: 100%"
>
<el-table-column
label=
"设备名称"
align=
"center"
prop=
"deviceName"
/>
<el-table-column
label=
"设备编号"
align=
"center"
prop=
"deviceCode"
/>
<el-table-column
label=
"浓度"
align=
"center"
prop=
"potency"
/>
<el-table-column
label=
"设备状态"
align=
"center"
prop=
"deviceType"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.status == 0"
>
预热
</span>
<span
v-if=
"scope.row.status == 1"
>
正常
</span>
<span
v-if=
"scope.row.status == 2"
>
错误
</span>
<span
v-if=
"scope.row.status == 3"
>
传感器故障
</span>
<span
v-if=
"scope.row.status == 4"
>
报警
</span>
<span
v-if=
"scope.row.status == 5"
>
低报
</span>
<span
v-if=
"scope.row.status == 6"
>
高报
</span>
<span
v-if=
"scope.row.status == 7"
>
通信故障
</span>
<span
v-if=
"scope.row.status == 8"
>
通信故障
</span>
<span
v-if=
"scope.row.status == 9"
>
离线
</span>
<span
v-if=
"scope.row.status == 10"
>
电量低
</span>
<span
v-if=
"scope.row.status == 11"
>
主电故障
</span>
<span
v-if=
"scope.row.status == 12"
>
备电故障
</span>
<span
v-if=
"scope.row.status == 13"
>
无此节点
</span>
<span
v-if=
"scope.row.status == 14"
>
低电压
</span>
<span
v-if=
"scope.row.status == 15"
>
故障
</span>
<span
v-if=
"scope.row.status == 16"
>
报警联动
</span>
<span
v-if=
"scope.row.status == 17"
>
低低报
</span>
<span
v-if=
"scope.row.status == 18"
>
高高报
</span>
<span
v-if=
"scope.row.status == 19"
>
水位淹没报警
</span>
</
template
>
</el-table-column>
</el-table>
</div>
</el-col>
</el-row>
<el-row
style=
"width: 100%;height: 45px;margin-top: -15px;"
>
<el-col
:span=
"24"
style=
"margin-bottom: -10px;"
>
<div
style=
"color: #31EAEA;"
>
...
...
@@ -208,6 +160,52 @@
</el-col>
</el-row>
<el-row
v-if=
"this.deviceType=='调压阀'||this.deviceType=='阀门井'"
style=
"width: 100%;height: 45px;margin-top: -15px;"
>
<el-col
:span=
"14"
style=
"margin-bottom: -10px;"
>
<div
style=
"color: #31EAEA;"
>
<ul><li>
下级设备信息
</li></ul>
</div>
</el-col>
</el-row>
<el-row
v-if=
"this.deviceType=='调压阀'||this.deviceType=='阀门井'"
>
<el-col
:span=
"36"
style=
"padding: 20px;width: 100%;"
>
<div
style=
"width: 100%;float: left;height: 100%;"
>
<el-table
:data=
"deviceInfoList"
style=
"width: 100%"
>
<el-table-column
label=
"设备名称"
align=
"center"
prop=
"deviceName"
/>
<el-table-column
label=
"设备编号"
align=
"center"
prop=
"deviceCode"
/>
<el-table-column
label=
"浓度"
align=
"center"
prop=
"potency"
/>
<el-table-column
label=
"设备状态"
align=
"center"
prop=
"deviceType"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.status == 0"
>
预热
</span>
<span
v-if=
"scope.row.status == 1"
>
正常
</span>
<span
v-if=
"scope.row.status == 2"
>
错误
</span>
<span
v-if=
"scope.row.status == 3"
>
传感器故障
</span>
<span
v-if=
"scope.row.status == 4"
>
报警
</span>
<span
v-if=
"scope.row.status == 5"
>
低报
</span>
<span
v-if=
"scope.row.status == 6"
>
高报
</span>
<span
v-if=
"scope.row.status == 7"
>
通信故障
</span>
<span
v-if=
"scope.row.status == 8"
>
通信故障
</span>
<span
v-if=
"scope.row.status == 9"
>
离线
</span>
<span
v-if=
"scope.row.status == 10"
>
电量低
</span>
<span
v-if=
"scope.row.status == 11"
>
主电故障
</span>
<span
v-if=
"scope.row.status == 12"
>
备电故障
</span>
<span
v-if=
"scope.row.status == 13"
>
无此节点
</span>
<span
v-if=
"scope.row.status == 14"
>
低电压
</span>
<span
v-if=
"scope.row.status == 15"
>
故障
</span>
<span
v-if=
"scope.row.status == 16"
>
报警联动
</span>
<span
v-if=
"scope.row.status == 17"
>
低低报
</span>
<span
v-if=
"scope.row.status == 18"
>
高高报
</span>
<span
v-if=
"scope.row.status == 19"
>
水位淹没报警
</span>
</
template
>
</el-table-column>
</el-table>
</div>
</el-col>
</el-row>
<
template
v-if=
"this.deviceType!=='调压阀'&&this.deviceType!=='阀门井'"
>
<el-row
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment