yujialong 1 month ago
parent 616df4a7db
commit f37ed58d7a
  1. 7
      src/components/case/index.vue
  2. 4
      src/pages/manage/list/corporateLoans/apply/loanApplication/step2.vue
  3. 2
      src/pages/manage/list/corporateLoans/detail.vue
  4. 38
      src/pages/manage/list/corporateLoans/management.vue
  5. 32
      src/pages/manage/list/corporateLoans/repayment.vue
  6. 12
      src/store/modules/system.js

@ -188,7 +188,8 @@ export default {
hour: '00',
createTime: "", //
actEndTime: "", //
projectId: "" || sessionStorage.getItem('projectId'), //
projectId: '', //
// projectId: "" || sessionStorage.getItem('projectId'), //
value: [
{ projectName: '项目1', projectId: 1 }
],
@ -329,6 +330,7 @@ export default {
this.teamId = teamId
this.classId = classId
this.mallId = mallId
this.projectId = projectId
}
if (token) {
this.projectPermissions = this.assessmentId ?
@ -402,7 +404,8 @@ export default {
//
getParam (field) {
const s = sessionStorage.getItem(field)
return s !== 'null' && s !== 'undefined' && s ? s : this.getQueryVariable(field)
const routeParam = this.getQueryVariable(field)
return routeParam ? routeParam : s !== 'null' && s !== 'undefined' && s ? s : ''
},
getQueryVariable (name) {
var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)')

@ -253,10 +253,10 @@ export default {
{ answerId: 827, emptyOne: 125, emptyTwo: form.expirationDate, operationIds: preId + ',827', type: 3 },
{ answerId: 828, emptyOne: 139, emptyTwo: form.guaranteeMethod, operationIds: preId + ',828', type: 1 },
{ answerId: 822, emptyOne: 135, emptyTwo: form.repaymentMethodTwo, operationIds: preId + ',822', type: 1 },
{ answerId: 832, emptyOne: 125, emptyTwo: form.repaymentAccount, operationIds: preId + ',832', type: 1 },
{ answerId: 832, emptyOne: 125, emptyTwo: form.repaymentAccount, operationIds: preId + ',832', type: 3 },
]
form.loanAmount && rule.push({ answerId: 831, emptyOne: 125, emptyTwo: form.loanAmount, operationIds: preId + ',831', type: 1 })
form.loanAmount && rule.push({ answerId: 831, emptyOne: 125, emptyTwo: form.loanAmount, operationIds: preId + ',831', type: 3 })
await addOperation({
parentId: preId,
lcJudgmentRuleReq: rule,

@ -267,7 +267,7 @@ export default {
const preId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',766,768'
await addOperation({
parentId: preId,
lcJudgmentRuleReq: [{ answerId: 838, emptyOne: '', emptyTwo: '', operationIds: preId + ',838', type: '' },],
lcJudgmentRuleReq: [{ answerId: 838, emptyOne: 151, emptyTwo: this.loanDate, operationIds: preId + ',838', type: 3 },],
projectId: +sessionStorage.getItem('projectId'),
startTime: sessionStorage.getItem('startTime')
})

@ -199,7 +199,7 @@ export default {
form: {
stateChange: '',
changesInSituation: 203,
debtPayingAbility: 1,
debtPayingAbility: 247,
adverseChanges: 203,
businessStatus: 205,
creditStatus: 205,
@ -232,33 +232,38 @@ export default {
],
opt3: [
{
id: 1,
id: 247,
name: '能按期偿还'
},
{
id: 2,
id: 248,
name: '不能按期偿还'
},
],
opt4: [
{
id: 1,
pointId: 249,
name: '正常贷款'
},
{
id: 2,
pointId: 250,
name: '关注贷款'
},
{
id: 3,
pointId: 251,
name: '次级贷款'
},
{
id: 4,
pointId: 252,
name: '可疑贷款'
},
{
id: 5,
pointId: 253,
name: '损失贷款'
},
],
@ -291,7 +296,10 @@ export default {
list.forEach(e => {
const five = e.fiveLevelClassification
e.bad = five === '4' || five === '5' //
if (five) e.five = opt4.find(n => n.id == five).name
if (five) {
const cur = opt4.find(n => n.id == five)
if (cur) e.five = cur.name
}
})
this.list = list
this.total = data.page.total
@ -322,7 +330,27 @@ export default {
if (!form.stateChange) return this.$message.error('请填写客户基本状态变化!')
form.companyLoanId = this.curRow.companyLoanId
await postLoanInvestigationInput(form)
this.submitPoint(841)
const preId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',766,768,841'
const rule = [
{ answerId: 867, emptyOne: 142, emptyTwo: form.stateChange, operationIds: preId + ',867', type: 3 },
{ answerId: 868, emptyOne: 126, emptyTwo: form.changesInSituation, operationIds: preId + ',868', type: 1 },
{ answerId: 869, emptyOne: 127, emptyTwo: form.businessStatus, operationIds: preId + ',869', type: 1 },
{ answerId: 870, emptyOne: 144, emptyTwo: form.debtPayingAbility, operationIds: preId + ',870', type: 1 },
{ answerId: 871, emptyOne: 127, emptyTwo: form.creditStatus, operationIds: preId + ',871', type: 1 },
{ answerId: 872, emptyOne: 126, emptyTwo: form.adverseChanges, operationIds: preId + ',872', type: 1 },
{ answerId: 873, emptyOne: 145, emptyTwo: this.opt4.find(n => n.id == form.fiveLevelClassification).pointId, operationIds: preId + ',873', type: 1 },
]
form.conclusionAndSuggestions && rule.push({ answerId: 874, emptyOne: 143, emptyTwo: form.conclusionAndSuggestions, operationIds: preId + ',874', type: 3 })
await addOperation({
parentId: preId,
lcJudgmentRuleReq: rule,
projectId: +sessionStorage.getItem('projectId'),
startTime: sessionStorage.getItem('startTime')
})
this.getData()
this.postLoanVisible = false
},

@ -120,43 +120,53 @@ export default {
extensions: [
{
id: 1,
name: '1个月'
name: '1个月',
pointId: 278
},
{
id: 2,
name: '2个月'
name: '2个月',
pointId: 279
},
{
id: 3,
name: '3个月'
name: '3个月',
pointId: 280
},
{
id: 4,
name: '4个月'
name: '4个月',
pointId: 281
},
{
id: 5,
name: '5个月'
name: '5个月',
pointId: 282
},
{
id: 6,
name: '6个月'
name: '6个月',
pointId: 283
},
{
id: 7,
name: '7个月'
name: '7个月',
pointId: 284
},
{
id: 8,
name: '8个月'
name: '8个月',
pointId: 285
},
{
id: 9,
name: '9个月'
name: '9个月',
pointId: 286
},
{
id: 10,
name: '10个月'
name: '10个月',
pointId: 287
},
],
@ -242,7 +252,7 @@ export default {
const preId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',766,768'
await addOperation({
parentId: preId,
lcJudgmentRuleReq: [{ answerId: 839, emptyOne: '', emptyTwo: '', operationIds: preId + ',839', type: '' },],
lcJudgmentRuleReq: [{ answerId: 839, emptyOne: 152, emptyTwo: this.extensions.find(e => e.id === this.extensionPeriod).pointId, operationIds: preId + ',839', type: 1 },],
projectId: +sessionStorage.getItem('projectId'),
startTime: sessionStorage.getItem('startTime')
})

@ -87,9 +87,9 @@ const allGoods = {
596: { name: '银行承兑协议一联', src: require('@/assets/img/goods/银行承兑协议.png'), id: 596 },
702: { name: '银行承兑协议二联', src: require('@/assets/img/goods/银行承兑协议.png'), id: 702 },
597: { name: '银行承兑协议三联', src: require('@/assets/img/goods/银行承兑协议.png'), id: 597 },
770: { name: '资产负债表', src: require('@/assets/img/goods/zcfzb.jpg'), id: 770 },
771: { name: '损益表', src: require('@/assets/img/goods/syb.jpg'), id: 771 },
772: { name: '现金流量表', src: require('@/assets/img/goods/xjllb.jpg'), id: 772 },
275: { name: '资产负债表', src: require('@/assets/img/goods/zcfzb.jpg'), id: 275 },
276: { name: '损益表', src: require('@/assets/img/goods/syb.jpg'), id: 276 },
277: { name: '现金流量表', src: require('@/assets/img/goods/xjllb.jpg'), id: 277 },
804: { name: '法人身份证', src: require('@/assets/img/goods/idCard.png'), id: 804 },
805: { name: '抵押物房产证', src: require('@/assets/img/goods/khsqs.png'), id: 805 },
@ -1486,7 +1486,7 @@ const myInitState = {
'业务三十七': {
id: 893,
name: '公司贷款业务',
data: [770, 771, 772, 442, 805, 806, 807, 808, 809, 810, 811, 812, 813, 814, 815, 817, 818, 819],
data: [275, 276, 277, 442, 805, 806, 807, 808, 809, 810, 811, 812, 813, 814, 815, 817, 818, 819],
needs: [],
isStamp: {
// '业务专用章': [ 411 ]
@ -2835,7 +2835,7 @@ export default {
'业务三十七': {
id: 893,
name: '公司贷款业务',
data: [770, 771, 772, 442, 805, 806, 807, 808, 809, 810, 811, 812, 813, 814, 815, 817, 818, 819],
data: [275, 276, 277, 442, 805, 806, 807, 808, 809, 810, 811, 812, 813, 814, 815, 817, 818, 819],
needs: [],
isStamp: {
// '业务专用章': [ 411 ]
@ -3422,7 +3422,7 @@ export default {
}
}
// 找到银行卡item
const item = arr.find(item => item.id === 16)
const item = arr.find(item => item && item.id === 16)
if (item) {
// 如果是业务一,则物品栏中的银行卡名字为一类银行卡
if (state.businessKey === '业务一') {

Loading…
Cancel
Save