From 8eb84802652b47dbe7259a24d00dcf363f4389c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E4=B8=8D=E5=81=9A=E7=A0=81=E5=86=9C?= <599854767@qq.com>
Date: Fri, 18 Aug 2023 07:40:17 +0800
Subject: [PATCH] =?UTF-8?q?:zap:=E6=96=B0=E5=A2=9E=E6=95=B0=E6=8D=AE?=
=?UTF-8?q?=E5=BA=93=E5=B7=AE=E5=BC=82=E6=97=A5=E5=BF=97=E6=9F=A5=E8=AF=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/monitor/sqldifflog.js | 29 +++
src/views/monitor/SqlDiffLog.vue | 324 +++++++++++++++++++++++++++++++
2 files changed, 353 insertions(+)
create mode 100644 src/api/monitor/sqldifflog.js
create mode 100644 src/views/monitor/SqlDiffLog.vue
diff --git a/src/api/monitor/sqldifflog.js b/src/api/monitor/sqldifflog.js
new file mode 100644
index 0000000..b46a7c0
--- /dev/null
+++ b/src/api/monitor/sqldifflog.js
@@ -0,0 +1,29 @@
+import request from '@/utils/request'
+import { downFile } from '@/utils/request'
+
+/**
+ * 数据差异日志分页查询
+ * @param {查询条件} data
+ */
+export function listSqlDiffLog(query) {
+ return request({
+ url: 'monitor/SqlDiffLog/list',
+ method: 'get',
+ params: query
+ })
+}
+
+/**
+ * 删除数据差异日志
+ * @param {主键} pid
+ */
+export function delSqlDiffLog(pid) {
+ return request({
+ url: 'monitor/SqlDiffLog/' + pid,
+ method: 'delete'
+ })
+}
+// 导出数据差异日志
+export async function exportSqlDiffLog(query) {
+ await downFile('monitor/SqlDiffLog/export', { ...query })
+}
diff --git a/src/views/monitor/SqlDiffLog.vue b/src/views/monitor/SqlDiffLog.vue
new file mode 100644
index 0000000..2f8a9f9
--- /dev/null
+++ b/src/views/monitor/SqlDiffLog.vue
@@ -0,0 +1,324 @@
+
+
+
+
+
+
+
+
+
+
+ {{ item.dictLabel }}
+ {{ item.dictValue }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('btn.search') }}
+ {{ $t('btn.reset') }}
+
+
+
+
+
+
+ {{ $t('btn.export') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 详细
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('btn.cancel') }}
+
+
+
+
+
+