Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
甘
甘肃陇南
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
xinzhedeai
甘肃陇南
Commits
a7acdf45
Commit
a7acdf45
authored
Aug 14, 2024
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
历史页面导出功能对接联调
parent
6a5fbf6d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
45 deletions
+27
-45
index.vue
src/views/environmentMonitor/historyData/index.vue
+9
-5
index.vue
src/views/environmentMonitor/machine/index.vue
+13
-35
index.vue
src/views/environmentMonitor/warnData/index.vue
+5
-5
No files found.
src/views/environmentMonitor/historyData/index.vue
View file @
a7acdf45
...
@@ -139,9 +139,13 @@
...
@@ -139,9 +139,13 @@
<span>
{{
parseTime
(
scope
.
row
.
time
)
}}
</span>
<span>
{{
parseTime
(
scope
.
row
.
time
)
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"测量值(m),"
align=
"center"
prop=
"svalue"
/>
<el-table-column
label=
"测量值(m)"
align=
"center"
prop=
"svalue"
/>
<el-table-column
label=
"是否报警,"
align=
"center"
prop=
"state"
/>
<el-table-column
label=
"是否报警"
align=
"center"
prop=
"state"
/>
<el-table-column
label=
"数据来源,1在线设备,0人工巡检,"
align=
"center"
prop=
"datasource"
/>
<el-table-column
label=
"数据来源"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
datasource
===
'
0
'
?
'
人工巡检
'
:
'
在线设备
'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"报警级别"
align=
"center"
prop=
"bjjb"
/>
<el-table-column
label=
"报警级别"
align=
"center"
prop=
"bjjb"
/>
<!-- <el-table-column label="创建时间" align="center" prop="createtime" width="180">
<!-- <el-table-column label="创建时间" align="center" prop="createtime" width="180">
<template slot-scope="scope">
<template slot-scope="scope">
...
@@ -204,8 +208,8 @@
...
@@ -204,8 +208,8 @@
<el-form-item
label=
"是否报警,"
prop=
"state"
>
<el-form-item
label=
"是否报警,"
prop=
"state"
>
<el-input
v-model=
"form.state"
placeholder=
"请输入是否报警,"
/>
<el-input
v-model=
"form.state"
placeholder=
"请输入是否报警,"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"数据来源
,1在线设备,0人工巡检,
"
prop=
"datasource"
>
<el-form-item
label=
"数据来源"
prop=
"datasource"
>
<el-input
v-model=
"form.datasource"
placeholder=
"请输入数据来源
,1在线设备,0人工巡检,
"
/>
<el-input
v-model=
"form.datasource"
placeholder=
"请输入数据来源"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"报警级别"
prop=
"bjjb"
>
<el-form-item
label=
"报警级别"
prop=
"bjjb"
>
<el-input
v-model=
"form.bjjb"
placeholder=
"请输入报警级别"
/>
<el-input
v-model=
"form.bjjb"
placeholder=
"请输入报警级别"
/>
...
...
src/views/environmentMonitor/machine/index.vue
View file @
a7acdf45
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
>
新增
</el-button
>
新增
</el-button
>
>
</el-col>
</el-col>
<el-col
:span=
"1.5"
>
<
!--
<
el-col
:span=
"1.5"
>
<el-button
<el-button
type=
"success"
type=
"success"
plain
plain
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
v-hasPermi=
"['business:drybeachequipinfor:remove']"
v-hasPermi=
"['business:drybeachequipinfor:remove']"
>
删除
</el-button
>
删除
</el-button
>
>
</el-col>
</el-col>
-->
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
<el-button
<el-button
type=
"warning"
type=
"warning"
...
@@ -100,12 +100,12 @@
...
@@ -100,12 +100,12 @@
border
border
header-cell-style=
"background-color: #08267d; color: #96dcdf;border:1px solid #409EFF;"
header-cell-style=
"background-color: #08267d; color: #96dcdf;border:1px solid #409EFF;"
>
>
<
el-table-column
type=
"selection"
width=
"55"
align=
"center"
/
>
<
!--
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
--
>
<!--
<el-table-column
label=
"自动增长 "
align=
"center"
prop=
"id"
/>
-->
<!--
<el-table-column
label=
"自动增长 "
align=
"center"
prop=
"id"
/>
-->
<el-table-column
label=
"设备编号"
align=
"center"
prop=
"equipno"
width=
"200"
/>
<el-table-column
label=
"设备编号"
align=
"center"
prop=
"equipno"
width=
"200"
/>
<el-table-column
label=
"设备名称"
align=
"center"
prop=
"equipname"
/>
<el-table-column
label=
"设备名称"
align=
"center"
prop=
"equipname"
/>
<el-table-column
label=
"数值单位"
align=
"center"
prop=
"eqdanwei"
width=
"80"
/>
<el-table-column
label=
"数值单位"
align=
"center"
prop=
"eqdanwei"
width=
"80"
/>
<el-table-column
label=
"监控类型"
align=
"center"
prop=
"device
type
"
width=
"120"
/>
<el-table-column
label=
"监控类型"
align=
"center"
prop=
"device
TypeText
"
width=
"120"
/>
<el-table-column
label=
"报警状态"
align=
"center"
prop=
"state"
width=
"90"
/>
<el-table-column
label=
"报警状态"
align=
"center"
prop=
"state"
width=
"90"
/>
<el-table-column
<el-table-column
...
@@ -127,7 +127,7 @@
...
@@ -127,7 +127,7 @@
<el-table-column
<el-table-column
label=
"创建时间"
label=
"创建时间"
align=
"center"
align=
"center"
prop=
"create
t
ime"
prop=
"create
T
ime"
width=
"180"
width=
"180"
>
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
...
@@ -227,23 +227,18 @@
...
@@ -227,23 +227,18 @@
<el-input
<el-input
v-model=
"form.eqdanwei"
v-model=
"form.eqdanwei"
placeholder=
"请输入数值单位"
placeholder=
"请输入数值单位"
maxlength=
"
2
0"
maxlength=
"
5
0"
/>
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<!-- <el-form-item label="设备码" prop="initialstateno">
<el-input
v-model="form.initialstateno"
placeholder="请输入设备码"
/>
</el-form-item> -->
<el-form-item
label=
"安装位置 "
prop=
"installationlocate"
>
<el-form-item
label=
"安装位置 "
prop=
"installationlocate"
>
<el-input
<el-input
v-model=
"form.installationlocate"
v-model=
"form.installationlocate"
placeholder=
"请输入安装位置 "
placeholder=
"请输入安装位置"
maxlength=
"100"
/>
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -253,7 +248,7 @@
...
@@ -253,7 +248,7 @@
clearable
clearable
v-model=
"form.installationdata"
v-model=
"form.installationdata"
type=
"date"
type=
"date"
value-format=
"yyyy-MM-dd
HH:mm:ss
"
value-format=
"yyyy-MM-dd"
placeholder=
"请选择安装日期"
placeholder=
"请选择安装日期"
>
>
</el-date-picker>
</el-date-picker>
...
@@ -266,7 +261,8 @@
...
@@ -266,7 +261,8 @@
<el-form-item
label=
"生产厂家 "
prop=
"manufacture"
>
<el-form-item
label=
"生产厂家 "
prop=
"manufacture"
>
<el-input
<el-input
v-model=
"form.manufacture"
v-model=
"form.manufacture"
placeholder=
"请输入生产厂家 "
placeholder=
"请输入生产厂家"
maxlength=
"100"
/>
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -275,6 +271,7 @@
...
@@ -275,6 +271,7 @@
<el-input
<el-input
v-model=
"form.pslspeed"
v-model=
"form.pslspeed"
placeholder=
"排水量流速(m/s)"
placeholder=
"排水量流速(m/s)"
maxlength=
"8"
/>
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -317,25 +314,6 @@
...
@@ -317,25 +314,6 @@
</el-col>
</el-col>
</el-row>
</el-row>
<!-- <el-row>
<el-col :span="12">
<el-form-item label="所属尾矿库编码" prop="tailingid">
<el-input
v-model="form.tailingid"
placeholder="请输入所属尾矿库编码"
/>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="报警状态是否报警1,报警" prop="state">
<el-input
v-model="form.state"
placeholder="请输入报警状态是否报警1,报警"
/>
</el-form-item>
</el-col>
</el-row> -->
<el-row>
<el-row>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"供电和通讯方式"
prop=
""
>
<el-form-item
label=
"供电和通讯方式"
prop=
""
>
...
...
src/views/environmentMonitor/warnData/index.vue
View file @
a7acdf45
...
@@ -89,11 +89,11 @@
...
@@ -89,11 +89,11 @@
<el-table
v-loading=
"loading"
:data=
"equipBjList"
@
selection-change=
"handleSelectionChange"
height=
"535"
<el-table
v-loading=
"loading"
:data=
"equipBjList"
@
selection-change=
"handleSelectionChange"
height=
"535"
border
border
header-cell-style=
"background-color: #08267d; color: #96dcdf;border:1px solid #409EFF;"
>
>
header-cell-style=
"background-color: #08267d; color: #96dcdf;border:1px solid #409EFF;"
>
<
el-table-column
type=
"selection"
width=
"55"
align=
"center"
/
>
<
!--
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
--
>
<!--
<el-table-column
label=
"主键,自增"
align=
"center"
prop=
"id"
/>
-->
<!--
<el-table-column
label=
"主键,自增"
align=
"center"
prop=
"id"
/>
-->
<el-table-column
label=
"设备编号"
align=
"center"
prop=
"equipno"
/>
<el-table-column
label=
"设备编号"
align=
"center"
prop=
"equipno"
/>
<el-table-column
label=
"类型"
align=
"center"
prop=
"devicetype"
/>
<el-table-column
label=
"
报警
类型"
align=
"center"
prop=
"devicetype"
/>
<el-table-column
label=
"报警级别"
align=
"center"
prop=
"bjjb"
/>
<el-table-column
label=
"报警级别"
align=
"center"
prop=
"bjjb"
/>
<el-table-column
label=
"报警时间"
align=
"center"
prop=
"time"
width=
"180"
>
<el-table-column
label=
"报警时间"
align=
"center"
prop=
"time"
width=
"180"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
...
@@ -102,12 +102,12 @@
...
@@ -102,12 +102,12 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createtime"
width=
"180"
>
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createtime"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
create
t
ime
)
}}
</span>
<span>
{{
parseTime
(
scope
.
row
.
create
T
ime
)
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"修改时间"
align=
"center"
prop=
"updatetime"
width=
"180"
>
<el-table-column
label=
"修改时间"
align=
"center"
prop=
"updatetime"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
update
t
ime
)
}}
</span>
<span>
{{
parseTime
(
scope
.
row
.
update
T
ime
)
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<!-- <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<!-- <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
...
...
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