diff --git a/public/bigScreen/js/box5.js b/public/bigScreen/js/box5.js index c8ff2bdbe..31f1d2cc9 100644 --- a/public/bigScreen/js/box5.js +++ b/public/bigScreen/js/box5.js @@ -33,7 +33,7 @@ for (let _inIndex = 0; _inIndex < _dataArr.length; _inIndex++) { _li += "
  • " + (_inIndex + 1) + ".0、" + _dataArr[_inIndex].msg + "
  • "; - if (_inIndex >= 5) { + if (_inIndex >= 4) { break; } } @@ -81,8 +81,7 @@ }); } - function initOwePayment(_dataArr, _li) { - let _todayInpection = document.getElementById("todayPreFee"); + function initOwePayment(_dataArr, _li) { _li += "
  • 欠费提醒:
  • "; for (let _inIndex = 0; _inIndex < _dataArr.length; _inIndex++) { _li += "
  • " + (_inIndex + 1) + "、" + _dataArr[_inIndex].feeName + " " + _dataArr[_inIndex].objCount + "户
  • "; @@ -91,7 +90,7 @@ break; } } - _todayInpection.innerHTML = _li; + _loadDeadlinePaymentCount(_li) } @@ -121,6 +120,46 @@ }); } + function initDeadlinePayment(_dataArr, _li) { + let _todayInpection = document.getElementById("todayPreFee"); + _li += "
  • 到期提醒:
  • "; + for (let _inIndex = 0; _inIndex < _dataArr.length; _inIndex++) { + _li += "
  • " + (_inIndex + 1) + "、" + _dataArr[_inIndex].feeName + " " + _dataArr[_inIndex].objCount + "户
  • "; + + if (_inIndex >= 1) { + break; + } + } + _todayInpection.innerHTML = _li; + } + + + function _loadDeadlinePaymentCount(_li) { + let param = { + params: { + communityId: vc.getCurrentCommunity().communityId + } + } + vc.http.apiGet( + '/reportFeeMonthStatistics/queryDeadlineCount', + param, + function (json, res) { + //vm.menus = vm.refreshMenuActive(JSON.parse(json),0); + let _json = JSON.parse(json); + if (_json.code == 0) { + let _data = _json.data; + initDeadlinePayment(_data, _li); + return; + } + }, + function (errInfo, error) { + console.log('请求失败处理'); + + vc.toast(errInfo); + + }); + } + @@ -131,6 +170,10 @@ window._toOwePayment = function () { vc.jumpToPage('/admin.html#/pages/property/reportOweFeeDetail'); } + window._toDeadlinePayment = function () { + vc.jumpToPage('/admin.html#/pages/property/reportDeadlineFee'); + } + _loadAssetInspection();