瀏覽代碼

来电弹屏BUG

seimin 5 月之前
父節點
當前提交
12e78ceff3
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      src/app/views/fuwutai/fuwutai.component.ts

+ 3 - 2
src/app/views/fuwutai/fuwutai.component.ts

@@ -3595,10 +3595,11 @@ export class FuwutaiComponent implements OnInit {
3595 3595
       if(this.buildType === '报修转事件'){
3596 3596
         postData.incident.fromWx = true;
3597 3597
       }
3598
-      postData.incident = Object.assign({}, this.editOrder, postData.incident);
3599 3598
 
3600 3599
       if(this.buildType !== '继续建单' && this.buildType !== '编辑事件' && this.buildType !== '报修转事件'){
3601
-        delete postData.incident.incidentsign;
3600
+        postData.incident = Object.assign({}, postData.incident);
3601
+      }else{
3602
+        postData.incident = Object.assign({}, this.editOrder, postData.incident);
3602 3603
       }
3603 3604
     }
3604 3605
     console.log(postData);