diff --git a/src/api/http.js b/src/api/http.js index 4c54000..94fd22a 100644 --- a/src/api/http.js +++ b/src/api/http.js @@ -1,5 +1,5 @@ import { get, post, deletes, put } from './api.js' -// import axios from "./"; +const host = 'http://192.168.31.51:9000' export const getProjectBySystemId = (params) => { return get('/occupationlab/occupationlab/projectManage/getProjectBySystemId', params) } @@ -48,7 +48,10 @@ export const reportDetail = (reportId) => { }) } export const creditEvaluationInput = data => { - return post('/judgment/bankCreditEvaluation/creditEvaluationInput', data) + return post(`${host}/judgment/bankCreditEvaluation/creditEvaluationInput`, data) +} +export const companyLoanList = data => { + return post(`${host}/judgment/bankCompanyLoans/companyLoanList`, data) } export const loanContractSave = (data) => { @@ -69,4 +72,10 @@ export const personalBasicSave = (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 operationExtension = (data) => { + return post(`/judgment/bankPersonalLoanContractInfo/operationExtension?contractId=${data.id}&extensionPeriod=${data.extensionPeriod}`) } \ No newline at end of file diff --git a/src/assets/img/goods/syb.jpg b/src/assets/img/goods/syb.jpg new file mode 100644 index 0000000..81fe6d3 Binary files /dev/null and b/src/assets/img/goods/syb.jpg differ diff --git a/src/assets/img/goods/xjllb.jpg b/src/assets/img/goods/xjllb.jpg new file mode 100644 index 0000000..381118e Binary files /dev/null and b/src/assets/img/goods/xjllb.jpg differ diff --git a/src/assets/img/goods/zcfzb.jpg b/src/assets/img/goods/zcfzb.jpg new file mode 100644 index 0000000..c0fc109 Binary files /dev/null and b/src/assets/img/goods/zcfzb.jpg differ diff --git a/src/pages/counter/list/index.vue b/src/pages/counter/list/index.vue index 4f2e9a0..14faa8c 100644 --- a/src/pages/counter/list/index.vue +++ b/src/pages/counter/list/index.vue @@ -166,11 +166,6 @@

{{ item.name }}

