From c819024e241b9f7c54cc3786373ad0d2998f2190 Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期五, 05 五月 2023 08:55:46 +0800 Subject: [PATCH] 修改 --- src/api/sgyhpczl/hiddenDangerManagement.js | 26 ++++++++++++++++++++------ 1 files changed, 20 insertions(+), 6 deletions(-) diff --git a/src/api/sgyhpczl/hiddenDangerManagement.js b/src/api/sgyhpczl/hiddenDangerManagement.js index 1e54b41..20b710d 100644 --- a/src/api/sgyhpczl/hiddenDangerManagement.js +++ b/src/api/sgyhpczl/hiddenDangerManagement.js @@ -46,7 +46,7 @@ arr.push({field: "alter_status", value: data.form.alter_status, type: 'OPT'}) } /*是否关联*/ - if (data.form.DTRisk_bankId != null && data.form.DTRisk_bankId != '') { + if(data.form.DTRisk_bankId!=null){ arr.push({field: "DTRisk_bankId", value: data.form.DTRisk_bankId, type: 'OPT'}) } /*检查时间*/ @@ -65,7 +65,7 @@ 'token': getTokenAndVerify().token, 'verify': getTokenAndVerify().verify }, - url: process.env.BASE_API+"/taboi/danger/self_list", + url: "/taboi/danger/self_list", contentType: "application/json", method: 'POST', data @@ -78,7 +78,7 @@ 'token': getTokenAndVerify().token, 'verify': getTokenAndVerify().verify }, - url: process.env.BASE_API+"/taboi/danger/self_save_do", + url: "/taboi/danger/self_save_do", contentType: "application/json", method: 'POST', data @@ -91,7 +91,7 @@ 'token': getTokenAndVerify().token, 'verify': getTokenAndVerify().verify }, - url: process.env.BASE_API+'/taboi/excel/self_export_do', + url: '/taboi/excel/self_export_do', method: 'post', responseType: 'arraybuffer', data @@ -104,7 +104,7 @@ 'token': getTokenAndVerify().token, 'verify': getTokenAndVerify().verify }, - url:process.env.BASE_API+ '/taboi/download/self_template', + url: '/taboi/download/self_template', method: 'get', responseType: 'arraybuffer', }); @@ -164,9 +164,23 @@ headers: { 'Authorization': getToken() }, - url: process.env.BASE_API + '/auth/verify', + url: '/auth/verify', method: 'get', data: { 'token': getToken(), 'action': 'getUserInfo' } }) } +export function self_info(data) { + return request({ + headers: { + 'token': getTokenAndVerify().token, + 'verify': getTokenAndVerify().verify + }, + url: '/taboi/danger/self_info?id=' + data, + method: 'post', + data + }) +} + + + -- Gitblit v1.9.2