12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- import {
- request
- } from '@/request/request.js';
- /*
- * 分页获取账单
- *
- *
- */
- export function getPaymentListByPage(data) {
- return request({
- url: `/api/payment/${data.currPage}/${data.pageSize}`,
- method: 'post',
- data: data
- })
- }
- /*
- * 分页获取账单
- *
- *
- */
- export function getCommonPaymentListByPage(data) {
- return request({
- url: `/api/payment/ordinary/${data.currPage}/${data.pageSize}`,
- method: 'post',
- data: data
- })
- }
- /*
- * 通过ID获取合同账单详情
- *
- *
- */
- export function getPaymentDetailById(id) {
- return request({
- url: `/api/payment/${id}`,
- method: 'get',
- })
- }
- /*
- * 通过id获取常规账单详情
- *
- *
- */
- export function getCommonPaymentDetailById(id) {
- return request({
- url: `/api/payment/ordinary/${id}`,
- method: 'get'
- })
- }
- /*
- * 更新账单
- *
- *
- */
- export function updatePayment(data) {
- return request({
- url: `/api/payment/ordinary`,
- method: 'put',
- data: data
- })
- }
|