From e9f929c2da396f89573f03d13411e7cb96c49d78 Mon Sep 17 00:00:00 2001 From: xxm Date: Mon, 13 Feb 2023 21:48:26 +0800 Subject: [PATCH 01/11] =?UTF-8?q?style=20=E6=95=B0=E6=8D=AE=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../monitor/data/DataVersionLog.api.ts | 42 ++----- .../monitor/data/DataVersionLogEdit.vue | 113 ------------------ .../monitor/data/DataVersionLogInfo.vue | 82 +++++++++++++ .../monitor/data/DataVersionLogList.vue | 55 +++------ .../monitor/operate/OperateLogInfo.vue | 1 - 5 files changed, 106 insertions(+), 187 deletions(-) delete mode 100644 src/views/modules/monitor/data/DataVersionLogEdit.vue create mode 100644 src/views/modules/monitor/data/DataVersionLogInfo.vue diff --git a/src/views/modules/monitor/data/DataVersionLog.api.ts b/src/views/modules/monitor/data/DataVersionLog.api.ts index ff73a43..6e00442 100644 --- a/src/views/modules/monitor/data/DataVersionLog.api.ts +++ b/src/views/modules/monitor/data/DataVersionLog.api.ts @@ -22,36 +22,6 @@ export const get = (id) => { }) } -/** - * 添加 - */ -export const add = (obj: DataVersionLog) => { - return defHttp.post({ - url: '/log/dataVersion/add', - data: obj, - }) -} - -/** - * 更新 - */ -export const update = (obj: DataVersionLog) => { - return defHttp.post({ - url: '/log/dataVersion/update', - data: obj, - }) -} - -/** - * 删除 - */ -export const del = (id) => { - return defHttp.delete({ - url: '/log/dataVersion/delete', - params: { id }, - }) -} - /** * 查询全部 */ @@ -65,10 +35,16 @@ export const findAll = () => { * 数据版本日志 */ export interface DataVersionLog extends BaseEntity { + // 表名称 + tableName?: string // 数据名称 - dataName: string + dataName?: string // 数据主键 - dataId: string + dataId?: string // 数据内容 - dataContent: string + dataContent?: string + // 本次变动的数据内容 + changeContent?: string + // 数据版本 + version?: number } diff --git a/src/views/modules/monitor/data/DataVersionLogEdit.vue b/src/views/modules/monitor/data/DataVersionLogEdit.vue deleted file mode 100644 index ca845b1..0000000 --- a/src/views/modules/monitor/data/DataVersionLogEdit.vue +++ /dev/null @@ -1,113 +0,0 @@ - - - - - diff --git a/src/views/modules/monitor/data/DataVersionLogInfo.vue b/src/views/modules/monitor/data/DataVersionLogInfo.vue new file mode 100644 index 0000000..6f6218e --- /dev/null +++ b/src/views/modules/monitor/data/DataVersionLogInfo.vue @@ -0,0 +1,82 @@ + + + + + diff --git a/src/views/modules/monitor/data/DataVersionLogList.vue b/src/views/modules/monitor/data/DataVersionLogList.vue index 3b30ac6..71ee376 100644 --- a/src/views/modules/monitor/data/DataVersionLogList.vue +++ b/src/views/modules/monitor/data/DataVersionLogList.vue @@ -4,32 +4,19 @@
- - - + + - + - + @@ -47,23 +34,27 @@ diff --git a/src/views/modules/monitor/operate/OperateLogInfo.vue b/src/views/modules/monitor/operate/OperateLogInfo.vue index b19efc6..7179032 100644 --- a/src/views/modules/monitor/operate/OperateLogInfo.vue +++ b/src/views/modules/monitor/operate/OperateLogInfo.vue @@ -50,7 +50,6 @@ import { $ref } from 'vue/macros' import { get, OperateLog } from './OperateLog.api' import { BasicModal } from '/@/components/Modal' - import Description from '/@/components/Description/src/Description.vue' import { DescItem } from '/@/components/Description' import { useDict } from '/@/hooks/bootx/useDict' -- Gitee From 1dc7b4b0facefa284a49892721f454d0ea5c78ef Mon Sep 17 00:00:00 2001 From: xxm Date: Mon, 13 Feb 2023 22:00:45 +0800 Subject: [PATCH 02/11] =?UTF-8?q?style=20=E6=9F=A5=E8=AF=A2=E6=8D=A2?= =?UTF-8?q?=E8=A1=8C=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/design/components/antdv.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/design/components/antdv.less b/src/design/components/antdv.less index ea76b0d..1c34dc7 100644 --- a/src/design/components/antdv.less +++ b/src/design/components/antdv.less @@ -14,7 +14,7 @@ /* 分页列表搜索栏 */ .page-query { .ant-form-item { - margin-bottom: 8px; + margin-bottom: 8px !important; } .ant-row { width: 100%; -- Gitee From c6364b2775ef783851e7f9784331253c09378354 Mon Sep 17 00:00:00 2001 From: xxm Date: Mon, 13 Feb 2023 22:31:41 +0800 Subject: [PATCH 03/11] =?UTF-8?q?fix=20=E6=9F=A5=E7=9C=8B=E6=88=96?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=90=8Eid=E4=B8=BB=E9=94=AE=E4=B8=8D?= =?UTF-8?q?=E9=87=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/bpm/model/BpmModelEdit.vue | 2 +- src/views/modules/bpm/model/BpmModelNodeEdit.vue | 2 +- src/views/modules/demo/data/encrypt/DataEncryptDemoEdit.vue | 4 +++- src/views/modules/demo/data/perm/DataPermDemoEdit.vue | 5 +---- .../modules/demo/data/sensitive/DataSensitiveDemoEdit.vue | 2 +- src/views/modules/demo/query/SuperQueryDemoEdit.vue | 2 +- src/views/modules/develop/dynamicform/DynamicFormEdit.vue | 2 +- .../modules/develop/dynamicsource/DynamicDataSourceEdit.vue | 2 +- src/views/modules/notice/mail/MailConfigEdit.vue | 2 +- src/views/modules/notice/template/MessageTemplateEdit.vue | 2 +- .../modules/payment/channel/alipay/AlipayConfigEdit.vue | 2 +- .../modules/payment/channel/wechat/WechatPayConfigEdit.vue | 2 +- src/views/modules/system/client/ClientEdit.vue | 2 +- src/views/modules/system/dept/DeptEdit.vue | 2 +- src/views/modules/system/dict/DictEdit.vue | 2 +- src/views/modules/system/dict/DictItemEdit.vue | 2 +- src/views/modules/system/menu/ResourceEdit.vue | 2 +- src/views/modules/system/param/SystemParamEdit.vue | 2 +- src/views/modules/system/path/PermPathEdit.vue | 2 +- src/views/modules/system/quartz/QuartzJobEdit.vue | 2 +- src/views/modules/system/role/RoleEdit.vue | 2 +- src/views/modules/system/scope/DataScopeEdit.vue | 2 +- .../modules/third/dingtalk/robot/DingRobotConfigEdit.vue | 2 +- src/views/modules/third/wechat/menu/WechatMenuEdit.vue | 2 +- .../modules/third/wechat/template/WechatTemplateEdit.vue | 2 +- src/views/modules/third/wecom/robot/WecomRobotConfigEdit.vue | 2 +- 26 files changed, 28 insertions(+), 29 deletions(-) diff --git a/src/views/modules/bpm/model/BpmModelEdit.vue b/src/views/modules/bpm/model/BpmModelEdit.vue index 1a173a7..f9d313a 100644 --- a/src/views/modules/bpm/model/BpmModelEdit.vue +++ b/src/views/modules/bpm/model/BpmModelEdit.vue @@ -17,7 +17,7 @@ :label-col="labelCol" :wrapper-col="wrapperCol" > - + diff --git a/src/views/modules/bpm/model/BpmModelNodeEdit.vue b/src/views/modules/bpm/model/BpmModelNodeEdit.vue index d169f47..d5e4027 100644 --- a/src/views/modules/bpm/model/BpmModelNodeEdit.vue +++ b/src/views/modules/bpm/model/BpmModelNodeEdit.vue @@ -17,7 +17,7 @@ :label-col="labelCol" :wrapper-col="wrapperCol" > - + diff --git a/src/views/modules/demo/data/encrypt/DataEncryptDemoEdit.vue b/src/views/modules/demo/data/encrypt/DataEncryptDemoEdit.vue index 1900d58..dc706a6 100644 --- a/src/views/modules/demo/data/encrypt/DataEncryptDemoEdit.vue +++ b/src/views/modules/demo/data/encrypt/DataEncryptDemoEdit.vue @@ -17,7 +17,7 @@ :label-col="labelCol" :wrapper-col="wrapperCol" > - + @@ -105,7 +105,9 @@ // 重置表单 function resetForm() { nextTick(() => { + console.log(form) formRef?.resetFields() + console.log(form) }) } defineExpose({ diff --git a/src/views/modules/demo/data/perm/DataPermDemoEdit.vue b/src/views/modules/demo/data/perm/DataPermDemoEdit.vue index b7c97f9..d4706ae 100644 --- a/src/views/modules/demo/data/perm/DataPermDemoEdit.vue +++ b/src/views/modules/demo/data/perm/DataPermDemoEdit.vue @@ -17,15 +17,12 @@ :label-col="labelCol" :wrapper-col="wrapperCol" > - + - - - diff --git a/src/views/modules/demo/data/sensitive/DataSensitiveDemoEdit.vue b/src/views/modules/demo/data/sensitive/DataSensitiveDemoEdit.vue index 1e38c8a..62d3c5c 100644 --- a/src/views/modules/demo/data/sensitive/DataSensitiveDemoEdit.vue +++ b/src/views/modules/demo/data/sensitive/DataSensitiveDemoEdit.vue @@ -17,7 +17,7 @@ :label-col="labelCol" :wrapper-col="wrapperCol" > - + diff --git a/src/views/modules/demo/query/SuperQueryDemoEdit.vue b/src/views/modules/demo/query/SuperQueryDemoEdit.vue index ef5fb30..1e430b6 100644 --- a/src/views/modules/demo/query/SuperQueryDemoEdit.vue +++ b/src/views/modules/demo/query/SuperQueryDemoEdit.vue @@ -17,7 +17,7 @@ :label-col="labelCol" :wrapper-col="wrapperCol" > - + diff --git a/src/views/modules/develop/dynamicform/DynamicFormEdit.vue b/src/views/modules/develop/dynamicform/DynamicFormEdit.vue index 25e5c1c..69263b6 100644 --- a/src/views/modules/develop/dynamicform/DynamicFormEdit.vue +++ b/src/views/modules/develop/dynamicform/DynamicFormEdit.vue @@ -9,7 +9,7 @@ @cancel="handleCancel" > - + diff --git a/src/views/modules/develop/dynamicsource/DynamicDataSourceEdit.vue b/src/views/modules/develop/dynamicsource/DynamicDataSourceEdit.vue index 140a4eb..b7f6035 100644 --- a/src/views/modules/develop/dynamicsource/DynamicDataSourceEdit.vue +++ b/src/views/modules/develop/dynamicsource/DynamicDataSourceEdit.vue @@ -9,7 +9,7 @@ @cancel="handleCancel" > - + diff --git a/src/views/modules/notice/mail/MailConfigEdit.vue b/src/views/modules/notice/mail/MailConfigEdit.vue index 91cb5e1..022d807 100644 --- a/src/views/modules/notice/mail/MailConfigEdit.vue +++ b/src/views/modules/notice/mail/MailConfigEdit.vue @@ -17,7 +17,7 @@ :label-col="labelCol" :wrapper-col="wrapperCol" > - + diff --git a/src/views/modules/notice/template/MessageTemplateEdit.vue b/src/views/modules/notice/template/MessageTemplateEdit.vue index 2890bfb..dfe4ba9 100644 --- a/src/views/modules/notice/template/MessageTemplateEdit.vue +++ b/src/views/modules/notice/template/MessageTemplateEdit.vue @@ -9,7 +9,7 @@ @cancel="handleCancel" > - + diff --git a/src/views/modules/payment/channel/alipay/AlipayConfigEdit.vue b/src/views/modules/payment/channel/alipay/AlipayConfigEdit.vue index 575bdd8..21067ae 100644 --- a/src/views/modules/payment/channel/alipay/AlipayConfigEdit.vue +++ b/src/views/modules/payment/channel/alipay/AlipayConfigEdit.vue @@ -18,7 +18,7 @@ :label-col="labelCol" :wrapper-col="wrapperCol" > - + diff --git a/src/views/modules/payment/channel/wechat/WechatPayConfigEdit.vue b/src/views/modules/payment/channel/wechat/WechatPayConfigEdit.vue index b1df795..14f5a47 100644 --- a/src/views/modules/payment/channel/wechat/WechatPayConfigEdit.vue +++ b/src/views/modules/payment/channel/wechat/WechatPayConfigEdit.vue @@ -18,7 +18,7 @@ :label-col="labelCol" :wrapper-col="wrapperCol" > - + diff --git a/src/views/modules/system/client/ClientEdit.vue b/src/views/modules/system/client/ClientEdit.vue index 5e042b2..d2a3b45 100644 --- a/src/views/modules/system/client/ClientEdit.vue +++ b/src/views/modules/system/client/ClientEdit.vue @@ -10,7 +10,7 @@ > - + diff --git a/src/views/modules/system/dept/DeptEdit.vue b/src/views/modules/system/dept/DeptEdit.vue index d6e3eca..67a76de 100644 --- a/src/views/modules/system/dept/DeptEdit.vue +++ b/src/views/modules/system/dept/DeptEdit.vue @@ -18,7 +18,7 @@ :label-col="labelCol" :wrapper-col="wrapperCol" > - + diff --git a/src/views/modules/system/dict/DictEdit.vue b/src/views/modules/system/dict/DictEdit.vue index 2db5510..75a03f6 100644 --- a/src/views/modules/system/dict/DictEdit.vue +++ b/src/views/modules/system/dict/DictEdit.vue @@ -9,7 +9,7 @@ @cancel="handleCancel" > - + diff --git a/src/views/modules/system/dict/DictItemEdit.vue b/src/views/modules/system/dict/DictItemEdit.vue index 0765755..35aee16 100644 --- a/src/views/modules/system/dict/DictItemEdit.vue +++ b/src/views/modules/system/dict/DictItemEdit.vue @@ -9,7 +9,7 @@ @cancel="handleCancel" > - + diff --git a/src/views/modules/system/menu/ResourceEdit.vue b/src/views/modules/system/menu/ResourceEdit.vue index db054f5..36ef8b1 100644 --- a/src/views/modules/system/menu/ResourceEdit.vue +++ b/src/views/modules/system/menu/ResourceEdit.vue @@ -9,7 +9,7 @@ :label-col="labelCol" :wrapper-col="wrapperCol" > - + diff --git a/src/views/modules/system/param/SystemParamEdit.vue b/src/views/modules/system/param/SystemParamEdit.vue index 5c010c5..9fbc5b8 100644 --- a/src/views/modules/system/param/SystemParamEdit.vue +++ b/src/views/modules/system/param/SystemParamEdit.vue @@ -9,7 +9,7 @@ @cancel="handleCancel" > - + diff --git a/src/views/modules/system/path/PermPathEdit.vue b/src/views/modules/system/path/PermPathEdit.vue index 3b0288a..29a805d 100644 --- a/src/views/modules/system/path/PermPathEdit.vue +++ b/src/views/modules/system/path/PermPathEdit.vue @@ -9,7 +9,7 @@ @cancel="handleCancel" > - + diff --git a/src/views/modules/system/quartz/QuartzJobEdit.vue b/src/views/modules/system/quartz/QuartzJobEdit.vue index 413b7fa..237e180 100644 --- a/src/views/modules/system/quartz/QuartzJobEdit.vue +++ b/src/views/modules/system/quartz/QuartzJobEdit.vue @@ -9,7 +9,7 @@ @cancel="handleCancel" > - + diff --git a/src/views/modules/system/role/RoleEdit.vue b/src/views/modules/system/role/RoleEdit.vue index 027896e..357093b 100644 --- a/src/views/modules/system/role/RoleEdit.vue +++ b/src/views/modules/system/role/RoleEdit.vue @@ -1,7 +1,7 @@