diff --git a/public/pages/property/roomCreateFee/roomCreateFee.html b/public/pages/property/roomCreateFee/roomCreateFee.html index 283506d59..e2766a6a7 100644 --- a/public/pages/property/roomCreateFee/roomCreateFee.html +++ b/public/pages/property/roomCreateFee/roomCreateFee.html @@ -76,10 +76,7 @@
房屋信息
- +
\ No newline at end of file diff --git a/public/pages/property/roomFeeImport/roomFeeImport.html b/public/pages/property/roomFeeImport/roomFeeImport.html new file mode 100644 index 000000000..89afd0cc5 --- /dev/null +++ b/public/pages/property/roomFeeImport/roomFeeImport.html @@ -0,0 +1,103 @@ +
+
+
+
+
+
查询条件
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+ + +
+
+
+
+
+
+
+
+
费用导入
+
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
导入ID费用类型创建时间操作
{{fee.importFeeId}}{{fee.feeTypeCd}}{{fee.createTime}} +
+ +
+
+
    +
    + + +
    +
    +
    +
    + +
    \ No newline at end of file diff --git a/public/pages/property/roomFeeImport/roomFeeImport.js b/public/pages/property/roomFeeImport/roomFeeImport.js new file mode 100644 index 000000000..6b297015b --- /dev/null +++ b/public/pages/property/roomFeeImport/roomFeeImport.js @@ -0,0 +1,77 @@ +/** + 入驻小区 + **/ +(function (vc) { + var DEFAULT_PAGE = 1; + var DEFAULT_ROWS = 10; + vc.extends({ + data: { + roomFeeImport: { + improtFees: [], + total: 0, + records: 1, + moreCondition: false, + title: '', + conditions: { + importFeeId: '', + + } + } + }, + _initMethod: function () { + $that._listFees(DEFAULT_PAGE,DEFAULT_ROWS); + }, + _initEvent: function () { + + vc.on('roomFeeImport', 'listFee', function (_param) { + vc.component._listImportFees(DEFAULT_PAGE, DEFAULT_ROWS); + }); + vc.on('pagination', 'page_event', function (_currentPage) { + vc.component._listbills(_currentPage, DEFAULT_ROWS); + }); + }, + methods: { + _listImportFees: function (_page, _rows) { + + vc.component.roomFeeImport.conditions.page = _page; + vc.component.roomFeeImport.conditions.row = _rows; + vc.component.roomFeeImport.conditions.communityId = vc.getCurrentCommunity().communityId; + var param = { + params: vc.component.roomFeeImport.conditions + }; + + //发送get请求 + vc.http.apiGet('/importFee/queryImportFee', + param, + function (json, res) { + var _roomFeeImport = JSON.parse(json); + vc.component.roomFeeImport.total = _roomFeeImport.total; + vc.component.roomFeeImport.records = _roomFeeImport.records; + vc.component.roomFeeImport.improtFees = _roomFeeImport.data; + vc.emit('pagination', 'init', { + total: vc.component.roomFeeImport.records, + currentPage: _page + }); + }, function (errInfo, error) { + console.log('请求失败处理'); + } + ); + }, + _openImportFeeDetail: function (_bill) { + vc.jumpToPage('/admin.html#/pages/property/billOweManage?'+vc.objToGetParam(_bill)); + + }, + _queryImportFeeMethod: function () { + vc.component._listImportFees(DEFAULT_PAGE, DEFAULT_ROWS); + + }, + _moreCondition: function () { + if (vc.component.roomFeeImport.moreCondition) { + vc.component.roomFeeImport.moreCondition = false; + } else { + vc.component.roomFeeImport.moreCondition = true; + } + } + } + }); +})(window.vc);