diff --git a/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.html b/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.html index 5995682..428438f 100644 --- a/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.html +++ b/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.html @@ -395,7 +395,7 @@ + text-align: center;width: 185px;" > {{element.tableth[tablethi]}} @@ -414,7 +414,7 @@ + text-align: center;width: 185px;"> {{itemtr.tabletd[tabletdi]}} @@ -440,11 +440,11 @@ {{itemthj.head}} + text-align: center; white-space:pre-wrap; width: 185px;">{{itemthj.head}} {{itemthj.body}} + text-align: center;white-space:pre-wrap;width: 185px;">{{itemthj.body}} diff --git a/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.ts b/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.ts index 41860be..b1906fa 100644 --- a/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.ts +++ b/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.ts @@ -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文档'); }