From 25934a91a4d54ffc5b7031290346fca2dd94bb74 Mon Sep 17 00:00:00 2001 From: jianjun Date: Fri, 26 Aug 2022 14:41:32 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A4=BE=E4=BC=9A=E7=BB=84=E7=BB=87=E5=AF=BC?= =?UTF-8?q?=E5=85=A5=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/communityService/shzz/cpts/edit.vue | 2 ++ src/views/modules/communityService/shzz/index.vue | 9 ++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/views/modules/communityService/shzz/cpts/edit.vue b/src/views/modules/communityService/shzz/cpts/edit.vue index 993ca6ab8..92802a0ba 100644 --- a/src/views/modules/communityService/shzz/cpts/edit.vue +++ b/src/views/modules/communityService/shzz/cpts/edit.vue @@ -402,12 +402,14 @@ export default { this.uploading = false this.unloadPencent = 0 this.dataForm.imageList.push(res.data.url) + console.log('handleImgSuccess after',this.dataForm.imageList) } else { this.$message.error(res.msg) } }, handleDelimg(item, index) { this.dataForm.imageList.splice(index, 1) + console.log('handleDelimg after',this.dataForm.imageList) }, handleMoveCenter() { //修改地图中心点 diff --git a/src/views/modules/communityService/shzz/index.vue b/src/views/modules/communityService/shzz/index.vue index a21c87ebb..0b2d8729d 100644 --- a/src/views/modules/communityService/shzz/index.vue +++ b/src/views/modules/communityService/shzz/index.vue @@ -2,7 +2,7 @@
- + @@ -14,7 +14,7 @@ 查询 - 重置 + 重置
@@ -349,7 +349,10 @@ export default { this.pageNo = 1; this.getTableData(); }, - + resetForm(formName) { + this.$refs[formName].resetFields() + this.handleSearch() + }, async handleAdd() { this.formShow = true; await nextTick();