Browse Source

updata:public/file,pertain

xll 7 months ago
parent
commit
c4749ad1ce

BIN
projects/textbook/public/file/专家审核意见表.docx


BIN
projects/textbook/public/file/图书编校质量自查结果记录表.docx


BIN
projects/textbook/public/file/教材编写人员政治审查表.docx


+ 13 - 1
projects/textbook/src/modules/nav-author/components/textbook-pertain/textbook-pertain.component.ts

@@ -410,7 +410,7 @@ export class TextbookPertainComponent implements OnInit {
   }
   downloadFile(){
     let fileName = '十四五”普通高等教育本科国家级规划教材第一次遴选推荐申报表.docx'
-    const fileUrl = `../../../../../public/file/${fileName}`;
+    let fileUrl = `../../../../../public/file/${fileName}`;
     this.http.get(fileUrl, { responseType: 'blob' }).subscribe((blob) => {
       const url = window.URL.createObjectURL(blob);
       const a = document.createElement('a');
@@ -421,5 +421,17 @@ export class TextbookPertainComponent implements OnInit {
       document.body.removeChild(a);
       window.URL.revokeObjectURL(url);
     })
+    let fileName02 = '教材编写人员政治审查表.docx'
+    let fileUrl02 = `../../../../../public/file/${fileName02}`;
+    this.http.get(fileUrl02, { responseType: 'blob' }).subscribe((blob) => {
+      const url = window.URL.createObjectURL(blob);
+      const a = document.createElement('a');
+      a.href = url;
+      a.download = fileName02;
+      document.body.appendChild(a);
+      a.click();
+      document.body.removeChild(a);
+      window.URL.revokeObjectURL(url);
+    })
   }
   }