ntk-cms-api 20.25.41 → 20.25.43

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.
@@ -1582,7 +1582,7 @@ class ApiCmsServerBase extends ApiServerBase {
1582
1582
  return this.http
1583
1583
  .get(this.getBaseUrl() +
1584
1584
  this.getModuleControllerUrl() +
1585
- '/SetStatus/' +
1585
+ '/SetRecordStatus/' +
1586
1586
  id +
1587
1587
  '/' +
1588
1588
  recordStatus, {
@@ -1592,6 +1592,21 @@ class ApiCmsServerBase extends ApiServerBase {
1592
1592
  return ret;
1593
1593
  }));
1594
1594
  }
1595
+ ServiceSetAdminStatus(id, recordAdminStatus) {
1596
+ // this.loadingStatus=true;
1597
+ return this.http
1598
+ .get(this.getBaseUrl() +
1599
+ this.getModuleControllerUrl() +
1600
+ '/SetRecordAdminStatus/' +
1601
+ id +
1602
+ '/' +
1603
+ recordAdminStatus, {
1604
+ headers: this.getHeaders(),
1605
+ })
1606
+ .pipe(retry(this.configApiRetry), map((ret) => {
1607
+ return ret;
1608
+ }));
1609
+ }
1595
1610
  ServiceGetExist(model) {
1596
1611
  return this.http
1597
1612
  .post(this.getBaseUrl() + this.getModuleControllerUrl() + '/exist', model, {
@@ -11384,7 +11399,7 @@ class EstatePropertyModel extends BaseModuleEntity {
11384
11399
  class EstatePropertyProjectModel extends BaseModuleEntity {
11385
11400
  constructor() {
11386
11401
  super(...arguments);
11387
- this.mainAdminRecordStatus = RecordStatusEnum.Pending;
11402
+ this.mainAdminRecordStatus = RecordAdminStatusEnum.Pending;
11388
11403
  // * About */
11389
11404
  }
11390
11405
  }