| | |
| | | vc.component._listPayFeeConfigDiscounts(_currentPage, DEFAULT_ROWS); |
| | | }); |
| | | }, |
| | | // filters: { |
| | | // formatDate: function(value) { |
| | | // if (!value) return ''; |
| | | // return value.split(' ')[0]; |
| | | // } |
| | | // }, |
| | | methods: { |
| | | formatDate: function(dateString) { |
| | | if (!dateString) return ''; // 如果没有日期字符串,则返回空字符串 |
| | | return dateString.split(' ')[0]; // 返回日期部分 |
| | | }, |
| | | _listPayFeeConfigDiscounts: function (_page, _rows) { |
| | | let param = { |
| | | params: { |
| | |
| | | dataCount: vc.component.payFeeConfigDiscountManageInfo.total, |
| | | currentPage: _page |
| | | }); |
| | | }, function (errInfo, error) { |
| | | }, |
| | | function (errInfo, error) { |
| | | console.log('请求失败处理'); |
| | | } |
| | | ); |
| | |
| | | } |
| | | } |
| | | }); |
| | | })(window.vc); |
| | | })(window.vc); |