From 26e29833a276509fdf8325864b27a74512b39331 Mon Sep 17 00:00:00 2001 From: eric777 Date: Sun, 4 Feb 2024 15:49:19 +0800 Subject: [PATCH] =?UTF-8?q?jiahan.wu=20[cr]=20=E5=85=AC=E5=91=8A=E9=80=9A?= =?UTF-8?q?=E7=9F=A5=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/version.js | 53 +++++++ src/views/system/version/index.vue | 238 +++++++++++++++++++++++++++++ 2 files changed, 291 insertions(+) create mode 100644 src/api/system/version.js create mode 100644 src/views/system/version/index.vue diff --git a/src/api/system/version.js b/src/api/system/version.js new file mode 100644 index 0000000..95bc431 --- /dev/null +++ b/src/api/system/version.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询IOT服务版本信息列表 +export function listVersion(query) { + return request({ + url: '/model/webVersion/list', + method: 'get', + params: query + }) +} + +// 查询IOT服务版本信息详细 +export function getVersion(id) { + return request({ + url: '/model/webVersion/' + id, + method: 'get' + }) +} + +// 新增IOT服务版本信息 +export function addVersion(data) { + return request({ + url: '/model/webVersion', + method: 'post', + data: data + }) +} + +// 修改IOT服务版本信息 +export function updateVersion(data) { + return request({ + url: '/model/webVersion', + method: 'put', + data: data + }) +} + +// 删除IOT服务版本信息 +export function delVersion(id) { + return request({ + url: '/model/webVersion/' + id, + method: 'delete' + }) +} + +// 导出IOT服务版本信息 +export function exportVersion(query) { + return request({ + url: '/${baseUrl}/export', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/src/views/system/version/index.vue b/src/views/system/version/index.vue new file mode 100644 index 0000000..d5e0992 --- /dev/null +++ b/src/views/system/version/index.vue @@ -0,0 +1,238 @@ + + +