From 291b73fa31ddf1ce459e2ad348568400b4599050 Mon Sep 17 00:00:00 2001 From: wuxw <928255095@qq.com> Date: Sun, 10 Sep 2023 18:57:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=85=A5=E6=88=BF=E5=B1=8B=E6=98=8E?= =?UTF-8?q?=E7=BB=86=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/report/feeReport.js | 21 ++++ constant/url.js | 2 +- pages.json | 9 ++ pages/report/reportRoomFee.vue | 178 +++++++++++++++++++++++++++++++++ 4 files changed, 209 insertions(+), 1 deletion(-) create mode 100644 pages/report/reportRoomFee.vue diff --git a/api/report/feeReport.js b/api/report/feeReport.js index ebb0f84..102d965 100644 --- a/api/report/feeReport.js +++ b/api/report/feeReport.js @@ -86,6 +86,27 @@ export function queryOthersDataReport(_that, _data) { }) } +export function queryReportFeeDetailRoom(_that, _data) { + return new Promise(function(reslove, reject) { + _that.context.get({ + url: _that.url.queryReportFeeDetailRoom, + data: _data, //动态数据 + success: function(res) { + let _data = res.data; + reslove(_data); + }, + fail: function(e) { + wx.showToast({ + title: "服务器异常了", + icon: 'none', + duration: 2000 + }) + } + }); + }) +} + + diff --git a/constant/url.js b/constant/url.js index 2b4af51..a47ac6f 100644 --- a/constant/url.js +++ b/constant/url.js @@ -210,7 +210,7 @@ export default { queryInoutDataReport:baseUrl+"app/dataReport.queryInoutDataReport", queryOthersDataReport:baseUrl+"app/dataReport.queryOthersDataReport", queryPayFeeDetail:baseUrl+"app/reportFeeMonthStatistics/queryPayFeeDetail", - + queryReportFeeDetailRoom:baseUrl+"app/reportFeeMonthStatistics.queryReportFeeDetailRoom", } diff --git a/pages.json b/pages.json index 1e20986..36fb0e8 100644 --- a/pages.json +++ b/pages.json @@ -676,6 +676,15 @@ } } + ,{ + "path" : "pages/report/reportRoomFee", + "style" : + { + "navigationBarTitleText": "房屋费用明细", + "enablePullDownRefresh": false + } + + } ], "globalStyle": { "navigationBarTextStyle": "white", diff --git a/pages/report/reportRoomFee.vue b/pages/report/reportRoomFee.vue new file mode 100644 index 0000000..b11c126 --- /dev/null +++ b/pages/report/reportRoomFee.vue @@ -0,0 +1,178 @@ + + + + +