From 350fd63763da0d3a2ca9a7107dc30c6a007a7b70 Mon Sep 17 00:00:00 2001
From: zhangjiaqing <z1637266029@163.com>
Date: 星期四, 16 四月 2026 18:13:39 +0800
Subject: [PATCH] 合同页面修改留档
---
public/pages/property/phoneMeterManage/phoneMeterManage.js | 22 +++-------------------
1 files changed, 3 insertions(+), 19 deletions(-)
diff --git a/public/pages/property/phoneMeterManage/phoneMeterManage.js b/public/pages/property/phoneMeterManage/phoneMeterManage.js
index bb995a0..61b832c 100644
--- a/public/pages/property/phoneMeterManage/phoneMeterManage.js
+++ b/public/pages/property/phoneMeterManage/phoneMeterManage.js
@@ -89,7 +89,7 @@
_listPhoneBillFlows: function (_page, _rows) {
// 璁剧疆鍒嗛〉鍙傛暟
$that.phoneMeterManageInfo.conditions.page = _page;
- $that.phoneMeterManageInfo.conditions.row = _rows;
+ $that.phoneMeterManageInfo.conditions.row = 10;
// 璁剧疆灏忓尯ID
$that.phoneMeterManageInfo.conditions.communityId = vc.getCurrentCommunity().communityId;
@@ -112,24 +112,8 @@
$that.phoneMeterManageInfo.total = _json.total;
$that.phoneMeterManageInfo.records = _json.records;
- // 杞崲鏁版嵁缁撴瀯锛屽皢鍗曞厓鏁版嵁杞崲涓虹數璇濊垂鎶勮〃鏁版嵁鏍煎紡
- let convertedData = [];
- if (_json.data && Array.isArray(_json.data)) {
- _json.data.forEach(item => {
- convertedData.push({
- deviceNum: item.unitNum || '-',
- objName: item.floorNum + '-' + item.unitNum || '-',
- preDegrees: '-',
- curDegrees: '-',
- preReadingTime: '-',
- curReadingTime: '-',
- createTime: '-',
- id: item.unitId || ''
- });
- });
- }
-
- $that.phoneMeterManageInfo.phoneBillFlows = convertedData;
+ // 鐩存帴浣跨敤API杩斿洖鐨勭數璇濊垂娴佹按鏁版嵁
+ $that.phoneMeterManageInfo.phoneBillFlows = _json.data || [];
// 璁$畻鎬婚〉鏁�
var totalPages = Math.ceil(_json.total / _rows) || 1;
--
Gitblit v1.8.0