hl-core 0.0.10-beta.41 → 0.0.10-beta.41-2
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/api/base.api.ts +8 -2
- package/components/Form/FormBlock.vue +1 -1
- package/components/Form/FormSource.vue +30 -0
- package/components/Form/ManagerAttachment.vue +1 -1
- package/components/Input/PanelInput.vue +1 -1
- package/components/Layout/Header.vue +1 -1
- package/components/Menu/InfoMenu.vue +1 -1
- package/components/Menu/MenuHover.vue +1 -1
- package/components/Menu/MenuNav.vue +1 -1
- package/components/Menu/MenuNavItem.vue +1 -1
- package/components/Pages/Anketa.vue +1 -1
- package/components/Pages/ContragentForm.vue +1 -1
- package/components/Pages/Documents.vue +2 -2
- package/components/Pages/MemberForm.vue +1 -1
- package/components/Pages/ProductConditions.vue +5 -2
- package/components/Panel/PanelHandler.vue +1 -1
- package/composables/index.ts +1905 -134
- package/layouts/default.vue +1 -1
- package/locales/ru.json +1 -0
- package/package.json +1 -1
- package/store/data.store.ts +12 -1
- package/store/form.store.ts +1 -1
- package/store/member.store.ts +1 -1
- package/types/enum.ts +5 -1
- package/types/index.ts +2 -2
- package/composables/classes.ts +0 -1830
package/api/base.api.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MemberCodes, Methods } from '../types/enum';
|
|
2
2
|
import { useAxiosInstance } from '../composables/axios';
|
|
3
|
-
import { Value, IDocument } from '../composables
|
|
3
|
+
import { Value, IDocument } from '../composables';
|
|
4
4
|
import type * as Types from '../types';
|
|
5
5
|
|
|
6
6
|
export class ApiClass {
|
|
@@ -312,6 +312,12 @@ export class ApiClass {
|
|
|
312
312
|
url: '/Arm/api/Dictionary/GetDictionaryItems/DicProgramType',
|
|
313
313
|
});
|
|
314
314
|
}
|
|
315
|
+
async getSource() {
|
|
316
|
+
return await this.axiosCall<Value[]>({
|
|
317
|
+
method: Methods.GET,
|
|
318
|
+
url: '/Arm/api/Dictionary/GetDictionaryItems/DicSource',
|
|
319
|
+
});
|
|
320
|
+
}
|
|
315
321
|
|
|
316
322
|
async getContrAgentData(personId: string | number) {
|
|
317
323
|
return await this.axiosCall<Types.ContragentQuestionaries[]>({
|
|
@@ -642,7 +648,7 @@ export class ApiClass {
|
|
|
642
648
|
url: `/Ekk/api/ContragentInsis/DictionaryItems/${dictName}?filter=${filterName}`,
|
|
643
649
|
});
|
|
644
650
|
}
|
|
645
|
-
|
|
651
|
+
|
|
646
652
|
async filterExecutorByRegion(dictName: string, filterName: string) {
|
|
647
653
|
return await this.axiosCall<Value[]>({
|
|
648
654
|
method: Methods.GET,
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<base-panel-input
|
|
3
|
+
class="source-form-input"
|
|
4
|
+
v-model="formStore.Source"
|
|
5
|
+
:value="formStore.Source?.nameRu"
|
|
6
|
+
:readonly="true"
|
|
7
|
+
:clearable="false"
|
|
8
|
+
:label="$dataStore.t('form.source')"
|
|
9
|
+
/>
|
|
10
|
+
</template>
|
|
11
|
+
|
|
12
|
+
<script lang="ts">
|
|
13
|
+
export default defineComponent({
|
|
14
|
+
setup(props) {
|
|
15
|
+
const formStore = useFormStore();
|
|
16
|
+
|
|
17
|
+
return {
|
|
18
|
+
// State
|
|
19
|
+
formStore,
|
|
20
|
+
};
|
|
21
|
+
},
|
|
22
|
+
});
|
|
23
|
+
</script>
|
|
24
|
+
|
|
25
|
+
<style scoped>
|
|
26
|
+
.source-form-input {
|
|
27
|
+
border-radius: 4px;
|
|
28
|
+
border: 1px solid #e5e7eb;
|
|
29
|
+
}
|
|
30
|
+
</style>
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
</template>
|
|
237
237
|
|
|
238
238
|
<script lang="ts">
|
|
239
|
-
import { Value } from '../../composables
|
|
239
|
+
import { Value } from '../../composables';
|
|
240
240
|
import type { AnketaBody, AnketaSecond, AnswerName } from '../../types';
|
|
241
241
|
|
|
242
242
|
export default defineComponent({
|
|
@@ -288,7 +288,7 @@
|
|
|
288
288
|
|
|
289
289
|
<script lang="ts">
|
|
290
290
|
import { StoreMembers } from '../../types/enum';
|
|
291
|
-
import { Member, Value } from '../../composables
|
|
291
|
+
import { Member, Value } from '../../composables';
|
|
292
292
|
import type { ESBDValidationType } from '../../types';
|
|
293
293
|
|
|
294
294
|
export default defineComponent({
|
|
@@ -263,8 +263,8 @@
|
|
|
263
263
|
</template>
|
|
264
264
|
|
|
265
265
|
<script lang="ts">
|
|
266
|
-
import { DocumentItem, Value } from '../../composables
|
|
267
|
-
import type { IDocument, Member } from '../../composables
|
|
266
|
+
import { DocumentItem, Value } from '../../composables';
|
|
267
|
+
import type { IDocument, Member } from '../../composables';
|
|
268
268
|
import { uuid } from 'vue-uuid';
|
|
269
269
|
import type { Base, FileActions } from '../../types';
|
|
270
270
|
|
|
@@ -813,7 +813,7 @@
|
|
|
813
813
|
</template>
|
|
814
814
|
|
|
815
815
|
<script lang="ts">
|
|
816
|
-
import { Value, DocumentItem, Member } from '../../composables
|
|
816
|
+
import { Value, DocumentItem, Member } from '../../composables';
|
|
817
817
|
import { uuid } from 'vue-uuid';
|
|
818
818
|
import { StoreMembers, CoreEnums } from '../../types/enum';
|
|
819
819
|
import type { Api, ContragentType, Dicts, ESBDValidationType, FileActions, MultipleMember } from '../../types';
|
|
@@ -55,7 +55,10 @@
|
|
|
55
55
|
<base-form-input v-model="insured.gender.nameRu" class="mb-4" :label="$dataStore.t('form.gender')" :readonly="true" />
|
|
56
56
|
</div>
|
|
57
57
|
</base-form-section>
|
|
58
|
-
<base-form-section
|
|
58
|
+
<base-form-section
|
|
59
|
+
v-if="isUnderwriterRole && whichProduct !== 'pensionannuitynew' && whichProduct !== 'balam' && whichProduct !== 'tumar'"
|
|
60
|
+
:title="$dataStore.t('recalculationInfo')"
|
|
61
|
+
>
|
|
59
62
|
<base-form-input
|
|
60
63
|
v-model="productConditionsForm.lifeMultiply"
|
|
61
64
|
:maska="$maska.numbers"
|
|
@@ -865,7 +868,7 @@
|
|
|
865
868
|
</template>
|
|
866
869
|
|
|
867
870
|
<script lang="ts">
|
|
868
|
-
import { Member, Value, CountryValue, CalculatorForm, TransferContract } from '../../composables
|
|
871
|
+
import { Member, Value, CountryValue, CalculatorForm, TransferContract } from '../../composables';
|
|
869
872
|
import type { Projects, AddCover, AddCoverAnswer } from '../../types';
|
|
870
873
|
|
|
871
874
|
type PensionCalculation = {
|
|
@@ -250,7 +250,7 @@
|
|
|
250
250
|
</template>
|
|
251
251
|
|
|
252
252
|
<script lang="ts">
|
|
253
|
-
import { DocumentItem, Value } from '../../composables
|
|
253
|
+
import { DocumentItem, Value } from '../../composables';
|
|
254
254
|
import { HubConnectionBuilder } from '@microsoft/signalr';
|
|
255
255
|
import { uuid } from 'vue-uuid';
|
|
256
256
|
import type * as Types from '../../types';
|