75
cuiqian2004
2025-11-28 e92aeae89a7430b326ab2157ed5004cc5c87d659
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,