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