|
@@ -113,7 +113,7 @@ export class TextbookPertainComponent implements OnInit {
|
|
|
{ label: '专业课', value: '专业课' ,checked:false},
|
|
|
];
|
|
|
checkOptionsThree = [
|
|
|
- { label: '思想作者理论课', value: '思想作者理论课',checked:false},
|
|
|
+ { label: '思想政治理论课', value: '思想政治理论课',checked:false},
|
|
|
{ label: '实验课', value: '实验课',checked:false },
|
|
|
];
|
|
|
checkTwo: any = null
|
|
@@ -172,7 +172,7 @@ export class TextbookPertainComponent implements OnInit {
|
|
|
for(let i in list){
|
|
|
if(list[i].label=='必修课'||list[i].label=='选修课'){
|
|
|
one.push(list[i])
|
|
|
- }else if(list[i].label=='思想作者理论课'||list[i].label=='实验课'){
|
|
|
+ }else if(list[i].label=='思想政治理论课'||list[i].label=='实验课'){
|
|
|
three.push(list[i])
|
|
|
}else if(list[i].checked){
|
|
|
this.checkTwo=list[i].label
|
|
@@ -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);
|
|
|
+ })
|
|
|
}
|
|
|
}
|