From 406e4fdd9e5a589f24972ff4cc4961ceee78c947 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=90=8C=E6=B5=B7?= <963808678@qq.com> Date: Mon, 27 Feb 2023 17:17:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=AC=E5=85=B1=E5=BA=93=E5=8A=A0=E5=88=86?= =?UTF-8?q?=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/modular/main/CommondbCarrierList.js | 13 +++++++- src/api/modular/main/CommondbForwarder.js | 8 ++++- src/api/modular/main/CommondbPortload.js | 8 ++++- src/api/modular/main/CommondbVessel.js | 8 ++++- src/api/modular/main/CommondbVessellist.js | 8 ++++- src/api/modular/main/CommondbYard.js | 8 ++++- src/api/modular/main/CommondbYardlist.js | 8 ++++- .../modular/main/ShippingCompanyMapping.js | 7 ++++ src/views/main/CommondbCarrierList/index.vue | 32 ++++++++++++++----- src/views/main/CommondbForwarder/index.vue | 32 ++++++++++++++----- src/views/main/CommondbPortload/index.vue | 32 ++++++++++++++----- src/views/main/CommondbVessel/index.vue | 32 ++++++++++++++----- src/views/main/CommondbVessellist/index.vue | 32 ++++++++++++++----- src/views/main/CommondbYard/index.vue | 32 ++++++++++++++----- src/views/main/CommondbYardlist/index.vue | 32 ++++++++++++++----- .../main/ShippingCompanyMapping/index.vue | 32 ++++++++++++++----- 16 files changed, 253 insertions(+), 71 deletions(-) diff --git a/src/api/modular/main/CommondbCarrierList.js b/src/api/modular/main/CommondbCarrierList.js index 27ef2dd..7b67981 100644 --- a/src/api/modular/main/CommondbCarrierList.js +++ b/src/api/modular/main/CommondbCarrierList.js @@ -12,7 +12,18 @@ export function CommondbCarrierList(parameter) { params: parameter }) } - +/** + * 获取船公司列表信息(分页) + * + * @author Myshipping + */ +export function CommondbPageCarrierList(parameter) { + return axios({ + url: '/commondbpage/carrierlist', + method: 'get', + params: parameter + }) +} /** * 新增船公司信息 * diff --git a/src/api/modular/main/CommondbForwarder.js b/src/api/modular/main/CommondbForwarder.js index 9eb1779..074571c 100644 --- a/src/api/modular/main/CommondbForwarder.js +++ b/src/api/modular/main/CommondbForwarder.js @@ -12,7 +12,13 @@ export function CommondbList(parameter) { params: parameter }) } - +export function CommondbPageList(parameter) { + return axios({ + url: '/commondbpage/forwarderlist', + method: 'get', + params: parameter + }) +} /** * 新增船代信息 * diff --git a/src/api/modular/main/CommondbPortload.js b/src/api/modular/main/CommondbPortload.js index 550deff..1f04326 100644 --- a/src/api/modular/main/CommondbPortload.js +++ b/src/api/modular/main/CommondbPortload.js @@ -12,7 +12,13 @@ export function CommondbList(parameter) { params: parameter }) } - +export function CommondbPageList(parameter) { + return axios({ + url: '/commondbpage/portloadlist', + method: 'get', + params: parameter + }) +} /** * 新增起始港信息 * diff --git a/src/api/modular/main/CommondbVessel.js b/src/api/modular/main/CommondbVessel.js index ed45c0a..ec5528a 100644 --- a/src/api/modular/main/CommondbVessel.js +++ b/src/api/modular/main/CommondbVessel.js @@ -12,7 +12,13 @@ export function CommondbList(parameter) { params: parameter }) } - +export function CommondbPageList(parameter) { + return axios({ + url: '/commondbpage/vessellist', + method: 'get', + params: parameter + }) +} /** * 新增船名信息 * diff --git a/src/api/modular/main/CommondbVessellist.js b/src/api/modular/main/CommondbVessellist.js index 3b52a3f..4132478 100644 --- a/src/api/modular/main/CommondbVessellist.js +++ b/src/api/modular/main/CommondbVessellist.js @@ -12,7 +12,13 @@ export function CommondbMappingvessellist(parameter) { params: parameter }) } - +export function CommondbPageMappingvessellist(parameter) { + return axios({ + url: '/commondbpage/mappingvessellist', + method: 'get', + params: parameter + }) +} /** * 新增编辑船名映射信息 * diff --git a/src/api/modular/main/CommondbYard.js b/src/api/modular/main/CommondbYard.js index 0f3d29a..a54b221 100644 --- a/src/api/modular/main/CommondbYard.js +++ b/src/api/modular/main/CommondbYard.js @@ -12,7 +12,13 @@ export function CommondbList(parameter) { params: parameter }) } - +export function CommondbPageList(parameter) { + return axios({ + url: '/commondbpage/yardlist', + method: 'get', + params: parameter + }) +} /** * 新增场站信息 * diff --git a/src/api/modular/main/CommondbYardlist.js b/src/api/modular/main/CommondbYardlist.js index 073252c..d8c1d30 100644 --- a/src/api/modular/main/CommondbYardlist.js +++ b/src/api/modular/main/CommondbYardlist.js @@ -12,7 +12,13 @@ export function CommondbMappingyardlist(parameter) { params: parameter }) } - +export function CommondbPageMappingyardlist(parameter) { + return axios({ + url: '/commondbpage/mappingyardlist', + method: 'get', + params: parameter + }) +} /** * 新增编辑场站映射信息 * diff --git a/src/api/modular/main/ShippingCompanyMapping.js b/src/api/modular/main/ShippingCompanyMapping.js index 4d276b0..fc4ceb5 100644 --- a/src/api/modular/main/ShippingCompanyMapping.js +++ b/src/api/modular/main/ShippingCompanyMapping.js @@ -12,6 +12,13 @@ export function CommondbMappingcarrierlist(parameter) { params: parameter }) } +export function CommondbPageMappingcarrierlist(parameter) { + return axios({ + url: '/commondbpage/mappingcarrierlist', + method: 'get', + params: parameter + }) +} /** * 新增编辑船公司映射信息 diff --git a/src/views/main/CommondbCarrierList/index.vue b/src/views/main/CommondbCarrierList/index.vue index 2e2a67d..d41afc8 100644 --- a/src/views/main/CommondbCarrierList/index.vue +++ b/src/views/main/CommondbCarrierList/index.vue @@ -39,7 +39,7 @@ - + + +