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
0841da97
Commit
0841da97
authored
Aug 04, 2021
by
yaqizhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
设备监控
parent
b64d106b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
17 deletions
+17
-17
index.vue
gassafety-web/src/views/device/devicemonitor/index.vue
+17
-17
No files found.
gassafety-web/src/views/device/devicemonitor/index.vue
View file @
0841da97
...
@@ -6,18 +6,18 @@
...
@@ -6,18 +6,18 @@
<el-input
placeholder=
"请输入设备阈值"
style=
"width: 300px;margin-left: 50px;"
></el-input>
<el-input
placeholder=
"请输入设备阈值"
style=
"width: 300px;margin-left: 50px;"
></el-input>
</el-row>
</el-row>
<el-button
type=
"primary"
class=
"el-icon-plus clolos1"
@
click=
"addPdfFile"
style=
"margin-top: 20px;margin-bottom: 20px;"
>
新增关联设备
</el-button>
<el-button
type=
"primary"
class=
"el-icon-plus clolos1"
@
click=
"addPdfFile"
style=
"margin-top: 20px;margin-bottom: 20px;"
>
新增关联设备
</el-button>
<div
class=
"add_pdf"
v-for=
"(item, index) in addPdf"
:key=
"index"
>
<div
class=
"add_pdf"
v-for=
"(item, index) in addPdf"
:key=
"index"
style=
"margin-bottom: 30px;"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"80px"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"80px"
>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"11"
style=
"float: left;box-shadow: rgb(233, 229, 229) 3px 3px 7px 2px;padding-top: 20px;padding-left: 15px;"
>
<el-col
:span=
"11"
style=
"float: left;box-shadow: rgb(233, 229, 229) 3px 3px 7px 2px;padding-top: 20px;padding-left: 15px;"
>
<el-form-item
label=
"关联管道"
prop=
"pipeCode"
>
<el-form-item
label=
"关联管道
:
"
prop=
"pipeCode"
>
<el-input
placeholder=
"请输入关联管道名称"
style=
"width: 300px
;margin-left: 20px;"
></el-input>
<el-input
v-model=
"form.sss"
placeholder=
"请输入关联管道名称"
style=
"width: 40%
;margin-left: 20px;"
></el-input>
<el-input
placeholder=
"请输入关联管道阈值"
style=
"width: 300px
;margin-left: 50px;"
></el-input>
<el-input
v-model=
"form.aaa"
placeholder=
"请输入关联管道阈值"
style=
"width: 40%
;margin-left: 50px;"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"关联设备"
prop=
"pipeCode"
>
<el-form-item
label=
"关联设备
:
"
prop=
"pipeCode"
>
<el-input
placeholder=
"请输入关联设备名称"
style=
"width:
300px
;margin-left: 20px;"
></el-input>
<el-input
placeholder=
"请输入关联设备名称"
style=
"width:
40%
;margin-left: 20px;"
></el-input>
<el-input
placeholder=
"请输入关联设备阈值"
style=
"width:
300px
;margin-left: 50px;"
></el-input>
<el-input
placeholder=
"请输入关联设备阈值"
style=
"width:
40%
;margin-left: 50px;"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<div
style=
"float: left;margin-top: 50px;margin-left: 50px;"
>
<div
style=
"float: left;margin-top: 50px;margin-left: 50px;"
>
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
</el-row>
</el-row>
</el-form>
</el-form>
<!--
<div
v-show=
"index !== 0"
>
-->
<!--
<div
v-show=
"index !== 0"
>
-->
</div>
<el-form
label-width=
"100px"
>
<el-form
label-width=
"100px"
>
<el-form-item
style=
"margin-left:200px;margin-top:40px;"
>
<el-form-item
style=
"margin-left:200px;margin-top:40px;"
>
<el-button
type=
"primary"
@
click=
"submitForm()"
>
提交
</el-button>
<el-button
type=
"primary"
@
click=
"submitForm()"
>
提交
</el-button>
...
@@ -33,7 +34,6 @@
...
@@ -33,7 +34,6 @@
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -41,15 +41,15 @@
...
@@ -41,15 +41,15 @@
data
()
{
data
()
{
return
{
return
{
addPdf
:
[
1
],
addPdf
:
[
1
],
form
:{}
form
:
{}
};
};
},
},
methods
:{
methods
:{
addPdfFile
(){
addPdfFile
(){
this
.
addPdf
.
push
([]);
},
},
deletePdf
(){
deletePdf
(
index
){
this
.
addPdf
.
splice
(
index
,
1
);
}
}
}
}
}
}
...
...
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