| | |
| | | data: { |
| | | payFeeManageInfo: { |
| | | payFees: [], |
| | | payFeeTypes:[], |
| | | total: 0, |
| | | records: 1, |
| | | moreCondition: false, |
| | |
| | | function (json, res) { |
| | | var _payFeeManageInfo = JSON.parse(json); |
| | | vc.component.payFeeManageInfo.total = _payFeeManageInfo.total; |
| | | vc.component.payFeeManageInfo.records = _payFeeManageInfo.records; |
| | | vc.component.payFeeManageInfo.records = parseInt(_payFeeManageInfo.total/_rows +1); |
| | | vc.component.payFeeManageInfo.payFees = _payFeeManageInfo.payFees; |
| | | vc.emit('pagination', 'init', { |
| | | total: vc.component.payFeeManageInfo.records, |
| | |
| | | }, |
| | | _exportExcel:function () { |
| | | |
| | | } |
| | | }, |
| | | _listpayFees: function (_page, _rows) { |
| | | var param = { |
| | | params:{ |
| | | "hc":"cc@cc" |
| | | } |
| | | }; |
| | | |
| | | //发送get请求 |
| | | vc.http.get('payFeeManage', |
| | | 'listFeeType', |
| | | param, |
| | | function (json, res) { |
| | | var _feeTypesInfo = JSON.parse(json); |
| | | vc.component.payFeeManageInfo.payFeeTypes = _feeTypesInfo; |
| | | |
| | | }, function (errInfo, error) { |
| | | console.log('请求失败处理'); |
| | | } |
| | | ); |
| | | }, |
| | | } |
| | | }); |
| | | })(window.vc); |