From 793c79d787ab9302d16df1fd55c5e4a55f0faeb6 Mon Sep 17 00:00:00 2001 From: lwh <2679599887@qq.com> Date: Sun, 18 Jun 2023 15:56:40 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E6=B7=BB=E5=8A=A0=E7=89=A9=E6=B5=81?= =?UTF-8?q?=E5=85=AC=E5=8F=B8=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LogisticsCompanys/logisticscompany.js | 46 ++++ src/components/Pagination/index.vue | 1 - .../components/AddDialog.vue | 119 +++++++++ .../components/DetailDialog.vue | 86 +++++++ .../components/EditDialog.vue | 132 ++++++++++ .../components/UploadDialog.vue | 124 ++++++++++ .../LogisticsCompanys/index.vue | 231 ++++++++++++++++++ 7 files changed, 738 insertions(+), 1 deletion(-) create mode 100644 src/api/business/LogisticsManage/LogisticsCompanys/logisticscompany.js create mode 100644 src/views/business/LogisticsManage/LogisticsCompanys/components/AddDialog.vue create mode 100644 src/views/business/LogisticsManage/LogisticsCompanys/components/DetailDialog.vue create mode 100644 src/views/business/LogisticsManage/LogisticsCompanys/components/EditDialog.vue create mode 100644 src/views/business/LogisticsManage/LogisticsCompanys/components/UploadDialog.vue create mode 100644 src/views/business/LogisticsManage/LogisticsCompanys/index.vue diff --git a/src/api/business/LogisticsManage/LogisticsCompanys/logisticscompany.js b/src/api/business/LogisticsManage/LogisticsCompanys/logisticscompany.js new file mode 100644 index 0000000..f4946e8 --- /dev/null +++ b/src/api/business/LogisticsManage/LogisticsCompanys/logisticscompany.js @@ -0,0 +1,46 @@ +import request from '@/utils/request' + +/** + * @Descripttion: 物流公司Api接口 + * @version: (1.0) + * @Author: (黎文豪) + * @Date: (2023-06-18) + * @LastEditors: (黎文豪) + * @LastEditTime: (2023-06-18) +*/ + +// 物流公司分页查询列表 +export function logisticsCompanyList(query) { + return request({ + url: '/business/LogisticsCompany/getLogisticsCompanyList', + method: 'get', + params: query + }) +} + +// 物流公司新增或修改 +export function addOrUpdateLogisticsCompany(data) { + return request({ + url: '/business/LogisticsCompany/addOrUpdateLogisticsCompany', + method: 'post', + data: data, + }) +} + +// 物流公司删除 +export function delLogisticsCompany(ids) { + return request({ + url: '/business/LogisticsCompany/'+ ids, + method: 'delete' + }) +} + +// 物流公司导出 +export function exportLogisticsCompany(query) { + return request({ + url: 'business/LogisticsCompany/exportLogisticsCompany', + method: 'get', + params: query + }) +} + diff --git a/src/components/Pagination/index.vue b/src/components/Pagination/index.vue index 9a25ecd..bb513a1 100644 --- a/src/components/Pagination/index.vue +++ b/src/components/Pagination/index.vue @@ -1,7 +1,6 @@