Przeglądaj źródła

事件去除title字段

seimin 6 miesięcy temu
rodzic
commit
2536bd7427

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

@@ -883,7 +883,7 @@ export class IncidentCreateComponent implements OnInit {
883
         "category": this.incidentModel.category ? { id: this.incidentModel.category } : undefined,
883
         "category": this.incidentModel.category ? { id: this.incidentModel.category } : undefined,
884
         "priorityId": this.incidentModel.priorityId || undefined,
884
         "priorityId": this.incidentModel.priorityId || undefined,
885
         "source": this.incidentModel.source ? { id: this.incidentModel.source } : undefined,
885
         "source": this.incidentModel.source ? { id: this.incidentModel.source } : undefined,
886
-        "title": category.mutiCategory,
886
+        // "title": category.mutiCategory,
887
         "description": this.incidentModel.description,
887
         "description": this.incidentModel.description,
888
         "directProcess": 1,
888
         "directProcess": 1,
889
         "handleDescription": this.incidentModel.handleDescription,
889
         "handleDescription": this.incidentModel.handleDescription,
@@ -998,7 +998,7 @@ export class IncidentCreateComponent implements OnInit {
998
         "category": this.incidentModel.category ? { id: this.incidentModel.category } : undefined,
998
         "category": this.incidentModel.category ? { id: this.incidentModel.category } : undefined,
999
         "priorityId": this.incidentModel.priorityId || undefined,
999
         "priorityId": this.incidentModel.priorityId || undefined,
1000
         "source": this.incidentModel.source ? { id: this.incidentModel.source } : undefined,
1000
         "source": this.incidentModel.source ? { id: this.incidentModel.source } : undefined,
1001
-        "title": category.mutiCategory,
1001
+        // "title": category.mutiCategory,
1002
         "description": this.incidentModel.description,
1002
         "description": this.incidentModel.description,
1003
         "yyTime": this.incidentModel.yyTime ? format(new Date(this.incidentModel.yyTime), 'yyyy-MM-dd HH:mm:ss') : undefined,
1003
         "yyTime": this.incidentModel.yyTime ? format(new Date(this.incidentModel.yyTime), 'yyyy-MM-dd HH:mm:ss') : undefined,
1004
         "requester": this.incidentModel.requester ? { id: this.incidentModel.requester } : undefined,
1004
         "requester": this.incidentModel.requester ? { id: this.incidentModel.requester } : undefined,
@@ -1072,7 +1072,7 @@ export class IncidentCreateComponent implements OnInit {
1072
         "category": this.incidentModel.category ? { id: this.incidentModel.category } : undefined,
1072
         "category": this.incidentModel.category ? { id: this.incidentModel.category } : undefined,
1073
         "priorityId": this.incidentModel.priorityId || undefined,
1073
         "priorityId": this.incidentModel.priorityId || undefined,
1074
         "source": this.incidentModel.source ? { id: this.incidentModel.source } : undefined,
1074
         "source": this.incidentModel.source ? { id: this.incidentModel.source } : undefined,
1075
-        "title": category ? category.mutiCategory : '',
1075
+        // "title": category ? category.mutiCategory : '',
1076
         "description": this.incidentModel.description,
1076
         "description": this.incidentModel.description,
1077
         "yyTime": this.incidentModel.yyTime ? format(new Date(this.incidentModel.yyTime), 'yyyy-MM-dd HH:mm:ss') : undefined,
1077
         "yyTime": this.incidentModel.yyTime ? format(new Date(this.incidentModel.yyTime), 'yyyy-MM-dd HH:mm:ss') : undefined,
1078
         "requester": this.incidentModel.requester ? { id: this.incidentModel.requester } : undefined,
1078
         "requester": this.incidentModel.requester ? { id: this.incidentModel.requester } : undefined,
@@ -1174,7 +1174,7 @@ export class IncidentCreateComponent implements OnInit {
1174
         "category": this.incidentModel.category ? { id: this.incidentModel.category } : undefined,
1174
         "category": this.incidentModel.category ? { id: this.incidentModel.category } : undefined,
1175
         "priorityId": this.incidentModel.priorityId || undefined,
1175
         "priorityId": this.incidentModel.priorityId || undefined,
1176
         "source": this.incidentModel.source ? { id: this.incidentModel.source } : undefined,
1176
         "source": this.incidentModel.source ? { id: this.incidentModel.source } : undefined,
1177
-        "title": category ? category.mutiCategory : '',
1177
+        // "title": category ? category.mutiCategory : '',
1178
         "description": this.incidentModel.description,
1178
         "description": this.incidentModel.description,
1179
         "yyTime": this.incidentModel.yyTime ? format(new Date(this.incidentModel.yyTime), 'yyyy-MM-dd HH:mm:ss') : undefined,
1179
         "yyTime": this.incidentModel.yyTime ? format(new Date(this.incidentModel.yyTime), 'yyyy-MM-dd HH:mm:ss') : undefined,
1180
         "requester": this.incidentModel.requester ? { id: this.incidentModel.requester } : undefined,
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
         "category": this.incidentModel.category ? { id: this.incidentModel.category } : undefined,
3661
         "category": this.incidentModel.category ? { id: this.incidentModel.category } : undefined,
3662
         "priorityId": this.incidentModel.priorityId || undefined,
3662
         "priorityId": this.incidentModel.priorityId || undefined,
3663
         "source": this.incidentModel.source ? { id: this.incidentModel.source } : undefined,
3663
         "source": this.incidentModel.source ? { id: this.incidentModel.source } : undefined,
3664
-        "title": category ? category.mutiCategory : '',
3664
+        // "title": category ? category.mutiCategory : '',
3665
         "description": this.incidentModel.description,
3665
         "description": this.incidentModel.description,
3666
         "yyTime": this.incidentModel.yyTime ? format(new Date(this.incidentModel.yyTime), 'yyyy-MM-dd HH:mm:ss') : undefined,
3666
         "yyTime": this.incidentModel.yyTime ? format(new Date(this.incidentModel.yyTime), 'yyyy-MM-dd HH:mm:ss') : undefined,
3667
         "requester": this.incidentModel.requester ? { id: this.incidentModel.requester } : undefined,
3667
         "requester": this.incidentModel.requester ? { id: this.incidentModel.requester } : undefined,
@@ -3761,7 +3761,7 @@ export class FuwutaiComponent implements OnInit {
3761
         "category": this.incidentModel.category ? { id: this.incidentModel.category } : undefined,
3761
         "category": this.incidentModel.category ? { id: this.incidentModel.category } : undefined,
3762
         "priorityId": this.incidentModel.priorityId || undefined,
3762
         "priorityId": this.incidentModel.priorityId || undefined,
3763
         "source": this.incidentModel.source ? { id: this.incidentModel.source } : undefined,
3763
         "source": this.incidentModel.source ? { id: this.incidentModel.source } : undefined,
3764
-        "title": category ? category.mutiCategory : '',
3764
+        // "title": category ? category.mutiCategory : '',
3765
         "description": this.incidentModel.description,
3765
         "description": this.incidentModel.description,
3766
         "yyTime": this.incidentModel.yyTime ? format(new Date(this.incidentModel.yyTime), 'yyyy-MM-dd HH:mm:ss') : undefined,
3766
         "yyTime": this.incidentModel.yyTime ? format(new Date(this.incidentModel.yyTime), 'yyyy-MM-dd HH:mm:ss') : undefined,
3767
         "requester": this.incidentModel.requester ? { id: this.incidentModel.requester } : undefined,
3767
         "requester": this.incidentModel.requester ? { id: this.incidentModel.requester } : undefined,