@burh/nuxt-core 1.1.20 → 1.1.22
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/components/burh-ds/Curriculum/UserCurriculum/UserCvLeftSide.vue +624 -624
- package/components/burh-ds/Curriculum/UserCurriculum/UserCvMiddle.vue +41 -34
- package/components/burh-ds/Curriculum/UserCurriculum/UserCvRightSide.vue +1333 -1333
- package/components/burh-ds/Filters/BaseFilterContainer.vue +138 -138
- package/package.json +1 -1
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
</span>
|
|
25
25
|
<el-dropdown-menu slot="dropdown">
|
|
26
26
|
<el-dropdown-item
|
|
27
|
-
v-for="(tab, index) in
|
|
27
|
+
v-for="(tab, index) in moveToItemsList"
|
|
28
28
|
:key="index"
|
|
29
29
|
@click.native="$emit(tool.event, tab)"
|
|
30
30
|
>
|
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
<span
|
|
175
175
|
class="info-text"
|
|
176
176
|
>
|
|
177
|
-
{{edu.formation_level_id
|
|
177
|
+
{{getFormationLevel(edu.formation_level_id)}}
|
|
178
178
|
</span>
|
|
179
179
|
</div>
|
|
180
180
|
|
|
@@ -286,7 +286,31 @@ export default {
|
|
|
286
286
|
},
|
|
287
287
|
moveToItems: {
|
|
288
288
|
type: Array,
|
|
289
|
-
default: () => [
|
|
289
|
+
default: () => []
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
components: {
|
|
293
|
+
ElDropdown: Dropdown,
|
|
294
|
+
ElDropdownMenu: DropdownMenu,
|
|
295
|
+
ElDropdownItem: DropdownItem,
|
|
296
|
+
MuxVideo
|
|
297
|
+
},
|
|
298
|
+
data() {
|
|
299
|
+
return {
|
|
300
|
+
isLocked: !this.companyHasProduct(
|
|
301
|
+
this.$store.state.loja && this.$store.state.loja.showableProducts && this.$store.state.loja.showableProducts['INTERACAO_USUARIO'] || false
|
|
302
|
+
),
|
|
303
|
+
unlockedButtons: ['share', 'moveTo'],
|
|
304
|
+
isCvDownloading: false
|
|
305
|
+
};
|
|
306
|
+
},
|
|
307
|
+
computed: {
|
|
308
|
+
moveToItemsList() {
|
|
309
|
+
if (this.moveToItems.length > 0) {
|
|
310
|
+
return this.moveToItems;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
return [
|
|
290
314
|
{
|
|
291
315
|
id: 1,
|
|
292
316
|
name: 'applieds',
|
|
@@ -307,39 +331,9 @@ export default {
|
|
|
307
331
|
name: 'other',
|
|
308
332
|
title: this.$t('user_cv.middle_side.move_to_rejected')
|
|
309
333
|
}
|
|
310
|
-
]
|
|
311
|
-
}
|
|
312
|
-
},
|
|
313
|
-
filters: {
|
|
314
|
-
formationLevel(id) {
|
|
315
|
-
const typeFormation = {
|
|
316
|
-
1: this.$t('user_cv.middle_side.formation_level_high_school'),
|
|
317
|
-
2: this.$t('user_cv.middle_side.formation_level_technical'),
|
|
318
|
-
3: this.$t('user_cv.middle_side.formation_level_graduation'),
|
|
319
|
-
4: this.$t('user_cv.middle_side.formation_level_post_graduation'),
|
|
320
|
-
5: this.$t('user_cv.middle_side.formation_level_masters'),
|
|
321
|
-
6: this.$t('user_cv.middle_side.formation_level_doctorate'),
|
|
322
|
-
8: this.$t('user_cv.middle_side.formation_level_elementary')
|
|
323
|
-
};
|
|
324
|
-
|
|
325
|
-
return typeFormation[id] || '-';
|
|
334
|
+
];
|
|
326
335
|
}
|
|
327
336
|
},
|
|
328
|
-
components: {
|
|
329
|
-
ElDropdown: Dropdown,
|
|
330
|
-
ElDropdownMenu: DropdownMenu,
|
|
331
|
-
ElDropdownItem: DropdownItem,
|
|
332
|
-
MuxVideo
|
|
333
|
-
},
|
|
334
|
-
data() {
|
|
335
|
-
return {
|
|
336
|
-
isLocked: !this.companyHasProduct(
|
|
337
|
-
this.$store.state.loja && this.$store.state.loja.showableProducts && this.$store.state.loja.showableProducts['INTERACAO_USUARIO'] || false
|
|
338
|
-
),
|
|
339
|
-
unlockedButtons: ['share', 'moveTo'],
|
|
340
|
-
isCvDownloading: false
|
|
341
|
-
};
|
|
342
|
-
},
|
|
343
337
|
mounted() {
|
|
344
338
|
this.userData.user_experience = this.filterByDate(
|
|
345
339
|
this.userData.user_experience,
|
|
@@ -371,6 +365,19 @@ export default {
|
|
|
371
365
|
}
|
|
372
366
|
},
|
|
373
367
|
methods: {
|
|
368
|
+
getFormationLevel(id) {
|
|
369
|
+
const typeFormation = {
|
|
370
|
+
1: this.$t('user_cv.middle_side.formation_level_high_school'),
|
|
371
|
+
2: this.$t('user_cv.middle_side.formation_level_technical'),
|
|
372
|
+
3: this.$t('user_cv.middle_side.formation_level_graduation'),
|
|
373
|
+
4: this.$t('user_cv.middle_side.formation_level_post_graduation'),
|
|
374
|
+
5: this.$t('user_cv.middle_side.formation_level_masters'),
|
|
375
|
+
6: this.$t('user_cv.middle_side.formation_level_doctorate'),
|
|
376
|
+
8: this.$t('user_cv.middle_side.formation_level_elementary')
|
|
377
|
+
};
|
|
378
|
+
|
|
379
|
+
return typeFormation[id] || '-';
|
|
380
|
+
},
|
|
374
381
|
getFormattedValue(type, value) {
|
|
375
382
|
if (!value || typeof value !== 'string') return '';
|
|
376
383
|
|