handleToLink() {
      const transStyle = this.transStyle;
      if (!transStyle.isLink) return;
      let url = transStyle.url;
      if (transStyle.isComponent) url = "component";
      if (!url) this.$msgBox.error("地址未配置,或未设置为component");
      const method = transStyle.dialogMethod;
      if (!method) this.$msgBox.error("跳转方式未设置");
      const that = this;
      // debugger;
      that.$link.toLinkUrl(url, that, {
        method: method,//_blank _self  modal-dialog bs-drawer bs-dialog-else  bs-dialog-table  bs-dialog-form 
        visible: true,
        params: {},
        query: {},
        target: null,
        args: null,
        html: transStyle.html || '',// '<div>内容</div>',
        src: url,
        meta: {
          component: transStyle.component || 'div'
        },
        attrs: {
          direction: transStyle.direction || 'rtl',//'rtl',//rtl / ltr / ttb / btt
          size: transStyle.drawerSize || '50%',// "50%",
          fullscreen: transStyle.isFullscreen || false,//true,
          drag: !(transStyle.isFullscreen || false),
          width: transStyle.dialogWidth || '70%',
          top: transStyle.dialogTop || '10%',
          topclass: transStyle.class || 'tpl-dialog-3',
          clearbg: transStyle.isClearBg || false,
          title: transStyle.dialogTitle || '',
          headerTitleStyle: transStyle.headerTitleStyle || '',
          headerTitleStyle: transStyle.headerTitleStyle || '',
          layerBackgroundImage: transStyle.layerBackgroundImage || '',//背景图地址  url
          layerHeight: transStyle.layerHeight || ''//容器高度 800px
        }
      })
    }
文档更新时间: 2023-08-25 08:35   作者:admin