@burh/nuxt-core 1.0.485 → 1.0.487
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/UserCvMiddle.vue +2 -5
- package/components/burh-ds/Curriculum/UserCurriculum/UserCvRightSide.vue +20 -1
- package/components/burh-ds/Skeleton/AppHeader.vue +4 -1
- package/components/burh-ds/Skeleton/BufferFolderSkeleton.vue +18 -14
- package/package.json +1 -1
|
@@ -188,10 +188,7 @@
|
|
|
188
188
|
)}`
|
|
189
189
|
)
|
|
190
190
|
"
|
|
191
|
-
|
|
192
|
-
{{ cou.name }} - {{ cou.end_year }}
|
|
193
|
-
{{ getTime(false, cou) }}
|
|
194
|
-
</p>
|
|
191
|
+
/>
|
|
195
192
|
</div>
|
|
196
193
|
</div>
|
|
197
194
|
</template>
|
|
@@ -538,7 +535,7 @@ export default {
|
|
|
538
535
|
font-weight: 600;
|
|
539
536
|
outline: 0;
|
|
540
537
|
|
|
541
|
-
padding:
|
|
538
|
+
padding: 0px 5px;
|
|
542
539
|
}
|
|
543
540
|
}
|
|
544
541
|
|
|
@@ -258,8 +258,13 @@
|
|
|
258
258
|
<p class="mt-3">{{ note.text }}</p>
|
|
259
259
|
</div>
|
|
260
260
|
<div
|
|
261
|
-
class="d-flex justify-content-
|
|
261
|
+
class="d-flex justify-content-between align-items-center mx-3"
|
|
262
262
|
>
|
|
263
|
+
<p @click.prevent="handleRemoveNote(note)" v-if="String(currentUser.id) === String(note.user_id)" class="notes-date remove-baloon">
|
|
264
|
+
Excluir
|
|
265
|
+
</p>
|
|
266
|
+
<div v-else></div>
|
|
267
|
+
|
|
263
268
|
<p class="notes-date">
|
|
264
269
|
{{ note.created_at | convertDate }}
|
|
265
270
|
</p>
|
|
@@ -625,6 +630,17 @@ export default {
|
|
|
625
630
|
this.getUserFolderData();
|
|
626
631
|
},
|
|
627
632
|
methods: {
|
|
633
|
+
async handleRemoveNote(note) {
|
|
634
|
+
const apiUrl = `${process.env.baseApiUrl}/company/${note.company_id}/user/${note.user_id}/note/${note.id}`;
|
|
635
|
+
|
|
636
|
+
const response = await this.$axios.delete(apiUrl)
|
|
637
|
+
.then(res => res.data)
|
|
638
|
+
.catch(() => {});
|
|
639
|
+
|
|
640
|
+
if (!response || response && response.error) return this.showToast('error', 'Falha ao remover!');
|
|
641
|
+
|
|
642
|
+
this.notes = this.notes.filter(n => n.id !== note.id);
|
|
643
|
+
},
|
|
628
644
|
removeComment(item){
|
|
629
645
|
this.userReportData.comment = undefined;
|
|
630
646
|
this.$emit('remove-comment', item);
|
|
@@ -795,6 +811,9 @@ export default {
|
|
|
795
811
|
}
|
|
796
812
|
},
|
|
797
813
|
computed: {
|
|
814
|
+
currentUser() {
|
|
815
|
+
return this.$store.state.user.currentUser;
|
|
816
|
+
},
|
|
798
817
|
isLocked() {
|
|
799
818
|
return !this.companyHasProduct(
|
|
800
819
|
this.$store.state.loja && this.$store.state.loja.showableProducts && this.$store.state.loja.showableProducts['HISTORICO_USUARIO'] || false
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
</template>
|
|
12
12
|
|
|
13
13
|
<div class="header__content row">
|
|
14
|
-
<div class="d-flex align-items-center flex-row
|
|
14
|
+
<div class="d-flex align-items-center flex-row header__title">
|
|
15
15
|
<skeleton-animate :width="300" :height="40" />
|
|
16
16
|
</div>
|
|
17
17
|
<div class="images">
|
|
@@ -101,6 +101,9 @@ export default {
|
|
|
101
101
|
text-align: left!important;
|
|
102
102
|
align-items: flex-start!important;
|
|
103
103
|
justify-content: flex-start!important;
|
|
104
|
+
> .header__title {
|
|
105
|
+
width: 100%;
|
|
106
|
+
}
|
|
104
107
|
> .images {
|
|
105
108
|
margin: 0!important;
|
|
106
109
|
margin-top: 10px!important;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
<div class="card-app-buffer">
|
|
3
|
+
<skeleton-animate rounded :width="40" :height="40" />
|
|
4
|
+
<skeleton-animate
|
|
5
|
+
rounded
|
|
6
|
+
:width="80"
|
|
7
|
+
:height="15"
|
|
8
|
+
class="text-skeleton"
|
|
9
|
+
/>
|
|
10
|
+
</div>
|
|
11
11
|
</template>
|
|
12
12
|
|
|
13
13
|
<script>
|
|
14
14
|
import SkeletonAnimate from './SkeletonAnimate.vue';
|
|
15
15
|
|
|
16
16
|
export default {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
name: 'buffer-folder-skeleton',
|
|
18
|
+
components: {
|
|
19
|
+
SkeletonAnimate
|
|
20
|
+
}
|
|
21
21
|
};
|
|
22
22
|
</script>
|
|
23
23
|
|
|
24
24
|
<style lang="scss" scoped>
|
|
25
|
-
.card-app {
|
|
25
|
+
.card-app-buffer {
|
|
26
26
|
width: 22%;
|
|
27
27
|
display: flex;
|
|
28
28
|
align-items: center;
|
|
@@ -30,6 +30,10 @@ export default {
|
|
|
30
30
|
height: 5.625rem !important;
|
|
31
31
|
flex-direction: row;
|
|
32
32
|
padding: 1.875rem 2.18rem !important;
|
|
33
|
+
box-shadow: 0 0 1em rgba(74, 82, 90, 0.15);
|
|
34
|
+
border: 2px solid transparent;
|
|
35
|
+
border-radius: 5px;
|
|
36
|
+
margin-bottom: 1rem;
|
|
33
37
|
|
|
34
38
|
& + div {
|
|
35
39
|
margin: 0 1rem;
|