@burh/nuxt-core 1.1.12 → 1.1.14
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/README.md +1 -1
- package/assets/images/icons/icon9.svg +3 -0
- package/components/burh-ds/Curriculum/UserCurriculum/UserCvRightSide.vue +42 -2
- package/components/burh-ds/Curriculum/UserCurriculum/index.vue +2 -2
- package/components/burh-ds/Headings/AppHeader.vue +13 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="15" height="18" viewBox="0 0 16 16">
|
|
2
|
+
<path fill="#C8C8C8" d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16m.93-9.412-1 4.705c-.07.34.029.533.304.533.194 0 .487-.07.686-.246l-.088.416c-.287.346-.92.598-1.465.598-.703 0-1.002-.422-.808-1.319l.738-3.468c.064-.293.006-.399-.287-.47l-.451-.081.082-.381 2.29-.287zM8 5.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2"/>
|
|
3
|
+
</svg>
|
|
@@ -495,6 +495,29 @@
|
|
|
495
495
|
></i>
|
|
496
496
|
</div>
|
|
497
497
|
</el-tab-pane>
|
|
498
|
+
|
|
499
|
+
<el-tab-pane name="dados-da-folha" class="ml-2" v-if="isSheetActived">
|
|
500
|
+
<span class="tab__icon-pane" slot="label">
|
|
501
|
+
<img
|
|
502
|
+
class="img__icon-pane img__icon--reports"
|
|
503
|
+
src="../../../../assets/images/icons/icon9.svg"
|
|
504
|
+
/>
|
|
505
|
+
</span>
|
|
506
|
+
|
|
507
|
+
<upgrade-plan @send-contact="sendContact" v-if="isLocked" />
|
|
508
|
+
|
|
509
|
+
<p class="notes-title mb-0">Dados da Folha</p>
|
|
510
|
+
|
|
511
|
+
<ul class="sheet-list">
|
|
512
|
+
<li>Unidade: <span>{{ sheet.name_branch }}</span></li>
|
|
513
|
+
<li>Salário: <span>{{ sheet.sallary || '-' }}</span></li>
|
|
514
|
+
<li>Departamento: <span>{{ sheet.nane_department || '-' }}</span></li>
|
|
515
|
+
<li>Gestor Direto: <span>{{ sheet.manager_immediate || '-' }}</span></li>
|
|
516
|
+
<li>Data de Admissão: <span>{{ sheet.entry_date || '-' }}</span></li>
|
|
517
|
+
<li>Cargo: <span>{{ sheet.job_title_name || '-' }}</span></li>
|
|
518
|
+
<li>Matrícula: <span>{{ sheet.enrolment || '-' }}</span></li>
|
|
519
|
+
</ul>
|
|
520
|
+
</el-tab-pane>
|
|
498
521
|
</el-tabs>
|
|
499
522
|
</div>
|
|
500
523
|
</template>
|
|
@@ -573,6 +596,8 @@ export default {
|
|
|
573
596
|
userReportData: [],
|
|
574
597
|
hasReportRemove: false,
|
|
575
598
|
hasCommentRemove: false,
|
|
599
|
+
sheet: null,
|
|
600
|
+
isSheetActived: false,
|
|
576
601
|
};
|
|
577
602
|
},
|
|
578
603
|
props: {
|
|
@@ -601,6 +626,7 @@ export default {
|
|
|
601
626
|
mounted() {
|
|
602
627
|
this.companyHistory();
|
|
603
628
|
this.getUserFolderData();
|
|
629
|
+
this.getSheetData();
|
|
604
630
|
},
|
|
605
631
|
methods: {
|
|
606
632
|
async handleRemoveNote(note) {
|
|
@@ -615,8 +641,6 @@ export default {
|
|
|
615
641
|
this.notes = this.notes.filter(n => n.id !== note.id);
|
|
616
642
|
},
|
|
617
643
|
removeComment(commentId){
|
|
618
|
-
console.log('call', commentId);
|
|
619
|
-
|
|
620
644
|
this.userReportData.comments = this.userReportData.comments.filter(comment => comment.id != commentId);
|
|
621
645
|
this.$emit('remove-comment', commentId);
|
|
622
646
|
},
|
|
@@ -794,6 +818,11 @@ export default {
|
|
|
794
818
|
|
|
795
819
|
return history;
|
|
796
820
|
},
|
|
821
|
+
getSheetData(){
|
|
822
|
+
const sheet = this.userData ? this.userData.matriculation : null;
|
|
823
|
+
this.sheet = sheet;
|
|
824
|
+
this.isSheetActived = sheet ? true : false;
|
|
825
|
+
},
|
|
797
826
|
orderByDate(data) {
|
|
798
827
|
let sortedArray = data.sort((a, b) => {
|
|
799
828
|
a = a.date || '2020-01-01 12:00:00';
|
|
@@ -903,6 +932,17 @@ export default {
|
|
|
903
932
|
<style lang="scss" scoped>
|
|
904
933
|
@import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
|
|
905
934
|
|
|
935
|
+
.sheet-list {
|
|
936
|
+
list-style: none;
|
|
937
|
+
padding: 0;
|
|
938
|
+
margin: 0;
|
|
939
|
+
|
|
940
|
+
li {
|
|
941
|
+
margin: 0;
|
|
942
|
+
padding: 0;
|
|
943
|
+
}
|
|
944
|
+
}
|
|
945
|
+
|
|
906
946
|
/deep/.dropzone {
|
|
907
947
|
width: 95%;
|
|
908
948
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<base-header class="app-header" :type="'white'">
|
|
3
|
-
<div class="
|
|
3
|
+
<div :class="headerClass">
|
|
4
4
|
<div
|
|
5
5
|
:class="{ 'images__container': users.length }"
|
|
6
6
|
class="col-8 my-auto header__container"
|
|
@@ -104,10 +104,18 @@ export default {
|
|
|
104
104
|
ElDropdownMenu: DropdownMenu,
|
|
105
105
|
ElDropdownItem: DropdownItem,
|
|
106
106
|
},
|
|
107
|
+
computed: {
|
|
108
|
+
headerClass() {
|
|
109
|
+
const baseClass = 'justify-content-between app__header';
|
|
110
|
+
const regex = /\/admissao\/\d+\/\d+/;
|
|
111
|
+
return regex.test(this.currentPath) ? baseClass : `row ${baseClass}`;
|
|
112
|
+
},
|
|
113
|
+
},
|
|
107
114
|
data(){
|
|
108
115
|
return{
|
|
109
116
|
default: '',
|
|
110
|
-
activeUserId: null
|
|
117
|
+
activeUserId: null,
|
|
118
|
+
currentPath: ''
|
|
111
119
|
};
|
|
112
120
|
},
|
|
113
121
|
props:{
|
|
@@ -161,6 +169,9 @@ export default {
|
|
|
161
169
|
this.$emit('active-user', null);
|
|
162
170
|
}
|
|
163
171
|
}
|
|
172
|
+
},
|
|
173
|
+
mounted() {
|
|
174
|
+
this.currentPath = window.location.pathname;
|
|
164
175
|
}
|
|
165
176
|
};
|
|
166
177
|
</script>
|