|
|
|
@ -4,7 +4,7 @@
|
|
|
|
|
* @Author: sueRimn |
|
|
|
|
* @Date: 2021-05-31 10:40:01 |
|
|
|
|
* @LastEditors: sueRimn |
|
|
|
|
* @LastEditTime: 2021-08-07 15:21:06 |
|
|
|
|
* @LastEditTime: 2021-09-02 14:06:11 |
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
import { Component, Inject, OnInit,ViewEncapsulation } from '@angular/core'; |
|
|
|
@ -177,8 +177,9 @@ export class PlanTemplateComponent implements OnInit {
|
|
|
|
|
data:null |
|
|
|
|
} |
|
|
|
|
let aaa = await new Promise((resolve, reject)=>{ |
|
|
|
|
delete this.newleftTabledata[this.leftclicki].data[0].attribute[1].attinf |
|
|
|
|
delete this.newleftTabledata[this.leftclicki].data[0].attribute[3].attinf |
|
|
|
|
console.log(this.newleftTabledata) |
|
|
|
|
//delete this.newleftTabledata[this.leftclicki].data
|
|
|
|
|
//delete this.newleftTabledata[this.leftclicki].data[0].attribute[3].attinf
|
|
|
|
|
this.http.post("/api/PlanTemplate",savaData).subscribe((data:any)=>{ |
|
|
|
|
this.newleftTabledata[this.newleftTabledata.length-1].id='' |
|
|
|
|
this.newleftTabledata[this.newleftTabledata.length-1].id=data.id |
|
|
|
|