diff --git a/src/views/ProjectInfo.vue b/src/views/ProjectInfo.vue index 1660623..245f44f 100644 --- a/src/views/ProjectInfo.vue +++ b/src/views/ProjectInfo.vue @@ -238,15 +238,15 @@ @edited="onEdited"/> - - + + + :rows="12"> @@ -564,6 +564,21 @@ export default { console.log(this.centerDialogVisible) }, + //dialog关闭重置表单 + resetForm() { + this.messageForm = { + addggbttxt:"", + addggtextarea:'', + } + //清空 + this.$refs.form.resetFields() + }, + //关闭新增dialog后 + closeadddialog() { + this.centerDialogVisible = false; + this.resetForm(); + }, + // 查询公告 getannouncementList() { const that = this;