|
|
|
@ -4,7 +4,7 @@
|
|
|
|
|
* @Author: sueRimn |
|
|
|
|
* @Date: 2021-06-16 13:56:54 |
|
|
|
|
* @LastEditors: sueRimn |
|
|
|
|
* @LastEditTime: 2021-07-29 14:12:18 |
|
|
|
|
* @LastEditTime: 2021-07-30 14:56:55 |
|
|
|
|
*/ |
|
|
|
|
import { HttpClient } from '@angular/common/http'; |
|
|
|
|
import { Component, Inject, OnInit, Renderer2, ViewChild, Input } from '@angular/core'; |
|
|
|
@ -563,7 +563,7 @@ export class CreatePlanOnlineFiveComponent implements OnInit {
|
|
|
|
|
} |
|
|
|
|
//生成word
|
|
|
|
|
generatingDoc() { |
|
|
|
|
changeImgToDataurl() |
|
|
|
|
/* changeImgToDataurl() |
|
|
|
|
function changeImgToDataurl() { |
|
|
|
|
let charImg = document.getElementsByTagName("img"); |
|
|
|
|
console.log(charImg) |
|
|
|
@ -591,7 +591,7 @@ export class CreatePlanOnlineFiveComponent implements OnInit {
|
|
|
|
|
} |
|
|
|
|
function condataurl(dataURL, charImg) { |
|
|
|
|
charImg.src = dataURL; |
|
|
|
|
} |
|
|
|
|
} */ |
|
|
|
|
|
|
|
|
|
$(".mainbox").wordExport('word文档'); |
|
|
|
|
} |
|
|
|
|