From 6626df6180a8c61ef514b17810a8599e581720c7 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Tue, 29 Apr 2025 16:56:51 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=AE=8C=E5=96=84=E4=BA=8C=E6=AC=A1?= =?UTF-8?q?=E9=94=80=E5=94=AE=E8=BD=A6=E8=BE=86=E4=B8=8D=E8=BF=BD=E5=81=BF?= =?UTF-8?q?=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../secondarysalesnotrecovery.js | 113 ++++ anrui-riskcenter-ui/src/router/index.js | 39 +- .../views/secondarysales/secondarysales.vue | 28 +- .../secondarysalesnotrecovery.vue | 369 ++++++++++++++ .../secondarysalesnotrecoveryAdd.vue | 295 +++++++++++ .../secondarysalesnotrecoveryInfo.vue | 227 +++++++++ .../relation/secondarysalesInfo.vue | 476 +++++++++++++++++ .../secondarysalesnotrecoveryDaiBan.vue | 482 ++++++++++++++++++ .../secondarysalesnotrecoveryEdit.vue | 268 ++++++++++ .../secondarysalesnotrecoveryYiBan.vue | 264 ++++++++++ 10 files changed, 2559 insertions(+), 2 deletions(-) create mode 100644 anrui-riskcenter-ui/src/api/secondarysalesnotrecovery/secondarysalesnotrecovery.js create mode 100644 anrui-riskcenter-ui/src/views/secondarysalesnotrecovery/secondarysalesnotrecovery.vue create mode 100644 anrui-riskcenter-ui/src/views/secondarysalesnotrecovery/secondarysalesnotrecoveryAdd.vue create mode 100644 anrui-riskcenter-ui/src/views/secondarysalesnotrecovery/secondarysalesnotrecoveryInfo.vue create mode 100644 anrui-riskcenter-ui/src/views/workFlow/buzhuichangFlow/relation/secondarysalesInfo.vue create mode 100644 anrui-riskcenter-ui/src/views/workFlow/buzhuichangFlow/secondarysalesnotrecoveryDaiBan.vue create mode 100644 anrui-riskcenter-ui/src/views/workFlow/buzhuichangFlow/secondarysalesnotrecoveryEdit.vue create mode 100644 anrui-riskcenter-ui/src/views/workFlow/buzhuichangFlow/secondarysalesnotrecoveryYiBan.vue diff --git a/anrui-riskcenter-ui/src/api/secondarysalesnotrecovery/secondarysalesnotrecovery.js b/anrui-riskcenter-ui/src/api/secondarysalesnotrecovery/secondarysalesnotrecovery.js new file mode 100644 index 0000000000..b2ca367fc9 --- /dev/null +++ b/anrui-riskcenter-ui/src/api/secondarysalesnotrecovery/secondarysalesnotrecovery.js @@ -0,0 +1,113 @@ +import request from '@/utils/request' + +export default { + // 查询分页列表 + listPage: function(params) { + return request({ + url: '/riskcenter/v1/loansecondarysalesnotapply/listPage', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + saveOrUpdate: function(data) { + return request({ + url: '/riskcenter/v1/loansecondarysalesnotapply/save', + method: 'post', + data: data, + headers: { 'Content-Type': 'application/json' } + }) + }, + init: function(data) { + return request({ + url: '/riskcenter/v1/loansecondarysalesnotapply/init', + method: 'post', + data: data, + headers: { 'Content-Type': 'application/json' } + }) + }, + fetchBySid: function(data) { + return request({ + url: '/riskcenter/v1/loansecondarysalesnotapply/fetchDetailsBySid/' + data, + method: 'get' + }) + }, + deleteBySids: function(data) { + return request({ + url: '/riskcenter/v1/loansecondarysalesnotapply/delBySids', + method: 'DELETE', + data: data, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 提交流程 + submit: function(params) { + return request({ + url: '/riskcenter/v1/loansecondarysalesnotapply/submit', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 流程审批(同意) + complete: function(params) { + return request({ + url: '/riskcenter/v1/loansecondarysalesnotapply/complete', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 流程审批(加签) + delegate: function(params) { + return request({ + url: '/riskcenter/v1/loansecondarysalesnotapply/delegate', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 流程审批(驳回) + reject: function(params) { + return request({ + url: '/riskcenter/v1/loansecondarysalesnotapply/reject', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 流程审批(终止) + breakProcess: function(params) { + return request({ + url: '/riskcenter/v1/loansecondarysalesnotapply/breakProcess', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 流程审批(撤回) + revokeProcess: function(params) { + return request({ + url: '/riskcenter/v1/loansecondarysalesnotapply/revokeProcess', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 审批流程(同意)获取下一环节 + getNextNodesForSubmit: function(data) { + return request({ + url: '/riskcenter/v1/loansecondarysalesnotapply/getNextNodesForSubmit', + method: 'get', + params: data + }) + }, + // 审批流程(驳回)获取上一环节 + getPreviousNodesForReject: function(data) { + return request({ + url: '/riskcenter/v1/loansecondarysalesnotapply/getPreviousNodesForReject', + method: 'get', + params: data + }) + } +} diff --git a/anrui-riskcenter-ui/src/router/index.js b/anrui-riskcenter-ui/src/router/index.js index d0755d60f2..da7ccd8b8b 100644 --- a/anrui-riskcenter-ui/src/router/index.js +++ b/anrui-riskcenter-ui/src/router/index.js @@ -691,6 +691,23 @@ export const constantRoutes = [{ } }] }, + { + path: '/secondarysalesnotrecovery', + component: Layout, + redirect: '/secondarysalesnotrecovery', + meta: { + title: '二次销售车辆不追偿管理' + }, + children: [{ + path: '/secondarysalesnotrecovery/secondarysalesnotrecovery', + component: () => import('@/views/secondarysalesnotrecovery/secondarysalesnotrecovery.vue'), + name: 'SecondarySalesNotRecovery', + meta: { + title: '二次销售车辆不追偿管理', + noCache: true + } + }] + }, { path: '/secondarysublet', component: Layout, @@ -948,7 +965,6 @@ export const constantRoutes = [{ }] }, - // 流程审批 // 金融产品政策报备--编辑 { @@ -1562,6 +1578,27 @@ export const constantRoutes = [{ import('@/views/workFlow/jieanFlow/caseclosedYiBan.vue'), name: 'CaseClosedYiBan' }, + // 二次销售车辆不追偿--编辑 + { + path: '/buzhuichangFlow/secondarysalesnotrecoveryEdit', + component: () => + import('@/views/workFlow/buzhuichangFlow/secondarysalesnotrecoveryEdit.vue'), + name: 'SecondarySalesNotRecoveryEdit' + }, + // 二次销售车辆不追偿--待办 + { + path: '/buzhuichangFlow/secondarysalesnotrecoveryDaiBan', + component: () => + import('@/views/workFlow/buzhuichangFlow/secondarysalesnotrecoveryDaiBan.vue'), + name: 'SecondarySalesNotRecoveryDaiBan' + }, + // 二次销售车辆不追偿--已办 + { + path: '/buzhuichangFlow/secondarysalesnotrecoveryYiBan', + component: () => + import('@/views/workFlow/buzhuichangFlow/secondarysalesnotrecoveryYiBan.vue'), + name: 'SecondarySalesNotRecoveryYiBan' + }, // 404 page must be placed at the end !!! // { path: '*', redirect: '/404', hidden: true } ] diff --git a/anrui-riskcenter-ui/src/views/secondarysales/secondarysales.vue b/anrui-riskcenter-ui/src/views/secondarysales/secondarysales.vue index 4eeb57fcda..ee17b805d3 100644 --- a/anrui-riskcenter-ui/src/views/secondarysales/secondarysales.vue +++ b/anrui-riskcenter-ui/src/views/secondarysales/secondarysales.vue @@ -115,7 +115,9 @@ - + + + @@ -167,6 +169,7 @@ import req from '@/api/secondarysales/secondarysales' import { getStorage } from '@/utils/auth' import secondarysalesAdd from './secondarysalesAdd' import secondarysalesInfo from './secondarysalesInfo' +import secondarysalesnotrecoveryAdd from '../secondarysalesnotrecovery/secondarysalesnotrecoveryAdd' import generatecontract from './relation/generatecontract' export default { @@ -177,6 +180,7 @@ export default { ButtonBar, secondarysalesAdd, secondarysalesInfo, + secondarysalesnotrecoveryAdd, generatecontract }, data() { @@ -200,6 +204,13 @@ export default { btnKey: 'toCreate', btnLabel: '生成合同' }, + { + type: 'primary', + size: 'small', + icon: '', + btnKey: 'toRecovery', + btnLabel: '不追偿申请' + }, { type: 'danger', size: 'small', @@ -333,6 +344,9 @@ export default { case 'toCreate': this.toCreate() break + case 'toRecovery': + this.toRecovery() + break case 'doDel': this.doDel() break @@ -436,6 +450,18 @@ export default { this.viewState = 4 this.$refs['divInfo'].showInfo(row) }, + toRecovery() { + if (this.multipleSelection.length === 1) { + if (this.multipleSelection[0].isRecovery === '是') { + this.viewState = 6 + this.$refs['divRecovery'].showAdd(this.sids[0]) + } else { + this.$message({ showClose: true, type: 'error', message: '请选择是否追偿为是的记录进行操作' }) + } + } else { + this.$message({ showClose: true, type: 'error', message: '请选择一条记录进行操作' }) + } + }, // 删除 doDel() { if (this.sids.length === 0) { diff --git a/anrui-riskcenter-ui/src/views/secondarysalesnotrecovery/secondarysalesnotrecovery.vue b/anrui-riskcenter-ui/src/views/secondarysalesnotrecovery/secondarysalesnotrecovery.vue new file mode 100644 index 0000000000..44880873d7 --- /dev/null +++ b/anrui-riskcenter-ui/src/views/secondarysalesnotrecovery/secondarysalesnotrecovery.vue @@ -0,0 +1,369 @@ + + + + + diff --git a/anrui-riskcenter-ui/src/views/secondarysalesnotrecovery/secondarysalesnotrecoveryAdd.vue b/anrui-riskcenter-ui/src/views/secondarysalesnotrecovery/secondarysalesnotrecoveryAdd.vue new file mode 100644 index 0000000000..1300989c42 --- /dev/null +++ b/anrui-riskcenter-ui/src/views/secondarysalesnotrecovery/secondarysalesnotrecoveryAdd.vue @@ -0,0 +1,295 @@ + + + + + diff --git a/anrui-riskcenter-ui/src/views/secondarysalesnotrecovery/secondarysalesnotrecoveryInfo.vue b/anrui-riskcenter-ui/src/views/secondarysalesnotrecovery/secondarysalesnotrecoveryInfo.vue new file mode 100644 index 0000000000..a645ca13df --- /dev/null +++ b/anrui-riskcenter-ui/src/views/secondarysalesnotrecovery/secondarysalesnotrecoveryInfo.vue @@ -0,0 +1,227 @@ + + + + + diff --git a/anrui-riskcenter-ui/src/views/workFlow/buzhuichangFlow/relation/secondarysalesInfo.vue b/anrui-riskcenter-ui/src/views/workFlow/buzhuichangFlow/relation/secondarysalesInfo.vue new file mode 100644 index 0000000000..c992982a05 --- /dev/null +++ b/anrui-riskcenter-ui/src/views/workFlow/buzhuichangFlow/relation/secondarysalesInfo.vue @@ -0,0 +1,476 @@ + + + + + diff --git a/anrui-riskcenter-ui/src/views/workFlow/buzhuichangFlow/secondarysalesnotrecoveryDaiBan.vue b/anrui-riskcenter-ui/src/views/workFlow/buzhuichangFlow/secondarysalesnotrecoveryDaiBan.vue new file mode 100644 index 0000000000..fabd809517 --- /dev/null +++ b/anrui-riskcenter-ui/src/views/workFlow/buzhuichangFlow/secondarysalesnotrecoveryDaiBan.vue @@ -0,0 +1,482 @@ + + + + + diff --git a/anrui-riskcenter-ui/src/views/workFlow/buzhuichangFlow/secondarysalesnotrecoveryEdit.vue b/anrui-riskcenter-ui/src/views/workFlow/buzhuichangFlow/secondarysalesnotrecoveryEdit.vue new file mode 100644 index 0000000000..93fad454ae --- /dev/null +++ b/anrui-riskcenter-ui/src/views/workFlow/buzhuichangFlow/secondarysalesnotrecoveryEdit.vue @@ -0,0 +1,268 @@ + + + + + diff --git a/anrui-riskcenter-ui/src/views/workFlow/buzhuichangFlow/secondarysalesnotrecoveryYiBan.vue b/anrui-riskcenter-ui/src/views/workFlow/buzhuichangFlow/secondarysalesnotrecoveryYiBan.vue new file mode 100644 index 0000000000..2aa4ca8cf2 --- /dev/null +++ b/anrui-riskcenter-ui/src/views/workFlow/buzhuichangFlow/secondarysalesnotrecoveryYiBan.vue @@ -0,0 +1,264 @@ + + + + + From 3ce8700124ed6688d648f28b62a633f36f3548b3 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Tue, 29 Apr 2025 17:00:31 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=AE=8C=E5=96=84=E4=BA=8C=E6=AC=A1?= =?UTF-8?q?=E9=94=80=E5=94=AE=E8=BD=A6=E8=BE=86=E4=B8=8D=E8=BF=BD=E5=81=BF?= =?UTF-8?q?=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../workFlow/buzhuichangFlow/relation/secondarysalesInfo.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anrui-riskcenter-ui/src/views/workFlow/buzhuichangFlow/relation/secondarysalesInfo.vue b/anrui-riskcenter-ui/src/views/workFlow/buzhuichangFlow/relation/secondarysalesInfo.vue index c992982a05..5b996afe13 100644 --- a/anrui-riskcenter-ui/src/views/workFlow/buzhuichangFlow/relation/secondarysalesInfo.vue +++ b/anrui-riskcenter-ui/src/views/workFlow/buzhuichangFlow/relation/secondarysalesInfo.vue @@ -269,7 +269,7 @@