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
16d47dbb
Commit
16d47dbb
authored
Aug 03, 2021
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
监控设备 gengdidi
parent
42ff83c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
53 additions
and
0 deletions
+53
-0
index.vue
gassafety-web/src/views/device/devicemonitor/index.vue
+53
-0
No files found.
gassafety-web/src/views/device/devicemonitor/index.vue
0 → 100644
View file @
16d47dbb
<
template
>
<div>
<el-row
:gutter=
"20"
>
<span>
新增设备
</span>
<el-input
placeholder=
"请输入设备名称"
></el-input>
<el-input
placeholder=
"请输入设备阈值"
></el-input>
</el-row>
<i
class=
"el-icon-circle-plus-outline clolos1"
@
click=
"addPdfFile"
></i>
//加号(增加一行)
<div
class=
"add_pdf"
v-for=
"(item, index) in addPdf"
:key=
"index"
>
<div
v-show=
"index !== 0"
>
<i
class=
"el-icon-delete clolos clolos3"
@
click=
"deletePdf(index)"
></i>
//减号(删除一行)
</div>
<el-form
ref=
"form"
:model=
"form"
label-width=
"80px"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"10"
>
<el-form-item
label=
"关联管道"
prop=
"pipeCode"
>
<el-input
placeholder=
"请输入关联管道名称"
></el-input>
<el-input
placeholder=
"请输入关联管道阈值"
></el-input>
</el-form-item>
<el-form-item
label=
"关联设备"
prop=
"pipeCode"
>
<el-input
placeholder=
"请输入关联设备名称"
></el-input>
<el-input
placeholder=
"请输入关联设备阈值"
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
</div>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
addPdf
:
[
1
],
form
:{}
};
},
methods
:{
addPdfFile
(){
},
deletePdf
(){
}
}
}
</
script
>
<
style
lang=
'scss'
scoped
>
</
style
>
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