Procházet zdrojové kódy

事件去除title字段

seimin před 4 měsíci
rodič
revize
2536bd7427

+ 4 - 4
src/app/components/incidentManagement/incident-create/incident-create.component.ts

@@ -883,7 +883,7 @@ export class IncidentCreateComponent implements OnInit {
883 883
         "category": this.incidentModel.category ? { id: this.incidentModel.category } : undefined,
884 884
         "priorityId": this.incidentModel.priorityId || undefined,
885 885
         "source": this.incidentModel.source ? { id: this.incidentModel.source } : undefined,
886
-        "title": category.mutiCategory,
886
+        // "title": category.mutiCategory,
887 887
         "description": this.incidentModel.description,
888 888
         "directProcess": 1,
889 889
         "handleDescription": this.incidentModel.handleDescription,
@@ -998,7 +998,7 @@ export class IncidentCreateComponent implements OnInit {
998 998
         "category": this.incidentModel.category ? { id: this.incidentModel.category } : undefined,
999 999
         "priorityId": this.incidentModel.priorityId || undefined,
1000 1000
         "source": this.incidentModel.source ? { id: this.incidentModel.source } : undefined,
1001
-        "title": category.mutiCategory,
1001
+        // "title": category.mutiCategory,
1002 1002
         "description": this.incidentModel.description,
1003 1003
         "yyTime": this.incidentModel.yyTime ? format(new Date(this.incidentModel.yyTime), 'yyyy-MM-dd HH:mm:ss') : undefined,
1004 1004
         "requester": this.incidentModel.requester ? { id: this.incidentModel.requester } : undefined,
@@ -1072,7 +1072,7 @@ export class IncidentCreateComponent implements OnInit {
1072 1072
         "category": this.incidentModel.category ? { id: this.incidentModel.category } : undefined,
1073 1073
         "priorityId": this.incidentModel.priorityId || undefined,
1074 1074
         "source": this.incidentModel.source ? { id: this.incidentModel.source } : undefined,
1075
-        "title": category ? category.mutiCategory : '',
1075
+        // "title": category ? category.mutiCategory : '',
1076 1076
         "description": this.incidentModel.description,
1077 1077
         "yyTime": this.incidentModel.yyTime ? format(new Date(this.incidentModel.yyTime), 'yyyy-MM-dd HH:mm:ss') : undefined,
1078 1078
         "requester": this.incidentModel.requester ? { id: this.incidentModel.requester } : undefined,
@@ -1174,7 +1174,7 @@ export class IncidentCreateComponent implements OnInit {
1174 1174
         "category": this.incidentModel.category ? { id: this.incidentModel.category } : undefined,
1175 1175
         "priorityId": this.incidentModel.priorityId || undefined,
1176 1176
         "source": this.incidentModel.source ? { id: this.incidentModel.source } : undefined,
1177
-        "title": category ? category.mutiCategory : '',
1177
+        // "title": category ? category.mutiCategory : '',
1178 1178
         "description": this.incidentModel.description,
1179 1179
         "yyTime": this.incidentModel.yyTime ? format(new Date(this.incidentModel.yyTime), 'yyyy-MM-dd HH:mm:ss') : undefined,
1180 1180
         "requester": this.incidentModel.requester ? { id: this.incidentModel.requester } : undefined,

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

@@ -3661,7 +3661,7 @@ export class FuwutaiComponent implements OnInit {
3661 3661
         "category": this.incidentModel.category ? { id: this.incidentModel.category } : undefined,
3662 3662
         "priorityId": this.incidentModel.priorityId || undefined,
3663 3663
         "source": this.incidentModel.source ? { id: this.incidentModel.source } : undefined,
3664
-        "title": category ? category.mutiCategory : '',
3664
+        // "title": category ? category.mutiCategory : '',
3665 3665
         "description": this.incidentModel.description,
3666 3666
         "yyTime": this.incidentModel.yyTime ? format(new Date(this.incidentModel.yyTime), 'yyyy-MM-dd HH:mm:ss') : undefined,
3667 3667
         "requester": this.incidentModel.requester ? { id: this.incidentModel.requester } : undefined,
@@ -3761,7 +3761,7 @@ export class FuwutaiComponent implements OnInit {
3761 3761
         "category": this.incidentModel.category ? { id: this.incidentModel.category } : undefined,
3762 3762
         "priorityId": this.incidentModel.priorityId || undefined,
3763 3763
         "source": this.incidentModel.source ? { id: this.incidentModel.source } : undefined,
3764
-        "title": category ? category.mutiCategory : '',
3764
+        // "title": category ? category.mutiCategory : '',
3765 3765
         "description": this.incidentModel.description,
3766 3766
         "yyTime": this.incidentModel.yyTime ? format(new Date(this.incidentModel.yyTime), 'yyyy-MM-dd HH:mm:ss') : undefined,
3767 3767
         "requester": this.incidentModel.requester ? { id: this.incidentModel.requester } : undefined,