From 5192fef484bc849451f4f8e7d2f1d67da89f8a67 Mon Sep 17 00:00:00 2001 From: shijing Date: Wed, 26 Mar 2025 09:38:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:mlogs=E5=B7=B2=E6=8F=90=E4=BA=A4=E5=92=8C?= =?UTF-8?q?=E6=9C=AA=E6=8F=90=E4=BA=A4=E5=8C=BA=E5=88=86=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_bx/mlogs.vue | 18 ++++++++++++++++-- src/views/wpm_gx/mlogs.vue | 18 ++++++++++++++++-- 2 files changed, 32 insertions(+), 4 deletions(-) diff --git a/src/views/wpm_bx/mlogs.vue b/src/views/wpm_bx/mlogs.vue index fdfe75de..f5345901 100644 --- a/src/views/wpm_bx/mlogs.vue +++ b/src/views/wpm_bx/mlogs.vue @@ -30,6 +30,11 @@ icon="el-icon-search" @click="handleQuery" > + @@ -200,8 +205,8 @@ export default { data() { return { apiObj: null, - params: { mgroup: "" }, - query: {}, + params: { mgroup: "" ,submit_time__isnull:true}, + query: {submit_time__isnull:true}, dialog: { save: false, detail: false, @@ -214,6 +219,7 @@ export default { processId: "", processCate: "", mgroupMtype: "", + showHidden:false, }; }, watch: { @@ -387,6 +393,14 @@ export default { } }, + hiddenChange(val) { + if (val) { + this.query.submit_time__isnull = false; + } else { + this.query.submit_time__isnull = true; + } + this.$refs.table.queryData(this.query); + }, //表格选择后回调事件 selectionChange(selection) { this.selection = selection; diff --git a/src/views/wpm_gx/mlogs.vue b/src/views/wpm_gx/mlogs.vue index 60a8cad0..b7478aca 100644 --- a/src/views/wpm_gx/mlogs.vue +++ b/src/views/wpm_gx/mlogs.vue @@ -30,6 +30,11 @@ icon="el-icon-search" @click="handleQuery" > + @@ -209,8 +214,8 @@ export default { data() { return { apiObj: null, - params: { mgroup: "" }, - query: {}, + params: { mgroup: "",submit_time__isnull:true }, + query: {submit_time__isnull:true}, dialog: { save: false, detail: false, @@ -220,6 +225,7 @@ export default { mtask: "", mlogId: "", codeText: "", + showHidden:false, }; }, mounted() { @@ -376,6 +382,14 @@ export default { this.dialog.save = true; this.$refs.table.refresh(); }, + hiddenChange(val) { + if (val) { + this.query.submit_time__isnull = false; + } else { + this.query.submit_time__isnull = true; + } + this.$refs.table.queryData(this.query); + }, }, };