kts-components-document-access-point 1.1.25 → 1.1.26

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/dist/index.esm.js CHANGED
@@ -2710,7 +2710,7 @@ function modalcomfirm(props) {
2710
2710
  case 0:
2711
2711
  _context.next = 2;
2712
2712
  return (_DocumentsService$ins = DocumentsService.instance.service) === null || _DocumentsService$ins === void 0 ? void 0 : _DocumentsService$ins.call({
2713
- url: '/dap/participant/listBySubjectId',
2713
+ url: '/dap/web/participant/listBySubjectId',
2714
2714
  data: {},
2715
2715
  type: 'get'
2716
2716
  });
@@ -2751,7 +2751,7 @@ function modalcomfirm(props) {
2751
2751
  });
2752
2752
  _context2.next = 3;
2753
2753
  return (_DocumentsService$ins2 = DocumentsService.instance.service) === null || _DocumentsService$ins2 === void 0 ? void 0 : _DocumentsService$ins2.call({
2754
- url: '/dap/schema/config/batchSend',
2754
+ url: '/dap/web/schema/config/batchSend',
2755
2755
  data: data,
2756
2756
  type: 'post'
2757
2757
  });
@@ -2863,7 +2863,7 @@ var PageHeader = (function () {
2863
2863
  case 0:
2864
2864
  _context.next = 2;
2865
2865
  return (_DocumentsService$ins = DocumentsService.instance.service) === null || _DocumentsService$ins === void 0 ? void 0 : _DocumentsService$ins.call({
2866
- url: '/dap/schema/config/getDefaultTypeList',
2866
+ url: '/dap/web/schema/config/getDefaultTypeList',
2867
2867
  data: {},
2868
2868
  type: 'get'
2869
2869
  });
@@ -3292,7 +3292,7 @@ function validaterule(props) {
3292
3292
  case 0:
3293
3293
  _context.next = 2;
3294
3294
  return (_DocumentsService$ins = DocumentsService.instance.service) === null || _DocumentsService$ins === void 0 ? void 0 : _DocumentsService$ins.call({
3295
- url: '/dap/schema/config/queryConfigSchemaPage',
3295
+ url: '/dap/web/schema/config/queryConfigSchemaPage',
3296
3296
  data: _objectSpread2(_objectSpread2({}, params), pageParams),
3297
3297
  type: 'post'
3298
3298
  });
@@ -3333,7 +3333,7 @@ function validaterule(props) {
3333
3333
  case 0:
3334
3334
  _context2.next = 2;
3335
3335
  return (_DocumentsService$ins2 = DocumentsService.instance.service) === null || _DocumentsService$ins2 === void 0 ? void 0 : _DocumentsService$ins2.call({
3336
- url: '/dap/schema/config/getDefaultTypeList',
3336
+ url: '/dap/web/schema/config/getDefaultTypeList',
3337
3337
  data: {},
3338
3338
  type: 'get'
3339
3339
  });
@@ -3543,7 +3543,7 @@ function validaterule(props) {
3543
3543
  }())();
3544
3544
  _context6.next = 4;
3545
3545
  return (_DocumentsService$ins3 = DocumentsService.instance.service) === null || _DocumentsService$ins3 === void 0 ? void 0 : _DocumentsService$ins3.call({
3546
- url: '/dap/participant/listBySubjectId',
3546
+ url: '/dap/web/participant/listBySubjectId',
3547
3547
  data: {},
3548
3548
  type: 'get'
3549
3549
  });
@@ -3720,7 +3720,7 @@ function validaterule$1(props) {
3720
3720
  case 0:
3721
3721
  _context.next = 2;
3722
3722
  return (_DocumentsService$ins = DocumentsService.instance.service) === null || _DocumentsService$ins === void 0 ? void 0 : _DocumentsService$ins.call({
3723
- url: '/dap/schema/config/querySendRecordPage',
3723
+ url: '/dap/web/schema/config/querySendRecordPage',
3724
3724
  data: _objectSpread2(_objectSpread2({}, params), pageParams),
3725
3725
  type: 'post'
3726
3726
  });
@@ -3761,7 +3761,7 @@ function validaterule$1(props) {
3761
3761
  case 0:
3762
3762
  _context2.next = 2;
3763
3763
  return (_DocumentsService$ins2 = DocumentsService.instance.service) === null || _DocumentsService$ins2 === void 0 ? void 0 : _DocumentsService$ins2.call({
3764
- url: '/dap/schema/config/getDefaultTypeList',
3764
+ url: '/dap/web/schema/config/getDefaultTypeList',
3765
3765
  data: {},
3766
3766
  type: 'get'
3767
3767
  });
@@ -4213,7 +4213,7 @@ function Rule(props) {
4213
4213
  return _context.abrupt("return", false);
4214
4214
 
4215
4215
  case 2:
4216
- url = type === 'config' ? '/dap/schema/config/getConfigOneById' : '/dap/schema/config/getRecordOneById';
4216
+ url = type === 'config' ? '/dap/web/schema/config/getConfigOneById' : '/dap/web/schema/config/getRecordOneById';
4217
4217
  _context.next = 5;
4218
4218
  return (_DocumentsService$ins = DocumentsService.instance.service) === null || _DocumentsService$ins === void 0 ? void 0 : _DocumentsService$ins.call({
4219
4219
  url: url,
@@ -4269,7 +4269,7 @@ function Rule(props) {
4269
4269
  case 2:
4270
4270
  _context2.next = 4;
4271
4271
  return (_DocumentsService$ins2 = DocumentsService.instance.service) === null || _DocumentsService$ins2 === void 0 ? void 0 : _DocumentsService$ins2.call({
4272
- url: '/dap/schema/config/getDefaultTypeTemplate',
4272
+ url: '/dap/web/schema/config/getDefaultTypeTemplate',
4273
4273
  data: {
4274
4274
  type: queryType,
4275
4275
  profile: profile
@@ -4309,7 +4309,7 @@ function Rule(props) {
4309
4309
  case 0:
4310
4310
  _context3.next = 2;
4311
4311
  return (_DocumentsService$ins3 = DocumentsService.instance.service) === null || _DocumentsService$ins3 === void 0 ? void 0 : _DocumentsService$ins3.call({
4312
- url: '/dap/schema/config/getDefaultTypeList',
4312
+ url: '/dap/web/schema/config/getDefaultTypeList',
4313
4313
  data: null,
4314
4314
  type: 'get'
4315
4315
  });
@@ -4353,12 +4353,12 @@ function Rule(props) {
4353
4353
  while (1) {
4354
4354
  switch (_context4.prev = _context4.next) {
4355
4355
  case 0:
4356
- url = '/dap/schema/config/save';
4356
+ url = '/dap/web/schema/config/save';
4357
4357
  data = _objectSpread2({}, schema);
4358
4358
  formValue = form.getFieldsValue();
4359
4359
 
4360
4360
  if (record && record.id) {
4361
- url = '/dap/schema/config/update';
4361
+ url = '/dap/web/schema/config/update';
4362
4362
  data = _objectSpread2(_objectSpread2({}, record), {}, {
4363
4363
  schemaContent: JSON.stringify(data)
4364
4364
  }, formValue);
@@ -4420,7 +4420,7 @@ function Rule(props) {
4420
4420
  case 0:
4421
4421
  _context5.next = 2;
4422
4422
  return (_DocumentsService$ins5 = DocumentsService.instance.service) === null || _DocumentsService$ins5 === void 0 ? void 0 : _DocumentsService$ins5.call({
4423
- url: '/dap/participant/listBySubjectId',
4423
+ url: '/dap/web/participant/listBySubjectId',
4424
4424
  data: null,
4425
4425
  type: 'get'
4426
4426
  });
@@ -4457,7 +4457,7 @@ function Rule(props) {
4457
4457
  });
4458
4458
  _context6.next = 3;
4459
4459
  return (_DocumentsService$ins6 = DocumentsService.instance.service) === null || _DocumentsService$ins6 === void 0 ? void 0 : _DocumentsService$ins6.call({
4460
- url: '/dap/schema/config/batchSend',
4460
+ url: '/dap/web/schema/config/batchSend',
4461
4461
  data: [data],
4462
4462
  type: 'post'
4463
4463
  });
@@ -4770,7 +4770,7 @@ var getWhitelist = /*#__PURE__*/(function () {
4770
4770
  case 0:
4771
4771
  _context.next = 2;
4772
4772
  return (_DocumentsService$ins = DocumentsService.instance.service) === null || _DocumentsService$ins === void 0 ? void 0 : _DocumentsService$ins.call({
4773
- url: '/dap/whiteblacklist/config/queryWhiteListPage',
4773
+ url: '/dap/web/whiteblacklist/config/queryWhiteListPage',
4774
4774
  data: params,
4775
4775
  type: 'post'
4776
4776
  });
@@ -4823,7 +4823,7 @@ var getBlacklist = /*#__PURE__*/(function () {
4823
4823
  case 0:
4824
4824
  _context.next = 2;
4825
4825
  return (_DocumentsService$ins = DocumentsService.instance.service) === null || _DocumentsService$ins === void 0 ? void 0 : _DocumentsService$ins.call({
4826
- url: '/dap/whiteblacklist/config/queryBlackListPage',
4826
+ url: '/dap/web/whiteblacklist/config/queryBlackListPage',
4827
4827
  data: params,
4828
4828
  type: 'post'
4829
4829
  });
@@ -4876,7 +4876,7 @@ var addWhite = /*#__PURE__*/(function () {
4876
4876
  case 0:
4877
4877
  _context.next = 2;
4878
4878
  return (_DocumentsService$ins = DocumentsService.instance.service) === null || _DocumentsService$ins === void 0 ? void 0 : _DocumentsService$ins.call({
4879
- url: '/dap/whiteblacklist/config/addBatchWhiteList',
4879
+ url: '/dap/web/whiteblacklist/config/addBatchWhiteList',
4880
4880
  data: params,
4881
4881
  type: 'post'
4882
4882
  });
@@ -4924,7 +4924,7 @@ var enablewhitelist = /*#__PURE__*/(function () {
4924
4924
  case 0:
4925
4925
  _context.next = 2;
4926
4926
  return (_DocumentsService$ins = DocumentsService.instance.service) === null || _DocumentsService$ins === void 0 ? void 0 : _DocumentsService$ins.call({
4927
- url: '/dap/whiteblacklist/config/enableOrDisableWhiteList?status=' + (params === null || params === void 0 ? void 0 : params.flag),
4927
+ url: '/dap/web/whiteblacklist/config/enableOrDisableWhiteList?status=' + (params === null || params === void 0 ? void 0 : params.flag),
4928
4928
  data: params === null || params === void 0 ? void 0 : params.didList,
4929
4929
  type: 'post'
4930
4930
  });
@@ -4972,7 +4972,7 @@ var enablelist = /*#__PURE__*/(function () {
4972
4972
  case 0:
4973
4973
  _context.next = 2;
4974
4974
  return (_DocumentsService$ins = DocumentsService.instance.service) === null || _DocumentsService$ins === void 0 ? void 0 : _DocumentsService$ins.call({
4975
- url: '/dap/whiteblacklist/config/enableList?status=' + (params === null || params === void 0 ? void 0 : params.status),
4975
+ url: '/dap/web/whiteblacklist/config/enableList?status=' + (params === null || params === void 0 ? void 0 : params.status),
4976
4976
  data: params === null || params === void 0 ? void 0 : params.didList,
4977
4977
  type: 'post'
4978
4978
  });
@@ -5020,7 +5020,7 @@ var enableblacklist = /*#__PURE__*/(function () {
5020
5020
  case 0:
5021
5021
  _context.next = 2;
5022
5022
  return (_DocumentsService$ins = DocumentsService.instance.service) === null || _DocumentsService$ins === void 0 ? void 0 : _DocumentsService$ins.call({
5023
- url: '/dap/whiteblacklist/config/enableOrDisableBlackList?status=' + (params === null || params === void 0 ? void 0 : params.flag),
5023
+ url: '/dap/web/whiteblacklist/config/enableOrDisableBlackList?status=' + (params === null || params === void 0 ? void 0 : params.flag),
5024
5024
  data: params === null || params === void 0 ? void 0 : params.didList,
5025
5025
  type: 'post'
5026
5026
  });
@@ -5068,7 +5068,7 @@ var checkclient = /*#__PURE__*/(function () {
5068
5068
  case 0:
5069
5069
  _context.next = 2;
5070
5070
  return (_DocumentsService$ins = DocumentsService.instance.service) === null || _DocumentsService$ins === void 0 ? void 0 : _DocumentsService$ins.call({
5071
- url: '/dap/whiteblacklist/config/showButton',
5071
+ url: '/dap/web/whiteblacklist/config/showButton',
5072
5072
  data: {},
5073
5073
  type: 'post'
5074
5074
  });
@@ -5114,7 +5114,7 @@ var synclist = /*#__PURE__*/(function () {
5114
5114
  case 0:
5115
5115
  _context.next = 2;
5116
5116
  return (_DocumentsService$ins = DocumentsService.instance.service) === null || _DocumentsService$ins === void 0 ? void 0 : _DocumentsService$ins.call({
5117
- url: '/dap/whiteblacklist/config/querySyncPage',
5117
+ url: '/dap/web/whiteblacklist/config/querySyncPage',
5118
5118
  data: params,
5119
5119
  type: 'post'
5120
5120
  });
@@ -5161,7 +5161,7 @@ var getmode = /*#__PURE__*/(function () {
5161
5161
  case 0:
5162
5162
  _context.next = 2;
5163
5163
  return (_DocumentsService$ins = DocumentsService.instance.service) === null || _DocumentsService$ins === void 0 ? void 0 : _DocumentsService$ins.call({
5164
- url: '/dap/whiteblacklist/config/whitelistSwitchStatus',
5164
+ url: '/dap/web/whiteblacklist/config/whitelistSwitchStatus',
5165
5165
  data: null,
5166
5166
  type: 'get'
5167
5167
  });
@@ -5205,7 +5205,7 @@ var setmode = /*#__PURE__*/(function () {
5205
5205
  case 0:
5206
5206
  _context.next = 2;
5207
5207
  return (_DocumentsService$ins = DocumentsService.instance.service) === null || _DocumentsService$ins === void 0 ? void 0 : _DocumentsService$ins.call({
5208
- url: '/dap/whiteblacklist/config/updateWhitelistSwitchStatus',
5208
+ url: '/dap/web/whiteblacklist/config/updateWhitelistSwitchStatus',
5209
5209
  data: params,
5210
5210
  type: 'get'
5211
5211
  });
@@ -5249,7 +5249,7 @@ var addBlack = /*#__PURE__*/(function () {
5249
5249
  case 0:
5250
5250
  _context.next = 2;
5251
5251
  return (_DocumentsService$ins = DocumentsService.instance.service) === null || _DocumentsService$ins === void 0 ? void 0 : _DocumentsService$ins.call({
5252
- url: '/dap/whiteblacklist/config/addBatchBlackList',
5252
+ url: '/dap/web/whiteblacklist/config/addBatchBlackList',
5253
5253
  data: params,
5254
5254
  type: 'post'
5255
5255
  });
package/dist/index.js CHANGED
@@ -2724,7 +2724,7 @@ function modalcomfirm(props) {
2724
2724
  case 0:
2725
2725
  _context.next = 2;
2726
2726
  return (_DocumentsService$ins = DocumentsService.instance.service) === null || _DocumentsService$ins === void 0 ? void 0 : _DocumentsService$ins.call({
2727
- url: '/dap/participant/listBySubjectId',
2727
+ url: '/dap/web/participant/listBySubjectId',
2728
2728
  data: {},
2729
2729
  type: 'get'
2730
2730
  });
@@ -2765,7 +2765,7 @@ function modalcomfirm(props) {
2765
2765
  });
2766
2766
  _context2.next = 3;
2767
2767
  return (_DocumentsService$ins2 = DocumentsService.instance.service) === null || _DocumentsService$ins2 === void 0 ? void 0 : _DocumentsService$ins2.call({
2768
- url: '/dap/schema/config/batchSend',
2768
+ url: '/dap/web/schema/config/batchSend',
2769
2769
  data: data,
2770
2770
  type: 'post'
2771
2771
  });
@@ -2877,7 +2877,7 @@ var PageHeader = (function () {
2877
2877
  case 0:
2878
2878
  _context.next = 2;
2879
2879
  return (_DocumentsService$ins = DocumentsService.instance.service) === null || _DocumentsService$ins === void 0 ? void 0 : _DocumentsService$ins.call({
2880
- url: '/dap/schema/config/getDefaultTypeList',
2880
+ url: '/dap/web/schema/config/getDefaultTypeList',
2881
2881
  data: {},
2882
2882
  type: 'get'
2883
2883
  });
@@ -3306,7 +3306,7 @@ function validaterule(props) {
3306
3306
  case 0:
3307
3307
  _context.next = 2;
3308
3308
  return (_DocumentsService$ins = DocumentsService.instance.service) === null || _DocumentsService$ins === void 0 ? void 0 : _DocumentsService$ins.call({
3309
- url: '/dap/schema/config/queryConfigSchemaPage',
3309
+ url: '/dap/web/schema/config/queryConfigSchemaPage',
3310
3310
  data: _objectSpread2(_objectSpread2({}, params), pageParams),
3311
3311
  type: 'post'
3312
3312
  });
@@ -3347,7 +3347,7 @@ function validaterule(props) {
3347
3347
  case 0:
3348
3348
  _context2.next = 2;
3349
3349
  return (_DocumentsService$ins2 = DocumentsService.instance.service) === null || _DocumentsService$ins2 === void 0 ? void 0 : _DocumentsService$ins2.call({
3350
- url: '/dap/schema/config/getDefaultTypeList',
3350
+ url: '/dap/web/schema/config/getDefaultTypeList',
3351
3351
  data: {},
3352
3352
  type: 'get'
3353
3353
  });
@@ -3557,7 +3557,7 @@ function validaterule(props) {
3557
3557
  }())();
3558
3558
  _context6.next = 4;
3559
3559
  return (_DocumentsService$ins3 = DocumentsService.instance.service) === null || _DocumentsService$ins3 === void 0 ? void 0 : _DocumentsService$ins3.call({
3560
- url: '/dap/participant/listBySubjectId',
3560
+ url: '/dap/web/participant/listBySubjectId',
3561
3561
  data: {},
3562
3562
  type: 'get'
3563
3563
  });
@@ -3734,7 +3734,7 @@ function validaterule$1(props) {
3734
3734
  case 0:
3735
3735
  _context.next = 2;
3736
3736
  return (_DocumentsService$ins = DocumentsService.instance.service) === null || _DocumentsService$ins === void 0 ? void 0 : _DocumentsService$ins.call({
3737
- url: '/dap/schema/config/querySendRecordPage',
3737
+ url: '/dap/web/schema/config/querySendRecordPage',
3738
3738
  data: _objectSpread2(_objectSpread2({}, params), pageParams),
3739
3739
  type: 'post'
3740
3740
  });
@@ -3775,7 +3775,7 @@ function validaterule$1(props) {
3775
3775
  case 0:
3776
3776
  _context2.next = 2;
3777
3777
  return (_DocumentsService$ins2 = DocumentsService.instance.service) === null || _DocumentsService$ins2 === void 0 ? void 0 : _DocumentsService$ins2.call({
3778
- url: '/dap/schema/config/getDefaultTypeList',
3778
+ url: '/dap/web/schema/config/getDefaultTypeList',
3779
3779
  data: {},
3780
3780
  type: 'get'
3781
3781
  });
@@ -4227,7 +4227,7 @@ function Rule(props) {
4227
4227
  return _context.abrupt("return", false);
4228
4228
 
4229
4229
  case 2:
4230
- url = type === 'config' ? '/dap/schema/config/getConfigOneById' : '/dap/schema/config/getRecordOneById';
4230
+ url = type === 'config' ? '/dap/web/schema/config/getConfigOneById' : '/dap/web/schema/config/getRecordOneById';
4231
4231
  _context.next = 5;
4232
4232
  return (_DocumentsService$ins = DocumentsService.instance.service) === null || _DocumentsService$ins === void 0 ? void 0 : _DocumentsService$ins.call({
4233
4233
  url: url,
@@ -4283,7 +4283,7 @@ function Rule(props) {
4283
4283
  case 2:
4284
4284
  _context2.next = 4;
4285
4285
  return (_DocumentsService$ins2 = DocumentsService.instance.service) === null || _DocumentsService$ins2 === void 0 ? void 0 : _DocumentsService$ins2.call({
4286
- url: '/dap/schema/config/getDefaultTypeTemplate',
4286
+ url: '/dap/web/schema/config/getDefaultTypeTemplate',
4287
4287
  data: {
4288
4288
  type: queryType,
4289
4289
  profile: profile
@@ -4323,7 +4323,7 @@ function Rule(props) {
4323
4323
  case 0:
4324
4324
  _context3.next = 2;
4325
4325
  return (_DocumentsService$ins3 = DocumentsService.instance.service) === null || _DocumentsService$ins3 === void 0 ? void 0 : _DocumentsService$ins3.call({
4326
- url: '/dap/schema/config/getDefaultTypeList',
4326
+ url: '/dap/web/schema/config/getDefaultTypeList',
4327
4327
  data: null,
4328
4328
  type: 'get'
4329
4329
  });
@@ -4367,12 +4367,12 @@ function Rule(props) {
4367
4367
  while (1) {
4368
4368
  switch (_context4.prev = _context4.next) {
4369
4369
  case 0:
4370
- url = '/dap/schema/config/save';
4370
+ url = '/dap/web/schema/config/save';
4371
4371
  data = _objectSpread2({}, schema);
4372
4372
  formValue = form.getFieldsValue();
4373
4373
 
4374
4374
  if (record && record.id) {
4375
- url = '/dap/schema/config/update';
4375
+ url = '/dap/web/schema/config/update';
4376
4376
  data = _objectSpread2(_objectSpread2({}, record), {}, {
4377
4377
  schemaContent: JSON.stringify(data)
4378
4378
  }, formValue);
@@ -4434,7 +4434,7 @@ function Rule(props) {
4434
4434
  case 0:
4435
4435
  _context5.next = 2;
4436
4436
  return (_DocumentsService$ins5 = DocumentsService.instance.service) === null || _DocumentsService$ins5 === void 0 ? void 0 : _DocumentsService$ins5.call({
4437
- url: '/dap/participant/listBySubjectId',
4437
+ url: '/dap/web/participant/listBySubjectId',
4438
4438
  data: null,
4439
4439
  type: 'get'
4440
4440
  });
@@ -4471,7 +4471,7 @@ function Rule(props) {
4471
4471
  });
4472
4472
  _context6.next = 3;
4473
4473
  return (_DocumentsService$ins6 = DocumentsService.instance.service) === null || _DocumentsService$ins6 === void 0 ? void 0 : _DocumentsService$ins6.call({
4474
- url: '/dap/schema/config/batchSend',
4474
+ url: '/dap/web/schema/config/batchSend',
4475
4475
  data: [data],
4476
4476
  type: 'post'
4477
4477
  });
@@ -4784,7 +4784,7 @@ var getWhitelist = /*#__PURE__*/(function () {
4784
4784
  case 0:
4785
4785
  _context.next = 2;
4786
4786
  return (_DocumentsService$ins = DocumentsService.instance.service) === null || _DocumentsService$ins === void 0 ? void 0 : _DocumentsService$ins.call({
4787
- url: '/dap/whiteblacklist/config/queryWhiteListPage',
4787
+ url: '/dap/web/whiteblacklist/config/queryWhiteListPage',
4788
4788
  data: params,
4789
4789
  type: 'post'
4790
4790
  });
@@ -4837,7 +4837,7 @@ var getBlacklist = /*#__PURE__*/(function () {
4837
4837
  case 0:
4838
4838
  _context.next = 2;
4839
4839
  return (_DocumentsService$ins = DocumentsService.instance.service) === null || _DocumentsService$ins === void 0 ? void 0 : _DocumentsService$ins.call({
4840
- url: '/dap/whiteblacklist/config/queryBlackListPage',
4840
+ url: '/dap/web/whiteblacklist/config/queryBlackListPage',
4841
4841
  data: params,
4842
4842
  type: 'post'
4843
4843
  });
@@ -4890,7 +4890,7 @@ var addWhite = /*#__PURE__*/(function () {
4890
4890
  case 0:
4891
4891
  _context.next = 2;
4892
4892
  return (_DocumentsService$ins = DocumentsService.instance.service) === null || _DocumentsService$ins === void 0 ? void 0 : _DocumentsService$ins.call({
4893
- url: '/dap/whiteblacklist/config/addBatchWhiteList',
4893
+ url: '/dap/web/whiteblacklist/config/addBatchWhiteList',
4894
4894
  data: params,
4895
4895
  type: 'post'
4896
4896
  });
@@ -4938,7 +4938,7 @@ var enablewhitelist = /*#__PURE__*/(function () {
4938
4938
  case 0:
4939
4939
  _context.next = 2;
4940
4940
  return (_DocumentsService$ins = DocumentsService.instance.service) === null || _DocumentsService$ins === void 0 ? void 0 : _DocumentsService$ins.call({
4941
- url: '/dap/whiteblacklist/config/enableOrDisableWhiteList?status=' + (params === null || params === void 0 ? void 0 : params.flag),
4941
+ url: '/dap/web/whiteblacklist/config/enableOrDisableWhiteList?status=' + (params === null || params === void 0 ? void 0 : params.flag),
4942
4942
  data: params === null || params === void 0 ? void 0 : params.didList,
4943
4943
  type: 'post'
4944
4944
  });
@@ -4986,7 +4986,7 @@ var enablelist = /*#__PURE__*/(function () {
4986
4986
  case 0:
4987
4987
  _context.next = 2;
4988
4988
  return (_DocumentsService$ins = DocumentsService.instance.service) === null || _DocumentsService$ins === void 0 ? void 0 : _DocumentsService$ins.call({
4989
- url: '/dap/whiteblacklist/config/enableList?status=' + (params === null || params === void 0 ? void 0 : params.status),
4989
+ url: '/dap/web/whiteblacklist/config/enableList?status=' + (params === null || params === void 0 ? void 0 : params.status),
4990
4990
  data: params === null || params === void 0 ? void 0 : params.didList,
4991
4991
  type: 'post'
4992
4992
  });
@@ -5034,7 +5034,7 @@ var enableblacklist = /*#__PURE__*/(function () {
5034
5034
  case 0:
5035
5035
  _context.next = 2;
5036
5036
  return (_DocumentsService$ins = DocumentsService.instance.service) === null || _DocumentsService$ins === void 0 ? void 0 : _DocumentsService$ins.call({
5037
- url: '/dap/whiteblacklist/config/enableOrDisableBlackList?status=' + (params === null || params === void 0 ? void 0 : params.flag),
5037
+ url: '/dap/web/whiteblacklist/config/enableOrDisableBlackList?status=' + (params === null || params === void 0 ? void 0 : params.flag),
5038
5038
  data: params === null || params === void 0 ? void 0 : params.didList,
5039
5039
  type: 'post'
5040
5040
  });
@@ -5082,7 +5082,7 @@ var checkclient = /*#__PURE__*/(function () {
5082
5082
  case 0:
5083
5083
  _context.next = 2;
5084
5084
  return (_DocumentsService$ins = DocumentsService.instance.service) === null || _DocumentsService$ins === void 0 ? void 0 : _DocumentsService$ins.call({
5085
- url: '/dap/whiteblacklist/config/showButton',
5085
+ url: '/dap/web/whiteblacklist/config/showButton',
5086
5086
  data: {},
5087
5087
  type: 'post'
5088
5088
  });
@@ -5128,7 +5128,7 @@ var synclist = /*#__PURE__*/(function () {
5128
5128
  case 0:
5129
5129
  _context.next = 2;
5130
5130
  return (_DocumentsService$ins = DocumentsService.instance.service) === null || _DocumentsService$ins === void 0 ? void 0 : _DocumentsService$ins.call({
5131
- url: '/dap/whiteblacklist/config/querySyncPage',
5131
+ url: '/dap/web/whiteblacklist/config/querySyncPage',
5132
5132
  data: params,
5133
5133
  type: 'post'
5134
5134
  });
@@ -5175,7 +5175,7 @@ var getmode = /*#__PURE__*/(function () {
5175
5175
  case 0:
5176
5176
  _context.next = 2;
5177
5177
  return (_DocumentsService$ins = DocumentsService.instance.service) === null || _DocumentsService$ins === void 0 ? void 0 : _DocumentsService$ins.call({
5178
- url: '/dap/whiteblacklist/config/whitelistSwitchStatus',
5178
+ url: '/dap/web/whiteblacklist/config/whitelistSwitchStatus',
5179
5179
  data: null,
5180
5180
  type: 'get'
5181
5181
  });
@@ -5219,7 +5219,7 @@ var setmode = /*#__PURE__*/(function () {
5219
5219
  case 0:
5220
5220
  _context.next = 2;
5221
5221
  return (_DocumentsService$ins = DocumentsService.instance.service) === null || _DocumentsService$ins === void 0 ? void 0 : _DocumentsService$ins.call({
5222
- url: '/dap/whiteblacklist/config/updateWhitelistSwitchStatus',
5222
+ url: '/dap/web/whiteblacklist/config/updateWhitelistSwitchStatus',
5223
5223
  data: params,
5224
5224
  type: 'get'
5225
5225
  });
@@ -5263,7 +5263,7 @@ var addBlack = /*#__PURE__*/(function () {
5263
5263
  case 0:
5264
5264
  _context.next = 2;
5265
5265
  return (_DocumentsService$ins = DocumentsService.instance.service) === null || _DocumentsService$ins === void 0 ? void 0 : _DocumentsService$ins.call({
5266
- url: '/dap/whiteblacklist/config/addBatchBlackList',
5266
+ url: '/dap/web/whiteblacklist/config/addBatchBlackList',
5267
5267
  data: params,
5268
5268
  type: 'post'
5269
5269
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kts-components-document-access-point",
3
- "version": "1.1.25",
3
+ "version": "1.1.26",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "dumi dev",
@@ -4,7 +4,7 @@ import { IFilter } from '../../../interface'
4
4
  import { message } from 'kts-components-antd-x4';
5
5
 
6
6
  export default async (s: ControllerState, params?: IFilter[]) => {
7
- const res = await DocumentsService.instance.service?.call({ url: '/dap/whiteblacklist/config/addBatchBlackList', data: params, type: 'post' }) as any;
7
+ const res = await DocumentsService.instance.service?.call({ url: '/dap/web/whiteblacklist/config/addBatchBlackList', data: params, type: 'post' }) as any;
8
8
  if (res.err) {
9
9
  return false;
10
10
  }
@@ -4,7 +4,7 @@ import { IFilter } from '../../../interface'
4
4
  import { message } from 'kts-components-antd-x4';
5
5
 
6
6
  export default async (s: ControllerState, params?: IFilter[]) => {
7
- const res = await DocumentsService.instance.service?.call({ url: '/dap/whiteblacklist/config/addBatchWhiteList', data: params, type: 'post' }) as any;
7
+ const res = await DocumentsService.instance.service?.call({ url: '/dap/web/whiteblacklist/config/addBatchWhiteList', data: params, type: 'post' }) as any;
8
8
  if (res.err) {
9
9
  return false;
10
10
  }
@@ -5,7 +5,7 @@ import { IParams } from '../../../interface'
5
5
 
6
6
 
7
7
  export default async (s: ControllerState, params?: IParams) => {
8
- const res = await DocumentsService.instance.service?.call({ url: '/dap/whiteblacklist/config/queryBlackListPage', data: params, type: 'post' }) as any;
8
+ const res = await DocumentsService.instance.service?.call({ url: '/dap/web/whiteblacklist/config/queryBlackListPage', data: params, type: 'post' }) as any;
9
9
  if (res.err) {
10
10
  return false;
11
11
  }
@@ -4,7 +4,7 @@ import { DocumentsService } from "../../../..";
4
4
 
5
5
 
6
6
  export default async (s: ControllerState,) => {
7
- const res = await DocumentsService.instance.service?.call({ url: '/dap/whiteblacklist/config/showButton', data: {}, type: 'post' }) as any;
7
+ const res = await DocumentsService.instance.service?.call({ url: '/dap/web/whiteblacklist/config/showButton', data: {}, type: 'post' }) as any;
8
8
  if (res.err) {
9
9
  return false;
10
10
  }
@@ -7,7 +7,7 @@ export interface IParams{
7
7
  }
8
8
 
9
9
  export default async (s: ControllerState, params?: IParams,) => {
10
- const res = await DocumentsService.instance.service?.call({ url: '/dap/whiteblacklist/config/enableOrDisableBlackList?status=' + params?.flag, data: params?.didList, type: 'post' }) as any;
10
+ const res = await DocumentsService.instance.service?.call({ url: '/dap/web/whiteblacklist/config/enableOrDisableBlackList?status=' + params?.flag, data: params?.didList, type: 'post' }) as any;
11
11
  if (res.err) {
12
12
  return false;
13
13
  }
@@ -8,7 +8,7 @@ export interface IParams{
8
8
  }
9
9
 
10
10
  export default async (s: ControllerState, params?: IParams,) => {
11
- const res = await DocumentsService.instance.service?.call({ url: '/dap/whiteblacklist/config/enableList?status=' + params?.status, data: params?.didList, type: 'post' }) as any;
11
+ const res = await DocumentsService.instance.service?.call({ url: '/dap/web/whiteblacklist/config/enableList?status=' + params?.status, data: params?.didList, type: 'post' }) as any;
12
12
  if (res.err) {
13
13
  return false;
14
14
  }
@@ -7,7 +7,7 @@ export interface IParams{
7
7
  }
8
8
 
9
9
  export default async (s: ControllerState, params?: IParams,) => {
10
- const res = await DocumentsService.instance.service?.call({ url: '/dap/whiteblacklist/config/enableOrDisableWhiteList?status=' + params?.flag, data: params?.didList, type: 'post' }) as any;
10
+ const res = await DocumentsService.instance.service?.call({ url: '/dap/web/whiteblacklist/config/enableOrDisableWhiteList?status=' + params?.flag, data: params?.didList, type: 'post' }) as any;
11
11
  if (res.err) {
12
12
  return false;
13
13
  }
@@ -5,7 +5,7 @@ import { IParams } from '../../../interface'
5
5
 
6
6
 
7
7
  export default async (s: ControllerState, params?: IParams) => {
8
- const res = await DocumentsService.instance.service?.call({ url: '/dap/whiteblacklist/config/whitelistSwitchStatus', data: null, type: 'get' }) as any;
8
+ const res = await DocumentsService.instance.service?.call({ url: '/dap/web/whiteblacklist/config/whitelistSwitchStatus', data: null, type: 'get' }) as any;
9
9
  if (res.err) {
10
10
  return false;
11
11
  }
@@ -5,7 +5,7 @@ import { message } from 'kts-components-antd-x4';
5
5
 
6
6
 
7
7
  export default async (s: ControllerState, params: any) => {
8
- const res = await DocumentsService.instance.service?.call({ url: '/dap/whiteblacklist/config/updateWhitelistSwitchStatus', data:params, type: 'get' }) as any;
8
+ const res = await DocumentsService.instance.service?.call({ url: '/dap/web/whiteblacklist/config/updateWhitelistSwitchStatus', data:params, type: 'get' }) as any;
9
9
  if (res.err) {
10
10
  return false;
11
11
  }
@@ -10,7 +10,7 @@ export interface IParams {
10
10
  }
11
11
 
12
12
  export default async (s: ControllerState, params?: IParams) => {
13
- const res = await DocumentsService.instance.service?.call({ url: '/dap/whiteblacklist/config/querySyncPage', data: params, type: 'post' }) as any;
13
+ const res = await DocumentsService.instance.service?.call({ url: '/dap/web/whiteblacklist/config/querySyncPage', data: params, type: 'post' }) as any;
14
14
  if (res.err) {
15
15
  return false;
16
16
  }
@@ -5,7 +5,7 @@ import { IParams } from '../../../interface'
5
5
 
6
6
 
7
7
  export default async (s: ControllerState, params?: IParams) => {
8
- const res = await DocumentsService.instance.service?.call({ url: '/dap/whiteblacklist/config/queryWhiteListPage', data: params, type: 'post' }) as any;
8
+ const res = await DocumentsService.instance.service?.call({ url: '/dap/web/whiteblacklist/config/queryWhiteListPage', data: params, type: 'post' }) as any;
9
9
  if (res.err) {
10
10
  return false;
11
11
  }
@@ -25,5 +25,5 @@ export interface IPageMeta {
25
25
  total?: number
26
26
  }
27
27
  export interface IParams extends IFilter, IPageMeta {
28
- type?: number|string;
28
+ type?: number | string;
29
29
  }
@@ -2,7 +2,7 @@ import DocumentsListControllerState from '../../DocumentsListControllerState';
2
2
  import { DocumentsService } from "../../../../";
3
3
  export default async (s: DocumentsListControllerState, params?: any) => {
4
4
 
5
- const res = await DocumentsService.instance.service?.call({ url: '/dap/schema/config/queryConfigSchemaPage', data: params, type: 'post' }) as any;
5
+ const res = await DocumentsService.instance.service?.call({ url: '/dap/web/schema/config/queryConfigSchemaPage', data: params, type: 'post' }) as any;
6
6
 
7
7
  if (res.err) {
8
8
  return false;
@@ -10,7 +10,7 @@ export default function modalcomfirm(props: any) {
10
10
  const [targetList, setTargetList] = useState([]);
11
11
  useEffect(() => {
12
12
  (async () => {
13
- const res = await DocumentsService.instance.service?.call({ url: '/dap/participant/listBySubjectId', data: {}, type: 'get' }) as any;
13
+ const res = await DocumentsService.instance.service?.call({ url: '/dap/web/participant/listBySubjectId', data: {}, type: 'get' }) as any;
14
14
  if (res.res) {
15
15
  setTargetList(res.res);
16
16
  }
@@ -29,7 +29,7 @@ export default function modalcomfirm(props: any) {
29
29
  sendPublic: true
30
30
  };
31
31
  });
32
- const res = await DocumentsService.instance.service?.call({ url: '/dap/schema/config/batchSend', data: data, type: 'post' }) as any;
32
+ const res = await DocumentsService.instance.service?.call({ url: '/dap/web/schema/config/batchSend', data: data, type: 'post' }) as any;
33
33
  if (res.res) {
34
34
  message.success('操作成功');
35
35
  props.handleCancel()
@@ -22,7 +22,7 @@ export default () => {
22
22
  const ktsRef = useRef(null);
23
23
  useEffect(() => {
24
24
  (async () => {
25
- const res = await DocumentsService.instance.service?.call({ url: '/dap/schema/config/getDefaultTypeList', data: {}, type: 'get' }) as any;
25
+ const res = await DocumentsService.instance.service?.call({ url: '/dap/web/schema/config/getDefaultTypeList', data: {}, type: 'get' }) as any;
26
26
  if (res.err) {
27
27
  return false;
28
28
  } else {
@@ -22,7 +22,7 @@ export default () => {
22
22
  const ktsRef = useRef(null);
23
23
  useEffect(() => {
24
24
  (async () => {
25
- const res = await DocumentsService.instance.service?.call({ url: '/dap/schema/config/getDefaultTypeList', data: {}, type: 'get' }) as any;
25
+ const res = await DocumentsService.instance.service?.call({ url: '/dap/web/schema/config/getDefaultTypeList', data: {}, type: 'get' }) as any;
26
26
  if (res.err) {
27
27
  return false;
28
28
  } else {
@@ -20,7 +20,7 @@ export default function validaterule(props: any) {
20
20
  useEffect(() => {
21
21
  (async () => {
22
22
  const res = await DocumentsService.instance.service?.call({
23
- url: '/dap/schema/config/queryConfigSchemaPage', data: { ...params, ...pageParams }, type: 'post'
23
+ url: '/dap/web/schema/config/queryConfigSchemaPage', data: { ...params, ...pageParams }, type: 'post'
24
24
  }) as any;
25
25
 
26
26
  if (res.err) {
@@ -35,7 +35,7 @@ export default function validaterule(props: any) {
35
35
  useEffect(() => {
36
36
  (async () => {
37
37
 
38
- const res = await DocumentsService.instance.service?.call({ url: '/dap/schema/config/getDefaultTypeList', data: {}, type: 'get' }) as any;
38
+ const res = await DocumentsService.instance.service?.call({ url: '/dap/web/schema/config/getDefaultTypeList', data: {}, type: 'get' }) as any;
39
39
  if (res.err) {
40
40
  return false;
41
41
  } else {
@@ -142,7 +142,7 @@ export default function validaterule(props: any) {
142
142
  controller.pipeline(async s => {
143
143
  s.selectedRowKey = data;
144
144
  })()
145
- const res = await DocumentsService.instance.service?.call({ url: '/dap/participant/listBySubjectId', data: {}, type: 'get' }) as any;
145
+ const res = await DocumentsService.instance.service?.call({ url: '/dap/web/participant/listBySubjectId', data: {}, type: 'get' }) as any;
146
146
  if (res.res) {
147
147
  handleCancel(true);
148
148
  }
@@ -17,7 +17,7 @@ export default function validaterule(props: any) {
17
17
  const [bill, setConfig] = useState<{ [key: string]: string }>({});
18
18
  useEffect(() => {
19
19
  (async () => {
20
- const res = await DocumentsService.instance.service?.call({ url: '/dap/schema/config/querySendRecordPage', data: { ...params, ...pageParams }, type: 'post' }) as any;
20
+ const res = await DocumentsService.instance.service?.call({ url: '/dap/web/schema/config/querySendRecordPage', data: { ...params, ...pageParams }, type: 'post' }) as any;
21
21
  if (res.err) {
22
22
  return false;
23
23
  }
@@ -29,7 +29,7 @@ export default function validaterule(props: any) {
29
29
  }, [params, pageParams]);
30
30
  useEffect(() => {
31
31
  (async () => {
32
- const res = await DocumentsService.instance.service?.call({ url: '/dap/schema/config/getDefaultTypeList', data: {}, type: 'get' }) as any;
32
+ const res = await DocumentsService.instance.service?.call({ url: '/dap/web/schema/config/getDefaultTypeList', data: {}, type: 'get' }) as any;
33
33
  if (res.err) {
34
34
  return false;
35
35
  } else {
@@ -44,7 +44,7 @@ export default function Rule(props: any) {
44
44
  if (!id) {
45
45
  return false;
46
46
  }
47
- const url = type === 'config' ? '/dap/schema/config/getConfigOneById' : '/dap/schema/config/getRecordOneById'
47
+ const url = type === 'config' ? '/dap/web/schema/config/getConfigOneById' : '/dap/web/schema/config/getRecordOneById'
48
48
  const res = await DocumentsService.instance.service?.call({ url, data: { id }, type: 'get' }) as any;
49
49
  if (res.err) {
50
50
  return false;
@@ -63,7 +63,7 @@ export default function Rule(props: any) {
63
63
  if (id) {
64
64
  return false;
65
65
  }
66
- const res = await DocumentsService.instance.service?.call({ url: '/dap/schema/config/getDefaultTypeTemplate', data: { type: queryType, profile }, type: 'get' }) as any;
66
+ const res = await DocumentsService.instance.service?.call({ url: '/dap/web/schema/config/getDefaultTypeTemplate', data: { type: queryType, profile }, type: 'get' }) as any;
67
67
  if (res.err) {
68
68
  return false;
69
69
  } else {
@@ -74,7 +74,7 @@ export default function Rule(props: any) {
74
74
 
75
75
  useEffect(() => {
76
76
  (async () => {
77
- const res = await DocumentsService.instance.service?.call({ url: '/dap/schema/config/getDefaultTypeList', data: null, type: 'get' }) as any;
77
+ const res = await DocumentsService.instance.service?.call({ url: '/dap/web/schema/config/getDefaultTypeList', data: null, type: 'get' }) as any;
78
78
  if (res.err) {
79
79
  return false;
80
80
  } else {
@@ -91,11 +91,11 @@ export default function Rule(props: any) {
91
91
  }, [])
92
92
  const autoSave = useCallback(throttle(() => {
93
93
  (async () => {
94
- let url = '/dap/schema/config/save';
94
+ let url = '/dap/web/schema/config/save';
95
95
  let data: any = { ...schema };
96
96
  const formValue = form.getFieldsValue();
97
97
  if (record && record.id) {
98
- url = '/dap/schema/config/update';
98
+ url = '/dap/web/schema/config/update';
99
99
  data = { ...record, schemaContent: JSON.stringify(data), ...formValue }
100
100
  } else {
101
101
  data = { schemaContent: JSON.stringify(data), ...formValue }
@@ -123,7 +123,7 @@ export default function Rule(props: any) {
123
123
  }, []);
124
124
  const onSendCheck = useCallback(() => {
125
125
  (async () => {
126
- const res = await DocumentsService.instance.service?.call({ url: '/dap/participant/listBySubjectId', data: null, type: 'get' }) as any;
126
+ const res = await DocumentsService.instance.service?.call({ url: '/dap/web/participant/listBySubjectId', data: null, type: 'get' }) as any;
127
127
  if (res.res) {
128
128
  setVisible(true);
129
129
  setList(res.res);
@@ -138,7 +138,7 @@ export default function Rule(props: any) {
138
138
  privateList: [],
139
139
  sendPublic: true
140
140
  }
141
- const res = await DocumentsService.instance.service?.call({ url: '/dap/schema/config/batchSend', data: [data], type: 'post' }) as any;
141
+ const res = await DocumentsService.instance.service?.call({ url: '/dap/web/schema/config/batchSend', data: [data], type: 'post' }) as any;
142
142
  if (res.res) {
143
143
  message.success('操作成功');
144
144
  handleCancel()