From a9224d49780dc19c787ddf89fbbe0b516970075a Mon Sep 17 00:00:00 2001 From: fengdong777 <1478994744@qq.com> Date: Sat, 2 Sep 2023 19:24:49 +0800 Subject: [PATCH] 9.2 --- supervise-crm-ui/.env.development | 2 +- supervise-crm-ui/src/api/project/project.js | 15 ++- supervise-crm-ui/src/views/project/index.vue | 39 +++++- .../src/views/project/projectAdd.vue | 121 +++++++++++++----- .../src/views/project/projectInfo.vue | 78 ++++++++--- 5 files changed, 201 insertions(+), 54 deletions(-) diff --git a/supervise-crm-ui/.env.development b/supervise-crm-ui/.env.development index d08634fb..8846d0e2 100644 --- a/supervise-crm-ui/.env.development +++ b/supervise-crm-ui/.env.development @@ -5,5 +5,5 @@ ENV = 'development' VUE_APP_BASE_API = '/api' ## 配置测试和本地开发时的 接口地址 -VUE_APP_URL = "http://192.168.1.193:8112" +VUE_APP_URL = "http://192.168.1.110:8112" ##VUE_APP_URL = "http://8.130.39.13:8112" diff --git a/supervise-crm-ui/src/api/project/project.js b/supervise-crm-ui/src/api/project/project.js index 2c1f6b86..36fc6e6d 100644 --- a/supervise-crm-ui/src/api/project/project.js +++ b/supervise-crm-ui/src/api/project/project.js @@ -109,5 +109,18 @@ export default { method: 'post' }) }, - + // 获取所有贷款行名称 + getBankName: function() { + return request({ + url: '/crm/v1/projectinformation/getBankName', + method: 'get', + }); + }, + // 获取所有项目类型名称 + getProjectType: function() { + return request({ + url: '/crm/v1/projectinformation/getProjectType', + method: 'get', + }); + }, } diff --git a/supervise-crm-ui/src/views/project/index.vue b/supervise-crm-ui/src/views/project/index.vue index 8541f50f..64fd4850 100644 --- a/supervise-crm-ui/src/views/project/index.vue +++ b/supervise-crm-ui/src/views/project/index.vue @@ -11,6 +11,26 @@ + + + + + + + + + + + +
查询 @@ -103,10 +123,14 @@ size: 10, params: { entryName: '', + projectType: '', + bankName: '', }, total: 0 }, - viewState: 1 + viewState: 1, + storehouseList:[], + ProjectTypeList:[], } }, mounted() { @@ -142,6 +166,7 @@ // 初始化 init() { this.getList() + this.getBankName() }, // 序号 indexMethod(index) { @@ -149,6 +174,14 @@ var pageindex = index + 1 + pagestart return pageindex }, + getBankName(){ + req.getBankName().then((res)=>{ + this.storehouseList=res.data + }) + req.getProjectType().then((res)=>{ + this.ProjectTypeList=res.data + }) + }, // 查询列表信息 getList() { this.listLoading = true @@ -175,7 +208,9 @@ size: 10, total: 0, params: { - entryName: "" + entryName: '', + projectType: '', + bankName: '', } } this.getList() diff --git a/supervise-crm-ui/src/views/project/projectAdd.vue b/supervise-crm-ui/src/views/project/projectAdd.vue index 108c8440..fbb01723 100644 --- a/supervise-crm-ui/src/views/project/projectAdd.vue +++ b/supervise-crm-ui/src/views/project/projectAdd.vue @@ -56,17 +56,7 @@ - - - 授信额度 - - - - - - - + @@ -83,12 +73,12 @@ - + 客户经理 - + @@ -98,10 +88,50 @@ + + + + + 项目单位 + + + + + + + + + + + + 项目联系人 + + + + + + + + + - 接洽日期 + 授信额度 + + + + + + + + + + 授信日期 @@ -111,44 +141,57 @@ + + + - 签约日期 + 用信总额 - + + + + + 用信日期 + + + + + - + - 项目单位 + 签约日期 - - - + + - 项目联系人 + 放款日期 - + + @@ -307,7 +350,10 @@ bankSid: "", bmanagerName: '', // 客户经理 managerSid: "", - engaDate: "", // 接洽日期 + engaDate: "", // 授信日期 + useLimit: "", // 用信总额 + loanDate: "", // 放款日期 + useDate: "", // 用信日期 signingDate: "", // 签约日期 enterpriseName: "", // 项目单位 enterpriseSid: "", @@ -583,7 +629,10 @@ bankSid: "", bmanagerName: '', // 客户经理 managerSid: "", - engaDate: "", // 接洽日期 + engaDate: "", + useLimit: "", + loanDate: "", + useDate: "", signingDate: "", // 签约日期 enterpriseName: "", // 项目单位 enterpriseSid: "", @@ -626,6 +675,9 @@ this.formobj.bmanagerName=resp.data.bmanagerName this.formobj.managerSid=resp.data.managerSid this.formobj.engaDate=resp.data.engaDate + this.formobj.useLimit=resp.data.useLimit + this.formobj.loanDate=resp.data.loanDate + this.formobj.useDate=resp.data.useDate this.formobj.signingDate=resp.data.signingDate this.formobj.enterpriseName=resp.data.enterpriseName this.formobj.enterpriseSid=resp.data.enterpriseSid @@ -672,7 +724,6 @@ this.ImgSid=[...new Set(this.ValSid )] this.formobj.storeHouseProjectDto.shSids=oldArr } - console.log(this.ImgSid) this.drawer=false this.$refs.multipleTable.clearSelection(); }, @@ -691,6 +742,12 @@ .trightb_item { padding-top: 5px; } + .trightbs { + display: flex; + align-items: center; + text-align: ; + justify-content: center; + } .span { margin-left: 50px; @@ -711,6 +768,12 @@ /deep/ .el-collapse-item__content { padding-bottom: 0; } + /deep/ .formadd .el-row .trightbs{ + border-top: 1px solid #e0e3eb; + } + /deep/ .formadd .el-row .trightb_items{ + border-top: 1px solid #e0e3eb; + } .Images{ width: 150px; height: 100px; diff --git a/supervise-crm-ui/src/views/project/projectInfo.vue b/supervise-crm-ui/src/views/project/projectInfo.vue index e0888156..72ab297e 100644 --- a/supervise-crm-ui/src/views/project/projectInfo.vue +++ b/supervise-crm-ui/src/views/project/projectInfo.vue @@ -46,43 +46,66 @@ {{temp.typeName}} + + - 授信额度 + 贷款行 - {{temp.creditLimit}} + {{temp.bankName}} - - - 贷款行 + 客户经理 - {{temp.bankName}} + {{temp.bmanagerName}} + + + - 客户经理 + 项目单位 + + + {{temp.enterpriseName}} + + + + + 项目联系人 + + - {{temp.bmanagerName}} + {{temp.econtacts}} - 接洽日期 + 授信额度 + + + + + {{temp.creditLimit}} + + + + + 授信日期 @@ -90,9 +113,11 @@ {{temp.engaDate}} + + - 签约日期 + 用信总额 @@ -100,30 +125,41 @@ {{temp.signingDate}} - + + + 用信日期 + + + + + {{temp.engaDate}} + + + - 项目单位 + 签约日期 - - - {{temp.enterpriseName}} - + + + {{temp.signingDate}} + - - 项目联系人 - + + 放款日期 + - + - {{temp.econtacts}} + {{temp.engaDate}} +