@burh/nuxt-core 1.0.157 → 1.0.159
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.
|
@@ -1,140 +1,156 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
2
|
+
<div class="bg-white content-right tabs">
|
|
3
|
+
<el-tabs
|
|
4
|
+
:class="activeName"
|
|
5
|
+
class="mt-3 ml-4 handle-icon-color"
|
|
6
|
+
v-model="activeName"
|
|
7
|
+
>
|
|
8
|
+
<el-tab-pane class="history" name="history">
|
|
9
|
+
<span class="tab__icon" slot="label">
|
|
10
|
+
<img
|
|
11
|
+
class="img__icon img__icon--history"
|
|
12
|
+
src="../../../../assets/images/icons/historicCv.svg"
|
|
13
|
+
/>
|
|
14
|
+
</span>
|
|
15
|
+
<p class="notes-title mb-0">Histórico com sua empresa</p>
|
|
16
|
+
<div class="line mb-3"></div>
|
|
17
|
+
|
|
18
|
+
<div
|
|
19
|
+
v-show="userData.user_applied_job.length > 0"
|
|
20
|
+
class="mt-3"
|
|
21
|
+
v-for="(applied, index) in userData.user_applied_job"
|
|
22
|
+
:key="index"
|
|
23
|
+
>
|
|
24
|
+
<p class="history-text mb-0">
|
|
25
|
+
Se candidatou na vaga {{ applied.job.title }}
|
|
26
|
+
</p>
|
|
27
|
+
<span>{{ applied.subscribe_at | convertDate }}</span>
|
|
28
|
+
</div>
|
|
29
|
+
<p
|
|
30
|
+
v-show="userData.user_applied_job.length === 0"
|
|
31
|
+
class="history-text"
|
|
32
|
+
>
|
|
33
|
+
Nenhuma vaga aplicada.
|
|
34
|
+
</p>
|
|
35
|
+
</el-tab-pane>
|
|
36
|
+
|
|
37
|
+
<el-tab-pane name="notes" v-if="isNotesActived">
|
|
38
|
+
<span class="tab__icon" slot="label">
|
|
39
|
+
<img
|
|
40
|
+
class="img__icon img__icon--notes"
|
|
41
|
+
src="../../../../assets/images/icons/notesCv.svg"
|
|
42
|
+
/>
|
|
43
|
+
</span>
|
|
44
|
+
<p class="notes-title mb-0">Notas da equipe</p>
|
|
45
|
+
<div class="line mb-3"></div>
|
|
46
|
+
<div
|
|
47
|
+
v-show="notes.length > 0"
|
|
48
|
+
v-for="(note, index) in notes"
|
|
49
|
+
:key="index"
|
|
50
|
+
>
|
|
51
|
+
<div class="notes-baloon">
|
|
52
|
+
<div class="notes-text ml-3 pt-1">
|
|
53
|
+
<p class="mt-3">{{ note.text }}</p>
|
|
54
|
+
</div>
|
|
55
|
+
<div
|
|
56
|
+
class="d-flex justify-content-end align-items-center mr-3"
|
|
57
|
+
>
|
|
58
|
+
<p class="notes-date">
|
|
59
|
+
{{ note.created_at | convertDate }}
|
|
60
|
+
</p>
|
|
61
|
+
</div>
|
|
62
|
+
</div>
|
|
63
|
+
<div class="notes-owner d-flex mt-2">
|
|
64
|
+
<img
|
|
65
|
+
v-show="note.user.urlAvatar"
|
|
66
|
+
:src="note.user.urlAvatar"
|
|
67
|
+
:alt="note.user.name"
|
|
68
|
+
/>
|
|
69
|
+
<div
|
|
70
|
+
v-show="!note.user.urlAvatar"
|
|
71
|
+
class="notes-avatar"
|
|
72
|
+
></div>
|
|
73
|
+
<p class="ml-1">
|
|
74
|
+
{{ note.user.name }}
|
|
75
|
+
</p>
|
|
76
|
+
</div>
|
|
77
|
+
</div>
|
|
78
|
+
<div class="notes-text" v-show="notes.length === 0">
|
|
79
|
+
<p>Nenhuma nota criada.</p>
|
|
80
|
+
</div>
|
|
81
|
+
|
|
82
|
+
<input
|
|
83
|
+
class="notes-new pl-4 mt-3 mb-3 form-rounded"
|
|
84
|
+
type="text"
|
|
85
|
+
placeholder="Escrever anotação"
|
|
86
|
+
v-model="newNote"
|
|
87
|
+
@change="$emit('new-note', newNote, userData.id)"
|
|
88
|
+
v-on:change="cleatInput()"
|
|
89
|
+
/>
|
|
90
|
+
</el-tab-pane>
|
|
91
|
+
|
|
92
|
+
<el-tab-pane :disabled="true">
|
|
93
|
+
<span class="tab__icon cursor-disabled" slot="label">
|
|
94
|
+
<img
|
|
95
|
+
class="img__icon"
|
|
96
|
+
src="../../../../assets/images/icons/icon3.svg"
|
|
97
|
+
/>
|
|
98
|
+
</span>
|
|
99
|
+
</el-tab-pane>
|
|
100
|
+
|
|
101
|
+
<el-tab-pane :disabled="true">
|
|
102
|
+
<span class="tab__icon cursor-disabled" slot="label">
|
|
103
|
+
<img
|
|
104
|
+
class="img__icon"
|
|
105
|
+
src="../../../../assets/images/icons/icon4.svg"
|
|
106
|
+
/>
|
|
107
|
+
</span>
|
|
108
|
+
</el-tab-pane>
|
|
109
|
+
</el-tabs>
|
|
110
|
+
</div>
|
|
95
111
|
</template>
|
|
96
112
|
|
|
97
113
|
<script>
|
|
98
114
|
import { Tabs, TabPane } from 'element-ui';
|
|
99
115
|
|
|
100
116
|
export default {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
117
|
+
name: 'user-cv-left-side',
|
|
118
|
+
filters: {
|
|
119
|
+
convertDate(data) {
|
|
120
|
+
let d = new Date(data);
|
|
121
|
+
let options = { hour: '2-digit', minute: '2-digit' };
|
|
122
|
+
return d.toLocaleDateString('pt-BR', options);
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
components: {
|
|
126
|
+
[Tabs.name]: Tabs,
|
|
127
|
+
[TabPane.name]: TabPane
|
|
128
|
+
},
|
|
129
|
+
props: {
|
|
130
|
+
userData: Object,
|
|
131
|
+
notes: Array,
|
|
132
|
+
activeName: String,
|
|
133
|
+
isNotesActived: {
|
|
134
|
+
type: Boolean,
|
|
135
|
+
default: true
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
methods: {
|
|
139
|
+
cleatInput() {
|
|
140
|
+
this.newNote = '';
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
data() {
|
|
144
|
+
return {
|
|
145
|
+
newNote: '',
|
|
146
|
+
active: this.activeName
|
|
147
|
+
};
|
|
148
|
+
}
|
|
133
149
|
};
|
|
134
150
|
</script>
|
|
135
151
|
|
|
136
152
|
<style lang="scss" scoped>
|
|
137
|
-
@import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
|
|
153
|
+
@import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
|
|
138
154
|
|
|
139
155
|
.readmore {
|
|
140
156
|
overflow: hidden;
|
|
@@ -144,16 +160,16 @@ export default {
|
|
|
144
160
|
-webkit-box-orient: vertical;
|
|
145
161
|
}
|
|
146
162
|
.el-tabs__item {
|
|
147
|
-
|
|
163
|
+
padding: 3rem;
|
|
148
164
|
}
|
|
149
165
|
|
|
150
166
|
.tab__icon {
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
167
|
+
.img__icon {
|
|
168
|
+
background-color: #f5f5f5 !important;
|
|
169
|
+
border-radius: 30%;
|
|
170
|
+
padding: 7px;
|
|
171
|
+
margin-bottom: 1rem;
|
|
172
|
+
}
|
|
157
173
|
}
|
|
158
174
|
|
|
159
175
|
.content-right {
|
|
@@ -231,9 +247,9 @@ export default {
|
|
|
231
247
|
}
|
|
232
248
|
|
|
233
249
|
.history {
|
|
234
|
-
|
|
250
|
+
margin-right: 22px;
|
|
235
251
|
word-break: break-word;
|
|
236
|
-
|
|
252
|
+
|
|
237
253
|
.history-text {
|
|
238
254
|
font-size: 13px;
|
|
239
255
|
color: #62778c;
|
|
@@ -246,4 +262,8 @@ export default {
|
|
|
246
262
|
color: #8da2b5;
|
|
247
263
|
}
|
|
248
264
|
}
|
|
265
|
+
|
|
266
|
+
.cursor-disabled {
|
|
267
|
+
cursor: no-drop;
|
|
268
|
+
}
|
|
249
269
|
</style>
|