zuozhengqing
2023-12-01 bbc5a0a0eb523d0277d55224f303088ebceb5f90
src/views/overview/AddOverviewDialog.vue
@@ -371,7 +371,6 @@
  },
  methods: {
    setStatusList() {
      console.log(this.editConfig.infomation, "edit")
      if (this.editConfig.infomation.status === 5) {
        this.list = [
          { label: "草稿", status: "todo", value: 1 },
@@ -804,15 +803,17 @@
            baseOperationType: this.editConfig.infomation.baseOperationType || undefined,
            cutAfterWidth: this.editConfig.infomation.baseOperationType === 2 ? 50.8 : 53.3
          };
          localStorage.setItem('pdfParams', JSON.stringify(pdfParams));
          var { href } = this.$router.resolve({
              path: '/overview/previewExcel',
              query:{
                ...pdfParams
              }
          });
          window.open(href, '_blank');
        }
      } catch (error) {
        console.error(error);
      } finally {
        var { href } = this.$router.resolve({
            name: 'previewExcel',
        });
        window.open(href, '_blank');
      }
    }
  }