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); },