From 0f5cf5118763c7b598e19f1519de42c5383f997b Mon Sep 17 00:00:00 2001 From: xjs <1294405880@qq.com> Date: Thu, 14 Apr 2022 15:31:50 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E9=82=AE=E4=BB=B6=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E9=A1=B5=E9=9D=A2=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/business/log/maillog/index.vue | 41 ++++++++++++++++++- 1 file changed, 39 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/views/business/log/maillog/index.vue b/ruoyi-ui/src/views/business/log/maillog/index.vue index 8f62ab34..44b3b65e 100644 --- a/ruoyi-ui/src/views/business/log/maillog/index.vue +++ b/ruoyi-ui/src/views/business/log/maillog/index.vue @@ -102,6 +102,13 @@ @@ -135,6 +156,13 @@ export default { name: "Maillog", data() { return { + obj: { + title: "", + content: "", + }, + + //弹窗 + centerDialogVisible: false, // 遮罩层 loading: true, // 选中数组 @@ -162,6 +190,8 @@ export default { title: null, content: null, recipient: null, + isAsc: "desc", + orderByColumn: "createTime" }, // 表单参数 form: {}, @@ -173,6 +203,13 @@ export default { this.getList(); }, methods: { + //打开弹窗 + openDialog(data) { + this.centerDialogVisible = true; + this.obj.title = data.title + this.obj.content = data.content + }, + /** 查询邮件日志列表 */ getList() { this.loading = true; @@ -194,8 +231,8 @@ export default { dateQuery(formName) { //清空时间参数 - this.queryParams.createTime=null - this.queryParams.endCreateTime=null + this.queryParams.createTime = null + this.queryParams.endCreateTime = null this.handleQuery(formName); },