diff --git a/anrui-riskcenter-ui/src/api/buyback/buyback.js b/anrui-riskcenter-ui/src/api/buyback/buyback.js
new file mode 100644
index 0000000000..6d025a49f5
--- /dev/null
+++ b/anrui-riskcenter-ui/src/api/buyback/buyback.js
@@ -0,0 +1,129 @@
+import request from '@/utils/request'
+
+export default {
+ // 查询分页列表
+ listPage: function(params) {
+ return request({
+ url: '/riskcenter/v1/loanrepurchaseapply/listPage',
+ method: 'post',
+ data: params,
+ headers: { 'Content-Type': 'application/json' }
+ })
+ },
+ getListPage: function(params) {
+ return request({
+ url: '/riskcenter/v1/LoanSettleApply/getListPage',
+ method: 'post',
+ data: params,
+ headers: { 'Content-Type': 'application/json' }
+ })
+ },
+ saveOrUpdate: function(data) {
+ return request({
+ url: '/riskcenter/v1/loanrepurchaseapply/repurchaseSave',
+ method: 'post',
+ data: data,
+ headers: { 'Content-Type': 'application/json' }
+ })
+ },
+ repurchaseInit: function(data) {
+ return request({
+ url: '/riskcenter/v1/loanrepurchaseapply/repurchaseInit',
+ method: 'post',
+ data: data,
+ headers: { 'Content-Type': 'application/json' }
+ })
+ },
+ fetchBySid: function(data) {
+ return request({
+ url: '/riskcenter/v1/loanrepurchaseapply/fetchDetailsBySid/' + data,
+ method: 'get'
+ })
+ },
+ deleteBySids: function(data) {
+ return request({
+ url: '/riskcenter/v1/loanrepurchaseapply/deleteBySids',
+ method: 'DELETE',
+ data: data,
+ headers: { 'Content-Type': 'application/json' }
+ })
+ },
+ // 销售订单 -- 金融方案初始化
+ selectDetailss: function(data) {
+ return request({
+ url: '/riskcenter/v1/loansolutions/selectDetailss',
+ method: 'get',
+ params: data
+ })
+ },
+ // 提交流程
+ submit: function(params) {
+ return request({
+ url: '/riskcenter/v1/loanrepurchaseapply/submit',
+ method: 'post',
+ data: params,
+ headers: { 'Content-Type': 'application/json' }
+ })
+ },
+ // 流程审批(同意)
+ complete: function(params) {
+ return request({
+ url: '/riskcenter/v1/loanrepurchaseapply/complete',
+ method: 'post',
+ data: params,
+ headers: { 'Content-Type': 'application/json' }
+ })
+ },
+ // 流程审批(加签)
+ delegate: function(params) {
+ return request({
+ url: '/riskcenter/v1/loanrepurchaseapply/delegate',
+ method: 'post',
+ data: params,
+ headers: { 'Content-Type': 'application/json' }
+ })
+ },
+ // 流程审批(驳回)
+ reject: function(params) {
+ return request({
+ url: '/riskcenter/v1/loanrepurchaseapply/reject',
+ method: 'post',
+ data: params,
+ headers: { 'Content-Type': 'application/json' }
+ })
+ },
+ // 流程审批(终止)
+ breakProcess: function(params) {
+ return request({
+ url: '/riskcenter/v1/loanrepurchaseapply/breakProcess',
+ method: 'post',
+ data: params,
+ headers: { 'Content-Type': 'application/json' }
+ })
+ },
+ // 流程审批(撤回)
+ revokeProcess: function(params) {
+ return request({
+ url: '/riskcenter/v1/loanrepurchaseapply/revokeProcess',
+ method: 'post',
+ data: params,
+ headers: { 'Content-Type': 'application/json' }
+ })
+ },
+ // 审批流程(同意)获取下一环节
+ getNextNodesForSubmit: function(data) {
+ return request({
+ url: '/riskcenter/v1/loanrepurchaseapply/getNextNodesForSubmit',
+ method: 'get',
+ params: data
+ })
+ },
+ // 审批流程(驳回)获取上一环节
+ getPreviousNodesForReject: function(data) {
+ return request({
+ url: '/riskcenter/v1/loanrepurchaseapply/getPreviousNodesForReject',
+ method: 'get',
+ params: data
+ })
+ }
+}
diff --git a/anrui-riskcenter-ui/src/api/settlethevehicleaccount/settlethevehicleaccount.js b/anrui-riskcenter-ui/src/api/settlethevehicleaccount/settlethevehicleaccount.js
index 8a2c5706dd..5663710e8a 100644
--- a/anrui-riskcenter-ui/src/api/settlethevehicleaccount/settlethevehicleaccount.js
+++ b/anrui-riskcenter-ui/src/api/settlethevehicleaccount/settlethevehicleaccount.js
@@ -4,7 +4,7 @@ export default {
// 查询分页列表
listPage: function(params) {
return request({
- url: '/riskcenter/v1/loansubletapply/listPage',
+ url: '/riskcenter/v1/LoanSettleVehicle/listPage',
method: 'post',
data: params,
headers: { 'Content-Type': 'application/json' }
diff --git a/anrui-riskcenter-ui/src/router/index.js b/anrui-riskcenter-ui/src/router/index.js
index 69e38b094e..5db5ff81da 100644
--- a/anrui-riskcenter-ui/src/router/index.js
+++ b/anrui-riskcenter-ui/src/router/index.js
@@ -695,6 +695,22 @@ export const constantRoutes = [
}
]
},
+ {
+ path: '/settlethevehicleaccount',
+ component: Layout,
+ redirect: '/settlethevehicleaccount',
+ meta: {
+ title: '结清车辆台账'
+ },
+ children: [
+ {
+ path: '/settlethevehicleaccount/settlethevehicleaccount',
+ component: () => import('@/views/settlethevehicleaccount/settlethevehicleaccount.vue'),
+ name: 'SettleTheVehicleAccount',
+ meta: { title: '结清车辆台账', noCache: true }
+ }
+ ]
+ },
{
path: '/offset',
component: Layout,
@@ -711,6 +727,22 @@ export const constantRoutes = [
}
]
},
+ {
+ path: '/buyback',
+ component: Layout,
+ redirect: '/buyback',
+ meta: {
+ title: '车辆回购管理'
+ },
+ children: [
+ {
+ path: '/buyback/buyback',
+ component: () => import('@/views/buyback/buyback.vue'),
+ name: 'BuyBack',
+ meta: { title: '车辆回购管理', noCache: true }
+ }
+ ]
+ },
// 流程审批
// 金融产品政策报备--编辑
@@ -1198,6 +1230,27 @@ export const constantRoutes = [
component: () =>
import('@/views/workFlow/jieqingFlow/settleYiBan.vue'),
name: 'SettleYiBan'
+ },
+ // 车辆回购管理--编辑
+ {
+ path: '/huigouFlow/buybackEdit',
+ component: () =>
+ import('@/views/workFlow/huigouFlow/buybackEdit.vue'),
+ name: 'BuyBackEdit'
+ },
+ // 车辆回购管理--待办
+ {
+ path: '/huigouFlow/buybackDaiBan',
+ component: () =>
+ import('@/views/workFlow/huigouFlow/buybackDaiBan.vue'),
+ name: 'BuyBackDaiBan'
+ },
+ // 车辆回购管理--已办
+ {
+ path: '/huigouFlow/buybackYiBan',
+ component: () =>
+ import('@/views/workFlow/huigouFlow/buybackYiBan.vue'),
+ name: 'BuyBackYiBan'
},
// 404 page must be placed at the end !!!
// { path: '*', redirect: '/404', hidden: true }
diff --git a/anrui-riskcenter-ui/src/views/buyback/buyback.vue b/anrui-riskcenter-ui/src/views/buyback/buyback.vue
new file mode 100644
index 0000000000..995723ebbf
--- /dev/null
+++ b/anrui-riskcenter-ui/src/views/buyback/buyback.vue
@@ -0,0 +1,504 @@
+
+