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
2647dee0
Commit
2647dee0
authored
Aug 16, 2024
by
朱超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用量同比
parent
a0e76e82
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
YOY.vue
src/views/HandlerPage/YOY.vue
+4
-8
No files found.
src/views/HandlerPage/YOY.vue
View file @
2647dee0
...
@@ -59,7 +59,6 @@
...
@@ -59,7 +59,6 @@
collapse-tags
collapse-tags
:show-all-levels=
"false"
:show-all-levels=
"false"
placeholder=
"请选择"
placeholder=
"请选择"
@
change=
"transferIdChange"
/>
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"开始月份"
v-show=
"enertyInfo.interval == 1"
>
<el-form-item
label=
"开始月份"
v-show=
"enertyInfo.interval == 1"
>
...
@@ -351,12 +350,6 @@ function getEnterprise() {
...
@@ -351,12 +350,6 @@ function getEnterprise() {
}
}
}
}
function
transferIdChange
()
{
// if (enertyInfo.transferId.length > 10) {
// ElMessage.error("换热机组最多只能选择10个");
// }
}
function
exportTableToExcel
()
{
function
exportTableToExcel
()
{
let
arr
=
[];
let
arr
=
[];
let
exlData
=
[];
let
exlData
=
[];
...
@@ -379,7 +372,6 @@ function exportTableToExcel() {
...
@@ -379,7 +372,6 @@ function exportTableToExcel() {
}
}
);
);
worksheet
[
"!cols"
]
=
[{
wch
:
20
},
{
wch
:
20
},
{
wch
:
20
},
{
wch
:
20
}];
worksheet
[
"!cols"
]
=
[{
wch
:
20
},
{
wch
:
20
},
{
wch
:
20
},
{
wch
:
20
}];
// worksheet["!rows"] = [{ hpx: 20 }];
worksheet
[
"A1"
].
s
=
{
worksheet
[
"A1"
].
s
=
{
fill
:
{
fill
:
{
...
@@ -513,6 +505,10 @@ function postExternalYOYFun() {
...
@@ -513,6 +505,10 @@ function postExternalYOYFun() {
ElMessage
.
error
(
"开始日期不能晚于或等于结束日期"
);
ElMessage
.
error
(
"开始日期不能晚于或等于结束日期"
);
return
false
;
return
false
;
}
}
if
((
endDay
.
value
-
startDay
.
value
)
>
6
)
{
ElMessage
.
error
(
"查询日期区间不能超过7天"
);
return
false
;
}
let
dayArr
=
[];
let
dayArr
=
[];
let
dayn
=
endDay
.
value
-
startDay
.
value
;
let
dayn
=
endDay
.
value
-
startDay
.
value
;
let
startDayn
=
startDay
.
value
;
let
startDayn
=
startDay
.
value
;
...
...
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