haoxuan
2024-04-18 a1b487e3417efb1481c3ef5598dcc4894529f1d5
src/views/overview/AddOverviewDialog.vue
@@ -1684,14 +1684,19 @@
          console.log(res);
          if (res.code == 200) {
            console.log(this.editConfig.infomation.baseOperationType, "类型");
            let name=''
            if(res.data){
              name=res.data.name?res.data.name:''
            }
            let pdfParams = {
              url: res.data,
              url: res.data?res.data.url:'',
              baseOperationType:
                this.editConfig.infomation.baseOperationType || undefined,
              cutAfterWidth:
                this.editConfig.infomation.baseOperationType == 2
              // 1是嘉联
              cutAfterWidth:name=='jialian'?52.6:
               (this.editConfig.infomation.baseOperationType == 2
                  ? 50.8
                  : 53.3,
                  : 53.3),
            };
            var { href } = this.$router.resolve({
              path: "/overview/previewExcel",