diff --git a/public/pages/property/reportFeeBreakdown/reportFeeBreakdown.html b/public/pages/property/reportFeeBreakdown/reportFeeBreakdown.html new file mode 100644 index 000000000..f4f005c00 --- /dev/null +++ b/public/pages/property/reportFeeBreakdown/reportFeeBreakdown.html @@ -0,0 +1,110 @@ +
+
+
+
+
+
查询条件
+
+ +
+
+
+
+ +
+
+ +
+ +
+
+ +
+
+
+ +
+
+
+
+ +
+
+
+ +
+ +
+ + +
+
+
+
+
+
+
+
+
费用分项表
+
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
费用编号费用项费用开始时间应收金额实收金额欠费金额
{{index+1}}{{fee.feeName}}{{fee.feeCreateTime}}{{fee.receivableAmount}}{{fee.receivedAmount}}{{fee.oweAmount}}
+
    +
    + + +
    +
    +
    +
    + + +
    \ No newline at end of file diff --git a/public/pages/property/reportFeeBreakdown/reportFeeBreakdown.js b/public/pages/property/reportFeeBreakdown/reportFeeBreakdown.js new file mode 100644 index 000000000..b586ec44e --- /dev/null +++ b/public/pages/property/reportFeeBreakdown/reportFeeBreakdown.js @@ -0,0 +1,99 @@ +/** + 入驻小区 + **/ +(function (vc) { + var DEFAULT_PAGE = 1; + var DEFAULT_ROWS = 10; + vc.extends({ + data: { + reportFeeBreakdownInfo: { + fees: [], + total: 0, + records: 1, + moreCondition: false, + title: '', + roomUnits: [], + conditions: { + floorId: '', + floorName: '', + roomNum: '', + unitId: '', + startTime:'', + endTime:'' + } + } + }, + _initMethod: function () { + vc.component._listFees(DEFAULT_PAGE, DEFAULT_ROWS); + + }, + _initEvent: function () { + + vc.on('reportFeeBreakdown', 'chooseFloor', function (_param) { + vc.component.reportFeeBreakdownInfo.conditions.floorId = _param.floorId; + vc.component.reportFeeBreakdownInfo.conditions.floorName = _param.floorName; + vc.component.loadUnits(_param.floorId); + + }); + vc.on('pagination', 'page_event', function (_currentPage) { + vc.component._listFees(_currentPage, DEFAULT_ROWS); + }); + }, + methods: { + _queryMethod:function(){ + vc.component._listFees(DEFAULT_PAGE, DEFAULT_ROWS); + }, + _listFees: function (_page, _rows) { + + vc.component.reportFeeBreakdownInfo.conditions.page = _page; + vc.component.reportFeeBreakdownInfo.conditions.row = _rows; + vc.component.reportFeeBreakdownInfo.conditions.communityId = vc.getCurrentCommunity().communityId; + var param = { + params: vc.component.reportFeeBreakdownInfo.conditions + }; + + //发送get请求 + vc.http.apiGet('/reportFeeMonthStatistics/queryFeeBreakdown', + param, + function (json, res) { + var _reportFeeBreakdownInfo = JSON.parse(json); + vc.component.reportFeeBreakdownInfo.total = _reportFeeBreakdownInfo.total; + vc.component.reportFeeBreakdownInfo.records = _reportFeeBreakdownInfo.records; + vc.component.reportFeeBreakdownInfo.fees = _reportFeeBreakdownInfo.data; + vc.emit('pagination', 'init', { + total: vc.component.reportFeeBreakdownInfo.records, + currentPage: _page + }); + }, function (errInfo, error) { + console.log('请求失败处理'); + } + ); + }, + loadUnits: function (_floorId) { + var param = { + params: { + floorId: _floorId, + communityId: vc.getCurrentCommunity().communityId + } + } + vc.http.get( + 'room', + 'loadUnits', + param, + function (json, res) { + //vm.menus = vm.refreshMenuActive(JSON.parse(json),0); + if (res.status == 200) { + let tmpUnits = JSON.parse(json); + vc.component.reportFeeBreakdownInfo.roomUnits = tmpUnits; + return; + } + vc.toast(json); + }, + function (errInfo, error) { + console.log('请求失败处理'); + vc.toast(errInfo); + }); + }, + } + }); +})(window.vc); diff --git a/public/pages/property/reportFeeDetail/reportFeeDetail.html b/public/pages/property/reportFeeDetail/reportFeeDetail.html new file mode 100644 index 000000000..1f1e83c95 --- /dev/null +++ b/public/pages/property/reportFeeDetail/reportFeeDetail.html @@ -0,0 +1,113 @@ +
    +
    +
    +
    +
    +
    查询条件
    +
    + +
    +
    +
    +
    + +
    +
    + +
    + +
    +
    + +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + +
    + +
    + + +
    +
    +
    +
    +
    +
    +
    +
    +
    费用明细表
    +
    + +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    费用编号房号费用项费用开始时间费用结束时间应收金额实收金额
    {{index+1}}{{fee.objName}}{{fee.feeName}}{{fee.feeCreateTime}}-{{fee.receivableAmount}}{{fee.receivedAmount}}
    +
      +
      + + +
      +
      +
      +
      + + +
      \ No newline at end of file diff --git a/public/pages/property/reportFeeDetail/reportFeeDetail.js b/public/pages/property/reportFeeDetail/reportFeeDetail.js new file mode 100644 index 000000000..2ac913beb --- /dev/null +++ b/public/pages/property/reportFeeDetail/reportFeeDetail.js @@ -0,0 +1,99 @@ +/** + 入驻小区 + **/ +(function (vc) { + var DEFAULT_PAGE = 1; + var DEFAULT_ROWS = 10; + vc.extends({ + data: { + reportFeeDetailInfo: { + fees: [], + total: 0, + records: 1, + moreCondition: false, + title: '', + roomUnits: [], + conditions: { + floorId: '', + floorName: '', + roomNum: '', + unitId: '', + startTime:'', + endTime:'' + } + } + }, + _initMethod: function () { + vc.component._listFees(DEFAULT_PAGE, DEFAULT_ROWS); + + }, + _initEvent: function () { + + vc.on('reportFeeDetail', 'chooseFloor', function (_param) { + vc.component.reportFeeDetailInfo.conditions.floorId = _param.floorId; + vc.component.reportFeeDetailInfo.conditions.floorName = _param.floorName; + vc.component.loadUnits(_param.floorId); + + }); + vc.on('pagination', 'page_event', function (_currentPage) { + vc.component._listFees(_currentPage, DEFAULT_ROWS); + }); + }, + methods: { + _queryMethod:function(){ + vc.component._listFees(DEFAULT_PAGE, DEFAULT_ROWS); + }, + _listFees: function (_page, _rows) { + + vc.component.reportFeeDetailInfo.conditions.page = _page; + vc.component.reportFeeDetailInfo.conditions.row = _rows; + vc.component.reportFeeDetailInfo.conditions.communityId = vc.getCurrentCommunity().communityId; + var param = { + params: vc.component.reportFeeDetailInfo.conditions + }; + + //发送get请求 + vc.http.apiGet('/reportFeeMonthStatistics/queryFeeDetail', + param, + function (json, res) { + var _reportFeeDetailInfo = JSON.parse(json); + vc.component.reportFeeDetailInfo.total = _reportFeeDetailInfo.total; + vc.component.reportFeeDetailInfo.records = _reportFeeDetailInfo.records; + vc.component.reportFeeDetailInfo.fees = _reportFeeDetailInfo.data; + vc.emit('pagination', 'init', { + total: vc.component.reportFeeDetailInfo.records, + currentPage: _page + }); + }, function (errInfo, error) { + console.log('请求失败处理'); + } + ); + }, + loadUnits: function (_floorId) { + var param = { + params: { + floorId: _floorId, + communityId: vc.getCurrentCommunity().communityId + } + } + vc.http.get( + 'room', + 'loadUnits', + param, + function (json, res) { + //vm.menus = vm.refreshMenuActive(JSON.parse(json),0); + if (res.status == 200) { + let tmpUnits = JSON.parse(json); + vc.component.reportFeeDetailInfo.roomUnits = tmpUnits; + return; + } + vc.toast(json); + }, + function (errInfo, error) { + console.log('请求失败处理'); + vc.toast(errInfo); + }); + }, + } + }); +})(window.vc); diff --git a/public/pages/property/reportFeeSummary/reportFeeSummary.html b/public/pages/property/reportFeeSummary/reportFeeSummary.html index 6f2d67988..b4b4619d4 100644 --- a/public/pages/property/reportFeeSummary/reportFeeSummary.html +++ b/public/pages/property/reportFeeSummary/reportFeeSummary.html @@ -27,7 +27,7 @@
      -
      -
      @@ -81,7 +81,7 @@ - {{fee.feeDate}} + {{fee.feeYear+'年'+fee.feeMonth+'月'}} {{fee.receivableAmount}} {{fee.receivedAmount}} {{fee.oweAmount}} diff --git a/public/pages/property/reportFeeSummary/reportFeeSummary.js b/public/pages/property/reportFeeSummary/reportFeeSummary.js index 50eaf06c4..3521d468b 100644 --- a/public/pages/property/reportFeeSummary/reportFeeSummary.js +++ b/public/pages/property/reportFeeSummary/reportFeeSummary.js @@ -24,7 +24,7 @@ } }, _initMethod: function () { - vc.component._listActivitiess(DEFAULT_PAGE, DEFAULT_ROWS); + vc.component._listFees(DEFAULT_PAGE, DEFAULT_ROWS); }, _initEvent: function () { @@ -36,11 +36,14 @@ }); vc.on('pagination', 'page_event', function (_currentPage) { - vc.component._listActivitiess(_currentPage, DEFAULT_ROWS); + vc.component._listFees(_currentPage, DEFAULT_ROWS); }); }, methods: { - _listActivitiess: function (_page, _rows) { + _queryMethod:function(){ + vc.component._listFees(DEFAULT_PAGE, DEFAULT_ROWS); + }, + _listFees: function (_page, _rows) { vc.component.reportFeeSummaryInfo.conditions.page = _page; vc.component.reportFeeSummaryInfo.conditions.row = _rows; @@ -50,14 +53,13 @@ }; //发送get请求 - vc.http.get('reportFeeSummary', - 'list', + vc.http.apiGet('/reportFeeMonthStatistics/queryReportFeeSummary', param, function (json, res) { var _reportFeeSummaryInfo = JSON.parse(json); vc.component.reportFeeSummaryInfo.total = _reportFeeSummaryInfo.total; vc.component.reportFeeSummaryInfo.records = _reportFeeSummaryInfo.records; - vc.component.reportFeeSummaryInfo.activitiess = _reportFeeSummaryInfo.activitiess; + vc.component.reportFeeSummaryInfo.fees = _reportFeeSummaryInfo.data; vc.emit('pagination', 'init', { total: vc.component.reportFeeSummaryInfo.records, currentPage: _page diff --git a/public/pages/property/reportFloorUnitFeeSummary/reportFloorUnitFeeSummary.html b/public/pages/property/reportFloorUnitFeeSummary/reportFloorUnitFeeSummary.html new file mode 100644 index 000000000..41821fd52 --- /dev/null +++ b/public/pages/property/reportFloorUnitFeeSummary/reportFloorUnitFeeSummary.html @@ -0,0 +1,110 @@ +
      +
      +
      +
      +
      +
      查询条件
      +
      + +
      +
      +
      +
      + +
      +
      + +
      + +
      +
      + +
      +
      +
      + +
      +
      +
      +
      + +
      +
      +
      + +
      + +
      + + +
      +
      +
      +
      +
      +
      +
      +
      +
      楼栋费用表
      +
      + +
      +
      +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      日期楼栋单元应收金额实收金额欠费金额
      {{fee.feeYear+'年'+fee.feeMonth+'月'}}{{fee.floorNum}}号楼{{fee.unitNum}}单元{{fee.receivableAmount}}{{fee.receivedAmount}}{{fee.oweAmount}}
      +
        +
        + + +
        +
        +
        +
        + + +
        \ No newline at end of file diff --git a/public/pages/property/reportFloorUnitFeeSummary/reportFloorUnitFeeSummary.js b/public/pages/property/reportFloorUnitFeeSummary/reportFloorUnitFeeSummary.js new file mode 100644 index 000000000..8d00cfa22 --- /dev/null +++ b/public/pages/property/reportFloorUnitFeeSummary/reportFloorUnitFeeSummary.js @@ -0,0 +1,99 @@ +/** + 入驻小区 + **/ +(function (vc) { + var DEFAULT_PAGE = 1; + var DEFAULT_ROWS = 10; + vc.extends({ + data: { + reportFloorUnitFeeSummaryInfo: { + fees: [], + total: 0, + records: 1, + moreCondition: false, + title: '', + roomUnits: [], + conditions: { + floorId: '', + floorName: '', + roomNum: '', + unitId: '', + startTime:'', + endTime:'' + } + } + }, + _initMethod: function () { + vc.component._listFees(DEFAULT_PAGE, DEFAULT_ROWS); + + }, + _initEvent: function () { + + vc.on('reportFloorUnitFeeSummary', 'chooseFloor', function (_param) { + vc.component.reportFloorUnitFeeSummaryInfo.conditions.floorId = _param.floorId; + vc.component.reportFloorUnitFeeSummaryInfo.conditions.floorName = _param.floorName; + vc.component.loadUnits(_param.floorId); + + }); + vc.on('pagination', 'page_event', function (_currentPage) { + vc.component._listFees(_currentPage, DEFAULT_ROWS); + }); + }, + methods: { + _queryMethod:function(){ + vc.component._listFees(DEFAULT_PAGE, DEFAULT_ROWS); + }, + _listFees: function (_page, _rows) { + + vc.component.reportFloorUnitFeeSummaryInfo.conditions.page = _page; + vc.component.reportFloorUnitFeeSummaryInfo.conditions.row = _rows; + vc.component.reportFloorUnitFeeSummaryInfo.conditions.communityId = vc.getCurrentCommunity().communityId; + var param = { + params: vc.component.reportFloorUnitFeeSummaryInfo.conditions + }; + + //发送get请求 + vc.http.apiGet('/reportFeeMonthStatistics/queryFloorUnitFeeSummary', + param, + function (json, res) { + var _reportFloorUnitFeeSummaryInfo = JSON.parse(json); + vc.component.reportFloorUnitFeeSummaryInfo.total = _reportFloorUnitFeeSummaryInfo.total; + vc.component.reportFloorUnitFeeSummaryInfo.records = _reportFloorUnitFeeSummaryInfo.records; + vc.component.reportFloorUnitFeeSummaryInfo.fees = _reportFloorUnitFeeSummaryInfo.data; + vc.emit('pagination', 'init', { + total: vc.component.reportFloorUnitFeeSummaryInfo.records, + currentPage: _page + }); + }, function (errInfo, error) { + console.log('请求失败处理'); + } + ); + }, + loadUnits: function (_floorId) { + var param = { + params: { + floorId: _floorId, + communityId: vc.getCurrentCommunity().communityId + } + } + vc.http.get( + 'room', + 'loadUnits', + param, + function (json, res) { + //vm.menus = vm.refreshMenuActive(JSON.parse(json),0); + if (res.status == 200) { + let tmpUnits = JSON.parse(json); + vc.component.reportFloorUnitFeeSummaryInfo.roomUnits = tmpUnits; + return; + } + vc.toast(json); + }, + function (errInfo, error) { + console.log('请求失败处理'); + vc.toast(errInfo); + }); + }, + } + }); +})(window.vc);