arco-support-request 0.0.63 → 0.0.64
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/arco-support-request.metadata.json +1 -1
- package/bundles/arco-support-request.umd.js +35 -7
- package/bundles/arco-support-request.umd.js.map +1 -1
- package/bundles/arco-support-request.umd.min.js +1 -1
- package/bundles/arco-support-request.umd.min.js.map +1 -1
- package/esm2015/lib/entity-type-setup/service/entity-type-setup.service.js +3 -3
- package/esm2015/lib/support-request/request-flow/request-flow.component.js +23 -1
- package/esm2015/lib/support-request/support-request-details/support-request-details.component.js +10 -4
- package/fesm2015/arco-support-request.js +33 -5
- package/fesm2015/arco-support-request.js.map +1 -1
- package/lib/entity-type-setup/service/entity-type-setup.service.d.ts +2 -2
- package/lib/support-request/request-flow/request-flow.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -3242,7 +3242,7 @@
|
|
|
3242
3242
|
var url_ = environment.ServerUrl +
|
|
3243
3243
|
'entitytype/ticket/wfAction?entitytyperecid=' +
|
|
3244
3244
|
EntityTypeId;
|
|
3245
|
-
return this.http.post(url_, obj
|
|
3245
|
+
return this.http.post(url_, obj);
|
|
3246
3246
|
};
|
|
3247
3247
|
EntityTypeSetupService.prototype.urlPostTaskWfAction = function (RecIds, stageId, action, comments, updateFileds, updateFieldsObject, EntityTypeId) {
|
|
3248
3248
|
var updateFiledsString = JSON.stringify(updateFileds);
|
|
@@ -3258,7 +3258,7 @@
|
|
|
3258
3258
|
var url_ = environment.ServerUrl +
|
|
3259
3259
|
'entitytype/ticket/wfAction?entitytyperecid=' +
|
|
3260
3260
|
EntityTypeId;
|
|
3261
|
-
return this.http.post(url_, obj
|
|
3261
|
+
return this.http.post(url_, obj);
|
|
3262
3262
|
};
|
|
3263
3263
|
EntityTypeSetupService.prototype.getWfInsProcessStageComments = function (criteriastr, EntityTypeId, refRecId) {
|
|
3264
3264
|
var wfStagelist = EntityTypeDynamic.Getwfinsprocessstagecomments(EntityTypeId, refRecId);
|
|
@@ -5160,11 +5160,17 @@
|
|
|
5160
5160
|
_this.getTaskDetails();
|
|
5161
5161
|
console.log(res);
|
|
5162
5162
|
}, function (error) {
|
|
5163
|
-
var _a, _b;
|
|
5163
|
+
var _a, _b, _c;
|
|
5164
5164
|
error.error;
|
|
5165
|
-
if ((_a = error.error) === null || _a === void 0 ? void 0 : _a.
|
|
5165
|
+
if (((_a = error.error) === null || _a === void 0 ? void 0 : _a.status) == false) {
|
|
5166
5166
|
var msg = JSON.parse((_b = error.error) === null || _b === void 0 ? void 0 : _b.msg);
|
|
5167
|
-
|
|
5167
|
+
if (msg && msg.msg) {
|
|
5168
|
+
msg = msg.msg;
|
|
5169
|
+
}
|
|
5170
|
+
else {
|
|
5171
|
+
msg = (_c = error.error) === null || _c === void 0 ? void 0 : _c.msg;
|
|
5172
|
+
}
|
|
5173
|
+
Swal__default['default'].fire(_this.translatePipe.transform(msg));
|
|
5168
5174
|
}
|
|
5169
5175
|
else {
|
|
5170
5176
|
Swal__default['default'].fire(_this.translatePipe.transform(error.ExceptionMessage), _this.translatePipe.transform(error.message));
|
|
@@ -5257,11 +5263,11 @@
|
|
|
5257
5263
|
});
|
|
5258
5264
|
};
|
|
5259
5265
|
SupportRequestDetailsComponent.prototype.setTimeline = function () {
|
|
5260
|
-
var
|
|
5266
|
+
var _d;
|
|
5261
5267
|
this.TimelineList = [];
|
|
5262
5268
|
if (Array.isArray(this.ActivityType)) {
|
|
5263
5269
|
if (this.ActivityType.length > 0)
|
|
5264
|
-
(
|
|
5270
|
+
(_d = this.TimelineList).push.apply(_d, __spread(this.ActivityType));
|
|
5265
5271
|
}
|
|
5266
5272
|
// if (Array.isArray(this.TaskList)) {
|
|
5267
5273
|
// if (this.TaskList.length > 0) this.TimelineList.push(...this.TaskList);
|
|
@@ -5957,6 +5963,7 @@
|
|
|
5957
5963
|
this.entityTypeSetup = entityTypeSetup;
|
|
5958
5964
|
this.globalService = globalService;
|
|
5959
5965
|
this.document = document;
|
|
5966
|
+
this.issuType = 7;
|
|
5960
5967
|
this.Language = 'Eng';
|
|
5961
5968
|
// @Input() CreatedByUserType;
|
|
5962
5969
|
this.Channel = '3';
|
|
@@ -6048,6 +6055,17 @@
|
|
|
6048
6055
|
};
|
|
6049
6056
|
RequestFlowComponent.prototype.ngOnInit = function () {
|
|
6050
6057
|
var _this = this;
|
|
6058
|
+
if (this.PageType == "Complaint") {
|
|
6059
|
+
this.issuType = 2;
|
|
6060
|
+
}
|
|
6061
|
+
else if (this.PageType == "Request") {
|
|
6062
|
+
this.issuType = 7;
|
|
6063
|
+
}
|
|
6064
|
+
else if (this.PageType == "SelfService") {
|
|
6065
|
+
this.issuType = 11;
|
|
6066
|
+
}
|
|
6067
|
+
else
|
|
6068
|
+
this.issuType = 7;
|
|
6051
6069
|
if (this.RequesterTypeId == "0000001") {
|
|
6052
6070
|
this.RequesterTypeIdEn = "IndividualCustomer";
|
|
6053
6071
|
}
|
|
@@ -6358,6 +6376,13 @@
|
|
|
6358
6376
|
var _this = this;
|
|
6359
6377
|
// alert("get");
|
|
6360
6378
|
this.storeCriteria = Criteria;
|
|
6379
|
+
var filtervals = {
|
|
6380
|
+
Field: 'IssueType',
|
|
6381
|
+
TableAlias: '',
|
|
6382
|
+
Operator: '',
|
|
6383
|
+
Value: this.issuType,
|
|
6384
|
+
};
|
|
6385
|
+
this.Searchcriteria.Where.push(filtervals);
|
|
6361
6386
|
// let SupportRequestId = localStorage.getItem("RequesterTypeId");
|
|
6362
6387
|
// this.entityTypeSetup.urlGetDynamicTicket(Criteria, this.EntityTypeId)
|
|
6363
6388
|
this.entityTypeSetup.getsupportRequestData(Criteria, this.RequesterTypeId, this.RequesterId, this.Source, this.StatusListValue).subscribe(function (res) {
|
|
@@ -6440,6 +6465,9 @@
|
|
|
6440
6465
|
this.IssueTypeDDL = [];
|
|
6441
6466
|
this.supportService.getIssueGroupRequesterMappingByRequesterType(this.RequesterTypeId).subscribe(function (res) {
|
|
6442
6467
|
_this.IssueTypeDDL = res;
|
|
6468
|
+
if (res) {
|
|
6469
|
+
_this.IssueTypeDDL = res.filter(function (x) { return x.IssueType == _this.issuType; });
|
|
6470
|
+
}
|
|
6443
6471
|
// this.IssueTypeDDL = this.IssueTypeDDL.map((x) => {
|
|
6444
6472
|
// x.IssueType = x.LookupValueId;
|
|
6445
6473
|
// x.IssueTypeEn = x.Description;
|