From 99c3536c51bdbc72b9a18b2aca15e01c27eaa589 Mon Sep 17 00:00:00 2001 From: sunzehua Date: Mon, 19 Jun 2023 13:42:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/modular/main/BookingLedger.js | 102 +++++++++++++++++- src/api/modular/main/BookingTemplateManage.js | 21 ++++ src/api/modular/main/TaskmanageList.js | 17 +++ src/api/modular/system/loginManage.js | 16 +-- 4 files changed, 140 insertions(+), 16 deletions(-) diff --git a/src/api/modular/main/BookingLedger.js b/src/api/modular/main/BookingLedger.js index 83f937d..b68694c 100644 --- a/src/api/modular/main/BookingLedger.js +++ b/src/api/modular/main/BookingLedger.js @@ -96,6 +96,19 @@ export function BookingTemplate(parameter) { }) } +/** + * 订舱模板查询-分享 + * @params Type : 10, 20, 30, 40 + * @params SearchValue + */ +export function GetTemplateShare (parameter) { + return axios({ + url: '/BookingTemplate/GetTemplateShare ', + method: 'get', + params: parameter + }) +} + /** * 场站 * @params SearchValue @@ -320,7 +333,8 @@ export function DownloadBookingOrClosingEDI(parameter) { return axios({ url: '/BookingOrder/DownloadBookingOrClosingEDI', method: 'get', - params: parameter + params: parameter, + responseType: 'blob' }) } @@ -896,3 +910,89 @@ export function checkUpdateManifestNo(parameter) { data: parameter }) } + +export function singleBCFileRead (parameter, query) { + return axios({ + url: '/BookingValueAdded/SingleBCFileRead', + method: 'post', + data: parameter + }) +} + +export function singleBCFilSingleBCUpdateBookingOrdereRead (parameter) { + return axios({ + url: '/BookingValueAdded/SingleBCUpdateBookingOrder', + method: 'post', + data: parameter + }) +} + +export function sysOrgTreeList () { + return axios({ + url: '/sysOrg/treeList', + method: 'get' + }) +} + +export function refreshSailingDate (parameter) { + return axios({ + url: '/BookingOrder/RefreshSailingDate', + method: 'post', + params: parameter + }) +} + +export function PageDataByBooking (parameter) { + return axios({ + url: '/BookingOrder/PageData', + method: 'post', + data: parameter + }) +} + +export function RefreshBillTrace (parameter) { + return axios({ + url: '/BookingOrder/RefreshBillTrace', + method: 'post', + params: parameter + }) +} + +export function GetToDoBCList (parameter) { + return axios({ + url: '/TaskManageBC/GetToDoBCList', + method: 'get' + }) +} + +export function BatchBCUpdate (parameter) { + return axios({ + url: '/BookingValueAdded/BatchBCUpdate', + method: 'post', + data: parameter + }) +} + +export function QuervBookingOrderList (parameter) { + return axios({ + url: '/TaskManageBC/QueryBookingOrderList', + method: 'post', + data: parameter + }) +} + +export function GetRuleOpinionLog (parameter) { + return axios({ + url: '/BookingValueAdded/GetRuleOpinionLog', + method: 'post', + data: parameter + }) +} + +export function SubmitRule0pinion (parameter) { + return axios({ + url: '/BookingValueAdded/SubmitRuleOpinion', + method: 'post', + data: parameter + }) +} \ No newline at end of file diff --git a/src/api/modular/main/BookingTemplateManage.js b/src/api/modular/main/BookingTemplateManage.js index 252ea9e..325d75b 100644 --- a/src/api/modular/main/BookingTemplateManage.js +++ b/src/api/modular/main/BookingTemplateManage.js @@ -64,3 +64,24 @@ export function BookingTemplateDelete (parameter) { data: parameter }) } + +/** + * 分享 + * + * @author Myshipping + */ +export function SaveTemplateShare (parameter) { + return axios({ + url: '/BookingTemplate/SaveTemplateShare', + method: 'post', + data: parameter + }) +} + +export function GetTemplateShareList (parameter) { + return axios({ + url: '/BookingTemplate/GetTemplateShareList', + method: 'get', + params: parameter + }) +} diff --git a/src/api/modular/main/TaskmanageList.js b/src/api/modular/main/TaskmanageList.js index 4ab4393..9dde77b 100644 --- a/src/api/modular/main/TaskmanageList.js +++ b/src/api/modular/main/TaskmanageList.js @@ -274,3 +274,20 @@ export function GetLaraPaperRecordPage(parameter) { data: parameter }) } + +export function GetInfoByTaskId(parameter) { + return axios({ + url: '/TaskManageBC/GetInfoByTaskId', + method: 'get', + params: parameter + }) +} + +export function DownloadFileByBC(parameter) { + return axios({ + url: '/TaskManageBC/DownloadFile', + method: 'get', + params: parameter, + responseType: 'blob' + }) +} diff --git a/src/api/modular/system/loginManage.js b/src/api/modular/system/loginManage.js index 4afe6a2..f1eeb2d 100644 --- a/src/api/modular/system/loginManage.js +++ b/src/api/modular/system/loginManage.js @@ -26,7 +26,7 @@ export function login (parameter) { * @author 蛋蛋 * @date 2022/4/13 22:06 */ -export function simulationTenantLogin(parameter) { +export function simulationTenantLogin(parameter){ return axios({ url: '/simulationTenantLogin', method: 'post', @@ -117,17 +117,3 @@ export function reqCheck(data) { data }) } - -/** - * 跨平台解码登陆 - * - * @author yubaoshan - * @date 2020/6/23 23:09 - */ -export function loginWithCode (parameter) { - return axios({ - url: '/loginWithCode', - method: 'post', - params: parameter - }) -}