From 11d7cb7e99bf5871e89ae6782960a13421f5f674 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Mon, 4 Mar 2024 14:29:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E6=A1=88=E4=BB=B6=E7=BB=93?= =?UTF-8?q?=E6=A1=88=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/api/caseclosed/caseclosed.js | 3 +- anrui-riskcenter-ui/src/router/index.js | 37 ++ .../src/views/caseclosed/caseclosed.vue | 18 +- .../src/views/caseclosed/caseclosedAdd.vue | 28 +- .../src/views/caseclosed/caseclosedInfo.vue | 11 +- .../workFlow/jieanFlow/caseclosedDaiBan.vue | 548 ++++++++++++++++++ .../workFlow/jieanFlow/caseclosedEdit.vue | 349 +++++++++++ .../workFlow/jieanFlow/caseclosedYiBan.vue | 334 +++++++++++ 8 files changed, 1319 insertions(+), 9 deletions(-) create mode 100644 anrui-riskcenter-ui/src/views/workFlow/jieanFlow/caseclosedDaiBan.vue create mode 100644 anrui-riskcenter-ui/src/views/workFlow/jieanFlow/caseclosedEdit.vue create mode 100644 anrui-riskcenter-ui/src/views/workFlow/jieanFlow/caseclosedYiBan.vue diff --git a/anrui-riskcenter-ui/src/api/caseclosed/caseclosed.js b/anrui-riskcenter-ui/src/api/caseclosed/caseclosed.js index 92faa7ce1d..0305365f37 100644 --- a/anrui-riskcenter-ui/src/api/caseclosed/caseclosed.js +++ b/anrui-riskcenter-ui/src/api/caseclosed/caseclosed.js @@ -22,8 +22,7 @@ export default { return request({ url: '/riskcenter/v1/loancasecloseapply/details', method: 'post', - data: data, - headers: { 'Content-Type': 'application/json' } + params: data }) }, fetchBySid: function(data) { diff --git a/anrui-riskcenter-ui/src/router/index.js b/anrui-riskcenter-ui/src/router/index.js index 59c71756c5..e78a029ddc 100644 --- a/anrui-riskcenter-ui/src/router/index.js +++ b/anrui-riskcenter-ui/src/router/index.js @@ -823,6 +823,22 @@ export const constantRoutes = [ } ] }, + { + path: '/caseclosed', + component: Layout, + redirect: '/caseclosed', + meta: { + title: '案件结案管理' + }, + children: [ + { + path: '/caseclosed/caseclosed', + component: () => import('@/views/caseclosed/caseclosed.vue'), + name: 'CaseClosed', + meta: { title: '案件结案管理', noCache: true } + } + ] + }, // 流程审批 // 金融产品政策报备--编辑 @@ -1415,6 +1431,27 @@ export const constantRoutes = [ component: () => import('@/views/workFlow/zhixingFlow/caseexecutionYiBan.vue'), name: 'CaseExecutionYiBan' + }, + // 案件结案管理--编辑 + { + path: '/jieanFlow/caseclosedEdit', + component: () => + import('@/views/workFlow/jieanFlow/caseclosedEdit.vue'), + name: 'CaseClosedEdit' + }, + // 案件结案管理--待办 + { + path: '/jieanFlow/caseclosedDaiBan', + component: () => + import('@/views/workFlow/jieanFlow/caseclosedDaiBan.vue'), + name: 'CaseClosedDaiBan' + }, + // 案件结案管理--已办 + { + path: '/jieanFlow/caseclosedYiBan', + component: () => + import('@/views/workFlow/jieanFlow/caseclosedYiBan.vue'), + name: 'CaseClosedYiBan' }, // 404 page must be placed at the end !!! // { path: '*', redirect: '/404', hidden: true } diff --git a/anrui-riskcenter-ui/src/views/caseclosed/caseclosed.vue b/anrui-riskcenter-ui/src/views/caseclosed/caseclosed.vue index 2d7c682e70..529a3093c7 100644 --- a/anrui-riskcenter-ui/src/views/caseclosed/caseclosed.vue +++ b/anrui-riskcenter-ui/src/views/caseclosed/caseclosed.vue @@ -38,7 +38,9 @@ - + + + @@ -115,6 +117,7 @@ import req from '@/api/caseclosed/caseclosed' import { getStorage } from '@/utils/auth' import caseclosedAdd from './caseclosedAdd' import caseclosedInfo from './caseclosedInfo' +import { typeValues } from '@/api/Common/dictcommons' export default { name: 'CaseClosed', @@ -153,6 +156,7 @@ export default { tableKey: 0, list: [], sids: [], // 用于导出的时候保存已选择的SIDs + closeType_list: [], FormLoading: false, listLoading: false, // 翻页 @@ -163,7 +167,7 @@ export default { params: { closeEndDate: '', closeStartDate: '', - closeTypeValue: '', + closeTypeKey: '', createByName: '', createEndTime: '', createStartTime: '', @@ -185,6 +189,7 @@ export default { created() { // 初始化变量 this.getList() + this.init() }, mounted() { // 在外部vue的window上添加postMessage的监听,而且绑定处理函数handleMessage @@ -220,6 +225,13 @@ export default { } this.url = '/#/flow/flowRecordForBusiness?data=' + encodeURI((JSON.stringify(params))) }, + init() { + typeValues({ type: 'closeType' }).then((resp) => { + if (resp.success) { + this.closeType_list = resp.data + } + }) + }, // 搜索条件效果 clicksearchShow() { this.isSearchShow = !this.isSearchShow @@ -287,7 +299,7 @@ export default { params: { closeEndDate: '', closeStartDate: '', - closeTypeValue: '', + closeTypeKey: '', createByName: '', createEndTime: '', createStartTime: '', diff --git a/anrui-riskcenter-ui/src/views/caseclosed/caseclosedAdd.vue b/anrui-riskcenter-ui/src/views/caseclosed/caseclosedAdd.vue index 48cb3623ff..3d8b5c8819 100644 --- a/anrui-riskcenter-ui/src/views/caseclosed/caseclosedAdd.vue +++ b/anrui-riskcenter-ui/src/views/caseclosed/caseclosedAdd.vue @@ -126,7 +126,7 @@
车辆信息
- + @@ -137,7 +137,11 @@
结案方式
- {{ formobj.closeTypeKey }} + + + + +
结案日期
@@ -165,6 +169,7 @@ + + diff --git a/anrui-riskcenter-ui/src/views/workFlow/jieanFlow/caseclosedEdit.vue b/anrui-riskcenter-ui/src/views/workFlow/jieanFlow/caseclosedEdit.vue new file mode 100644 index 0000000000..818d868454 --- /dev/null +++ b/anrui-riskcenter-ui/src/views/workFlow/jieanFlow/caseclosedEdit.vue @@ -0,0 +1,349 @@ + + + + + diff --git a/anrui-riskcenter-ui/src/views/workFlow/jieanFlow/caseclosedYiBan.vue b/anrui-riskcenter-ui/src/views/workFlow/jieanFlow/caseclosedYiBan.vue new file mode 100644 index 0000000000..4a997779ff --- /dev/null +++ b/anrui-riskcenter-ui/src/views/workFlow/jieanFlow/caseclosedYiBan.vue @@ -0,0 +1,334 @@ + + + + +