75
cuiqian2004
2025-11-28 e92aeae89a7430b326ab2157ed5004cc5c87d659
pages/modal/3202.vue
@@ -227,7 +227,7 @@
                  };
                  runCustomEvent(dataInfo).then(result => {
                     console.log(result);
                     if (result.ret != 0 && result.ret != 1) {
                        let cls_name = result.event_info?.cls_name
                        let event_name = result.event_info?.event_name
@@ -594,7 +594,15 @@
            this.initial()
         },
         //点击显示浏览对象显示页面
         async onViewPageClick(style) {
         onViewPageClick(style) {
            this.handleButtonClick((done) => {
               this.viewPageClick(style);
               setTimeout(() => {
                  done(); // 重置状态
               }, 1000);
            });
         },
         async viewPageClick(style) {
            if (!this.clickItemEvent.id) {
               return;
            }
@@ -639,7 +647,7 @@
               data_json,
            }).then(result => {
               // console.log(result);
                  hideLoading()
               hideLoading()
               if (result.ret != 0 && result.ret != 1) {
                  let cls_name = result.event_info?.cls_name
                  let event_name = result.event_info?.event_name
@@ -705,7 +713,7 @@
            }).catch(ex => {
               // console.log(ex);
                  hideLoading()
               hideLoading()
               showError(ex, this.translateSys("error") + "8.1")
            });
         },
@@ -759,7 +767,7 @@
         //执行触发事件
         async triggerEvent(btn, style, enviroment) {
            const $this = this
showLoading("loading...")
            showLoading("loading...")
            var obj_attr = this.head_styledef.form.model;
            // console.log(obj_attr);
            var input_param = Base64.encode(
@@ -797,7 +805,7 @@
               input_param,
               data_json,
            }).then(result => {
                  hideLoading()
               hideLoading()
               // console.log(result);
               if (result.ret != 0 && result.ret != 1) {
                  let cls_name = result.event_info?.cls_name
@@ -869,7 +877,7 @@
            }).catch(ex => {
               // console.log(ex);
                  hideLoading()
               hideLoading()
               showError(ex, this.translateSys("error") + "8.1")
            });
         },