cuiqian2004
2024-09-09 29ff1e54b0421938384868b24166f4d153bf6302
pages/modal/3018_2.vue
@@ -193,7 +193,7 @@
            scanCodeVal: "",
            popupType: "center",
            check_list: {},
            popupParam: {},
            focusFieldId: "",
            focusOldFieldId: "",
            head_styledef: {
@@ -883,7 +883,7 @@
            if (!onSuffixClickCallbackEvent.id) {
               uni.showModal({
                  title: this.translateSys("tip"),
                  content: this.translate('icon_click_event_empty'),
                  content: this.translate('icon_click_callback_empty'),
                  showCancel: false,
                  confirmText: this.translateSys("cancel")
               });
@@ -942,15 +942,15 @@
                  });
               }
            }
            // if (!$this.$data.popupParam) {
            //    uni.showModal({
            //       title: this.translateSys("tip"),
            //       content: "popupParam为空!",
            //       showCancel: false,
            //       confirmText: this.translateSys("cancel")
            //    });
            //    return;
            // }
            if (!$this.$data.popupParam) {
               uni.showModal({
                  title: this.translateSys("tip"),
                  content: "popupParam为空!",
                  showCancel: false,
                  confirmText: this.translateSys("cancel")
               });
               return;
            }
            var fieldId = $this.$data.popupParam.item.fieldId;
            $this.head_styledef.form.model[attr] = name;
@@ -1521,8 +1521,7 @@
                              var $this = this;
                              if (val.common_dlg_id == 'check_list') {
                                 $this.$data.check_list = val.config;
                                 if (val.config.appear_style ==
                                    'sideslip') //判断是否是侧滑
                                 if (val.config.appear_style == 'sideslip') //判断是否是侧滑
                                    $this.$data.popupType = 'right';
                                 else
                                    $this.$data.popupType = 'center'
@@ -1536,8 +1535,7 @@
                                 }
                                 $this.$data.popupParam = popupParam;
                              }
                           } else if (action.action_type ==
                              'open_project_query_dlg') {
                           } else if (action.action_type == 'open_project_query_dlg') {
                              //console.log(action.value.select_range);
                              //console.log(action.value.mulit_select);
                              var priRel = '-1';