Commit 7cf331b3 authored by xiexingan's avatar xiexingan

bug修复

parent 791c0af8
...@@ -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() {
......
...@@ -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="空调设置"
......
...@@ -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: 32px; font-size: 26px;
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment