From c16c4f80f5b071731424ca782f6fdc776844c268 Mon Sep 17 00:00:00 2001 From: GeDashi <2531216855@qq.com> Date: Fri, 20 Dec 2024 01:47:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A43?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/customer.js | 44 ++++ src/api/system/twodimension.js | 44 ++++ src/views/system/customer/index.vue | 291 ++++++++++++++++++++++++ src/views/system/twodimension/index.vue | 257 +++++++++++++++++++++ 4 files changed, 636 insertions(+) create mode 100644 src/api/system/customer.js create mode 100644 src/api/system/twodimension.js create mode 100644 src/views/system/customer/index.vue create mode 100644 src/views/system/twodimension/index.vue diff --git a/src/api/system/customer.js b/src/api/system/customer.js new file mode 100644 index 0000000..a2c36a7 --- /dev/null +++ b/src/api/system/customer.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询客户表列表 +export function listCustomer(query) { + return request({ + url: '/system/customer/list', + method: 'get', + params: query + }) +} + +// 查询客户表详细 +export function getCustomer(id) { + return request({ + url: '/system/customer/' + id, + method: 'get' + }) +} + +// 新增客户表 +export function addCustomer(data) { + return request({ + url: '/system/customer', + method: 'post', + data: data + }) +} + +// 修改客户表 +export function updateCustomer(data) { + return request({ + url: '/system/customer', + method: 'put', + data: data + }) +} + +// 删除客户表 +export function delCustomer(id) { + return request({ + url: '/system/customer/' + id, + method: 'delete' + }) +} diff --git a/src/api/system/twodimension.js b/src/api/system/twodimension.js new file mode 100644 index 0000000..53c8fae --- /dev/null +++ b/src/api/system/twodimension.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询提货二维码列表 +export function listTwodimension(query) { + return request({ + url: '/system/twodimension/list', + method: 'get', + params: query + }) +} + +// 查询提货二维码详细 +export function getTwodimension(id) { + return request({ + url: '/system/twodimension/' + id, + method: 'get' + }) +} + +// 新增提货二维码 +export function addTwodimension(data) { + return request({ + url: '/system/twodimension', + method: 'post', + data: data + }) +} + +// 修改提货二维码 +export function updateTwodimension(data) { + return request({ + url: '/system/twodimension', + method: 'put', + data: data + }) +} + +// 删除提货二维码 +export function delTwodimension(id) { + return request({ + url: '/system/twodimension/' + id, + method: 'delete' + }) +} diff --git a/src/views/system/customer/index.vue b/src/views/system/customer/index.vue new file mode 100644 index 0000000..cb46572 --- /dev/null +++ b/src/views/system/customer/index.vue @@ -0,0 +1,291 @@ + + + diff --git a/src/views/system/twodimension/index.vue b/src/views/system/twodimension/index.vue new file mode 100644 index 0000000..bde66f1 --- /dev/null +++ b/src/views/system/twodimension/index.vue @@ -0,0 +1,257 @@ + + +