let params = this.writeParams
// params.outline = this.$refs.outlineEditor.initForm.content
// params.document = this.$refs.textEditor.initForm.content
// params.outline = this.dagangData
params.content = this.neirong
params.name = this.writeParams.theme
console.info('***** params.name*****', params)
downFile('/navy/dbct-catalog/ManagementModel/export-briefing', params).then(res => {
console.log(res, '444444')
const blob = new Blob([res.data], {
type: "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
});
// 创建一个a标签,模拟点击下载
const link = document.createElement("a");
link.href = window.URL.createObjectURL(blob);
link.download = this.writeParams.theme + ".docx"; // 下载的文件名
link.click();
// 释放URL对象
window.URL.revokeObjectURL(link.href);
})