From 866986e333bdd869204460e196fbc988ce74fa85 Mon Sep 17 00:00:00 2001 From: assina045 Date: Sat, 10 Jun 2023 15:02:05 +0800 Subject: [PATCH] Fuzzy query debug completed --- ui/src/pages/affair/AffairManage.vue | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/ui/src/pages/affair/AffairManage.vue b/ui/src/pages/affair/AffairManage.vue index 39db1ac..749576f 100644 --- a/ui/src/pages/affair/AffairManage.vue +++ b/ui/src/pages/affair/AffairManage.vue @@ -57,10 +57,11 @@ 查询 + 查询 - 重置 + 重置 @@ -87,7 +88,7 @@ export default { }, flagNotApproved: true, flagApproved: false, - count: 0, + updateKey: Date.now(), DataToRouterView: {} } }, @@ -128,9 +129,15 @@ export default { this.flagNotApproved = false this.flagApproved = true }, - resetForm() { - if (this.flagNotApproved) { - this.$router.go() + resetForm1() { + if (this.flagNotApproved && !this.flagApproved) { + this.formData.title = '' + this.formData.typeId = '' + this.onSubmit1() + } else { + this.formData.title = '' + this.formData.typeId = '' + this.onSubmit2() } } }