From 49350a5ff8722b36838a732e44c852af20395d3d Mon Sep 17 00:00:00 2001 From: LvYuanHao <1623356314@qq.com> Date: Tue, 1 Nov 2022 18:00:15 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E4=B8=A4=E4=B8=AA=E5=B1=95=E7=A4=BA?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 2 +- package.json | 2 +- src/components/Login.vue | 23 +++++------ src/components/Overdue.vue | 78 ++++++++++++++++++++++++++++++++++++++ src/components/Soon.vue | 76 +++++++++++++++++++++++++++++++++++++ src/router/index.js | 20 +++++++--- 6 files changed, 183 insertions(+), 18 deletions(-) create mode 100644 src/components/Overdue.vue create mode 100644 src/components/Soon.vue diff --git a/package-lock.json b/package-lock.json index 006b275..7270ea7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -52,7 +52,7 @@ "vue-template-compiler": "^2.5.2", "webpack": "^3.6.0", "webpack-bundle-analyzer": "^2.9.0", - "webpack-dev-server": "^2.9.1", + "webpack-dev-server": "^2.11.5", "webpack-merge": "^4.1.0" }, "engines": { diff --git a/package.json b/package.json index 9891706..26ce67e 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "vue-template-compiler": "^2.5.2", "webpack": "^3.6.0", "webpack-bundle-analyzer": "^2.9.0", - "webpack-dev-server": "^2.9.1", + "webpack-dev-server": "^2.11.5", "webpack-merge": "^4.1.0" }, "engines": { diff --git a/src/components/Login.vue b/src/components/Login.vue index d5276ef..56b6cb4 100644 --- a/src/components/Login.vue +++ b/src/components/Login.vue @@ -43,17 +43,18 @@ export default { methods: { loginDo: function () { this.$axios.post("/loginDo", this.$qs.stringify(this.Login)).then((res) => { - if (res.data.code == 200) { - sessionStorage.setItem( - "menuList", - JSON.stringify(res.data.data.menuList) - ); - sessionStorage.setItem("authorization", res.data.data.token); - this.$router.push("/myefcfs"); - } else { - console.log(res); - this.$message.error(res.data.message); - } + // if (res.data.code == 200) { + // sessionStorage.setItem( + // "menuList", + // JSON.stringify(res.data.data.menuList) + // ); + // sessionStorage.setItem("authorization", res.data.data.token); +// this.$router.push("/Soon"); + this.$router.push("/Overdue"); + // } else { + // console.log(res); + // this.$message.error(res.data.message); + // } }); }, }, diff --git a/src/components/Overdue.vue b/src/components/Overdue.vue new file mode 100644 index 0000000..3249855 --- /dev/null +++ b/src/components/Overdue.vue @@ -0,0 +1,78 @@ + + + \ No newline at end of file diff --git a/src/components/Soon.vue b/src/components/Soon.vue new file mode 100644 index 0000000..f7af1b5 --- /dev/null +++ b/src/components/Soon.vue @@ -0,0 +1,76 @@ + + + \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index c05958c..e45ef93 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -6,12 +6,13 @@ import Dept from '@/components/Dept' import Role from '@/components/Role' import ChatTools from '@/components/ChatTools' import Staff from '@/components/Staff' +import Soon from '@/components/Soon' +import Overdue from '@/components/Overdue' Vue.use(Router) export default new Router({ - routes: [ - { + routes: [{ path: '/', name: 'Login', component: Login @@ -20,8 +21,7 @@ export default new Router({ path: '/myefcfs', name: 'Frame', component: Frame, - children: [ - { + children: [{ path: '/dept', name: 'Dept', component: Dept, @@ -42,6 +42,16 @@ export default new Router({ component: ChatTools, } ] - } + }, + { + path: '/Soon', + name: 'Soon', + component: Soon, + }, + { + path: '/Overdue', + name: 'Overdue', + component: Overdue, + }, ] }) -- Gitee From 9beb9ef8fdc760d38a9d40c4b047132a62e293aa Mon Sep 17 00:00:00 2001 From: LvYuanHao <1623356314@qq.com> Date: Wed, 2 Nov 2022 17:13:58 +0800 Subject: [PATCH 2/5] 1102 --- src/components/Login.vue | 2 +- src/components/Overdue.vue | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/Login.vue b/src/components/Login.vue index 56b6cb4..c1da0f8 100644 --- a/src/components/Login.vue +++ b/src/components/Login.vue @@ -50,7 +50,7 @@ export default { // ); // sessionStorage.setItem("authorization", res.data.data.token); // this.$router.push("/Soon"); - this.$router.push("/Overdue"); + this.$router.push("/Overdue"); // } else { // console.log(res); // this.$message.error(res.data.message); diff --git a/src/components/Overdue.vue b/src/components/Overdue.vue index 3249855..2e61558 100644 --- a/src/components/Overdue.vue +++ b/src/components/Overdue.vue @@ -58,7 +58,6 @@ export default { name: "", //姓名 diNumber: "", //借款编号 ciNumber: "", //合同编号 - classificationOfRisks:"",//风险等级 }, }; }, -- Gitee From 7703bdcf6a45e7618643e2da810f1861487f63da Mon Sep 17 00:00:00 2001 From: LvYuanHao <1623356314@qq.com> Date: Thu, 3 Nov 2022 14:05:48 +0800 Subject: [PATCH 3/5] =?UTF-8?q?=E5=AE=8C=E6=88=90=E5=89=8D=E7=AB=AF?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Frame.vue | 43 +++++++++++++--------------- src/components/Login.vue | 43 ++++++++++------------------ src/components/Overdue.vue | 58 ++++++++++++++++++++++++++++++++++---- src/components/Soon.vue | 52 +++++++++++++++++++++++++++++++--- src/router/index.js | 22 +++++++-------- 5 files changed, 146 insertions(+), 72 deletions(-) diff --git a/src/components/Frame.vue b/src/components/Frame.vue index 6131646..89d210c 100644 --- a/src/components/Frame.vue +++ b/src/components/Frame.vue @@ -4,25 +4,13 @@
MyEFCFS
业务菜单
- - + + - + {{ menu2.perName }} @@ -32,14 +20,20 @@ -
菜单名称
-
 
-
人员
-
+ +
菜单名称
+
+ +
 
+
+ +
人员
+
+ +
退出 -
+
+
@@ -78,6 +72,7 @@ export default { text-align: center; line-height: 60px; } + .el-header, .el-footer { background-color: #ffffff; @@ -99,7 +94,7 @@ export default { background-size: 100% 100%; } -body > .el-container { +body>.el-container { margin-bottom: 40px; } diff --git a/src/components/Login.vue b/src/components/Login.vue index c1da0f8..2e89805 100644 --- a/src/components/Login.vue +++ b/src/components/Login.vue @@ -5,24 +5,12 @@
MyEFCFS
后台管理系统
- +
- +
@@ -43,18 +31,17 @@ export default { methods: { loginDo: function () { this.$axios.post("/loginDo", this.$qs.stringify(this.Login)).then((res) => { - // if (res.data.code == 200) { - // sessionStorage.setItem( - // "menuList", - // JSON.stringify(res.data.data.menuList) - // ); - // sessionStorage.setItem("authorization", res.data.data.token); -// this.$router.push("/Soon"); - this.$router.push("/Overdue"); - // } else { - // console.log(res); - // this.$message.error(res.data.message); - // } + if (res.data.code == 200) { + sessionStorage.setItem( + "menuList", + JSON.stringify(res.data.data.menuList) + ); + sessionStorage.setItem("authorization", res.data.data.token); + this.$router.push("/myefcfs"); + } else { + console.log(res); + this.$message.error(res.data.message); + } }); }, }, diff --git a/src/components/Overdue.vue b/src/components/Overdue.vue index 2e61558..7b2d851 100644 --- a/src/components/Overdue.vue +++ b/src/components/Overdue.vue @@ -13,6 +13,7 @@
+ @@ -38,12 +39,42 @@ - + + + + + + + + + 系统推送 + 短信 + 邮件 + + + + + + + 一次 + 到期前每天一次 + + + + + 取 消 + 立即发送 + +
@@ -59,15 +90,32 @@ export default { diNumber: "", //借款编号 ciNumber: "", //合同编号 }, + addForm: {}, + addDialog: false, }; }, methods: { LoadOverdue() { this.$axios - .post("collectionProcessing/overdue",this.queryOverdue) - .then(res=>{ + .post("collectionProcessing/overdue", this.queryOverdue) + .then(res => { this.overdueList = res.data.data.overdueList; - }) + }); + }, + add() { + this.$axios + .post("collectionOne/addOne", this.addForm) + .then(res => { + if (res.data.code == 200) { + this.$message.success("发送成功"); + this.addDialog = false; + this.$refs.addForm.resetFields(); + } + }); + }, + daoqi(diNumber) { + this.addDialog = true; + this.addForm.diNumber = diNumber; } }, mounted() { diff --git a/src/components/Soon.vue b/src/components/Soon.vue index f7af1b5..6a90f73 100644 --- a/src/components/Soon.vue +++ b/src/components/Soon.vue @@ -36,12 +36,39 @@ - + + + + + + + + 系统推送 + 短信 + 邮件 + + + + + + + 一次 + 到期前每天一次 + + + + + 取 消 + 立即发送 + + @@ -57,16 +84,33 @@ export default { diNumber: "", //借款编号 ciNumber: "" //合同编号 }, + addForm: {}, + addDialog: false, }; }, methods: { LoadSoon() { this.$axios - .post("collectionProcessing/soonToExpire",this.querySoon) - .then(res=>{ + .post("collectionProcessing/soonToExpire", this.querySoon) + .then(res => { this.soonExpireList = res.data.data.soonExpireList; }) + }, + add() { + this.$axios + .post("collectionOne/addOne", this.addForm) + .then(res => { + if (res.data.code == 200) { + this.$message.success("发送成功"); + this.addDialog = false; + this.$refs.addForm.resetFields(); + } + }); + }, + daoqi(diNumber) { + this.addDialog = true; + this.addForm.diNumber = diNumber; } }, mounted() { diff --git a/src/router/index.js b/src/router/index.js index e45ef93..b433ed4 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -40,18 +40,18 @@ export default new Router({ path: '/chatTools', name: 'ChatTools', component: ChatTools, - } + }, + { + path: '/Soon', + name: 'Soon', + component: Soon, + }, + { + path: '/Overdue', + name: 'Overdue', + component: Overdue, + }, ] }, - { - path: '/Soon', - name: 'Soon', - component: Soon, - }, - { - path: '/Overdue', - name: 'Overdue', - component: Overdue, - }, ] }) -- Gitee From 2671b4c182cef3b9260e0d88afdcaaf6d8d0dd60 Mon Sep 17 00:00:00 2001 From: LvYuanHao <1623356314@qq.com> Date: Thu, 3 Nov 2022 14:17:39 +0800 Subject: [PATCH 4/5] =?UTF-8?q?=E5=AE=8C=E6=88=90=E5=89=8D=E7=AB=AFindex?= =?UTF-8?q?=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 93 +++++++++++++++++++++++---------------------- 1 file changed, 47 insertions(+), 46 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 03497e1..9e67126 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -46,7 +46,7 @@ import RepaymentFirst from '@/components/RepaymentFirst' import RepaymentTwo from '@/components/RepaymentTwo' import AuditAffirm from '@/components/AuditAffirm' import AuditLook from '@/components/AuditLook' -import UpdateBaseInfo from '@/components/UpdateBaseInfo' +import UpdateBaseInfo from '@/components/UpdateBaseInfo' import AuditBaseInfo from '@/components/AuditBaseInfo' import UserManage from '@/components/UserManage/UserManage' @@ -76,32 +76,42 @@ export default new Router({ name: 'Frame', component: Frame, children: [ - // 用户管理 - { - path: '/userManage', - name: 'UserManage', - component: UserManage - }, - { - path: '/userInfo', - name: 'UserInfo', - component: UserInfo - }, - { - path: '/labEcharts', - name: 'LabEcharts', - component: LabEcharts - }, - { - path: '/userVip', - name: 'UserVip', - component: UserVip - }, - { - path: '/userBlackList', - name: 'UserBlackList', - component: UserBlackList - }, + { + path: '/Soon', + name: 'Soon', + component: Soon + }, + { + path: '/Overdue', + name: 'Overdue', + component: Overdue + }, + // 用户管理 + { + path: '/userManage', + name: 'UserManage', + component: UserManage + }, + { + path: '/userInfo', + name: 'UserInfo', + component: UserInfo + }, + { + path: '/labEcharts', + name: 'LabEcharts', + component: LabEcharts + }, + { + path: '/userVip', + name: 'UserVip', + component: UserVip + }, + { + path: '/userBlackList', + name: 'UserBlackList', + component: UserBlackList + }, { path: '/dept', name: 'Dept', @@ -162,47 +172,39 @@ export default new Router({ // name:'AfterApplyOfWait', // component: AfterApplyOfWait, // } - ,{ + , { path: '/firstAudit', name: 'FirstAudit', component: FirstAudit, - } - ,{ + }, { path: '/applyManage', name: 'ApplyManage', component: ApplyManage, - } - ,{ + }, { path: '/secondAudit', name: 'SecondAudit', component: SecondAudit, - } - ,{ + }, { path: '/givingCredit', name: 'GivingCredit', component: GivingCredit, - } - ,{ + }, { path: '/thirdAudit', name: 'ThirdAudit', component: ThirdAudit, - } - , { + }, { path: "/chooseProduct", name: "ChooseProduct", component: ChooseProduct, - } - ,{ + }, { path: "/debitApply", name: "DebitApply", component: DebitApply, - } - ,{ + }, { path: "/checkInfo", name: "CheckInfo", component: CheckInfo, - } - ,{ + }, { path: "/waitAudit", name: "WaitAudit", component: WaitAudit, @@ -211,8 +213,7 @@ export default new Router({ path: '/huanKuan', name: 'HuanKuan', component: HuanKuan, - children:[ - { + children: [{ path: '/RepaymentFirst', name: 'RepaymentFirst', component: RepaymentFirst, -- Gitee From 219da2d0841c3a219d4db94e3bb4dda64f1330cd Mon Sep 17 00:00:00 2001 From: LvYuanHao <1623356314@qq.com> Date: Thu, 3 Nov 2022 15:23:42 +0800 Subject: [PATCH 5/5] =?UTF-8?q?=E5=AE=8C=E6=88=90=E5=89=8D=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 170 ++++++++++++++++++++++++++++++-------------- 1 file changed, 118 insertions(+), 52 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 20045f9..a3d2b3d 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -38,8 +38,6 @@ import CheckInfo from '@/components/CheckInfo' import WaitAudit from '@/components/WaitAudit' import ChatTools from '@/components/ChatTools' import Staff from '@/components/Staff' -import Soon from '@/components/Soon' -import Overdue from '@/components/Overdue' import HuanKuan from '@/components/HuanKuan' import Entering from '@/components/Entering' import LookInfo from '@/components/LookInfo' @@ -47,7 +45,7 @@ import RepaymentFirst from '@/components/RepaymentFirst' import RepaymentTwo from '@/components/RepaymentTwo' import AuditAffirm from '@/components/AuditAffirm' import AuditLook from '@/components/AuditLook' -import UpdateBaseInfo from '@/components/UpdateBaseInfo' +import UpdateBaseInfo from '@/components/UpdateBaseInfo' import AuditBaseInfo from '@/components/AuditBaseInfo' import UserManage from '@/components/UserManage/UserManage' @@ -67,7 +65,8 @@ Router.prototype.push = function push(location) { export default new Router({ - routes: [{ + routes: [ + { path: '/', name: 'Login', component: Login @@ -77,28 +76,18 @@ export default new Router({ name: 'Frame', component: Frame, children: [ - { - path: '/Soon', - name: 'Soon', - component: Soon - }, - { - path: '/Overdue', - name: 'Overdue', - component: Overdue - }, - // 用户管理 - { - path: '/userManage', - name: 'UserManage', - component: UserManage - }, - { - path: '/userInfo', - name: 'UserInfo', - component: UserInfo - }, - { + // 用户管理 + { + path: '/userManage', + name: 'UserManage', + component: UserManage + }, + { + path: '/userInfo', + name: 'UserInfo', + component: UserInfo + }, + { path: '/pipelined', name: 'Pipelined', component: Pipelined @@ -109,20 +98,20 @@ export default new Router({ component: Reconciled }, { - path: '/labEcharts', - name: 'LabEcharts', - component: LabEcharts - }, - { - path: '/userVip', - name: 'UserVip', - component: UserVip - }, - { - path: '/userBlackList', - name: 'UserBlackList', - component: UserBlackList - }, + path: '/labEcharts', + name: 'LabEcharts', + component: LabEcharts + }, + { + path: '/userVip', + name: 'UserVip', + component: UserVip + }, + { + path: '/userBlackList', + name: 'UserBlackList', + component: UserBlackList + }, { path: '/dept', name: 'Dept', @@ -183,39 +172,47 @@ export default new Router({ // name:'AfterApplyOfWait', // component: AfterApplyOfWait, // } - , { + ,{ path: '/firstAudit', name: 'FirstAudit', component: FirstAudit, - }, { + } + ,{ path: '/applyManage', name: 'ApplyManage', component: ApplyManage, - }, { + } + ,{ path: '/secondAudit', name: 'SecondAudit', component: SecondAudit, - }, { + } + ,{ path: '/givingCredit', name: 'GivingCredit', component: GivingCredit, - }, { + } + ,{ path: '/thirdAudit', name: 'ThirdAudit', component: ThirdAudit, - }, { + } + , { path: "/chooseProduct", name: "ChooseProduct", component: ChooseProduct, - }, { + } + ,{ path: "/debitApply", name: "DebitApply", component: DebitApply, - }, { + } + ,{ path: "/checkInfo", name: "CheckInfo", component: CheckInfo, - }, { + } + ,{ path: "/waitAudit", name: "WaitAudit", component: WaitAudit, @@ -224,7 +221,8 @@ export default new Router({ path: '/huanKuan', name: 'HuanKuan', component: HuanKuan, - children: [{ + children:[ + { path: '/RepaymentFirst', name: 'RepaymentFirst', component: RepaymentFirst, @@ -265,8 +263,76 @@ export default new Router({ path: '/chatTools', name: 'ChatTools', component: ChatTools, - } + }, + + + //产品----------- + { + path:'/loanProduct', + name: 'LoanProduct', + component: LoanProduct, + }, + { + path:'/productParameter', + name: 'ProductParameter', + component: ProductParameter, + }, + { + path:'/productBaseInfo', + name: 'ProductBaseInfo', + component: ProductBaseInfo, + + }, + { + path:'/productItemSetting', + name: 'ProductItemSetting', + component: ProductItemSetting, + }, + { + path:'/productAudit', + name: 'ProductAudit', + component: ProductAudit, + }, + { + path:'/updateBaseInfo', + name: 'UpdateBaseInfo', + component: UpdateBaseInfo, + }, + { + path:'/auditBaseInfo', + name: 'AuditBaseInfo', + component: AuditBaseInfo, + }, + + { + path: '/ContractTemplate', + name: 'ContractTemplate', + component: ContractTemplate + + }, + { + path: '/AddContractTemplate', + name: 'AddContractTemplate', + component: AddContractTemplate + }, + { + path: '/LoanMaterialAllocation', + name: 'LoanMaterialAllocation', + component: LoanMaterialAllocation + }, + { + path: '/AddLoanMaterialAllocation', + name: 'AddLoanMaterialAllocation', + component: AddLoanMaterialAllocation + }, + { + path: '/Fu3LoanMaterialAllocation', + name: 'Fu3LoanMaterialAllocation', + component: Fu3LoanMaterialAllocation + }, + ] - } + }, + , ] }) \ No newline at end of file -- Gitee