cuiqian2004
4 天以前 07925905f1a596e20e980de6d42db217abb753b0
pages/modal/5601.vue
@@ -191,10 +191,12 @@
            };
         },
      },
      onLoad(options) {
      onReady() {
         uni.setNavigationBarTitle({
            title: options.titlename
            title: this.title
         }); //设置顶部标题 
      },
      onLoad(options) {
         this.title = options.titlename;
         this.param = JSON.parse(options.param);
         //获取主数据类ID
@@ -430,24 +432,24 @@
                                    .DefList.length > 0
                                 ) { //判断是否清空页签内容,正在码盘是否有数据
                                    uni.showModal({
                                       title: this
                                       title: $this
                                          .translateSys(
                                             'tip'),
                                       content: this
                                       content: $this
                                          .translate(
                                             "are_you_sure_clear_first"
                                          ) +
                                          this
                                          $this
                                          .translateSys(
                                             "quotation_mark_left"
                                          ) +
                                          value
                                          .page_name +
                                          this
                                          $this
                                          .translateSys(
                                             "quotation_mark_right"
                                          ) +
                                          this
                                          $this
                                          .translate(
                                             "are_you_sure_clear_last"
                                          ),
@@ -2540,14 +2542,14 @@
            // return;
            runCustomEvent(dataInfo).then(data => {
               hideLoading()
               $this.onFormEventResult(data, button_callback, item)
               $this.onFormEventResult(data, button_callback, item,req)
            }).catch(ex => {
               hideLoading()
               showError(ex, this.translateSys("error") + "5.1")
            });
         },
         async onFormEventResult(data, callbackEventId, item) {
         async onFormEventResult(data, callbackEventId, item,req) {
            try {
               const $this = this
               var enviroment = {
@@ -2627,24 +2629,24 @@
                                 .DefList.length > 0
                              ) { //判断是否清空页签内容,正在码盘是否有数据
                                 uni.showModal({
                                    title: this
                                    title: $this
                                       .translateSys(
                                          'tip'),
                                    content: this
                                    content: $this
                                       .translate(
                                          "are_you_sure_clear_first"
                                       ) +
                                       this
                                       $this
                                       .translateSys(
                                          "quotation_mark_left"
                                       ) +
                                       value
                                       .page_name +
                                       this
                                       $this
                                       .translateSys(
                                          "quotation_mark_right"
                                       ) +
                                       this
                                       $this
                                       .translate(
                                          "are_you_sure_clear_last"
                                       ),