From 2d38600dbb56f83d206489179ce0f2c9471525b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A4=9A=E6=B3=93=E7=A8=8B?= Date: Fri, 17 Jan 2025 12:32:44 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/goods.js | 44 ++ src/api/system/led.js | 44 ++ src/api/system/location.js | 44 ++ src/api/system/stand.js | 44 ++ src/views/system/goods/index.vue | 672 ++++++++++++++++++++++++ src/views/system/led/index.vue | 652 +++++++++++++++++++++++ src/views/system/location/index.vue | 784 ++++++++++++++++++++++++++++ src/views/system/stand/index.vue | 657 +++++++++++++++++++++++ 8 files changed, 2941 insertions(+) create mode 100644 src/api/system/goods.js create mode 100644 src/api/system/led.js create mode 100644 src/api/system/location.js create mode 100644 src/api/system/stand.js create mode 100644 src/views/system/goods/index.vue create mode 100644 src/views/system/led/index.vue create mode 100644 src/views/system/location/index.vue create mode 100644 src/views/system/stand/index.vue diff --git a/src/api/system/goods.js b/src/api/system/goods.js new file mode 100644 index 0000000..e3131bd --- /dev/null +++ b/src/api/system/goods.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询【请填写功能名称】列表 +export function listGoods(query) { + return request({ + url: '/system/goods/list', + method: 'get', + params: query + }) +} + +// 查询【请填写功能名称】详细 +export function getGoods(goodsId) { + return request({ + url: '/system/goods/' + goodsId, + method: 'get' + }) +} + +// 新增【请填写功能名称】 +export function addGoods(data) { + return request({ + url: '/system/goods', + method: 'post', + data: data + }) +} + +// 修改【请填写功能名称】 +export function updateGoods(data) { + return request({ + url: '/system/goods', + method: 'put', + data: data + }) +} + +// 删除【请填写功能名称】 +export function delGoods(goodsId) { + return request({ + url: '/system/goods/' + goodsId, + method: 'delete' + }) +} diff --git a/src/api/system/led.js b/src/api/system/led.js new file mode 100644 index 0000000..2ddfe8d --- /dev/null +++ b/src/api/system/led.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询【请填写功能名称】列表 +export function listConfig(query) { + return request({ + url: '/system/led/list', + method: 'get', + params: query + }) +} + +// 查询【请填写功能名称】详细 +export function getConfig(ledId) { + return request({ + url: '/system/led/' + ledId, + method: 'get' + }) +} + +// 新增【请填写功能名称】 +export function addConfig(data) { + return request({ + url: '/system/led', + method: 'post', + data: data + }) +} + +// 修改【请填写功能名称】 +export function updateConfig(data) { + return request({ + url: '/system/led', + method: 'put', + data: data + }) +} + +// 删除【请填写功能名称】 +export function delConfig(ledId) { + return request({ + url: '/system/led/' + ledId, + method: 'delete' + }) +} diff --git a/src/api/system/location.js b/src/api/system/location.js new file mode 100644 index 0000000..b95c5e1 --- /dev/null +++ b/src/api/system/location.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询【请填写功能名称】列表 +export function listLocation(query) { + return request({ + url: '/system/location/list', + method: 'get', + params: query + }) +} + +// 查询【请填写功能名称】详细 +export function getLocation(locationId) { + return request({ + url: '/system/location/' + locationId, + method: 'get' + }) +} + +// 新增【请填写功能名称】 +export function addLocation(data) { + return request({ + url: '/system/location', + method: 'post', + data: data + }) +} + +// 修改【请填写功能名称】 +export function updateLocation(data) { + return request({ + url: '/system/location', + method: 'put', + data: data + }) +} + +// 删除【请填写功能名称】 +export function delLocation(locationId) { + return request({ + url: '/system/location/' + locationId, + method: 'delete' + }) +} diff --git a/src/api/system/stand.js b/src/api/system/stand.js new file mode 100644 index 0000000..f9f6c2d --- /dev/null +++ b/src/api/system/stand.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询【请填写功能名称】列表 +export function listStand(query) { + return request({ + url: '/system/stand/list', + method: 'get', + params: query + }) +} + +// 查询【请填写功能名称】详细 +export function getStand(standId) { + return request({ + url: '/system/stand/' + standId, + method: 'get' + }) +} + +// 新增【请填写功能名称】 +export function addStand(data) { + return request({ + url: '/system/stand', + method: 'post', + data: data + }) +} + +// 修改【请填写功能名称】 +export function updateStand(data) { + return request({ + url: '/system/stand', + method: 'put', + data: data + }) +} + +// 删除【请填写功能名称】 +export function delStand(standId) { + return request({ + url: '/system/stand/' + standId, + method: 'delete' + }) +} diff --git a/src/views/system/goods/index.vue b/src/views/system/goods/index.vue new file mode 100644 index 0000000..eb3f33d --- /dev/null +++ b/src/views/system/goods/index.vue @@ -0,0 +1,672 @@ + + + + diff --git a/src/views/system/led/index.vue b/src/views/system/led/index.vue new file mode 100644 index 0000000..71c880a --- /dev/null +++ b/src/views/system/led/index.vue @@ -0,0 +1,652 @@ + + + + diff --git a/src/views/system/location/index.vue b/src/views/system/location/index.vue new file mode 100644 index 0000000..f8a6b20 --- /dev/null +++ b/src/views/system/location/index.vue @@ -0,0 +1,784 @@ + + + + diff --git a/src/views/system/stand/index.vue b/src/views/system/stand/index.vue new file mode 100644 index 0000000..394b957 --- /dev/null +++ b/src/views/system/stand/index.vue @@ -0,0 +1,657 @@ + + + +