From f3869b25ffa25c72cf54f9f08dec689ae6865564 Mon Sep 17 00:00:00 2001 From: shidongli Date: Tue, 24 Dec 2024 09:25:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A8=A1=E6=9D=BF=E5=90=8D?= =?UTF-8?q?=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/manage/components/TemplateName.vue | 97 ++++++++++++-------- src/views/system/TaskStatistics/index.vue | 8 +- 2 files changed, 59 insertions(+), 46 deletions(-) diff --git a/src/views/manage/components/TemplateName.vue b/src/views/manage/components/TemplateName.vue index 75bbe9b..6716e1f 100644 --- a/src/views/manage/components/TemplateName.vue +++ b/src/views/manage/components/TemplateName.vue @@ -31,20 +31,22 @@ v-show="showSearch" label-width="100px" > - + + + + - - - - + + + + + + + 1){ - this.questionnaireName = ''; + if (val > 1) { + this.questionnaireName = ''; this.handleselectId = ''; } }, @@ -210,12 +231,10 @@ export default { handler(val) { if (val) { this.handleselectId = val; - } else { this.questionnaireName = ''; this.handleselectId = ''; } - }, deep: true, immediate: true, diff --git a/src/views/system/TaskStatistics/index.vue b/src/views/system/TaskStatistics/index.vue index c5384ed..8cc07ca 100644 --- a/src/views/system/TaskStatistics/index.vue +++ b/src/views/system/TaskStatistics/index.vue @@ -208,7 +208,7 @@ export default { } }, created() { - // this.getDefaultDateRange() + this.getDefaultDateRange() // this.getlist() this.getlistleft() }, @@ -248,12 +248,6 @@ export default { messageontemplateword(item) { this.queryParams.questionInfoId = item.questionInfoId; this.itemid=item.questionInfoId - // var obj = { - // questionInfoId: this.itemid - // } - // questionnaireTaskStatistics(obj).then(res => { - // this.tableData = res.data.data - // }) }, //计算一周的时间 getDefaultDateRange() {