From c194af8fab6f32e9fc50c139551d7bc2846642e2 Mon Sep 17 00:00:00 2001 From: liupengpeng <276665548@qq.com> Date: 星期五, 03 三月 2023 10:44:02 +0800 Subject: [PATCH] 提示信息 --- src/views/datamanage/styleManage.vue | 40 ++++++++++++++++++++++++++-------------- 1 files changed, 26 insertions(+), 14 deletions(-) diff --git a/src/views/datamanage/styleManage.vue b/src/views/datamanage/styleManage.vue index 5f0cd57..4003bf2 100644 --- a/src/views/datamanage/styleManage.vue +++ b/src/views/datamanage/styleManage.vue @@ -1304,19 +1304,27 @@ } }, insertFromDataClose() { - this.InsertFormdialog = false; - this.insertform = {}; - this.insertFileGuid = ""; - this.insertViewGuid = ""; - this.filesReset(); + this.$confirm("鍏抽棴鍚庢棤娉曚繚瀛橈紝鏄惁鍏抽棴?") + .then((_) => { + this.InsertFormdialog = false; + this.insertform = {}; + this.insertFileGuid = ""; + this.insertViewGuid = ""; + this.filesReset(); + }) + .catch((_) => { }); }, handleClose() { - this.InsertFormdialog = false; - this.insertform = { - fileGuid: null, - viewGuid: null, - }; - this.filesReset(); + this.$confirm("鍏抽棴鍚庢棤娉曚繚瀛橈紝鏄惁鍏抽棴?") + .then((_) => { + this.InsertFormdialog = false; + this.insertform = { + fileGuid: null, + viewGuid: null, + }; + this.filesReset(); + }) + .catch((_) => { }); }, async insertFromData() { if (this.insertform.dirid == null || this.insertform.depid == null) { @@ -1547,9 +1555,13 @@ }, removeUpdate() { - this.upflag = false; - this.dialogFormVisible = false; - this.upform = {}; + this.$confirm("鍏抽棴鍚庢棤娉曚繚瀛橈紝鏄惁鍏抽棴?") + .then((_) => { + this.upflag = false; + this.dialogFormVisible = false; + this.upform = {}; + }) + .catch((_) => { }); // this.filesReset(); }, submitForm(formName) { -- Gitblit v1.9.3