From 82f267b353fa9fd59ac538ca1a78d2c6567e71c3 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: Tue, 4 May 2021 02:06:25 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../reportNoFeeRoom/reportNoFeeRoom.html | 49 +++++++++++++
.../reportNoFeeRoom/reportNoFeeRoom.js | 73 +++++++++++++++++++
2 files changed, 122 insertions(+)
create mode 100755 public/pages/property/reportNoFeeRoom/reportNoFeeRoom.html
create mode 100755 public/pages/property/reportNoFeeRoom/reportNoFeeRoom.js
diff --git a/public/pages/property/reportNoFeeRoom/reportNoFeeRoom.html b/public/pages/property/reportNoFeeRoom/reportNoFeeRoom.html
new file mode 100755
index 000000000..b1f59c652
--- /dev/null
+++ b/public/pages/property/reportNoFeeRoom/reportNoFeeRoom.html
@@ -0,0 +1,49 @@
+
+
+
+
+
+
未收费房屋
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/public/pages/property/reportNoFeeRoom/reportNoFeeRoom.js b/public/pages/property/reportNoFeeRoom/reportNoFeeRoom.js
new file mode 100755
index 000000000..a84ba81da
--- /dev/null
+++ b/public/pages/property/reportNoFeeRoom/reportNoFeeRoom.js
@@ -0,0 +1,73 @@
+/**
+ 入驻小区
+ **/
+(function (vc) {
+ var DEFAULT_PAGE = 1;
+ var DEFAULT_ROWS = 10;
+ vc.extends({
+ data: {
+ reportNoFeeRoomInfo: {
+ rooms: [],
+ total: 0,
+ records: 1,
+ moreCondition: false,
+ conditions: {
+
+
+ }
+ }
+ },
+ _initMethod: function () {
+
+ vc.component._listRepairs(DEFAULT_PAGE, DEFAULT_ROWS);
+
+
+ },
+ _initEvent: function () {
+ vc.on('pagination', 'page_event', function (_currentPage) {
+ vc.component._listRepairs(_currentPage, DEFAULT_ROWS);
+ });
+ },
+ methods: {
+
+ //查询
+ _queryMethod: function () {
+ vc.component._listRepairs(DEFAULT_PAGE, DEFAULT_ROWS);
+ },
+ //查询方法
+ _listRepairs: function (_page, _rows) {
+ vc.component.reportNoFeeRoomInfo.conditions.page = _page;
+ vc.component.reportNoFeeRoomInfo.conditions.row = _rows;
+ vc.component.reportNoFeeRoomInfo.conditions.communityId = vc.getCurrentCommunity().communityId;
+ var param = {
+ params: vc.component.reportNoFeeRoomInfo.conditions
+ };
+ //发送get请求
+ vc.http.apiGet('/reportFeeMonthStatistics/queryNoFeeRooms',
+ param,
+ function (json, res) {
+ var _reportNoFeeRoomInfo = JSON.parse(json);
+ vc.component.reportNoFeeRoomInfo.total = _reportNoFeeRoomInfo.total;
+ vc.component.reportNoFeeRoomInfo.records = _reportNoFeeRoomInfo.records;
+ vc.component.reportNoFeeRoomInfo.rooms = _reportNoFeeRoomInfo.data;
+
+ vc.emit('pagination', 'init', {
+ total: vc.component.reportNoFeeRoomInfo.records,
+ currentPage: _page,
+ dataCount: vc.component.reportNoFeeRoomInfo.total
+ });
+ }, function (errInfo, error) {
+ console.log('请求失败处理');
+ }
+ );
+ },
+ _moreCondition: function () {
+ if (vc.component.reportNoFeeRoomInfo.moreCondition) {
+ vc.component.reportNoFeeRoomInfo.moreCondition = false;
+ } else {
+ vc.component.reportNoFeeRoomInfo.moreCondition = true;
+ }
+ }
+ }
+ });
+})(window.vc);