From 55e8eb9764437ec01c38a5015d35ec3b1360dc4f Mon Sep 17 00:00:00 2001 From: zhangyuan Date: Tue, 9 Aug 2022 10:39:26 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E7=BD=AE=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/worklog/icworklog.vue | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/views/modules/worklog/icworklog.vue b/src/views/modules/worklog/icworklog.vue index 4b80ef30e..802d22b38 100644 --- a/src/views/modules/worklog/icworklog.vue +++ b/src/views/modules/worklog/icworklog.vue @@ -68,6 +68,10 @@ {{ $t('query') }} + 重置 @@ -201,6 +205,21 @@ export default { return this.$message.error('网络错误') }) }, + //重置搜索条件 + resetSearch () { + this.agencyIdArray = [] + this.dataForm = { + agencyId: '', + gridId: '', + logType: '', + createdUser: '', + startTime: '', + endTime: '', + mobile: '' + } + + this.getDataList() + }, // 字典 async getCategrayList () { console.log(localStorage.getItem('token'))