|
|
@ -133,8 +133,8 @@ |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="还款方式" prop="repaymentMethod"> |
|
|
|
<el-form-item label="还款方式" prop="repaymentMethod"> |
|
|
|
<el-select v-model="form.repaymentMethod" placeholder="请选择"> |
|
|
|
<el-select v-model="form.repaymentMethod" placeholder="请选择"> |
|
|
|
<el-option label="等额本金" :value="1"></el-option> |
|
|
|
<el-option label="等额本金" :value="235"></el-option> |
|
|
|
<el-option label="等额本息" :value="2"></el-option> |
|
|
|
<el-option label="等额本息" :value="236"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="还款账号" prop="repaymentAccount"> |
|
|
|
<el-form-item label="还款账号" prop="repaymentAccount"> |
|
|
@ -253,7 +253,7 @@ export default { |
|
|
|
area: '', |
|
|
|
area: '', |
|
|
|
usagePeriod: '', |
|
|
|
usagePeriod: '', |
|
|
|
usagePeriodEnd: '', |
|
|
|
usagePeriodEnd: '', |
|
|
|
applicationDate: new Date() |
|
|
|
applicationDate: Util.formatDate('yyyy-MM-dd', new Date()) |
|
|
|
}, |
|
|
|
}, |
|
|
|
basicFormName: { |
|
|
|
basicFormName: { |
|
|
|
idType: '证件类型', |
|
|
|
idType: '证件类型', |
|
|
@ -295,14 +295,17 @@ export default { |
|
|
|
|
|
|
|
|
|
|
|
loanTerms: [ |
|
|
|
loanTerms: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
pointId: 244, |
|
|
|
id: 120, |
|
|
|
id: 120, |
|
|
|
name: '120个月' |
|
|
|
name: '120个月' |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
pointId: 245, |
|
|
|
id: 240, |
|
|
|
id: 240, |
|
|
|
name: '240个月' |
|
|
|
name: '240个月' |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
pointId: 246, |
|
|
|
id: 360, |
|
|
|
id: 360, |
|
|
|
name: '360个月' |
|
|
|
name: '360个月' |
|
|
|
}, |
|
|
|
}, |
|
|
@ -314,7 +317,7 @@ export default { |
|
|
|
interestStartDate: '', |
|
|
|
interestStartDate: '', |
|
|
|
maturityDate: '', |
|
|
|
maturityDate: '', |
|
|
|
propertyCertificateNo: '', |
|
|
|
propertyCertificateNo: '', |
|
|
|
repaymentMethod: '', |
|
|
|
repaymentMethod: 235, |
|
|
|
interestTotal: '', |
|
|
|
interestTotal: '', |
|
|
|
repaymentAccount: '', |
|
|
|
repaymentAccount: '', |
|
|
|
}, |
|
|
|
}, |
|
|
@ -492,6 +495,32 @@ export default { |
|
|
|
...this.$store.getters['system/commonIds'], |
|
|
|
...this.$store.getters['system/commonIds'], |
|
|
|
...basicForm, |
|
|
|
...basicForm, |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 判分 |
|
|
|
|
|
|
|
const preId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',766,767' |
|
|
|
|
|
|
|
const rule = [ |
|
|
|
|
|
|
|
{ answerId: 847, emptyOne: 125, emptyTwo: basicForm.phoneNumber, operationIds: preId + ',847', type: 3 }, |
|
|
|
|
|
|
|
{ answerId: 859, emptyOne: 125, emptyTwo: basicForm.applicationDate, operationIds: preId + ',859', type: 3 }, |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
basicForm.position && rule.push({ answerId: 848, emptyOne: 125, emptyTwo: basicForm.position, operationIds: preId + ',848', type: 3 }) |
|
|
|
|
|
|
|
basicForm.salary && rule.push({ answerId: 849, emptyOne: 125, emptyTwo: basicForm.salary, operationIds: preId + ',849', type: 3 }) |
|
|
|
|
|
|
|
basicForm.currentWorkYears && rule.push({ answerId: 850, emptyOne: 125, emptyTwo: basicForm.currentWorkYears, operationIds: preId + ',850', type: 3 }) |
|
|
|
|
|
|
|
basicForm.totalWorkYears && rule.push({ answerId: 851, emptyOne: 125, emptyTwo: basicForm.totalWorkYears, operationIds: preId + ',851', type: 3 }) |
|
|
|
|
|
|
|
basicForm.propertyOwner && rule.push({ answerId: 852, emptyOne: 125, emptyTwo: basicForm.propertyOwner, operationIds: preId + ',852', type: 3 }) |
|
|
|
|
|
|
|
basicForm.propertyCertificateNo && rule.push({ answerId: 853, emptyOne: 125, emptyTwo: basicForm.propertyCertificateNo, operationIds: preId + ',853', type: 3 }) |
|
|
|
|
|
|
|
basicForm.coOwnership && rule.push({ answerId: 854, emptyOne: 125, emptyTwo: basicForm.coOwnership, operationIds: preId + ',854', type: 3 }) |
|
|
|
|
|
|
|
basicForm.location && rule.push({ answerId: 855, emptyOne: 125, emptyTwo: basicForm.location, operationIds: preId + ',855', type: 3 }) |
|
|
|
|
|
|
|
basicForm.propertyRightNature && rule.push({ answerId: 856, emptyOne: 125, emptyTwo: basicForm.propertyRightNature, operationIds: preId + ',856', type: 3 }) |
|
|
|
|
|
|
|
basicForm.area && rule.push({ answerId: 857, emptyOne: 125, emptyTwo: basicForm.area, operationIds: preId + ',857', type: 3 }) |
|
|
|
|
|
|
|
basicForm.usagePeriod && rule.push({ answerId: 858, emptyOne: 125, emptyTwo: basicForm.usagePeriod, operationIds: preId + ',858', type: 3 }) |
|
|
|
|
|
|
|
await addOperation({ |
|
|
|
|
|
|
|
parentId: preId, |
|
|
|
|
|
|
|
lcJudgmentRuleReq: rule, |
|
|
|
|
|
|
|
projectId: +sessionStorage.getItem('projectId'), |
|
|
|
|
|
|
|
startTime: sessionStorage.getItem('startTime') |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
this.setCreditIds({ |
|
|
|
this.setCreditIds({ |
|
|
|
personalLoanId: data.personalLoanId, |
|
|
|
personalLoanId: data.personalLoanId, |
|
|
|
applicationDate: data.applicationDate || this.form.applicationDate, |
|
|
|
applicationDate: data.applicationDate || this.form.applicationDate, |
|
|
@ -519,6 +548,23 @@ export default { |
|
|
|
...this.$store.getters['system/commonIds'], |
|
|
|
...this.$store.getters['system/commonIds'], |
|
|
|
...form, |
|
|
|
...form, |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 判分 |
|
|
|
|
|
|
|
const preId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',766,767' |
|
|
|
|
|
|
|
const rule = [ |
|
|
|
|
|
|
|
{ answerId: 860, emptyOne: 125, emptyTwo: form.contractAmount, operationIds: preId + ',860', type: 3 }, |
|
|
|
|
|
|
|
{ answerId: 861, emptyOne: 141, emptyTwo: this.loanTerms.find(e => e.id === form.loanTerm).pointId, operationIds: preId + ',861', type: 1 }, |
|
|
|
|
|
|
|
{ answerId: 862, emptyOne: 125, emptyTwo: form.interestStartDate, operationIds: preId + ',862', type: 3 }, |
|
|
|
|
|
|
|
{ answerId: 863, emptyOne: 125, emptyTwo: form.repaymentMethod, operationIds: preId + ',863', type: 3 }, |
|
|
|
|
|
|
|
{ answerId: 864, emptyOne: 125, emptyTwo: form.repaymentAccount, operationIds: preId + ',864', type: 3 }, |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
await addOperation({ |
|
|
|
|
|
|
|
parentId: preId, |
|
|
|
|
|
|
|
lcJudgmentRuleReq: rule, |
|
|
|
|
|
|
|
projectId: +sessionStorage.getItem('projectId'), |
|
|
|
|
|
|
|
startTime: sessionStorage.getItem('startTime') |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
data.status === 200 ? this.$router.push('/counter/list/manage/personalLoans') : this.$message.error(data.message) |
|
|
|
data.status === 200 ? this.$router.push('/counter/list/manage/personalLoans') : this.$message.error(data.message) |
|
|
|
} catch { (e) => { } } |
|
|
|
} catch { (e) => { } } |
|
|
|
}, |
|
|
|
}, |
|
|
@ -534,6 +580,16 @@ export default { |
|
|
|
disbursementDate: this.disbursementDate, |
|
|
|
disbursementDate: this.disbursementDate, |
|
|
|
}) |
|
|
|
}) |
|
|
|
this.$message[data.status === 200 ? 'success' : 'error'](data.message) |
|
|
|
this.$message[data.status === 200 ? 'success' : 'error'](data.message) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 判分 |
|
|
|
|
|
|
|
const preId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',766,767' |
|
|
|
|
|
|
|
await addOperation({ |
|
|
|
|
|
|
|
parentId: preId, |
|
|
|
|
|
|
|
lcJudgmentRuleReq: [{ answerId: 865, emptyOne: '', emptyTwo: '', operationIds: preId + ',865', type: '' }], |
|
|
|
|
|
|
|
projectId: +sessionStorage.getItem('projectId'), |
|
|
|
|
|
|
|
startTime: sessionStorage.getItem('startTime') |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
setTimeout(this.$router.push('/counter/list/manage/personalLoans'), 1500) |
|
|
|
setTimeout(this.$router.push('/counter/list/manage/personalLoans'), 1500) |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -549,6 +605,16 @@ export default { |
|
|
|
extensionPeriod: this.extensionPeriod, |
|
|
|
extensionPeriod: this.extensionPeriod, |
|
|
|
}) |
|
|
|
}) |
|
|
|
this.$message[data.status === 200 ? 'success' : 'error'](data.message) |
|
|
|
this.$message[data.status === 200 ? 'success' : 'error'](data.message) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 判分 |
|
|
|
|
|
|
|
const preId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',766,767' |
|
|
|
|
|
|
|
await addOperation({ |
|
|
|
|
|
|
|
parentId: preId, |
|
|
|
|
|
|
|
lcJudgmentRuleReq: [{ answerId: 866, emptyOne: '', emptyTwo: '', operationIds: preId + ',866', type: '' }], |
|
|
|
|
|
|
|
projectId: +sessionStorage.getItem('projectId'), |
|
|
|
|
|
|
|
startTime: sessionStorage.getItem('startTime') |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
setTimeout(this.$router.push('/counter/list/manage/personalLoans'), 1500) |
|
|
|
setTimeout(this.$router.push('/counter/list/manage/personalLoans'), 1500) |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|