-
@@ -245,12 +240,7 @@
- - - - - @@ -293,7 +283,7 @@ -
+
@@ -345,7 +335,7 @@
-
+
@@ -1201,7 +1191,8 @@ export default { outThings: 'system/outThings', outThings2: 'system/outThings2', outThingsGoods: 'system/outThingsGoods', - setTipsOperate: 'system/setTipsOperate' + setTipsOperate: 'system/setTipsOperate', + setCreditImportIds: 'system/setCreditImportIds', }), // 获取桌面上物品的缓存信息 @@ -1516,9 +1507,7 @@ export default { } } else { this.controlGoodsDblClickFn = setTimeout(() => { - if (this.myMap) { - this.outThingsGoods([item.id]) this.pushThings({ idArr: [item.id], name: this.myMap }) } else { @@ -1530,7 +1519,6 @@ export default { this.clickNum2 = 0 }, 200) } - }, checkSeal (id) {/* 选中印章 */ this.sealChecked.includes(id) ? this.sealChecked.splice(this.sealChecked.indexOf(id), 1) : this.sealChecked.push(id); @@ -1815,19 +1803,9 @@ export default { this.changeShowGoods(false) } else { - // 可以蹦出完成Logo 这里说需求不需要 - // if(this.myMap) { - // this.finishGoods[this.myMap] = true - // } - - let formList = [] - // this.toggleGoods() - // this.$message.success(`${this.popText}操作成功!`) - // nbm为0时, 客户签字 或者 返还资料 if (this.nbm == 0) { - let projectId = sessionStorage.getItem('projectId') let startTime = sessionStorage.getItem('startTime') @@ -1840,8 +1818,6 @@ export default { for (var i = 0; i < this.goodState.length; i++) { formList.push({ "answerId": this.goodState[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,555," + this.goodState[i].id, "type": "" }) } const tmpGoods = this.goodState.map(item => item.id) - // this.outThings({name: this.myMap, idArr: [ ...tmpGoods ]}) - // this.pushThingsGoods([...tmpGoods]) let params = { parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,555', lcJudgmentRuleReq: formList, @@ -1928,8 +1904,6 @@ export default { clickList = [] } else if (this.nbm == 3) { //重要空白凭证箱 let clickList = this.importantChecked - // console.log("🚀 ~ file: index.vue:2220 ~ popSure ~ clickList:", clickList) - // debugger // 项目11 从重要空白凭证箱中取出预留印鉴卡(439)的判断 if (clickList.length === 1 && clickList[0] === 439) { @@ -2098,7 +2072,6 @@ export default { } let projectId = sessionStorage.getItem('projectId') let startTime = sessionStorage.getItem('startTime') - console.log('this.goodState=>', this.goodState) let id for (var i = 0; i < this.goodState.length; i++) { if (this.goodState[i].id == 432) { @@ -2181,8 +2154,15 @@ export default { this.setTipsOperate('验证身份成功!') }).catch((error) => { }) - } else { - + } else if (this.nbm == 12) { + this.setCreditImportIds(770) + this.setTipsOperate('导入成功!') + } else if (this.nbm == 13) { + this.setCreditImportIds(771) + this.setTipsOperate('导入成功!') + } else if (this.nbm == 14) { + this.setCreditImportIds(772) + this.setTipsOperate('导入成功!') } // 如果不是钱箱或传票栏或印章盒或传票栏或客户,刷卡后返回 if (this.nbm !== 4 && this.nbm !== 1 && this.nbm !== 5 && this.nbm !== 1 && !(this.nbm === 0 && this.peopleDo !== 1)) { diff --git a/src/pages/manage/index/index.vue b/src/pages/manage/index/index.vue index 3a4427e..afccedc 100644 --- a/src/pages/manage/index/index.vue +++ b/src/pages/manage/index/index.vue @@ -1,11 +1,9 @@ \ No newline at end of file diff --git a/src/store/modules/system.js b/src/store/modules/system.js index 9c6c70e..60f231f 100644 --- a/src/store/modules/system.js +++ b/src/store/modules/system.js @@ -86,7 +86,10 @@ const allGoods = { 701: { name: '现金支票回单', src: require('@/assets/img/goods/xjzp.png'), id: 701 }, 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 } + 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 }, // // 有图片的 // 407: {name:407,src:require('@/assets/img/goods/businessSpecialApplication.png'),id:407}, @@ -1407,7 +1410,7 @@ const myInitState = { } }, '业务三十五': { - id: 704, + id: 705, name: '外汇业务', data: [13, 16, 407], needs: [], @@ -1427,6 +1430,35 @@ const myInitState = { printer: [], // 打印机 resource: [], // 资料 + importanceArr: [], // 重要空白凭证箱 + commonArr: [], // 普通凭证箱 + dataFlow: { + currency: 153, + goldLogo: 150, + voucherNumber, + } + }, + '业务三十六': { + id: 844, + name: '贷款业务', + data: [13, 16, 770, 771, 772], + needs: [], + isStamp: { + // '业务专用章': [ 411 ] + }, + backPeople: [], + // backPeople: [ ], + cultureArr: [], + + moneyBox: [], // 钱箱 + needBackMoney: false, // 需要钱箱取钱 + peopleSign: [], // 客户签字 + cultureIn: [], // 传票栏 + sealBox: [], // 印章盒 + currencyDetector: [], // 验钞机 + printer: [], // 打印机 + resource: [], // 资料 + importanceArr: [], // 重要空白凭证箱 commonArr: [], // 普通凭证箱 dataFlow: { @@ -2699,7 +2731,7 @@ export default { } }, '业务三十五': { - id: 704, + id: 705, name: '外汇业务', data: [13, 16, 407], needs: [], @@ -2719,6 +2751,35 @@ export default { printer: [], // 打印机 resource: [], // 资料 + importanceArr: [], // 重要空白凭证箱 + commonArr: [], // 普通凭证箱 + dataFlow: { + currency: 153, + goldLogo: 150, + voucherNumber, + } + }, + '业务三十六': { + id: 844, + name: '贷款业务', + data: [13, 16, 770, 771, 772], + needs: [], + isStamp: { + // '业务专用章': [ 411 ] + }, + backPeople: [], + // backPeople: [ ], + cultureArr: [], + + moneyBox: [], // 钱箱 + needBackMoney: false, // 需要钱箱取钱 + peopleSign: [], // 客户签字 + cultureIn: [], // 传票栏 + sealBox: [], // 印章盒 + currencyDetector: [], // 验钞机 + printer: [], // 打印机 + resource: [], // 资料 + importanceArr: [], // 重要空白凭证箱 commonArr: [], // 普通凭证箱 dataFlow: { @@ -2732,6 +2793,7 @@ export default { allDataFlow: { ...allDataFlow }, isCredit: false, creditIds: {}, + creditImportIds: [], }, mutations: { // 设置tipDialog组件提示的信息。这个组件是根据UI设计的。 @@ -3194,6 +3256,14 @@ export default { setCreditIds (state, val) { state.creditIds = val }, + // 缓存公司贷款导入报表的id + setCreditImportIds (state, val) { + if (val) { + state.creditImportIds.push(val) + } else { + state.creditImportIds = [] + } + }, }, actions: { }, @@ -3310,8 +3380,6 @@ export default { for (let item of state.businessSelect[state.businessKey].resource) { arr.push(allGoods[item]) } - } else { - // return } return arr },