ludc
2023-07-28 3c58e215ed1c075c3a7729c899335c99d35c3f56
Source/UBCS-WEB/src/components/BatchImport/index.vue
@@ -253,6 +253,7 @@
        });
    },
    onSuccess(res) {
      console.log('res',res)
      if (Object.keys(res.data).length === 0) {
        this.$message.success(this.title + "导入成功!");
        this.dialogVisible = false;
@@ -262,6 +263,7 @@
        const fileName = res.data.filePath.split("/").pop();
        this.$message.error("请下载错误信息文件进行查看!");
        downloadErrorFile({ uuid: res.data.fileOid }).then((res2) => {
          console.log('res2',res2)
          this.$utilFunc.downloadFileByBlob(res2.data, fileName);
        });
      }