You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.5 KiB
57 lines
1.5 KiB
import request from '@/utils/request'
|
|
|
|
export default {
|
|
// 查询分页列表
|
|
listPage: function(params) {
|
|
return request({
|
|
url: '/fin/v1/finpaymentrecord/listPage',
|
|
method: 'post',
|
|
data: params,
|
|
headers: { 'Content-Type': 'application/json' }
|
|
})
|
|
},
|
|
// 查询分页列表(待付款列表--层级查询)
|
|
listPageCJCX: function(params) {
|
|
return request({
|
|
url: '/fin/v1/finpaymentrecord/listPageCJCX',
|
|
method: 'post',
|
|
data: params,
|
|
headers: { 'Content-Type': 'application/json' }
|
|
})
|
|
},
|
|
// 更新
|
|
update: function(params) {
|
|
return request({
|
|
url: '/fin/v1/finpaymentrecord/update',
|
|
method: 'post',
|
|
data: params,
|
|
headers: { 'Content-Type': 'application/json' }
|
|
})
|
|
},
|
|
// 通过sid作废一条或多条记录
|
|
abandonApply: function(params) {
|
|
return request({
|
|
url: '/fin/v1/finpaymentrecord/updateState',
|
|
method: 'post',
|
|
data: params,
|
|
headers: { 'Content-Type': 'application/json' }
|
|
})
|
|
},
|
|
// 通过sid作废一条或多条记录
|
|
createPdf: function(data) {
|
|
return request({
|
|
url: '/fin/v1/finpaymentrecord/createPdf',
|
|
method: 'post',
|
|
params: data
|
|
})
|
|
},
|
|
// 通过sid作废一条或多条记录
|
|
updateAllState: function(data) {
|
|
return request({
|
|
url: '/fin/v1/finpaymentrecord/updateAllState',
|
|
method: 'post',
|
|
data: data,
|
|
headers: { 'Content-Type': 'application/json' }
|
|
})
|
|
}
|
|
}
|
|
|