arco-support-request 0.1.15 → 0.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/core/global.service.mjs +45 -15
- package/esm2020/lib/entity-type-setup/activities-create/activities-create.component.mjs +4 -1
- package/esm2020/lib/entity-type-setup/activities-view/activities-view.component.mjs +4 -1
- package/esm2020/lib/entity-type-setup/dynamic/dynamic-details-view/dynamic-details-view.component.mjs +7 -1
- package/esm2020/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.mjs +6 -5
- package/esm2020/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.mjs +3 -1
- package/esm2020/lib/support-request/case-list/case-list.component.mjs +13 -21
- package/esm2020/lib/support-request/create-form/create-form.component.mjs +5 -1
- package/esm2020/lib/support-request/request-flow/request-flow.component.mjs +10 -20
- package/esm2020/lib/support-request/self-service-flow/self-service-flow.component.mjs +3 -4
- package/esm2020/lib/support-request/support-request-create/support-request-create.component.mjs +5 -1
- package/esm2020/lib/support-request/support-request-details/support-request-details.component.mjs +10 -35
- package/fesm2015/arco-support-request.mjs +92 -99
- package/fesm2015/arco-support-request.mjs.map +1 -1
- package/fesm2020/arco-support-request.mjs +91 -94
- package/fesm2020/arco-support-request.mjs.map +1 -1
- package/lib/support-request/case-list/case-list.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -2038,20 +2038,50 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImpor
|
|
|
2038
2038
|
}]
|
|
2039
2039
|
}], ctorParameters: function () { return [{ type: i1.Title }, { type: i1$1.HttpClient }]; } });
|
|
2040
2040
|
function errorMessageType(error) {
|
|
2041
|
-
|
|
2042
|
-
error
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2041
|
+
try {
|
|
2042
|
+
if (error &&
|
|
2043
|
+
error.error &&
|
|
2044
|
+
error.error.Errors &&
|
|
2045
|
+
error.error.Errors.length > 0)
|
|
2046
|
+
return error.error.Errors.map((x) => x.ErrorMessage).join('\n');
|
|
2047
|
+
else if (error && error.error && error.error.Message)
|
|
2048
|
+
return error.error.Message;
|
|
2049
|
+
else if (typeof error.error == 'string')
|
|
2050
|
+
return error.error;
|
|
2051
|
+
else if (error.error?.status == false) {
|
|
2052
|
+
try {
|
|
2053
|
+
let msg = JSON.parse(error.error?.msg);
|
|
2054
|
+
if (msg && msg.msg) {
|
|
2055
|
+
msg = msg.msg;
|
|
2056
|
+
}
|
|
2057
|
+
else {
|
|
2058
|
+
msg = error.error?.msg;
|
|
2059
|
+
}
|
|
2060
|
+
return msg;
|
|
2061
|
+
}
|
|
2062
|
+
catch (err) {
|
|
2063
|
+
let msg = (error.error?.msg);
|
|
2064
|
+
if (msg && msg.msg) {
|
|
2065
|
+
msg = msg.msg;
|
|
2066
|
+
}
|
|
2067
|
+
else {
|
|
2068
|
+
msg = error.error?.msg;
|
|
2069
|
+
}
|
|
2070
|
+
return msg;
|
|
2071
|
+
}
|
|
2072
|
+
}
|
|
2073
|
+
else if (typeof error.error == "object") {
|
|
2074
|
+
return JSON.stringify(error.error);
|
|
2075
|
+
}
|
|
2076
|
+
else if (error.message)
|
|
2077
|
+
return error.message;
|
|
2078
|
+
else {
|
|
2079
|
+
console.log(error);
|
|
2080
|
+
// return "console error"
|
|
2081
|
+
}
|
|
2082
|
+
}
|
|
2083
|
+
catch (err) {
|
|
2084
|
+
return "Error,Contact system admin";
|
|
2055
2085
|
}
|
|
2056
2086
|
}
|
|
2057
2087
|
|
|
@@ -6181,6 +6211,7 @@ class EntityDynamicViewComponent {
|
|
|
6181
6211
|
this.getFieldListByEntityType(this.EntityTypeForm.EntityTypeId);
|
|
6182
6212
|
}, (error) => {
|
|
6183
6213
|
console.log(error);
|
|
6214
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
6184
6215
|
});
|
|
6185
6216
|
}
|
|
6186
6217
|
getFieldListByEntityType(EntityTypeId) {
|
|
@@ -6191,6 +6222,7 @@ class EntityDynamicViewComponent {
|
|
|
6191
6222
|
// this.TempFieldValidators();
|
|
6192
6223
|
}, (error) => {
|
|
6193
6224
|
console.log(error);
|
|
6225
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
6194
6226
|
});
|
|
6195
6227
|
}
|
|
6196
6228
|
getAllDefaultEntityTypeForm(EntityTypeId) {
|
|
@@ -6205,10 +6237,8 @@ class EntityDynamicViewComponent {
|
|
|
6205
6237
|
this.buildReactiveForm();
|
|
6206
6238
|
}
|
|
6207
6239
|
}, (error) => {
|
|
6208
|
-
Swal.fire({
|
|
6209
|
-
title: this.translatePipe.transform('Template form not found'),
|
|
6210
|
-
});
|
|
6211
6240
|
console.log(error);
|
|
6241
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
6212
6242
|
});
|
|
6213
6243
|
}
|
|
6214
6244
|
validationError(name, errorName) {
|
|
@@ -6802,11 +6832,12 @@ class EntityDynamicViewComponent {
|
|
|
6802
6832
|
}
|
|
6803
6833
|
}, (error) => {
|
|
6804
6834
|
console.log(error);
|
|
6805
|
-
Swal.fire(errorMessageType(error));
|
|
6835
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
6806
6836
|
});
|
|
6807
6837
|
}
|
|
6808
6838
|
}, (error) => {
|
|
6809
6839
|
console.log(error);
|
|
6840
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
6810
6841
|
});
|
|
6811
6842
|
}
|
|
6812
6843
|
getAllRules(EntityTypeId) {
|
|
@@ -7423,6 +7454,7 @@ class WorkflowDynamicPopupComponent {
|
|
|
7423
7454
|
this.EntityFormId = res.RecId;
|
|
7424
7455
|
}, (error) => {
|
|
7425
7456
|
console.log(error);
|
|
7457
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
7426
7458
|
});
|
|
7427
7459
|
}
|
|
7428
7460
|
}
|
|
@@ -7547,6 +7579,7 @@ class DynamicDetailsViewComponent {
|
|
|
7547
7579
|
this.EntityTypeDetail = res;
|
|
7548
7580
|
}, (error) => {
|
|
7549
7581
|
console.log(error);
|
|
7582
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
7550
7583
|
});
|
|
7551
7584
|
}
|
|
7552
7585
|
saveDesignForm() {
|
|
@@ -7577,6 +7610,7 @@ class DynamicDetailsViewComponent {
|
|
|
7577
7610
|
// this._PageForm.form = this.getFieldFormGroup();
|
|
7578
7611
|
}, (error) => {
|
|
7579
7612
|
console.log(error);
|
|
7613
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
7580
7614
|
});
|
|
7581
7615
|
}
|
|
7582
7616
|
getEntityForm() {
|
|
@@ -7607,6 +7641,7 @@ class DynamicDetailsViewComponent {
|
|
|
7607
7641
|
}
|
|
7608
7642
|
}, (error) => {
|
|
7609
7643
|
console.log(error);
|
|
7644
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
7610
7645
|
});
|
|
7611
7646
|
}
|
|
7612
7647
|
addRow() {
|
|
@@ -7814,6 +7849,7 @@ class DynamicDetailsViewComponent {
|
|
|
7814
7849
|
}
|
|
7815
7850
|
}, (error) => {
|
|
7816
7851
|
console.log(error);
|
|
7852
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
7817
7853
|
});
|
|
7818
7854
|
}
|
|
7819
7855
|
getFieldFormValue(field) {
|
|
@@ -7900,6 +7936,7 @@ class ActivitiesCreateComponent {
|
|
|
7900
7936
|
this.EntityFormId = res.RecId;
|
|
7901
7937
|
}, (error) => {
|
|
7902
7938
|
console.log(error);
|
|
7939
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
7903
7940
|
});
|
|
7904
7941
|
}
|
|
7905
7942
|
closeCreatePage() {
|
|
@@ -7946,6 +7983,7 @@ class ActivitiesCreateComponent {
|
|
|
7946
7983
|
this.closeActivityCreate.emit({ Type: "Create" });
|
|
7947
7984
|
}, (error) => {
|
|
7948
7985
|
console.log(error);
|
|
7986
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
7949
7987
|
});
|
|
7950
7988
|
}
|
|
7951
7989
|
emitTicketCreateForm(CreateData, pageForm) {
|
|
@@ -7997,6 +8035,7 @@ class ActivitiesViewComponent {
|
|
|
7997
8035
|
this.EntityFormId = res.RecId;
|
|
7998
8036
|
}, (error) => {
|
|
7999
8037
|
console.log(error);
|
|
8038
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
8000
8039
|
});
|
|
8001
8040
|
}
|
|
8002
8041
|
emitTicketCreateForm(CreateData, pageForm) {
|
|
@@ -9032,6 +9071,7 @@ class SupportRequestCreateComponent {
|
|
|
9032
9071
|
this.EntityFormId = res.RecId;
|
|
9033
9072
|
}, (error) => {
|
|
9034
9073
|
console.log(error);
|
|
9074
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
9035
9075
|
});
|
|
9036
9076
|
}
|
|
9037
9077
|
getAssignedDocumentList() {
|
|
@@ -9099,6 +9139,7 @@ class SupportRequestCreateComponent {
|
|
|
9099
9139
|
this.supportService.displayListPopUp = true;
|
|
9100
9140
|
}, (error) => {
|
|
9101
9141
|
console.log(error);
|
|
9142
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
9102
9143
|
});
|
|
9103
9144
|
}
|
|
9104
9145
|
else {
|
|
@@ -9174,6 +9215,7 @@ class SupportRequestCreateComponent {
|
|
|
9174
9215
|
// })
|
|
9175
9216
|
}, (error) => {
|
|
9176
9217
|
console.log(error);
|
|
9218
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
9177
9219
|
});
|
|
9178
9220
|
}
|
|
9179
9221
|
}
|
|
@@ -9350,6 +9392,7 @@ class CreateFormComponent {
|
|
|
9350
9392
|
}
|
|
9351
9393
|
}, (error) => {
|
|
9352
9394
|
console.log(error);
|
|
9395
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
9353
9396
|
});
|
|
9354
9397
|
}
|
|
9355
9398
|
selectType(item) {
|
|
@@ -9412,6 +9455,7 @@ class CreateFormComponent {
|
|
|
9412
9455
|
// });
|
|
9413
9456
|
}, (error) => {
|
|
9414
9457
|
console.log(error);
|
|
9458
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
9415
9459
|
});
|
|
9416
9460
|
}
|
|
9417
9461
|
selectCase(item) {
|
|
@@ -9702,6 +9746,7 @@ class SupportRequestDetailsComponent {
|
|
|
9702
9746
|
this.EntityFormId = res.RecId;
|
|
9703
9747
|
}, (error) => {
|
|
9704
9748
|
console.log(error);
|
|
9749
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
9705
9750
|
});
|
|
9706
9751
|
}
|
|
9707
9752
|
getWorkflowActionComments(comments, updateFileds, updateFieldsObject) {
|
|
@@ -9712,20 +9757,7 @@ class SupportRequestDetailsComponent {
|
|
|
9712
9757
|
this.getTaskDetails();
|
|
9713
9758
|
// console.log(res);
|
|
9714
9759
|
}, (error) => {
|
|
9715
|
-
|
|
9716
|
-
if (error.error?.status == false) {
|
|
9717
|
-
let msg = JSON.parse(error.error?.msg);
|
|
9718
|
-
if (msg && msg.msg) {
|
|
9719
|
-
msg = msg.msg;
|
|
9720
|
-
}
|
|
9721
|
-
else {
|
|
9722
|
-
msg = error.error?.msg;
|
|
9723
|
-
}
|
|
9724
|
-
Swal.fire(this.translatePipe.transform(msg));
|
|
9725
|
-
}
|
|
9726
|
-
else {
|
|
9727
|
-
Swal.fire(this.translatePipe.transform(error.ExceptionMessage), this.translatePipe.transform(error.message));
|
|
9728
|
-
}
|
|
9760
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
9729
9761
|
});
|
|
9730
9762
|
}
|
|
9731
9763
|
getComments() {
|
|
@@ -9736,11 +9768,7 @@ class SupportRequestDetailsComponent {
|
|
|
9736
9768
|
this.commentsData = x.Data;
|
|
9737
9769
|
this.commentsDataCount = x.TotalCount;
|
|
9738
9770
|
}, (error) => {
|
|
9739
|
-
|
|
9740
|
-
Swal.fire({
|
|
9741
|
-
title: this.translatePipe.transform(error.error),
|
|
9742
|
-
});
|
|
9743
|
-
// error.error
|
|
9771
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
9744
9772
|
});
|
|
9745
9773
|
}
|
|
9746
9774
|
}
|
|
@@ -9834,7 +9862,7 @@ class SupportRequestDetailsComponent {
|
|
|
9834
9862
|
this.StatusAndStageList.splice(showPendingIndex, 1);
|
|
9835
9863
|
}, (error) => {
|
|
9836
9864
|
console.log(error);
|
|
9837
|
-
Swal.fire(
|
|
9865
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
9838
9866
|
});
|
|
9839
9867
|
}
|
|
9840
9868
|
selectProcess(item) {
|
|
@@ -9877,7 +9905,7 @@ class SupportRequestDetailsComponent {
|
|
|
9877
9905
|
// console.log('Activity', res.Data);
|
|
9878
9906
|
});
|
|
9879
9907
|
(error) => {
|
|
9880
|
-
|
|
9908
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
9881
9909
|
};
|
|
9882
9910
|
}
|
|
9883
9911
|
setTimeline() {
|
|
@@ -9935,7 +9963,7 @@ class SupportRequestDetailsComponent {
|
|
|
9935
9963
|
}, (error) => {
|
|
9936
9964
|
console.log(error);
|
|
9937
9965
|
this.loadGrid([], 0);
|
|
9938
|
-
Swal.fire(
|
|
9966
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
9939
9967
|
});
|
|
9940
9968
|
}
|
|
9941
9969
|
}
|
|
@@ -9983,7 +10011,7 @@ class SupportRequestDetailsComponent {
|
|
|
9983
10011
|
this.wfStageAction = res;
|
|
9984
10012
|
// console.log(res);
|
|
9985
10013
|
}, (error) => {
|
|
9986
|
-
|
|
10014
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
9987
10015
|
});
|
|
9988
10016
|
}
|
|
9989
10017
|
getStatusField(data) {
|
|
@@ -10049,12 +10077,7 @@ class SupportRequestDetailsComponent {
|
|
|
10049
10077
|
this.closeModelPopup();
|
|
10050
10078
|
this.taskService.showCommentPopup = false;
|
|
10051
10079
|
this.taskService.close();
|
|
10052
|
-
|
|
10053
|
-
Swal.fire({
|
|
10054
|
-
title: this.translatePipe.transform(error.error),
|
|
10055
|
-
});
|
|
10056
|
-
// alert("err");
|
|
10057
|
-
// error.error
|
|
10080
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
10058
10081
|
});
|
|
10059
10082
|
}
|
|
10060
10083
|
getAssignmentByRefRecIdList(Criteria) {
|
|
@@ -10066,11 +10089,7 @@ class SupportRequestDetailsComponent {
|
|
|
10066
10089
|
this.loadGrid(x.Data, x.TotalCount);
|
|
10067
10090
|
this.globalService.dataLoader = false;
|
|
10068
10091
|
}, (error) => {
|
|
10069
|
-
|
|
10070
|
-
// error.error
|
|
10071
|
-
Swal.fire({
|
|
10072
|
-
title: this.translatePipe.transform(error.error),
|
|
10073
|
-
});
|
|
10092
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
10074
10093
|
});
|
|
10075
10094
|
}
|
|
10076
10095
|
}
|
|
@@ -10369,9 +10388,7 @@ class CaseListComponent {
|
|
|
10369
10388
|
this.getPageCount();
|
|
10370
10389
|
}, (error) => {
|
|
10371
10390
|
console.log(error);
|
|
10372
|
-
Swal.fire(
|
|
10373
|
-
title: this.translatePipe.transform(error.error),
|
|
10374
|
-
});
|
|
10391
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
10375
10392
|
});
|
|
10376
10393
|
}
|
|
10377
10394
|
loadGrid(data, TotalRecord) {
|
|
@@ -10449,6 +10466,7 @@ class CaseListComponent {
|
|
|
10449
10466
|
}
|
|
10450
10467
|
}, (error) => {
|
|
10451
10468
|
console.log(error);
|
|
10469
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
10452
10470
|
});
|
|
10453
10471
|
}
|
|
10454
10472
|
getActiveEntityForm() {
|
|
@@ -10457,6 +10475,7 @@ class CaseListComponent {
|
|
|
10457
10475
|
this.getFormList();
|
|
10458
10476
|
}, (error) => {
|
|
10459
10477
|
console.log(error);
|
|
10478
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
10460
10479
|
});
|
|
10461
10480
|
}
|
|
10462
10481
|
getFormList() {
|
|
@@ -10497,6 +10516,7 @@ class CaseListComponent {
|
|
|
10497
10516
|
closePopupCreateView(Type, Data) {
|
|
10498
10517
|
this.CreateItemId = null;
|
|
10499
10518
|
this.isShowCreateRequest = false;
|
|
10519
|
+
this.openDetailsPopup(Data, true);
|
|
10500
10520
|
}
|
|
10501
10521
|
getPaginationListData(pageNo, pageSize) {
|
|
10502
10522
|
this.pageNo = pageNo;
|
|
@@ -10511,11 +10531,14 @@ class CaseListComponent {
|
|
|
10511
10531
|
getPageCount() {
|
|
10512
10532
|
this.pageCount = Math.ceil(this.totalRecordCount / this.pageSize);
|
|
10513
10533
|
}
|
|
10514
|
-
openDetailsPopup(data) {
|
|
10534
|
+
openDetailsPopup(data, afterCreate) {
|
|
10515
10535
|
this.isDetails = true;
|
|
10516
10536
|
this.CaseId = data.CaseId;
|
|
10517
10537
|
this.detailsRecId = data.RecId; // RefRecId is the main recid
|
|
10518
10538
|
this.detailsEntityTypeRecId = data.EntityTypeRecId;
|
|
10539
|
+
if (afterCreate) {
|
|
10540
|
+
this.detailsEntityTypeRecId = (data?.EntityTypeId ? data.EntityTypeId : this.EntityTypeId);
|
|
10541
|
+
}
|
|
10519
10542
|
this.supportService.IsShowBackBtn = true;
|
|
10520
10543
|
this.displayPopupDetailView = true;
|
|
10521
10544
|
}
|
|
@@ -10585,7 +10608,7 @@ class CaseListComponent {
|
|
|
10585
10608
|
// console.log(res.Data);
|
|
10586
10609
|
}, (error) => {
|
|
10587
10610
|
console.log(error);
|
|
10588
|
-
Swal.fire(
|
|
10611
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
10589
10612
|
});
|
|
10590
10613
|
}
|
|
10591
10614
|
selectStage(item) {
|
|
@@ -10607,7 +10630,7 @@ class CaseListComponent {
|
|
|
10607
10630
|
this.wfActionData = res;
|
|
10608
10631
|
// console.log(res);
|
|
10609
10632
|
}, (error) => {
|
|
10610
|
-
|
|
10633
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
10611
10634
|
});
|
|
10612
10635
|
}
|
|
10613
10636
|
getStatusField(data) {
|
|
@@ -10657,20 +10680,7 @@ class CaseListComponent {
|
|
|
10657
10680
|
this.getListDatas(this.Searchcriteria);
|
|
10658
10681
|
// console.log(res);
|
|
10659
10682
|
}, (error) => {
|
|
10660
|
-
|
|
10661
|
-
if (error.error?.status == false) {
|
|
10662
|
-
let msg = JSON.parse(error.error?.msg);
|
|
10663
|
-
if (msg && msg.msg) {
|
|
10664
|
-
msg = msg.msg;
|
|
10665
|
-
}
|
|
10666
|
-
else {
|
|
10667
|
-
msg = error.error?.msg;
|
|
10668
|
-
}
|
|
10669
|
-
Swal.fire(this.translatePipe.transform(msg));
|
|
10670
|
-
}
|
|
10671
|
-
else {
|
|
10672
|
-
Swal.fire(this.translatePipe.transform(error.ExceptionMessage), this.translatePipe.transform(error.message));
|
|
10673
|
-
}
|
|
10683
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
10674
10684
|
});
|
|
10675
10685
|
}
|
|
10676
10686
|
slider(direction, Id) {
|
|
@@ -10768,9 +10778,7 @@ class SelfServiceFlowComponent {
|
|
|
10768
10778
|
});
|
|
10769
10779
|
}, (error) => {
|
|
10770
10780
|
console.log(error);
|
|
10771
|
-
Swal.fire(
|
|
10772
|
-
title: this.translatePipe.transform(error.error),
|
|
10773
|
-
});
|
|
10781
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
10774
10782
|
});
|
|
10775
10783
|
}
|
|
10776
10784
|
selectCase(item) {
|
|
@@ -11188,9 +11196,7 @@ class RequestFlowComponent {
|
|
|
11188
11196
|
});
|
|
11189
11197
|
}, (error) => {
|
|
11190
11198
|
console.log(error);
|
|
11191
|
-
Swal.fire(
|
|
11192
|
-
title: this.translatePipe.transform(error.error),
|
|
11193
|
-
});
|
|
11199
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
11194
11200
|
});
|
|
11195
11201
|
}
|
|
11196
11202
|
getIssueGroupRequesterMappingByRequesterType() {
|
|
@@ -11206,9 +11212,7 @@ class RequestFlowComponent {
|
|
|
11206
11212
|
});
|
|
11207
11213
|
}, (error) => {
|
|
11208
11214
|
console.log(error);
|
|
11209
|
-
Swal.fire(
|
|
11210
|
-
title: this.translatePipe.transform(error.error),
|
|
11211
|
-
});
|
|
11215
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
11212
11216
|
});
|
|
11213
11217
|
}
|
|
11214
11218
|
getDropDownForIssueSubGroup() {
|
|
@@ -11221,9 +11225,7 @@ class RequestFlowComponent {
|
|
|
11221
11225
|
this.IssueSubGroupDDL = res;
|
|
11222
11226
|
}, (error) => {
|
|
11223
11227
|
console.log(error);
|
|
11224
|
-
Swal.fire(
|
|
11225
|
-
title: this.translatePipe.transform(error.error),
|
|
11226
|
-
});
|
|
11228
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
11227
11229
|
});
|
|
11228
11230
|
}
|
|
11229
11231
|
}
|
|
@@ -11263,9 +11265,7 @@ class RequestFlowComponent {
|
|
|
11263
11265
|
//this.getCaseType();
|
|
11264
11266
|
}, (error) => {
|
|
11265
11267
|
console.log(error);
|
|
11266
|
-
Swal.fire(
|
|
11267
|
-
title: this.translatePipe.transform(error.error),
|
|
11268
|
-
});
|
|
11268
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
11269
11269
|
});
|
|
11270
11270
|
}
|
|
11271
11271
|
getIssuebyissuerequester() {
|
|
@@ -11287,10 +11287,7 @@ class RequestFlowComponent {
|
|
|
11287
11287
|
}
|
|
11288
11288
|
}, (error) => {
|
|
11289
11289
|
console.log(error);
|
|
11290
|
-
Swal.fire(
|
|
11291
|
-
title: this.translatePipe.transform(error.error),
|
|
11292
|
-
});
|
|
11293
|
-
// this.caseTypeList = [{ RecId: 43, Description: 'Vacation Request' }];
|
|
11290
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
11294
11291
|
});
|
|
11295
11292
|
}
|
|
11296
11293
|
changeTab(id) {
|
|
@@ -11355,9 +11352,7 @@ class RequestFlowComponent {
|
|
|
11355
11352
|
this.loadGrid(res.Data, res.TotalCount);
|
|
11356
11353
|
}, (error) => {
|
|
11357
11354
|
console.log(error);
|
|
11358
|
-
Swal.fire(
|
|
11359
|
-
title: this.translatePipe.transform(error.error),
|
|
11360
|
-
});
|
|
11355
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
11361
11356
|
});
|
|
11362
11357
|
}
|
|
11363
11358
|
getStatusListCount() {
|
|
@@ -11443,6 +11438,7 @@ class RequestFlowComponent {
|
|
|
11443
11438
|
// this.openIssueGroup();
|
|
11444
11439
|
}, (error) => {
|
|
11445
11440
|
console.log(error);
|
|
11441
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
11446
11442
|
});
|
|
11447
11443
|
}
|
|
11448
11444
|
closeModel() {
|
|
@@ -11611,6 +11607,7 @@ class RequestFlowComponent {
|
|
|
11611
11607
|
this.RequesterField = this.SupportRequestUser.FieldTypeIdEn;
|
|
11612
11608
|
}, (error) => {
|
|
11613
11609
|
console.log(error);
|
|
11610
|
+
Swal.fire(errorMessageType(error), "", 'error');
|
|
11614
11611
|
});
|
|
11615
11612
|
}
|
|
11616
11613
|
getgridCheckedData(item) {
|