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.
127 lines
4.6 KiB
127 lines
4.6 KiB
import { get, post, deletes, put } from './api.js' |
|
const host = 'http://192.168.31.51:9000' |
|
export const getProjectBySystemId = (params) => { |
|
return get('/occupationlab/occupationlab/projectManage/getProjectBySystemId', params) |
|
} |
|
export const getProjectDetail = (params) => { |
|
return get('/occupationlab/occupationlab/projectManage/getProjectDetail', params) |
|
} |
|
export const submit = (params) => { |
|
return post('/bank/bank/submit', params) |
|
} |
|
export const getSubjectInfo = (params) => { |
|
return get('/judgment/judgment/lcSubject/getSubjectInfo', params) |
|
} |
|
export const getQueryCache = () => { |
|
return get('/bank/bank/queryCache') |
|
} |
|
export const addOperation = (params) => { |
|
return post('/bank/bank/addOperation', params) |
|
} |
|
export const getOperation = (params) => { |
|
return get('/bank/bank/getOperation', params) |
|
} |
|
export const deleteCache = () => { |
|
return get('/bank/bank/deleteCache') |
|
} |
|
export const exportBankExperimentReport = (params) => { |
|
return post('/occupationlab/occupationlab/achievement/exportBankExperimentReport', params) |
|
} |
|
export const updateReport = (params) => { |
|
return post('/occupationlab/occupationlab/achievement/updateReport', params) |
|
} |
|
// 学生查看考核状态 |
|
export const checkTest = (params) => { |
|
return get('/occupationlab/occupationlab/assessment/getDetailById', { ...params }) |
|
} |
|
export const checkTest2 = (params) => { |
|
return post('/occupationlab/occupationlab/assessment/pageStuAssessment', { |
|
pageNum: 1, |
|
pageSize: 10000, |
|
...params |
|
}) |
|
} |
|
|
|
export const reportDetail = (reportId) => { |
|
return get('/occupationlab/occupationlab/achievement/reportDetail', { |
|
reportId |
|
}) |
|
} |
|
export const creditEvaluationInput = data => { |
|
return post(`/judgment/bankCreditEvaluation/creditEvaluationInput`, data) |
|
} |
|
export const creditEvaluationDetails = data => { |
|
return post(`/judgment/bankCreditEvaluation/creditEvaluationDetails`, data) |
|
} |
|
export const loanApplicationInput = data => { |
|
return post(`/judgment/bankLoanApplication/loanApplicationInput`, data) |
|
} |
|
export const loanApplicationDetails = data => { |
|
return get(`/judgment/bankLoanApplication/loanApplicationDetails`, data) |
|
} |
|
export const creditApplicationInput = data => { |
|
return post(`/judgment/bankCreditApplication/creditApplicationInput`, data) |
|
} |
|
export const creditApplicationDetails = data => { |
|
return post(`/judgment/bankCreditApplication/creditApplicationDetails`, data) |
|
} |
|
export const companyLoanList = data => { |
|
return post(`/judgment/bankCompanyLoans/companyLoanList`, data) |
|
} |
|
export const companyLoanDetails = id => { |
|
return get(`/judgment/bankCompanyLoans/companyLoanDetails?companyLoanId=${id}`) |
|
} |
|
export const loanDisbursement = data => { |
|
return post(`/judgment/bankCompanyLoans/loanDisbursement`, data) |
|
} |
|
export const loanCollection = data => { |
|
return post(`/judgment/bankCompanyLoans/loanCollection`, data) |
|
} |
|
export const nonPerformingLoans = data => { |
|
return post(`/judgment/bankCompanyLoans/nonPerformingLoans`, data) |
|
} |
|
export const badDebtRecognition = data => { |
|
return post(`/judgment/bankCompanyLoans/badDebtRecognition`, data) |
|
} |
|
export const postLoanInvestigationInput = data => { |
|
return post(`/judgment/bankPostLoanInvestigation/postLoanInvestigationInput`, data) |
|
} |
|
export const addExtensionPeriod = data => { |
|
return post(`/judgment/bankCompanyLoans/addExtensionPeriod`, data) |
|
} |
|
|
|
export const batchProcessingCompany = data => { |
|
return post(`/judgment/bankCompanyRepaymentPlan/batchProcessing`, data) |
|
} |
|
export const repaymentPlanCompany = data => { |
|
return post(`/judgment/bankCompanyRepaymentPlan/repaymentPlan`, data) |
|
} |
|
|
|
export const loanContractSave = (data) => { |
|
return post('/judgment/bankPersonalLoanContractInfo/saveOrUpdate', data) |
|
} |
|
|
|
export const personalBasicDel = data => { |
|
return post('/judgment/bankPersonalBasicInfo/batchDeletion', data) |
|
} |
|
export const personalBasicFind = id => { |
|
return post('/judgment/bankPersonalBasicInfo/findById?id=' + id) |
|
} |
|
export const personalBasicList = (data) => { |
|
return post('/judgment/bankPersonalBasicInfo/personageLoanList', data) |
|
} |
|
export const personalBasicSave = (data) => { |
|
return post('/judgment/bankPersonalBasicInfo/saveOrUpdate', data) |
|
} |
|
export const grantALoan = (data) => { |
|
return post(`/judgment/bankPersonalLoanContractInfo/grantALoan?contractId=${data.id}&disbursementDate=${data.disbursementDate}`) |
|
} |
|
export const repaymentPlan = (data) => { |
|
return post(`/judgment/bankPersonalRepaymentPlan/repaymentPlan`, data) |
|
} |
|
export const batchProcessing = (data) => { |
|
return post(`/judgment/bankPersonalRepaymentPlan/batchProcessing`, data) |
|
} |
|
export const operationExtension = (data) => { |
|
return post(`/judgment/bankPersonalLoanContractInfo/operationExtension?contractId=${data.id}&extensionPeriod=${data.extensionPeriod}`) |
|
} |