From e8a7beb5455d0c9f50f93004b600dd2781ad6bfd Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期一, 30 六月 2025 09:36:56 +0800 Subject: [PATCH] feat(空调控制): 实现空调控制功能并优化 SVG 数据加载- 新增 AirCondConstants 类,定义空调控制常量 - 修改 AirConditionerServiceImpl,使用常量替代硬编码值 - 更新 MQTT 消息发送逻辑,使用常量定义主题 - 优化 SVG 数据加载和处理逻辑,改进标签值更新方式 - 调整域名地址配置,支持生产环境 API --- zhitan-vue/src/views/businessconfiguration/gatewayledger/gatewayLedger.vue | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/zhitan-vue/src/views/businessconfiguration/gatewayledger/gatewayLedger.vue b/zhitan-vue/src/views/businessconfiguration/gatewayledger/gatewayLedger.vue index a7f3304..b11dd9d 100644 --- a/zhitan-vue/src/views/businessconfiguration/gatewayledger/gatewayLedger.vue +++ b/zhitan-vue/src/views/businessconfiguration/gatewayledger/gatewayLedger.vue @@ -11,14 +11,13 @@ <el-form-item label="娴嬬偣鏁伴噺:" class="header-box"> <span class="count">{{ ptNum || 0 }}</span> </el-form-item> + <div class="mb20 ml20 mr20" style="float: right"> + <el-button type="primary" icon="plus" @click="handleAdd">鏂板</el-button> + <el-button type="primary" icon="Download" @click="handleExport">瀵煎嚭</el-button> + </div> </el-form> </div> <div class="table-bg-style"> - <div class="theme-dark-mt20 mb20 ml20"> - <el-button type="primary" icon="plus" @click="handleAdd">鏂板</el-button> - <el-button type="primary" icon="Download" @click="handleExport">瀵煎嚭</el-button> - </div> - <div class="table-box"> <el-table :data="tableData" v-loading="loading"> <el-table-column prop="gatewayNum" label="缃戝叧缂栧彿" show-overflow-tooltip align="center" /> -- Gitblit v1.9.3