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 @@ + + + +