From e92aeae89a7430b326ab2157ed5004cc5c87d659 Mon Sep 17 00:00:00 2001
From: cuiqian2004 <cuiqian2004@163.com>
Date: 星期五, 28 十一月 2025 18:21:56 +0800
Subject: [PATCH] 75
---
pages/modal/3018_2.vue | 31 ++++++++++++++++++++++---------
1 files changed, 22 insertions(+), 9 deletions(-)
diff --git a/pages/modal/3018_2.vue b/pages/modal/3018_2.vue
index 0511d95..28d0f61 100644
--- a/pages/modal/3018_2.vue
+++ b/pages/modal/3018_2.vue
@@ -660,9 +660,9 @@
if (item.name == "Input" || item.name == "InputNumber" || item.name == "Textarea") {
this.focusFieldId = item.fieldId
} else if (item.name == "ImageButton") {
-
+
var onClickEvent = item.bind.onClickEvent; //鍚庡浘鏍囩偣鍑诲洖璋�-
+
if (!onClickEvent.id) {
showInfo(this.translate('icon_click_event_empty'))
return;
@@ -800,8 +800,7 @@
focusFieldId: action.value
})
});
- }
- else if (action.action_type == 'open_panel') {
+ } else if (action.action_type == 'open_panel') {
var d = dialog({
title: '<i class="ace-icon fa fa-info-circle"></i> ' +
$this.translateSys("tip"),
@@ -1236,11 +1235,17 @@
//纭畾
sava() {
- if (this.after_ok?.id) { // 鐐瑰嚮纭畾鎸夐挳鍚�- this.afterOK();
- } else {
- this.add();
- }
+ this.handleButtonClick((done) => {
+ if (this.after_ok?.id) { // 鐐瑰嚮纭畾鎸夐挳鍚�+ this.afterOK();
+ } else {
+ this.add();
+ }
+ setTimeout(() => {
+ done(); // 閲嶇疆鐘舵�
+ }, 1000);
+ });
+
},
add() {
@@ -1662,6 +1667,14 @@
})
},
onButtonClicked(btn) {
+ this.handleButtonClick((done) => {
+ this.buttonClicked(btn);
+ setTimeout(() => {
+ done(); // 閲嶇疆鐘舵�
+ }, 1000);
+ });
+ },
+ buttonClicked(btn) {
let enviroment = {
button: "top",
button_name: btn.ShowName,
--
Gitblit v1.9.1