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