hl-core 0.0.10-beta.6 → 0.0.10-beta.8
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.
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
<base-btn :loading="loading" :text="$dataStore.t('payment.copyUrl')" @click="$dataStore.copyToClipboard(formStore.epayLink)" />
|
|
196
196
|
<base-btn :loading="loading" :text="$dataStore.t('payment.recipientNumber')" @click="openEpayPanel" />
|
|
197
197
|
<base-btn :loading="loading" :text="$dataStore.t('sign.convertQr')" @click="convertQr(formStore.epayLink)" />
|
|
198
|
-
<base-btn :loading="loading" :btn="$styles.greenBtn" :text="$dataStore.t('payment.halykLink')" @click="convertQr(formStore.epayLink, 'halyk_pay_link_template')" />
|
|
198
|
+
<base-btn v-if="!useEnv().isProduction" :loading="loading" :btn="$styles.greenBtn" :text="$dataStore.t('payment.halykLink')" @click="convertQr(formStore.epayLink, 'halyk_pay_link_template')" />
|
|
199
199
|
</div>
|
|
200
200
|
</base-form-section>
|
|
201
201
|
<div v-if="isSendNumberOpen" :class="[$styles.flexColNav]">
|
|
@@ -14,13 +14,12 @@
|
|
|
14
14
|
<script lang="ts">
|
|
15
15
|
import VueJsonPretty from 'vue-json-pretty';
|
|
16
16
|
import 'vue-json-pretty/lib/styles.css';
|
|
17
|
-
import { type JSONDataType } from 'vue-json-pretty/types/utils';
|
|
18
17
|
|
|
19
18
|
export default defineComponent({
|
|
20
19
|
components: { VueJsonPretty },
|
|
21
20
|
props: {
|
|
22
21
|
data: {
|
|
23
|
-
type: Object as PropType<
|
|
22
|
+
type: Object as PropType<any>,
|
|
24
23
|
required: false,
|
|
25
24
|
},
|
|
26
25
|
},
|
package/composables/classes.ts
CHANGED
|
@@ -88,6 +88,7 @@ export class IDocument {
|
|
|
88
88
|
iin?: string;
|
|
89
89
|
fileTypeId?: string;
|
|
90
90
|
fileTypeName?: string;
|
|
91
|
+
fileTypeNameRu?: string;
|
|
91
92
|
fileId?: string;
|
|
92
93
|
page?: number;
|
|
93
94
|
fileName?: string;
|
|
@@ -103,6 +104,7 @@ export class IDocument {
|
|
|
103
104
|
iin?: string,
|
|
104
105
|
fileTypeId?: string,
|
|
105
106
|
fileTypeName?: string,
|
|
107
|
+
fileTypeNameRu?: string,
|
|
106
108
|
fileId?: string,
|
|
107
109
|
page?: number,
|
|
108
110
|
fileName?: string,
|
|
@@ -117,6 +119,7 @@ export class IDocument {
|
|
|
117
119
|
this.iin = iin;
|
|
118
120
|
this.fileTypeId = fileTypeId;
|
|
119
121
|
this.fileTypeName = fileTypeName;
|
|
122
|
+
this.fileTypeNameRu = fileTypeNameRu;
|
|
120
123
|
this.fileId = fileId;
|
|
121
124
|
this.page = page;
|
|
122
125
|
this.fileName = fileName;
|
|
@@ -130,9 +133,24 @@ export class IDocument {
|
|
|
130
133
|
|
|
131
134
|
export class DocumentItem extends IDocument {
|
|
132
135
|
constructor(
|
|
133
|
-
{
|
|
136
|
+
{
|
|
137
|
+
id,
|
|
138
|
+
processInstanceId,
|
|
139
|
+
iin,
|
|
140
|
+
fileTypeId,
|
|
141
|
+
fileTypeName,
|
|
142
|
+
fileTypeNameRu,
|
|
143
|
+
fileId,
|
|
144
|
+
page,
|
|
145
|
+
fileName,
|
|
146
|
+
fileTypeCode,
|
|
147
|
+
sharedId,
|
|
148
|
+
signed,
|
|
149
|
+
signId,
|
|
150
|
+
certificateDate,
|
|
151
|
+
}: IDocument = new IDocument(),
|
|
134
152
|
) {
|
|
135
|
-
super(id, processInstanceId, iin, fileTypeId, fileTypeName, fileId, page, fileName, fileTypeCode, sharedId, signed, signId, certificateDate);
|
|
153
|
+
super(id, processInstanceId, iin, fileTypeId, fileTypeName, fileTypeNameRu, fileId, page, fileName, fileTypeCode, sharedId, signed, signId, certificateDate);
|
|
136
154
|
}
|
|
137
155
|
}
|
|
138
156
|
|
package/nuxt.config.ts
CHANGED
|
@@ -12,7 +12,7 @@ export default defineNuxtConfig({
|
|
|
12
12
|
},
|
|
13
13
|
|
|
14
14
|
build: {
|
|
15
|
-
transpile: ['@vuepic/vue-datepicker', '@microsoft/signalr', 'vue-uuid', 'qrcode.vue'],
|
|
15
|
+
transpile: ['@vuepic/vue-datepicker', '@microsoft/signalr', 'vue-uuid', 'qrcode.vue', 'vue-json-pretty'],
|
|
16
16
|
},
|
|
17
17
|
|
|
18
18
|
vite: {
|
package/package.json
CHANGED
package/store/data.store.ts
CHANGED
|
@@ -269,7 +269,10 @@ export const useDataStore = defineStore('data', {
|
|
|
269
269
|
return this.isRole(constants.roles.Dsuio);
|
|
270
270
|
},
|
|
271
271
|
isAdjuster() {
|
|
272
|
-
return this.isRole(constants.roles.
|
|
272
|
+
return this.isRole(constants.roles.SettlementLosses);
|
|
273
|
+
},
|
|
274
|
+
isHeadAdjuster() {
|
|
275
|
+
return this.isRole(constants.roles.HeadSettlementLosses);
|
|
273
276
|
},
|
|
274
277
|
isDsoDirector() {
|
|
275
278
|
return this.isRole(constants.roles.DsoDirector);
|
|
@@ -534,7 +537,13 @@ export const useDataStore = defineStore('data', {
|
|
|
534
537
|
},
|
|
535
538
|
parseContragent(
|
|
536
539
|
member: Member,
|
|
537
|
-
user: {
|
|
540
|
+
user: {
|
|
541
|
+
personalData: Types.ContragentType;
|
|
542
|
+
data?: Types.ContragentQuestionaries[];
|
|
543
|
+
contacts?: Types.ContragentContacts[];
|
|
544
|
+
documents?: Types.ContragentDocuments[];
|
|
545
|
+
address?: Types.ContragentAddress[];
|
|
546
|
+
},
|
|
538
547
|
) {
|
|
539
548
|
member.verifyType = user.personalData.verifyType;
|
|
540
549
|
member.verifyDate = user.personalData.verifyDate;
|
package/types/enum.ts
CHANGED
|
@@ -94,7 +94,8 @@ export enum Roles {
|
|
|
94
94
|
BranchDirector = 'BranchDirector',
|
|
95
95
|
USNSACCINS = 'USNSACCINS',
|
|
96
96
|
Dsuio = 'Dsuio',
|
|
97
|
-
|
|
97
|
+
SettlementLosses = 'SettlementLosses',
|
|
98
|
+
HeadSettlementLosses = 'HeadSettlementLosses',
|
|
98
99
|
DsoDirector = 'DsoDirector',
|
|
99
100
|
AccountantDirector = 'AccountantDirector',
|
|
100
101
|
}
|