Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
E
energyai_vue
Project
Project
Details
Activity
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
葛齐林
energyai_vue
Commits
7cf331b3
Commit
7cf331b3
authored
Jul 05, 2021
by
xiexingan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修复
parent
791c0af8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
9 deletions
+15
-9
tableList.vue
src/pages/components/tableList.vue
+3
-2
page.vue
src/pages/eq/office/page.vue
+9
-4
index.vue
src/pages/kb/outdoor/index.vue
+3
-3
No files found.
src/pages/components/tableList.vue
View file @
7cf331b3
...
@@ -66,7 +66,7 @@ export default {
...
@@ -66,7 +66,7 @@ export default {
props
:
{
props
:
{
maxHeight
:
{
maxHeight
:
{
type
:
String
,
type
:
String
,
default
:
''
default
:
null
},
},
tableData
:
{
tableData
:
{
type
:
Array
type
:
Array
...
@@ -94,7 +94,8 @@ export default {
...
@@ -94,7 +94,8 @@ export default {
},
},
// 行点击事件
// 行点击事件
currentChange
:
{
currentChange
:
{
type
:
Function
type
:
Function
,
default
:
()
=>
{}
}
}
},
},
data
()
{
data
()
{
...
...
src/pages/eq/office/page.vue
View file @
7cf331b3
...
@@ -19,20 +19,25 @@
...
@@ -19,20 +19,25 @@
:showStateColor=
"true"
:showStateColor=
"true"
:currentMode=
"currentModel"
:currentMode=
"currentModel"
>
>
<template
v-slot:operation=
"scope"
>
<template
v-slot:operation=
"scope"
v-if=
"activeTab=='b6af764f2a6e454490a6b1b3c9057e57'||activeTab == '173466a2cf9a42a6a17b2bdfbeae36d5'"
>
<el-button
type=
"text"
@
click=
"statusHandle(scope.scope, 1)"
<!-- (1运行,2停止,3离线,4故障) -->
<el-button
v-if=
'scope.scope.status==2'
type=
"text"
@
click=
"statusHandle(scope.scope, 1)"
>
开启
</el-button
>
开启
</el-button
>
>
<el-button
type=
"text"
@
click=
"statusHandle(scope.scope, 0)"
<el-button
v-if=
'scope.scope.status==1'
type=
"text"
@
click=
"statusHandle(scope.scope, 0)"
>
关闭
</el-button
>
关闭
</el-button
>
>
<el-button
<el-button
v-if=
"activeTab != 'b6af764f2a6e454490a6b1b3c9057e57'"
v-if=
"activeTab != 'b6af764f2a6e454490a6b1b3c9057e57'
&&scope.scope.status==1
"
type=
"text"
type=
"text"
@
click=
"settingJfkt(scope.scope, 3)"
@
click=
"settingJfkt(scope.scope, 3)"
>
设置
</el-button
>
设置
</el-button
>
>
</
template
>
</
template
>
<
template
v-slot:operation=
"scope"
v-else
>
<span>
--
</span>
</
template
>
</table-list>
</table-list>
<el-dialog
<el-dialog
title=
"空调设置"
title=
"空调设置"
...
...
src/pages/kb/outdoor/index.vue
View file @
7cf331b3
...
@@ -11,7 +11,7 @@ card-warp(title="室外气象数据", height="45px", showBackground)
...
@@ -11,7 +11,7 @@ card-warp(title="室外气象数据", height="45px", showBackground)
.data-warp
.data-warp
.data-item(v-for="item in typeList")
.data-item(v-for="item in typeList")
.type
{{
item
.
type
}}
.type
{{
item
.
type
}}
div(:style="{ color: item.color }")
div(:style="{ color: item.color
,'margin-top':'3px'
}")
span.num
{{
item
.
num
}}
span.num
{{
item
.
num
}}
span.unit
{{
item
.
unit
}}
span.unit
{{
item
.
unit
}}
.clearfix
.clearfix
...
@@ -338,11 +338,11 @@ export default {
...
@@ -338,11 +338,11 @@ export default {
padding-top
:
15px
;
padding-top
:
15px
;
}
}
.num
{
.num
{
font-size
:
32
px
;
font-size
:
26
px
;
font-family
:
PingFang
SC
;
font-family
:
PingFang
SC
;
font-weight
:
600
;
font-weight
:
600
;
// color: #21ACFC;
// color: #21ACFC;
//
padding-top: 26px;
padding-top
:
26px
;
}
}
.unit
{
.unit
{
font-size
:
18px
;
font-size
:
18px
;
...
...
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