Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yindong-tongbai-automation
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
lichunliang
yindong-tongbai-automation
Commits
5097b8b1
Commit
5097b8b1
authored
Jul 30, 2025
by
lei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add:电力能耗查询页面
parent
2b308da1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
169 additions
and
10 deletions
+169
-10
fengmen.png
src/assets/images/screen/tfxt/fengmen.png
+0
-0
tfxt.vue
src/views/Screen/items/tfxt.vue
+45
-10
index.vue
src/views/power/PowerConsumptionAnalysis/index.vue
+124
-0
No files found.
src/assets/images/screen/tfxt/fengmen.png
0 → 100644
View file @
5097b8b1
6.55 KB
src/views/Screen/items/tfxt.vue
View file @
5097b8b1
...
...
@@ -85,12 +85,13 @@
<div
class=
"arrow-psition"
style=
"top: 132px; left: 300px"
>
<div
class=
"fengji-arrow"
></div>
</div>
<div
class=
"arrow-psition"
style=
"top: 132px; left: 998px"
>
<div
class=
"fengji-arrow"
></div>
</div>
<div
class=
"arrow-psition"
style=
"top: 132px; left: 1398px"
>
<div
class=
"fengji-arrow"
></div>
</div>
<div
class=
"fengmen"
style=
"top: 109px; left: 998px"
>
<div
class=
"fengmen-icon"
></div>
<span>
开合度80%
</span>
</div>
<!--一中副扇风机dom-->
<div
class=
"fengji"
...
...
@@ -335,15 +336,22 @@
<div
class=
"arrow-psition"
style=
"top: 472px; left: 288px"
>
<div
class=
"fengji-arrow"
></div>
</div>
<div
class=
"arrow-psition"
style=
"top: 472px; left: 888px"
>
<
!--
<
div
class=
"arrow-psition"
style=
"top: 472px; left: 888px"
>
<div
class=
"fengji-arrow"
></div>
</div>
</div>
-->
<div
class=
"arrow-psition"
style=
"top: 472px; left: 1088px"
>
<div
class=
"fengji-arrow"
></div>
</div>
<div
class=
"arrow-psition bevel"
style=
"top: 472px; left: 1268px"
>
<div
class=
"fengji-arrow"
></div>
</div>
<div
class=
"arrow-psition bevel"
style=
"top: 282px; left: 1490px"
>
<div
class=
"fengji-arrow"
></div>
</div>
<div
class=
"fengmen"
style=
"top: 280px; left: 1468px"
>
<div
class=
"fengmen-icon"
></div>
<span>
开合度80%
</span>
</div>
<!--三中副扇风机dom-->
<div
class=
"fengji"
...
...
@@ -391,13 +399,17 @@
<p>
设定频率:
{{
item
.
setFrequency
|
decimalFilter
}}
HZ
</p>
</div>
</div>
<div
class=
"fengmen"
style=
"top: 451px; left: 918px"
>
<div
class=
"fengmen-icon"
></div>
<span>
开合度80%
</span>
</div>
<!--四中副扇风机dom-->
<div
class=
"fengji"
v-for=
"(item, index) in fengjiList"
:key=
"index + 'sizhong' + item.deviceId"
v-show=
"item.deviceName == '四中副扇风机'"
style=
"left: 1
26
0px; top: 583px"
style=
"left: 1
09
0px; top: 583px"
>
<div
class=
"fengji-title"
style=
"margin-left: 50px"
>
四中副扇风机
</div>
<div
class=
"fengji-content"
>
...
...
@@ -462,13 +474,17 @@
<div
class=
"arrow-psition bevel"
style=
"top: 642px; left: 1068px"
>
<div
class=
"fengji-arrow"
></div>
</div>
<div
class=
"fengmen"
style=
"top: 619px; left: 1498px"
>
<div
class=
"fengmen-icon"
></div>
<span>
开合度80%
</span>
</div>
<!--五中副扇风机dom-->
<div
class=
"fengji"
v-for=
"(item, index) in fengjiList"
:key=
"index + 'wuzhong' + item.deviceId"
v-show=
"item.deviceName == '五中副扇风机'"
style=
"left:
6
00px; top: 750px"
style=
"left:
4
00px; top: 750px"
>
<div
class=
"fengji-title"
>
五中副扇风机
</div>
<div
class=
"fengji-content"
>
...
...
@@ -509,12 +525,13 @@
<p>
设定频率:
{{
item
.
setFrequency
|
decimalFilter
}}
HZ
</p>
</div>
</div>
<div
class=
"arrow-psition"
style=
"top: 812px; left: 188px"
>
<div
class=
"fengji-arrow"
></div>
</div>
<div
class=
"arrow-psition bevel"
style=
"top: 812px; left: 868px"
>
<div
class=
"fengji-arrow"
></div>
</div>
<div
class=
"fengmen"
style=
"top: 788px; left: 668px"
>
<div
class=
"fengmen-icon"
></div>
<span>
开合度80%
</span>
</div>
</div>
<div
class=
"up-window"
v-show=
"upWindowShow"
>
<div
class=
"up-window-box"
ref=
"upWindowBox"
>
...
...
@@ -856,6 +873,24 @@ export default {
transform
:
rotate
(
-45deg
);
}
}
.fengmen
{
width
:
87px
;
height
:
87px
;
position
:
absolute
;
.fengmen-icon
{
width
:
67px
;
height
:
61px
;
background
:
url("~@/assets/images/screen/tfxt/fengmen.png")
no-repeat
center
;
background-size
:
100%
;
margin
:
0
auto
10px
;
}
span
{
font-size
:
18px
;
color
:
#11ffeb
;
line-height
:
20px
;
}
}
}
.up-window
{
width
:
100%
;
...
...
src/views/power/PowerConsumptionAnalysis/index.vue
0 → 100644
View file @
5097b8b1
<
template
>
<div
class=
"app-container"
>
<el-form
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
:inline=
"true"
>
<el-form-item
label=
"月份查询"
prop=
"month"
>
<el-date-picker
v-model=
"queryParams.month"
type=
"month"
placeholder=
"选择月份"
value-format=
"yyyy-MM"
@
change=
"handleQuery"
/>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery"
>
搜索
</el-button
>
<el-button
icon=
"el-icon-refresh"
@
click=
"resetQuery"
>
重置
</el-button>
</el-form-item>
</el-form>
<el-table
:data=
"tableData"
border
style=
"width: 100%"
>
<el-table-column
type=
"index"
label=
"序号"
width=
"60"
align=
"center"
/>
<el-table-column
prop=
"month"
label=
"月份"
width=
"120"
align=
"center"
/>
<el-table-column
prop=
"name"
label=
"名称"
width=
"150"
align=
"center"
/>
<el-table-column
prop=
"monthlyConsumption"
label=
"月能耗(KWh)"
width=
"150"
align=
"center"
/>
<el-table-column
prop=
"totalConsumption"
label=
"累计能耗(KWh)"
width=
"150"
align=
"center"
/>
</el-table>
<pagination
v-show=
"total > 0"
:total=
"total"
:page.sync=
"queryParams.pageNum"
:limit.sync=
"queryParams.pageSize"
@
pagination=
"getList"
/>
</div>
</
template
>
<
script
>
export
default
{
name
:
"
PowerConsumptionAnalysis
"
,
data
()
{
return
{
// 查询参数
queryParams
:
{
month
:
""
,
pageNum
:
1
,
pageSize
:
10
,
},
// 表格数据
tableData
:
[],
// 总条数
total
:
0
,
};
},
created
()
{
this
.
getList
();
},
methods
:
{
// 获取列表数据
getList
()
{
// 这里替换为实际API调用
// getPowerConsumptionList(this.queryParams).then(response => {
// this.tableData = response.rows;
// this.total = response.total;
// });
// 模拟数据
this
.
tableData
=
[
{
month
:
"
2023-01
"
,
name
:
"
采区能耗
"
,
monthlyConsumption
:
12500
,
totalConsumption
:
12500
,
},
{
month
:
"
2023-01
"
,
name
:
"
选厂能耗
"
,
monthlyConsumption
:
8500
,
totalConsumption
:
8500
,
},
{
month
:
"
2023-02
"
,
name
:
"
冶炼能耗
"
,
monthlyConsumption
:
11800
,
totalConsumption
:
24300
,
},
{
month
:
"
2023-02
"
,
name
:
"
尾矿库能耗
"
,
monthlyConsumption
:
7900
,
totalConsumption
:
16400
,
},
];
this
.
total
=
this
.
tableData
.
length
;
},
// 搜索按钮操作
handleQuery
()
{
this
.
queryParams
.
pageNum
=
1
;
this
.
getList
();
},
// 重置按钮操作
resetQuery
()
{
this
.
queryParams
.
month
=
""
;
this
.
handleQuery
();
},
},
};
</
script
>
<
style
scoped
lang=
"scss"
>
.app-container
{
}
</
style
>
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