From e60bf748613ded5b693d052b8acd1d8bb111e634 Mon Sep 17 00:00:00 2001 From: LL Date: Mon, 2 Feb 2026 10:25:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B7=A5=E4=BD=9C=E8=AE=B0=E5=BD=95bug?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/worklog/index.vue | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/src/views/modules/worklog/index.vue b/src/views/modules/worklog/index.vue index 9987d86b9..8358eaeee 100644 --- a/src/views/modules/worklog/index.vue +++ b/src/views/modules/worklog/index.vue @@ -6,7 +6,7 @@
@@ -14,26 +14,26 @@ + v-model="postList" :options="root4SelectList1" @change="handleChangePost"> - + - + - + - + @@ -122,6 +122,8 @@ export default { pageNo: 1, total: 0, postOptions: [], + partyOrgList: [], + postList: [], timeRange: [], tableData: [], queryParams: { @@ -263,8 +265,8 @@ export default { return false } try { - JSON.parse(str) - return true + const result = JSON.parse(str) + return Array.isArray(result) } catch (e) { return false } @@ -295,8 +297,9 @@ export default { // 重置 handleReset() { this.$refs.ref_search_form.resetFields(); - this.queryParams.orgIdList = null - this.queryParams.postIdList = null + this.partyOrgList = []; + this.postList = []; + this.timeRange = []; this.handleSearch(); },