1
yxh
2023-07-20 42deb933c04571578b8bf408ada9ca1dcc8d3dd8
src/views/project/travelexpenseslist/Modifydetails/index.vue
@@ -632,7 +632,7 @@
                  type="text"
                  size="small"
                >
                附件
                  文件
                </el-button>
              </template>
            </el-table-column>
@@ -1198,20 +1198,7 @@
      this.pdftitle = item.name;
      let name = item.name.split(".");
      if (name[1] == "pdf") {
        this.$confirm("当前文件暂不支持预览是否下载", {
          confirmButtonText: "确定",
          cancelButtonText: "取消",
          type: "warning"
        })
          .then(() => {
            window.location.href = item.url;
          })
          .catch(() => {
            this.$message({
              type: "info",
              message: "已取消"
            });
          });
        this.$modal.msgWarning("当前文件暂不支持预览");
        this.previewpdf = false;
        this.hintitle = "当前文件暂不支持预览";
      } else if (name[1] == "jpg" || "png") {