Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web-project
Project
Project
Details
Activity
Releases
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
海康威视
web-project
Commits
60eed144
Commit
60eed144
authored
Jul 26, 2024
by
qjeslks
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
7.26.1
parent
c7982d6f
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
413 additions
and
12 deletions
+413
-12
AlarmInfoPage.vue
src/views/AlarmPage/AlarmInfoPage.vue
+6
-11
AlarmStatusPage.vue
src/views/AlarmPage/AlarmStatusPage.vue
+407
-1
No files found.
src/views/AlarmPage/AlarmInfoPage.vue
View file @
60eed144
...
...
@@ -9,7 +9,7 @@
<el-option
label=
"总管"
value=
"GetPipeAlarmData"
/>
</el-select>
</el-form-item>
<el-form-item
label=
"
换热机组
:"
>
<el-form-item
label=
"
设备
:"
>
<el-cascader
:options=
"options"
v-model=
"AlarmInfo.Id"
:props=
"props"
collapse-tags
clearable
:show-all-levels=
"false"
placeholder=
"请选择"
style=
"min-width: 210px;"
/>
</el-form-item>
...
...
@@ -36,6 +36,7 @@
<el-card
class=
"moduleCard"
:height=
"tableHeight"
>
<el-table
:data=
"tableData"
:height=
"tableHeight"
v-loading=
"loading"
:cell-style=
"setCellStyle"
id=
"out-table"
border
highlight-current-row
:header-cell-style=
"setHeaderCellStyle"
@
sort-change=
"sortMethod"
:header-cell-class-name=
"handleHeadAddClass"
>
<el-table-column
prop=
"index"
label=
"编号"
:sortable=
"false"
width=
"80px"
fixed
/>
<el-table-column
prop=
"name"
label=
"设施名称"
:sortable=
"true"
width=
"200px"
fixed
/>
<el-table-column
prop=
"cnName"
label=
"报警类型"
:sortable=
"false"
width=
"200px"
fixed
/>
<el-table-column
prop=
"alarmDate"
label=
"报警时间"
:sortable=
"true"
width=
"200px"
fixed
/>
...
...
@@ -58,9 +59,6 @@ import { ref, reactive, onMounted, onUnmounted } from 'vue';
import
http
from
'../../api/http'
;
import
zhCn
from
'element-plus/dist/locale/zh-cn.mjs'
import
store
from
"../../store/index"
;
import
{
getFileName
}
from
'../../utils/utils'
;
import
CfgSupply
from
'../../components/CfgSupply.vue'
;
import
{
column
}
from
'element-plus/es/components/table-v2/src/common.mjs'
;
//分页设置
const
currentPage
=
ref
(
1
)
...
...
@@ -109,8 +107,8 @@ function sortMethod({ order, prop }){
}
if
(
i
===
"name"
){
sortname
=
"name"
;
}
else
if
(
i
===
"alar
t
Date"
){
sortname
=
"alar
t
Date"
;
}
else
if
(
i
===
"alar
m
Date"
){
sortname
=
"alar
m
Date"
;
}
// console.log(sortname)
if
(
sortnames
===
""
){
...
...
@@ -167,7 +165,7 @@ const AlarmInfo = reactive({
"endTime"
:
endTime
,
"start"
:
0
,
"count"
:
30
,
"sort"
:
""
"sort"
:
"
alarmDate
"
})
getSupplys
();
...
...
@@ -340,10 +338,7 @@ function setHeaderCellStyle({ row, column, rowIndex, columnIndex }) {
// AlarmInfo.pageIndex = 0;
// AlarmInfo.pageCount = 100000;
// if (AlarmInfo.interval === undefined) {
// AlarmInfo.interval = 2;
// }
// var fileName = getFileName("换热站历史数据");
// var fileName = getFileName("报警信息历史数据");
// await http.post("/api/transfer/hisExport", AlarmInfo, '正在导出数据....', { responseType: 'blob' }).then((content) => {
// try{
...
...
src/views/AlarmPage/AlarmStatusPage.vue
View file @
60eed144
This diff is collapsed.
Click to expand it.
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