11
WXL
2024-08-01 6914d3d6ab1f76e6f1b85fdb547b016707ae0179
src/views/project/travelexpensecheck/index.vue
@@ -1407,10 +1407,19 @@
      }
      checkfund(checkfundobj).then(res => {
        if (res.code == 200) {
        this.reset();
        this.open = false;
        this.getList();
        this.$modal.msgSuccess("审核完成!");
        } else {
          this.open = false;
          if (res.msg) {
            this.$modal.msgError("操作失误");
          } else {
            this.$modal.msgError(res.msg);
          }
        }
      });
    },
@@ -1444,7 +1453,7 @@
            console.log(url);
            const link = document.createElement("a");
            link.href = url;
            const name=fileUrl["downloadName"]
            const name = fileUrl["downloadName"];
            link.setAttribute("download", name); // 替换file.pdf为实际的文件名
            document.body.appendChild(link);
            link.click();