From 89826add80fefe7b8402926f1edc273c1eed20bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=9C=E8=B4=A4=E9=87=91?= <1960116313@qq.com> Date: Thu, 14 Apr 2022 16:06:32 +0800 Subject: [PATCH] =?UTF-8?q?feat=20:=20=E5=BC=80=E5=8F=91=E9=80=9A=E9=81=93?= =?UTF-8?q?=E7=AE=A1=E7=90=86=20=20=E5=9F=BA=E7=A1=80=E5=8D=A1=E7=AE=A1?= =?UTF-8?q?=E7=90=86=20=20=E5=8D=A1=E5=87=BA=E5=BA=93=E7=AE=A1=E7=90=86?= =?UTF-8?q?=EF=BC=88=E5=8D=A1=E5=87=BA=E5=BA=93=E6=9C=AA=E5=8D=8F=E5=95=86?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/communication/basiccard.js | 49 +++ src/api/communication/channel.js | 49 +++ src/api/communication/outbound.js | 48 +++ src/config/website.js | 2 +- .../basiccard/basiccard.vue | 326 +++++++++++++++++ .../communicationmanage/channel/channel.vue | 235 +++++++++++++ .../communicationmanage/outbound/outbound.vue | 285 +++++++++++++++ src/views/test.vue | 322 ++++++++++++++++- src/views/util/test.vue | 329 +++++++++++++++++- src/views/wel/component/Administrator.vue | 2 +- 10 files changed, 1628 insertions(+), 19 deletions(-) create mode 100644 src/api/communication/basiccard.js create mode 100644 src/api/communication/channel.js create mode 100644 src/api/communication/outbound.js create mode 100644 src/views/communicationmanage/basiccard/basiccard.vue create mode 100644 src/views/communicationmanage/channel/channel.vue create mode 100644 src/views/communicationmanage/outbound/outbound.vue diff --git a/src/api/communication/basiccard.js b/src/api/communication/basiccard.js new file mode 100644 index 0000000..51429ac --- /dev/null +++ b/src/api/communication/basiccard.js @@ -0,0 +1,49 @@ +import request from '@/router/axios'; +//列表 +export const getList = (current, size, params) => { + return request({ + url: '/api/iot-sim/simcard/page', + method: 'get', + params: { + ...params, + current, + size, + } + }) +} + +export const getDetail = (id) => { + return request({ + url: '/api/iot-sim/simcard/detail', + method: 'get', + params: { + id + } + }) +} +//新增 +export const add = (row) => { + return request({ + url: '/api/iot-sim/simcard/save', + method: 'post', + data: row + }) +} +//删除 +export const remove = (ids) => { + return request({ + url: '/api/iot-sim/simcard/remove', + method: 'post', + params: { + ids, + } + }) +} +//修改 +export const update = (row) => { + return request({ + url: '/api/iot-sim/simcard/update', + method: 'post', + data: row + }) +} diff --git a/src/api/communication/channel.js b/src/api/communication/channel.js new file mode 100644 index 0000000..9d63e04 --- /dev/null +++ b/src/api/communication/channel.js @@ -0,0 +1,49 @@ +import request from '@/router/axios'; +//列表 +export const getList = (current, size, params) => { + return request({ + url: '/api/iot-sim/channel/page', + method: 'get', + params: { + ...params, + current, + size, + } + }) +} +export const getDetail = (id) => { + return request({ + url: '/api/iot-sim/channel/detail', + method: 'get', + params: { + id + } + }) +} +//新增 +export const add = (row) => { + return request({ + url: '/api/iot-sim/channel/save', + method: 'post', + data: row + }) +} +//删除 +export const remove = (ids) => { + return request({ + url: '/api/iot-sim/channel/remove', + method: 'post', + params: { + ids, + } + }) +} +//修改 +export const update = (row) => { + return request({ + url: '/api/iot-sim/channel/update', + method: 'post', + data: row + }) +} + diff --git a/src/api/communication/outbound.js b/src/api/communication/outbound.js new file mode 100644 index 0000000..69309d7 --- /dev/null +++ b/src/api/communication/outbound.js @@ -0,0 +1,48 @@ +import request from '@/router/axios'; +//列表 +export const getList = (current, size, params) => { + return request({ + url: '/api/iot-sim/channel/page', + method: 'get', + params: { + ...params, + current, + size, + } + }) +} +export const getDetail = (id) => { + return request({ + url: '/api/iot-sim/simcarddeliver/detail', + method: 'get', + params: { + id + } + }) +} +//新增 +export const add = (row) => { + return request({ + url: '/api/iot-sim/simcarddeliver/save', + method: 'post', + data: row + }) +} +//删除 +export const remove = (id) => { + return request({ + url: '/api/iot-sim/simcarddeliver/remove', + method: 'post', + params: { + id, + } + }) +} +//修改 +export const update = (row) => { + return request({ + url: '/api/iot-sim/simcarddeliver/update', + method: 'post', + data: row + }) +} diff --git a/src/config/website.js b/src/config/website.js index 0c3550e..e479f04 100644 --- a/src/config/website.js +++ b/src/config/website.js @@ -5,7 +5,7 @@ export default { title: "saber", logo: "S", key: 'saber',//配置主键,目前用于存储 - indexTitle: '大数据服务平台', + indexTitle: '物联网平台', clientId: 'falcon', // 客户端id clientSecret: 'falcon_secret', // 客户端密钥 tenantMode: true, // 是否开启租户模式 diff --git a/src/views/communicationmanage/basiccard/basiccard.vue b/src/views/communicationmanage/basiccard/basiccard.vue new file mode 100644 index 0000000..6a264f6 --- /dev/null +++ b/src/views/communicationmanage/basiccard/basiccard.vue @@ -0,0 +1,326 @@ + + + + + diff --git a/src/views/communicationmanage/channel/channel.vue b/src/views/communicationmanage/channel/channel.vue new file mode 100644 index 0000000..16897cd --- /dev/null +++ b/src/views/communicationmanage/channel/channel.vue @@ -0,0 +1,235 @@ + + + + + diff --git a/src/views/communicationmanage/outbound/outbound.vue b/src/views/communicationmanage/outbound/outbound.vue new file mode 100644 index 0000000..c26c32b --- /dev/null +++ b/src/views/communicationmanage/outbound/outbound.vue @@ -0,0 +1,285 @@ + + + + + diff --git a/src/views/test.vue b/src/views/test.vue index 04e63b9..55d208e 100644 --- a/src/views/test.vue +++ b/src/views/test.vue @@ -1,10 +1,324 @@ - + diff --git a/src/views/util/test.vue b/src/views/util/test.vue index 6609c25..e3865f4 100644 --- a/src/views/util/test.vue +++ b/src/views/util/test.vue @@ -1,21 +1,324 @@ - + diff --git a/src/views/wel/component/Administrator.vue b/src/views/wel/component/Administrator.vue index 521c05b..173d326 100644 --- a/src/views/wel/component/Administrator.vue +++ b/src/views/wel/component/Administrator.vue @@ -1,7 +1,7 @@