From de974fc1628af4da9c563ec6ff540bdaab5746dd Mon Sep 17 00:00:00 2001 From: zhangyuan Date: Thu, 14 May 2020 17:40:49 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E4=B8=80=E6=8F=90=E7=A4=BA=E6=A1=86?= =?UTF-8?q?=E7=9A=84=E9=A3=8E=E6=A0=BC=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/property/propertyproject.vue | 25 ++++++------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/src/views/modules/property/propertyproject.vue b/src/views/modules/property/propertyproject.vue index 4452b07..8a25fbd 100644 --- a/src/views/modules/property/propertyproject.vue +++ b/src/views/modules/property/propertyproject.vue @@ -64,16 +64,6 @@ - - 是否确认解散物业项目群? - - 取 消 - 确 定 - - @@ -98,7 +88,6 @@ projectName: '', }, options: [], - dialogVisible: false, deleteId: '' } }, @@ -126,13 +115,15 @@ this.dataForm.gridId = value.slice(-1).shift(); }, beforeDeleteHandle(id) { - this.deleteId = id; - this.dialogVisible = true + this.$confirm("确定解散物业项目群?", this.$t('prompt.title'), { + confirmButtonText: this.$t('confirm'), + cancelButtonText: this.$t('cancel'), + type: 'warning' + }).then(() => { + this.deleteId = id; + this.deleteHandle(this.deleteId); + }) }, - deleteData() { - this.dialogVisible = false; - this.deleteHandle(this.deleteId); - } } }