Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
W
whp-xl
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
lizhichao
whp-xl
Commits
abc222dd
Commit
abc222dd
authored
Jun 25, 2021
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
设备管理问题修改 gengdidi
parent
2fac5e5c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
SafetyDeviceMg.vue
...hcsystem-master/src/views/SafetyDevice/SafetyDeviceMg.vue
+3
-3
SafetyDeviceMgEdit.vue
...stem-master/src/views/SafetyDevice/SafetyDeviceMgEdit.vue
+2
-2
No files found.
dcit-hcsystem-hcsystem-master/src/views/SafetyDevice/SafetyDeviceMg.vue
View file @
abc222dd
...
...
@@ -5,8 +5,8 @@
<el-form
:inline=
"true"
:model=
"searchData"
>
<el-form-item
label=
""
>
<el-select
v-model=
"searchData.dataType"
placeholder=
"请选择设备类型"
>
<el-option
label=
"监控设备"
value=
"
5
"
></el-option>
<el-option
label=
"传感器"
value=
"
6
"
></el-option>
<el-option
label=
"监控设备"
value=
"
1
"
></el-option>
<el-option
label=
"传感器"
value=
"
2
"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
""
>
...
...
@@ -41,7 +41,7 @@
<el-table-column
prop=
"deviceName"
label=
"设备名称"
></el-table-column>
<el-table-column
prop=
"deviceName"
label=
"设备类型"
>
<template
slot-scope=
"scope"
>
<font>
{{
scope
.
row
.
dataType
==
5
?
'监控设备'
:
'传感器'
}}
</font>
<font>
{{
scope
.
row
.
dataType
==
1
?
'监控设备'
:
'传感器'
}}
</font>
</
template
>
</el-table-column>
<el-table-column
prop=
"deviceIp"
label=
"设备IP"
></el-table-column>
...
...
dcit-hcsystem-hcsystem-master/src/views/SafetyDevice/SafetyDeviceMgEdit.vue
View file @
abc222dd
...
...
@@ -19,8 +19,8 @@
</el-form-item>
<el-form-item
label=
"设备类型"
prop=
"dataType"
>
<el-select
v-model=
"editForm.dataType"
>
<el-option
label=
"监控设备"
value=
"
5
"
></el-option>
<el-option
label=
"传感器"
value=
"
6
"
></el-option>
<el-option
label=
"监控设备"
value=
"
1
"
></el-option>
<el-option
label=
"传感器"
value=
"
2
"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"设备名称"
prop=
"deviceName"
>
...
...
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