|
|
|
@ -774,7 +774,7 @@ export class UnitDetailsComponent implements OnInit {
|
|
|
|
|
</body> |
|
|
|
|
</html>` |
|
|
|
|
const fileData = asBlob(htmlString).then((data: any) => { |
|
|
|
|
saveAs(data, 'file.docx') // 保存为docx文件
|
|
|
|
|
saveAs(data, this.datas.basicInfo.name+'基本信息.docx') // 保存为docx文件
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|