From 38fe538e4eae1a96619bd30d70fdc252b5c5756b Mon Sep 17 00:00:00 2001 From: zxj Date: Mon, 24 Nov 2025 16:30:47 +0800 Subject: [PATCH 01/10] =?UTF-8?q?fix:=E6=A1=88=E4=BE=8B=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C=E7=A6=81=E7=94=A8=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/portal/case/Detail.vue | 760 +++++++++++++++++++------------ 1 file changed, 476 insertions(+), 284 deletions(-) diff --git a/src/views/portal/case/Detail.vue b/src/views/portal/case/Detail.vue index 8ea10183..0d660168 100644 --- a/src/views/portal/case/Detail.vue +++ b/src/views/portal/case/Detail.vue @@ -1,29 +1,39 @@ diff --git a/src/views/portal/case/Index.vue b/src/views/portal/case/Index.vue index 326e35bb..98567f27 100644 --- a/src/views/portal/case/Index.vue +++ b/src/views/portal/case/Index.vue @@ -895,6 +895,14 @@ export default { }; }, watch: { + "$route.query.keyword": { + handler(newval) { + if (newval) { + this.search(true); + } + }, + immediate: true, + }, // years() { // this.search(true) // } From 3852a92ab377c217f5bb157436a72b01443a7526 Mon Sep 17 00:00:00 2001 From: zxj Date: Wed, 3 Dec 2025 17:40:44 +0800 Subject: [PATCH 09/10] =?UTF-8?q?fix:=E8=BF=94=E5=9B=9E=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E9=A1=B5=E6=97=B6=E5=85=88=E8=A7=A6=E5=8F=91=E6=A0=A1=E9=AA=8C?= =?UTF-8?q?=E5=86=8D=E6=89=A7=E8=A1=8C=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/portal/case/Index.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/views/portal/case/Index.vue b/src/views/portal/case/Index.vue index 98567f27..e101f1d8 100644 --- a/src/views/portal/case/Index.vue +++ b/src/views/portal/case/Index.vue @@ -897,7 +897,8 @@ export default { watch: { "$route.query.keyword": { handler(newval) { - if (newval) { + if (newval && this.keyWord != newval) { + this.keyWord = newval; this.search(true); } }, @@ -1764,9 +1765,6 @@ export default { }, // 查询 search(num = false) { - if (this.$route.query.keyword) { - this.keyWord = this.$route.query.keyword; - } // 记录查询的数据 if (this.keyWord) { apiSearchterm.save({ keyword: this.keyWord, type: 3 }); From 12e91854fe59debe4405ee0444055c2fa09cf34b Mon Sep 17 00:00:00 2001 From: zxj Date: Wed, 3 Dec 2025 17:46:13 +0800 Subject: [PATCH 10/10] =?UTF-8?q?fix:=E6=81=A2=E5=A4=8D=E4=BF=9D=E7=95=99?= =?UTF-8?q?=E5=85=B6=E4=BD=99=E9=80=89=E6=8B=A9=E6=9D=A1=E4=BB=B6=E7=9A=84?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/portal/case/Index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/portal/case/Index.vue b/src/views/portal/case/Index.vue index e101f1d8..79daae12 100644 --- a/src/views/portal/case/Index.vue +++ b/src/views/portal/case/Index.vue @@ -1778,9 +1778,9 @@ export default { } if (this.keyWord != this.queryCondition.keyWord) { this.queryCondition.keyWord = this.keyWord; - this.tagList.forEach((tag, index) => { - this.tagsClose(tag, index); - }); + // this.tagList.forEach((tag, index) => { + // this.tagsClose(tag, index); + // }); } if (this.queryCondition.majorType == 0) { this.queryCondition.majorType = "";