| | |
| | | }) |
| | | }, |
| | | |
| | | // 上传不涉及台账 |
| | | uploadNoLedger: function(userId, time, ledgerIdList, fun) { |
| | | let cb = { |
| | | url: '/ledger/upload/noLedger', |
| | | params: { |
| | | userId: userId, |
| | | time: time |
| | | }, |
| | | data: ledgerIdList, |
| | | } |
| | | Object.assign(cb, fun) |
| | | |
| | | $f.post(cb) |
| | | }, |
| | | |
| | | //获取台账详情 |
| | | getLedgerDetail: function (userId, ledgerSubTypeId, sceneType, time, fun) { |
| | | let cb = { |
| | | url: `/ledger/${userId}/detail2`, |
| | | params: { |
| | | sceneType: sceneType, |
| | | time: time |
| | | }, |
| | | } |
| | | if (ledgerSubTypeId) { |
| | | cb.params.ledgerSubTypeId = ledgerSubTypeId |
| | | } |
| | | if (time) { |
| | | cb.params.time = time |
| | | } |
| | | Object.assign(cb, fun) |
| | | |
| | | let fun1 = util.deepCopy(cb) |