hl-core 0.0.10-beta.56 → 0.0.10-beta.57

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.
@@ -518,7 +518,16 @@ export default defineComponent({
518
518
  // loading.value = false;
519
519
  // return;
520
520
  // }
521
- if (dataStore.isAML || dataStore.isCheckContract || dataStore.isCheckContragent || dataStore.isDas || dataStore.isPrePension || dataStore.isCritical || dataStore.isUU || dataStore.isReInsurance) {
521
+ if (
522
+ dataStore.isAML ||
523
+ dataStore.isCheckContract ||
524
+ dataStore.isCheckContragent ||
525
+ dataStore.isDas ||
526
+ dataStore.isPrePension ||
527
+ dataStore.isCritical ||
528
+ dataStore.isUU ||
529
+ dataStore.isReInsurance
530
+ ) {
522
531
  emit('task', [dataStore.panelAction, route.params.taskId as string, actionCause.value]);
523
532
  } else {
524
533
  await dataStore.handleTask(dataStore.panelAction, route.params.taskId as string, actionCause.value);
@@ -552,7 +561,7 @@ export default defineComponent({
552
561
  case constants.actions.rejectclient:
553
562
  return dataStore.t('buttons.rejectStatement');
554
563
  case constants.actions.return:
555
- return dataStore.t('buttons.returnStatement');
564
+ return dataStore.isReInsurance ? 'Перевыгрузить' : dataStore.t('buttons.returnStatement');
556
565
  case constants.actions.accept:
557
566
  return dataStore.t('buttons.approve');
558
567
  case constants.actions.sign:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hl-core",
3
- "version": "0.0.10-beta.56",
3
+ "version": "0.0.10-beta.57",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "nuxt.config.ts",