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() {