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
23a9406c
Commit
23a9406c
authored
Jul 28, 2024
by
王亚晖
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://gitee.com/tj-wang-yahui/AMS_HeatSys_Vue_V10
parents
bf4fe6f3
f174c38f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
HeatUserPage.vue
src/views/HeatUserPage/HeatUserPage.vue
+4
-4
TapPage.vue
src/views/HeatUserPage/TapPage.vue
+6
-6
No files found.
src/views/HeatUserPage/HeatUserPage.vue
View file @
23a9406c
...
...
@@ -77,9 +77,9 @@
<el-table
v-show=
"isHisData"
:data=
"tableInfo.tableData"
:height=
"tableHeight"
v-loading=
"loading"
:cell-style=
"setCellStyle"
border
highlight-current-row
:header-cell-style=
"setHeaderCellStyle"
:header-cell-class-name=
"handleHeadAddClass"
@
sort-change=
"sortMethod"
>
:header-cell-class-name=
"handleHeadAddClass"
@
sort-change=
"sortMethod"
>
<el-table-column
v-for=
"(item, i) in tableInfo.title.frozenList"
:prop=
"item.field"
:label=
"item.title"
:width=
"item.width"
fixed
/>
:width=
"item.width"
fixed
sortable
/>
<
template
v-for=
"(item, i) in tableInfo.title.otherList"
>
<el-table-column
:prop=
"item.enName"
:label=
"item.alias"
:width=
"item.width"
>
</el-table-column>
...
...
@@ -622,9 +622,9 @@ function sortMethod({ order, prop }) {
// }
// console.log(sortname)
if
(
sortnames
===
""
)
{
sortnames
=
sortnames
+
sortname
+
" "
+
direction
;
sortnames
=
sortnames
+
i
+
" "
+
direction
;
}
else
{
sortnames
=
sortnames
+
","
+
sortname
+
" "
+
direction
;
sortnames
=
sortnames
+
","
+
i
+
" "
+
direction
;
}
DataInfo
.
sort
=
sortnames
;
}
...
...
src/views/HeatUserPage/TapPage.vue
View file @
23a9406c
...
...
@@ -70,16 +70,16 @@
<el-table-column
v-for=
"(item, i) in tableInfo.title.frozenList"
:prop=
"item.field"
:label=
"item.title"
:width=
"item.width"
sortable
fixed
/>
<template
v-for=
"(item, i) in tableInfo.title.otherList"
>
<el-table-column
:prop=
"item.enName"
:label=
"item.alias"
:width=
"item.width"
sortable
>
<el-table-column
:prop=
"item.enName"
:label=
"item.alias"
:width=
"item.width"
>
</el-table-column>
</
template
>
</el-table>
<el-table
v-show=
"isHisData"
:data=
"tableInfo.tableData"
:height=
"tableHeight"
v-loading=
"loading"
:cell-style=
"setCellStyle"
border
highlight-current-row
:header-cell-style=
"setHeaderCellStyle"
:header-cell-class-name=
"handleHeadAddClass"
@
sort-change=
"sortMethod"
>
:header-cell-class-name=
"handleHeadAddClass"
@
sort-change=
"sortMethod"
sortable
>
<el-table-column
v-for=
"(item, i) in tableInfo.title.frozenList"
:prop=
"item.field"
:label=
"item.title"
:width=
"item.width"
fixed
/>
:width=
"item.width"
fixed
sortable
/>
<
template
v-for=
"(item, i) in tableInfo.title.otherList"
>
<el-table-column
:prop=
"item.enName"
:label=
"item.alias"
:width=
"item.width"
>
</el-table-column>
...
...
@@ -285,7 +285,7 @@ if(!startTimeValue){
}
var
endTimeValue
=
sessionStorage
.
getItem
(
"DeviceQueryEnd"
);
if
(
!
endTimeValue
){
endTimeValue
=
year
+
"-"
+
(
dateArr
[
0
]
-
1
)
+
"-"
+
dateArr
[
1
]
+
" "
+
dateArr
[
2
]
+
":"
+
dateArr
[
3
]
+
":"
+
dateArr
[
4
];
endTimeValue
=
(
year
-
1
)
+
"-"
+
dateArr
[
0
]
+
"-"
+
dateArr
[
1
]
+
" "
+
dateArr
[
2
]
+
":"
+
dateArr
[
3
]
+
":"
+
dateArr
[
4
];
sessionStorage
.
setItem
(
"DeviceQueryEnd"
,
endTimeValue
);
}
...
...
@@ -625,9 +625,9 @@ function sortMethod({ order, prop }) {
// }
// console.log(sortname)
if
(
sortnames
===
""
)
{
sortnames
=
sortnames
+
sortname
+
" "
+
direction
;
sortnames
=
sortnames
+
i
+
" "
+
direction
;
}
else
{
sortnames
=
sortnames
+
","
+
sortname
+
" "
+
direction
;
sortnames
=
sortnames
+
","
+
i
+
" "
+
direction
;
}
DataInfo
.
sort
=
sortnames
;
}
...
...
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