From 1b635963558da87b9a3078766de222ca14863f93 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Wed, 26 Oct 2022 14:42:31 +0800 Subject: [PATCH] bug --- project/hlj/app/AppRatingTask/components/Detail.vue | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/project/hlj/app/AppRatingTask/components/Detail.vue b/project/hlj/app/AppRatingTask/components/Detail.vue index b90870f6..f706d05a 100644 --- a/project/hlj/app/AppRatingTask/components/Detail.vue +++ b/project/hlj/app/AppRatingTask/components/Detail.vue @@ -50,6 +50,7 @@ :visible.sync="isShow" width="780px" title="添加表单" + @close="onClose" @onConfirm="onConfirm"> @@ -146,6 +147,7 @@ { prop: 'status', align: 'center', + width: 320, label: '开始结束时间', render: (h, {row}) => { return h('span', { @@ -155,7 +157,6 @@ { prop: 'status', align: 'center', - width: 300, label: '已填写/剩余份数', render: (h, {row}) => { return h('span', { @@ -200,6 +201,16 @@ this.form.templateName = this.list.filter(v => v.dictValue === e)[0].dictName }, + onClose () { + this.form.date = '' + this.form.templateId = '' + this.form.templateName = '' + this.form.evaluatorsList = [] + this.form.scorerList = [] + this.form.evaluatorsNames = '' + this.form.scorerNames = '' + }, + toAddTemplate () { this.$router.push({name: '289e949df7914db282c24dabd55b8c4d', query: {isAdd: 1}}) },