diff --git a/app.js b/app.js index 4b4cb0be0..0ba9148d2 100644 --- a/app.js +++ b/app.js @@ -34,10 +34,10 @@ let opts = { //app.use('/callComponent',proxy('https://app.demo.winqi.cn/',opts)); //app.use('/callComponent',proxy('http://api.demo.winqi.cn:8012/',opts)); //app.use('/callComponent',proxy('http://api.demo.winqi.cn:8012',opts)); -//app.use('/callComponent',proxy('http://api.demo.winqi.cn:8012',opts)); -//app.use('/app',proxy('http://api.demo.winqi.cn:8012',opts)); -app.use('/callComponent',proxy('http://192.168.1.16:8012',opts)); -app.use('/app',proxy('http://192.168.1.16:8012',opts)); +app.use('/callComponent',proxy('http://api.demo.winqi.cn:8012',opts)); +app.use('/app',proxy('http://api.demo.winqi.cn:8012',opts)); +//app.use('/callComponent',proxy('http://192.168.1.16:8012',opts)); +//app.use('/app',proxy('http://192.168.1.16:8012',opts)); //app.listen(3000); app.use(express.json()); diff --git a/public/pages/property/listOweFee/listOweFee.html b/public/pages/property/listOweFee/listOweFee.html new file mode 100644 index 000000000..ac02b6946 --- /dev/null +++ b/public/pages/property/listOweFee/listOweFee.html @@ -0,0 +1,104 @@ +
+ +
+
+
+
+
查询条件
+
+ +
+
+
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
欠费信息
+
+ + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
收费对象费用项目业主名称业主电话到期时间欠费金额操作
{{fee.roomName}}{{fee.feeName}}{{fee.ownerName}}{{fee.ownerTel}}{{fee.endTime}}{{fee.amountOwed}} + +
+ + + +
+
+
+
+
\ No newline at end of file diff --git a/public/pages/property/listOweFee/listOweFee.js b/public/pages/property/listOweFee/listOweFee.js new file mode 100644 index 000000000..84c4e3ec6 --- /dev/null +++ b/public/pages/property/listOweFee/listOweFee.js @@ -0,0 +1,84 @@ +(function(vc){ + var DEFAULT_PAGE = 1; + var DEFAULT_ROWS = 10; + vc.extends({ + data:{ + listOweFeeInfo:{ + fees:[], + roomName:'', + roomId:'', + total: 0, + records: 1, + moreCondition:false, + roomNum:'', + conditions:{ + floorName:'', + payObjType:'3333', + billType:'00123' + }, + roomUnits:[], + floorId:'', + unitId:'', + } + }, + _initMethod:function(){ + vc.component._loadListOweFeeInfo(1,10); + }, + _initEvent:function(){ + + vc.on('pagination', 'page_event', + function(_currentPage) { + vc.component._loadListOweFeeInfo(_currentPage, DEFAULT_ROWS); + }); + }, + methods:{ + _loadListOweFeeInfo:function(_page,_row){ + + vc.component.listOweFeeInfo.conditions.page = _page; + vc.component.listOweFeeInfo.conditions.row = _row; + vc.component.listOweFeeInfo.conditions.communityId = vc.getCurrentCommunity().communityId; + let param = { + params: vc.component.listOweFeeInfo.conditions + }; + + //发送get请求 + vc.http.apiGet('/feeApi/getOweFees', + param, + function(json){ + var _feeConfigInfo = JSON.parse(json); + vc.component.listOweFeeInfo.total = _feeConfigInfo.total; + vc.component.listOweFeeInfo.records = _feeConfigInfo.records; + vc.component.listOweFeeInfo.fees = _feeConfigInfo.data; + vc.emit('pagination', 'init', { + total: _feeConfigInfo.records, + currentPage: _page + }); + },function(){ + console.log('请求失败处理'); + } + ); + }, + _goBack:function(){ + vc.goBack(); + }, + _toOwnerPayFee:function(_fee){ + vc.jumpToPage('/admin.html#/pages/property/owePayFeeOrder?payObjId='+_fee.payObjId+"&payObjType="+_fee.payObjType+"&roomName="+_fee.roomName); + }, + _moreCondition:function(){ + if(vc.component.listOweFeeInfo.moreCondition){ + vc.component.listOweFeeInfo.moreCondition = false; + }else{ + vc.component.listOweFeeInfo.moreCondition = true; + } + }, + _openChooseFloorMethod:function(){ + vc.emit('searchFloor','openSearchFloorModel',{}); + }, + _queryOweFeeMethod:function(){ + vc.component._loadListOweFeeInfo(1,10); + } + + } + + }); +})(window.vc); diff --git a/public/pages/property/roomCreateFee/roomCreateFee.js b/public/pages/property/roomCreateFee/roomCreateFee.js index 5ed02bde7..0c1e24c82 100644 --- a/public/pages/property/roomCreateFee/roomCreateFee.js +++ b/public/pages/property/roomCreateFee/roomCreateFee.js @@ -174,4 +174,4 @@ } }); -})(window.vc); \ No newline at end of file +})(window.vc);