2026-01-20 15:09:10 +08:00
|
|
|
import request from '@/utils/request'
|
|
|
|
|
|
|
|
|
|
// 查询利率定价流程列表
|
|
|
|
|
export function listWorkflow(query) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/loanPricing/workflow/list',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: query
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 查询利率定价流程详情
|
|
|
|
|
export function getWorkflow(serialNum) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/loanPricing/workflow/' + serialNum,
|
|
|
|
|
method: 'get'
|
|
|
|
|
})
|
|
|
|
|
}
|
2026-01-20 18:20:23 +08:00
|
|
|
|
2026-02-02 15:25:38 +08:00
|
|
|
// 创建个人客户利率定价流程
|
|
|
|
|
export function createPersonalWorkflow(data) {
|
2026-01-20 18:20:23 +08:00
|
|
|
return request({
|
2026-02-02 15:25:38 +08:00
|
|
|
url: '/loanPricing/workflow/create/personal',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 创建企业客户利率定价流程
|
|
|
|
|
export function createCorporateWorkflow(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/loanPricing/workflow/create/corporate',
|
2026-01-20 18:20:23 +08:00
|
|
|
method: 'post',
|
|
|
|
|
data: data
|
|
|
|
|
})
|
|
|
|
|
}
|
2026-01-22 16:01:12 +08:00
|
|
|
|
2026-04-29 14:13:27 +08:00
|
|
|
// 查询个人客户号映射
|
|
|
|
|
export function queryPersonalCustomerMap(custId) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/loanPricing/workflow/customer-map/personal',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: { custId: custId }
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 查询企业客户号映射
|
|
|
|
|
export function queryCorporateCustomerMap(custId) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/loanPricing/workflow/customer-map/corporate',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: { custId: custId }
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-30 09:17:06 +08:00
|
|
|
// 查询历史贷款合同
|
|
|
|
|
export function queryHistoryContracts(custIsn) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/loanPricing/workflow/history-contract',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: { custIsn: custIsn }
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
2026-01-22 16:01:12 +08:00
|
|
|
// 设定执行利率
|
|
|
|
|
export function setExecuteRate(serialNum, executeRate) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/loanPricing/workflow/' + serialNum + '/executeRate',
|
|
|
|
|
method: 'put',
|
|
|
|
|
data: { executeRate: executeRate }
|
|
|
|
|
})
|
|
|
|
|
}
|