|
@@ -2299,7 +2299,7 @@ export class FuwutaiComponent implements OnInit {
|
2299
|
2299
|
}
|
2300
|
2300
|
this.buildType = buildType;
|
2301
|
2301
|
if(this.itsmData.mdv2Switch){
|
2302
|
|
- this.resetOrderData();
|
|
2302
|
+ this.buildType !== '继续建单' && this.resetOrderData();
|
2303
|
2303
|
this.searchApplicationHospital();
|
2304
|
2304
|
this.searchApplicationCategory();
|
2305
|
2305
|
this.searchApplicationPriority();
|
|
@@ -2760,7 +2760,7 @@ export class FuwutaiComponent implements OnInit {
|
2760
|
2760
|
"directProcess": 1,
|
2761
|
2761
|
"handleDescription": this.incidentModel.handleDescription,
|
2762
|
2762
|
"handlingPersonnelUser": {id: this.tool.getCurrentUserId()},
|
2763
|
|
- "yyTime": this.incidentModel.yyTime ? format(this.incidentModel.yyTime, 'yyyy-MM-dd HH:mm:ss') : undefined,
|
|
2763
|
+ "yyTime": this.incidentModel.yyTime ? format(new Date(this.incidentModel.yyTime), 'yyyy-MM-dd HH:mm:ss') : undefined,
|
2764
|
2764
|
"closecode": this.incidentModel.closecode ? { id: this.incidentModel.closecode } : undefined,
|
2765
|
2765
|
"acceptUser": { id: this.tool.getCurrentUserId() },
|
2766
|
2766
|
"callID": this.incidentModel.callID || undefined,
|
|
@@ -3164,6 +3164,12 @@ export class FuwutaiComponent implements OnInit {
|
3164
|
3164
|
openChangeApplyDept(flag){
|
3165
|
3165
|
flag && this.searchApplicationDepartment('itsm');
|
3166
|
3166
|
}
|
|
3167
|
+ openChangeApplyRequester(flag){
|
|
3168
|
+ flag && this.searchApplicationRequester();
|
|
3169
|
+ }
|
|
3170
|
+ openChangeApplyCategory(flag){
|
|
3171
|
+ flag && this.searchApplicationCategory();
|
|
3172
|
+ }
|
3167
|
3173
|
openChangeApplyGroup(flag){
|
3168
|
3174
|
flag && this.searchApplicationGroup()
|
3169
|
3175
|
}
|
|
@@ -3479,7 +3485,7 @@ export class FuwutaiComponent implements OnInit {
|
3479
|
3485
|
"source": this.incidentModel.source ? { id: this.incidentModel.source } : undefined,
|
3480
|
3486
|
"title": category.mutiCategory,
|
3481
|
3487
|
"description": this.incidentModel.description,
|
3482
|
|
- "yyTime": this.incidentModel.yyTime ? format(this.incidentModel.yyTime, 'yyyy-MM-dd HH:mm:ss') : undefined,
|
|
3488
|
+ "yyTime": this.incidentModel.yyTime ? format(new Date(this.incidentModel.yyTime), 'yyyy-MM-dd HH:mm:ss') : undefined,
|
3483
|
3489
|
"requester": this.incidentModel.requester ? { id: this.incidentModel.requester } : undefined,
|
3484
|
3490
|
"acceptUser": { id: this.tool.getCurrentUserId() },
|
3485
|
3491
|
"callID": this.incidentModel.callID || undefined,
|
|
@@ -3549,7 +3555,7 @@ export class FuwutaiComponent implements OnInit {
|
3549
|
3555
|
"source": this.incidentModel.source ? { id: this.incidentModel.source } : undefined,
|
3550
|
3556
|
"title": category ? category.mutiCategory : '',
|
3551
|
3557
|
"description": this.incidentModel.description,
|
3552
|
|
- "yyTime": this.incidentModel.yyTime ? format(this.incidentModel.yyTime, 'yyyy-MM-dd HH:mm:ss') : undefined,
|
|
3558
|
+ "yyTime": this.incidentModel.yyTime ? format(new Date(this.incidentModel.yyTime), 'yyyy-MM-dd HH:mm:ss') : undefined,
|
3553
|
3559
|
"requester": this.incidentModel.requester ? { id: this.incidentModel.requester } : undefined,
|
3554
|
3560
|
"acceptUser": { id: this.tool.getCurrentUserId() },
|
3555
|
3561
|
"callID": this.incidentModel.callID || undefined,
|
|
@@ -4646,6 +4652,8 @@ export class FuwutaiComponent implements OnInit {
|
4646
|
4652
|
incidentModel.source && (incidentModel.source = incidentModel.source.id);
|
4647
|
4653
|
incidentModel.area && (incidentModel.area = incidentModel.area.id);
|
4648
|
4654
|
incidentModel.place && (incidentModel.place = incidentModel.place.id);
|
|
4655
|
+ incidentModel.category && (this.applicationCategoryList = [cloneDeep(incidentModel.category)]);
|
|
4656
|
+ incidentModel.category && (incidentModel.category = incidentModel.category.id);
|
4649
|
4657
|
this.incidentModel = incidentModel;
|
4650
|
4658
|
this.incidentMsg = incidentMsg;
|
4651
|
4659
|
console.log('this.applicationDeptList:', this.applicationDeptList)
|