From 59765cab961847dfd101e69ae6d8d1d501a5284c Mon Sep 17 00:00:00 2001
From: yuxc <yuxc@vci-tech.com>
Date: 星期二, 04 六月 2024 11:10:28 +0800
Subject: [PATCH] 1、ice配置文件上传
---
Source/ProjectWeb/src/components/actions/base/DeleteAction.js | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/Source/ProjectWeb/src/components/actions/base/DeleteAction.js b/Source/ProjectWeb/src/components/actions/base/DeleteAction.js
index db1d00b..0357892 100644
--- a/Source/ProjectWeb/src/components/actions/base/DeleteAction.js
+++ b/Source/ProjectWeb/src/components/actions/base/DeleteAction.js
@@ -24,12 +24,16 @@
Vue.prototype.$message.error("浠呰兘閫夋嫨涓�鏉℃暟鎹潵鎿嶄綔");
return false;
}
-
- callPreEvent(options, doBefore,function (options) {
- doDelete(options, function (type) {
- callPostEvent(options,doAfter , callback,type);
+ let msg=replaceFreeMarker(paramVOS.confirmmsg,options.dataStore,options.sourceData) || ('鏄惁鍒犻櫎' + (options.dataStore.length==1?"杩欐潯":"杩欎簺") + '鏁版嵁' + (paramVOS.cascade?",濡傛灉鏈変笅绾ф暟鎹細绾ц仈鍒犻櫎":""));
+ Vue.prototype.$confirm(msg,'鎻愮ず',{}).then(()=>{
+ callPreEvent(options, doBefore,function (options) {
+ doDelete(options, function (type) {
+ callPostEvent(options,doAfter , callback,type);
+ });
});
- });
+ }).catch(()=>{
+
+ })
};
/**
--
Gitblit v1.9.3