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.
123 lines
2.6 KiB
123 lines
2.6 KiB
import request from '@/utils/request'
|
|
|
|
// 盖章申请管理分页列表
|
|
export function listPage(data) {
|
|
return request({
|
|
url: '/fin/v1/finbillapplication/listPage',
|
|
method: 'post',
|
|
data: data,
|
|
headers: {
|
|
'Content-Type': 'application/json'
|
|
}
|
|
})
|
|
}
|
|
|
|
// 盖章申请管理保存(新增、编辑)
|
|
export function save(data) {
|
|
return request({
|
|
url: '/fin/v1/finbillapplication/save',
|
|
method: 'post',
|
|
data: data,
|
|
headers: {
|
|
'Content-Type': 'application/json'
|
|
}
|
|
})
|
|
}
|
|
|
|
// 盖章申请管理分页列表删除
|
|
export function delBySids(data) {
|
|
return request({
|
|
url: '/fin/v1/finbillapplication/delBySids',
|
|
method: 'DELETE',
|
|
data: data,
|
|
headers: {
|
|
'Content-Type': 'application/json'
|
|
}
|
|
})
|
|
}
|
|
|
|
// 盖章申请管理根据Sid获取一条记录
|
|
export function fetchDetailsBySid(data) {
|
|
return request({
|
|
url: '/fin/v1/finbillapplication/fetchDetailsBySid/' + data,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 数据字典
|
|
export function dataDictionary(data) {
|
|
return request({
|
|
url: '/portal/v1/dictcommons/typeValues',
|
|
method: 'get',
|
|
params: data
|
|
})
|
|
}
|
|
|
|
// 挂靠公司模糊查询下拉框
|
|
export function namesDown(data) {
|
|
return request({
|
|
url: '/base/v1/baseaffiliatcompany/namesDown',
|
|
method: 'get',
|
|
params: data
|
|
})
|
|
}
|
|
|
|
// 盖章申请管理提交
|
|
export function submitFinBillApplication(data) {
|
|
return request({
|
|
url: '/fin/v1/finbillapplication/submitFinBillApplication',
|
|
method: 'post',
|
|
data: data,
|
|
headers: {
|
|
'Content-Type': 'application/json'
|
|
}
|
|
})
|
|
}
|
|
|
|
// 待办任务同意办理
|
|
export function businessAgree(data) {
|
|
return request({
|
|
url: '/fin/v1/finbillapplication/complete',
|
|
method: 'post',
|
|
data: data,
|
|
headers: {
|
|
'Content-Type': 'application/json'
|
|
}
|
|
})
|
|
}
|
|
|
|
// 待办任务驳回任务
|
|
export function rejectTask(data) {
|
|
return request({
|
|
url: '/fin/v1/finbillapplication/reject/' + data.businessSid,
|
|
method: 'post',
|
|
data: data,
|
|
headers: {
|
|
'Content-Type': 'application/json'
|
|
}
|
|
})
|
|
}
|
|
|
|
// 待办任务终止任务
|
|
export function breakTask(data) {
|
|
return request({
|
|
url: '/fin/v1/finbillapplication/breakProcess/' + data.businessSid,
|
|
method: 'post',
|
|
data: data,
|
|
headers: {
|
|
'Content-Type': 'application/json'
|
|
}
|
|
})
|
|
}
|
|
|
|
// 待办任务撤回任务
|
|
export function revokeTask(data) {
|
|
return request({
|
|
url: '/fin/v1/finbillapplication/revokeProcess/' + data.userSid + '/' + data.businessSid,
|
|
method: 'post',
|
|
data: data,
|
|
headers: {
|
|
'Content-Type': 'application/json'
|
|
}
|
|
})
|
|
}
|
|
|