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
66e964ce
Commit
66e964ce
authored
May 06, 2021
by
co_dengxiongwen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面调整
parent
f06ee950
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
15 deletions
+13
-15
myPies.vue
src/pages/components/myPies.vue
+3
-3
query-detail.vue
src/pages/eq/view/query-detail.vue
+9
-12
index.vue
src/pages/sys/commandlog/index.vue
+1
-0
No files found.
src/pages/components/myPies.vue
View file @
66e964ce
...
@@ -20,9 +20,9 @@ export default {
...
@@ -20,9 +20,9 @@ export default {
let
myPie
=
document
.
getElementById
(
'myPies'
)
let
myPie
=
document
.
getElementById
(
'myPies'
)
this
.
myPies
=
this
.
$echarts
.
init
(
myPie
)
this
.
myPies
=
this
.
$echarts
.
init
(
myPie
)
const
data
=
[
const
data
=
[
{
name
:
'冷'
,
value
:
15
0
},
{
name
:
'冷'
,
value
:
50
0
},
{
name
:
'适中'
,
value
:
8
0
},
{
name
:
'适中'
,
value
:
90
0
},
{
name
:
'热'
,
value
:
8
0
}
{
name
:
'热'
,
value
:
60
0
}
]
]
const
option
=
{
const
option
=
{
tooltip
:
{
tooltip
:
{
...
...
src/pages/eq/view/query-detail.vue
View file @
66e964ce
...
@@ -26,24 +26,21 @@
...
@@ -26,24 +26,21 @@
p.leftP 安装日期:
{{
dataForm
.
installDate
}}
p.leftP 安装日期:
{{
dataForm
.
installDate
}}
.info-form
.info-form
el-row.text-size(v-if="openOrClose.indexOf(dataForm.type)>-1")
el-row.text-size(v-if="openOrClose.indexOf(dataForm.type)>-1")
el-col(:span='10') 当前已
span(v-if="dataForm.status == 1") 运行
span(v-else-if="dataForm.status == 2") 停止
span(v-else-if="dataForm.status == 3") 离线
span(v-else) 故障
el-col(:span='10')
el-col(:span='10')
.switch-warp
.switch-warp
div(:class="[state == 1 ? 'on' : '']", @click="handleSwitch(1)") 打开
div(:class="[state == 1 ? 'on' : '']", @click="handleSwitch(1)") 打开
div(:class="[state == 2 ? 'on' : '']", @click="handleSwitch(2)") 关闭
div(:class="[state == 2 ? 'on' : '']", @click="handleSwitch(2)") 关闭
el-col(:span='10') 当前已
span(v-if="dataForm.status == 1") 打开
span(v-else-if="dataForm.status == 2") 关闭
span(v-else) 故障
el-row.text-size(style="margin-top: 10px" v-if="dataForm.type=='303310efddb34a2e9bf269bdff8a7dc5'||dataForm.type=='f4c840711eae4bcb9536a890cdfda493'")
el-row.text-size(style="margin-top: 10px" v-if="dataForm.type=='303310efddb34a2e9bf269bdff8a7dc5'||dataForm.type=='f4c840711eae4bcb9536a890cdfda493'")
el-col(:span="1
5
" )
el-col(:span="1
6
" )
span 频率设置:
span 频率设置:
el-input(size="mini", style="width: 70px", v-model="speed")
el-input(size="mini", style="width: 80px", v-model="speed")
span 转
el-button(type="primary", size="mini", style="margin-left: 5px") 设定
el-col(:span="9" v-if='params.length' )
span 当前频率:
span(style="color: blue")
{{
params
[
0
].
current_frequency
}}
span 转/分
span 转/分
el-button(type="primary", size="mini", style="margin-left: 3px") 设定
//- 卷帘门
//- 卷帘门
el-row
el-row
el-col(v-if="dataForm.type=='c788ce98c1f248f590434394da485ce4'")
el-col(v-if="dataForm.type=='c788ce98c1f248f590434394da485ce4'")
...
@@ -57,7 +54,7 @@
...
@@ -57,7 +54,7 @@
span.type 电量(kwh):
span.type 电量(kwh):
span.value
{{
params
[
0
].
electric_energy
}}
span.value
{{
params
[
0
].
electric_energy
}}
div(v-if="this.params.length && this.params[0].current_frequency")
div(v-if="this.params.length && this.params[0].current_frequency")
span.type 当前频率:
span.type 当前频率
(转/分)
:
span.value
{{
params
[
0
].
current_frequency
}}
span.value
{{
params
[
0
].
current_frequency
}}
div(v-if="this.params.length && this.params[0].feng_shui_mode")
div(v-if="this.params.length && this.params[0].feng_shui_mode")
span.type 风水模式:
span.type 风水模式:
...
...
src/pages/sys/commandlog/index.vue
View file @
66e964ce
...
@@ -47,6 +47,7 @@ export default {
...
@@ -47,6 +47,7 @@ export default {
{
label
:
'操作员'
,
prop
:
'createUserName'
},
//是否插槽
{
label
:
'操作员'
,
prop
:
'createUserName'
},
//是否插槽
{
label
:
'来源'
,
prop
:
'comSource'
,
slot
:
true
},
{
label
:
'来源'
,
prop
:
'comSource'
,
slot
:
true
},
{
label
:
'指令类型'
,
prop
:
'comType'
,
slot
:
true
},
{
label
:
'指令类型'
,
prop
:
'comType'
,
slot
:
true
},
{
label
:
'被控设备'
,
prop
:
'resourceName'
},
{
label
:
'操作时间'
,
prop
:
'createTime'
},
{
label
:
'操作时间'
,
prop
:
'createTime'
},
{
label
:
'指令内容'
,
prop
:
'comMark'
}
{
label
:
'指令内容'
,
prop
:
'comMark'
}
// {label:'操作',prop:''},
// {label:'操作',prop:''},
...
...
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