From 99a2950e536ca02cc827cff5a0b6fb30d17f1e15 Mon Sep 17 00:00:00 2001 From: 18650502300 <18650502300@163.com> Date: Wed, 24 Jul 2024 18:17:13 +0800 Subject: [PATCH] =?UTF-8?q?1.=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/msgLog.js | 44 +++++ src/views/system/device/index.vue | 194 ++++++++++++++++----- src/views/system/fee/index.vue | 78 ++++++--- src/views/system/msgLog/index.vue | 272 ++++++++++++++++++++++++++++++ 4 files changed, 529 insertions(+), 59 deletions(-) create mode 100644 src/api/system/msgLog.js create mode 100644 src/views/system/msgLog/index.vue diff --git a/src/api/system/msgLog.js b/src/api/system/msgLog.js new file mode 100644 index 0000000..331293e --- /dev/null +++ b/src/api/system/msgLog.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询短信日志列表 +export function listMsgLog(query) { + return request({ + url: '/system/msgLog/list', + method: 'get', + params: query + }) +} + +// 查询短信日志详细 +export function getMsgLog(id) { + return request({ + url: '/system/msgLog/' + id, + method: 'get' + }) +} + +// 新增短信日志 +export function addMsgLog(data) { + return request({ + url: '/system/msgLog', + method: 'post', + data: data + }) +} + +// 修改短信日志 +export function updateMsgLog(data) { + return request({ + url: '/system/msgLog', + method: 'put', + data: data + }) +} + +// 删除短信日志 +export function delMsgLog(id) { + return request({ + url: '/system/msgLog/' + id, + method: 'delete' + }) +} diff --git a/src/views/system/device/index.vue b/src/views/system/device/index.vue index 0cfe363..b2125d1 100644 --- a/src/views/system/device/index.vue +++ b/src/views/system/device/index.vue @@ -2,7 +2,7 @@