@burh/nuxt-core 1.0.295 → 1.0.298
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,196 +1,227 @@
|
|
|
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
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
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
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
2
|
+
<div class="bg-white content-left">
|
|
3
|
+
<div class="profile w-100 text-center">
|
|
4
|
+
<div class="avatar">
|
|
5
|
+
<img
|
|
6
|
+
v-if="userData.urlAvatar"
|
|
7
|
+
:src="userData.urlAvatar"
|
|
8
|
+
:alt="userData.name"
|
|
9
|
+
/>
|
|
10
|
+
<div v-else class="no-image">
|
|
11
|
+
{{ userData.name }}
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
<h5
|
|
16
|
+
class="mb-0 text-wrap"
|
|
17
|
+
:class="{ 'mt-5': !userData.urlAvatar }"
|
|
18
|
+
v-html="
|
|
19
|
+
highlightText(
|
|
20
|
+
search,
|
|
21
|
+
`${userData.name} ${userData.last_name}`
|
|
22
|
+
)
|
|
23
|
+
"
|
|
24
|
+
></h5>
|
|
25
|
+
|
|
26
|
+
<p
|
|
27
|
+
class="user-info"
|
|
28
|
+
v-if="userData.user_experience.length > 0"
|
|
29
|
+
v-html="
|
|
30
|
+
highlightText(
|
|
31
|
+
search,
|
|
32
|
+
`${userData.user_experience[0].job_title} em ${userData.user_experience[0].company}`
|
|
33
|
+
)
|
|
34
|
+
"
|
|
35
|
+
></p>
|
|
36
|
+
|
|
37
|
+
<span v-if="userData.user_address">
|
|
38
|
+
<i class="fas fa-map-marker-alt"></i>
|
|
39
|
+
{{ userData.user_address.city_name }} -
|
|
40
|
+
{{ userData.user_address.region_code }}
|
|
41
|
+
</span>
|
|
42
|
+
<br />
|
|
43
|
+
<span
|
|
44
|
+
v-if="
|
|
45
|
+
userData.user_complementary_information.wage_pretension > 1
|
|
46
|
+
"
|
|
47
|
+
>Pretensão salarial:
|
|
48
|
+
{{
|
|
49
|
+
userData.user_complementary_information.wage_pretension
|
|
50
|
+
| convertMoney
|
|
51
|
+
}}</span
|
|
52
|
+
>
|
|
53
|
+
</div>
|
|
54
|
+
|
|
55
|
+
<div
|
|
56
|
+
class="deficiency title-block mt-3 ml-4"
|
|
57
|
+
v-if="userData.user_deficiency"
|
|
58
|
+
>
|
|
59
|
+
<div class="d-flex align-items-center">
|
|
60
|
+
<i class="fas fa-wheelchair"></i>
|
|
61
|
+
<h6 class="mb-0 ml-2">Deficiência</h6>
|
|
62
|
+
</div>
|
|
63
|
+
<div class="line"></div>
|
|
64
|
+
<p>
|
|
65
|
+
{{ userData.user_deficiency.deficiency_id | allDeficiencies }} -
|
|
66
|
+
{{ userData.user_deficiency.cid }}
|
|
67
|
+
</p>
|
|
68
|
+
|
|
69
|
+
<p v-show="userData.user_deficiency.appliance">
|
|
70
|
+
Acessório: {{ userData.user_deficiency.appliance }}
|
|
71
|
+
</p>
|
|
72
|
+
|
|
73
|
+
<p v-show="userData.user_deficiency.apparatus">
|
|
74
|
+
Necessidade: {{ userData.user_deficiency.apparatus }}
|
|
75
|
+
</p>
|
|
76
|
+
|
|
77
|
+
<p v-show="userData.user_deficiency.course">
|
|
78
|
+
Curso: {{ userData.user_deficiency.course }}
|
|
79
|
+
</p>
|
|
80
|
+
|
|
81
|
+
<p v-show="userData.user_deficiency.note">
|
|
82
|
+
Anotações: {{ userData.user_deficiency.note }}
|
|
83
|
+
</p>
|
|
84
|
+
|
|
85
|
+
<p v-show="userData.user_deficiency.transport === 1">
|
|
86
|
+
Utiliza transporte coletivo
|
|
87
|
+
</p>
|
|
88
|
+
|
|
89
|
+
<p v-show="userData.user_deficiency.vehicle === 1">
|
|
90
|
+
Possuí veículo adaptado
|
|
91
|
+
</p>
|
|
92
|
+
|
|
93
|
+
<p v-show="userData.user_deficiency.escort === 1">
|
|
94
|
+
Precisa de acompanhante
|
|
95
|
+
</p>
|
|
96
|
+
</div>
|
|
97
|
+
|
|
98
|
+
<div
|
|
99
|
+
v-show="userData.user_desired_job.length > 0"
|
|
100
|
+
class="desidered title-block mt-3 ml-4"
|
|
101
|
+
>
|
|
102
|
+
<h6 class="mb-0">Cargos desejados</h6>
|
|
103
|
+
<div class="line"></div>
|
|
104
|
+
|
|
105
|
+
<p
|
|
106
|
+
v-for="(des, index) in userData.user_desired_job"
|
|
107
|
+
:key="`skill-${index}`"
|
|
108
|
+
class="ml-1 mt-1 mb-0 text-capitalize"
|
|
109
|
+
v-html="highlightText(search, des.occupation)"
|
|
110
|
+
></p>
|
|
111
|
+
</div>
|
|
112
|
+
|
|
113
|
+
<div
|
|
114
|
+
v-show="userData.user_language.length > 0"
|
|
115
|
+
class="languages title-block mt-3 ml-4"
|
|
116
|
+
>
|
|
117
|
+
<h6 class="mb-0">Idiomas</h6>
|
|
118
|
+
<div class="line"></div>
|
|
119
|
+
|
|
120
|
+
<p
|
|
121
|
+
class="mb-1 text-capitalize"
|
|
122
|
+
v-for="(lan, index) in userData.user_language"
|
|
123
|
+
:key="index"
|
|
124
|
+
v-html="
|
|
125
|
+
highlightText(
|
|
126
|
+
search,
|
|
127
|
+
`${lan.language[0].name} ${languageLevel(lan.level)}`
|
|
128
|
+
)
|
|
129
|
+
"
|
|
130
|
+
></p>
|
|
131
|
+
</div>
|
|
132
|
+
|
|
133
|
+
<div
|
|
134
|
+
v-show="userData.user_skill.length > 0"
|
|
135
|
+
class="skills title-block ml-4"
|
|
136
|
+
>
|
|
137
|
+
<h6 class="mb-0">Habilidades</h6>
|
|
138
|
+
<div class="line"></div>
|
|
139
|
+
|
|
140
|
+
<p
|
|
141
|
+
v-for="(skill, index) in userData.user_skill"
|
|
142
|
+
:key="`skill-${index}`"
|
|
143
|
+
class="ml-1 mt-1 mb-0 text-capitalize"
|
|
144
|
+
v-html="highlightText(search, skill.skill_word)"
|
|
145
|
+
></p>
|
|
146
|
+
</div>
|
|
147
|
+
|
|
148
|
+
<div class="socials text-center mt-5">
|
|
149
|
+
<a
|
|
150
|
+
:href="baseUrl + '/' + userData.slug.slug"
|
|
151
|
+
class="text-center"
|
|
152
|
+
target="_blank"
|
|
153
|
+
rel="noopener noreferrer"
|
|
154
|
+
>
|
|
155
|
+
<img
|
|
156
|
+
class="no-social"
|
|
157
|
+
src="../../../../assets/images/burhCv.svg"
|
|
158
|
+
alt="Burh"
|
|
159
|
+
/>
|
|
160
|
+
</a>
|
|
161
|
+
<a
|
|
162
|
+
v-show="userData.user_complementary_information.facebook_url"
|
|
163
|
+
:href="userData.user_complementary_information.facebook_url"
|
|
164
|
+
target="_blank"
|
|
165
|
+
class="ml-2"
|
|
166
|
+
rel="noopener noreferrer"
|
|
167
|
+
>
|
|
168
|
+
<img
|
|
169
|
+
class="no-social"
|
|
170
|
+
src="../../../../assets/images/facebookCv.svg"
|
|
171
|
+
alt="Facebook"
|
|
172
|
+
/>
|
|
173
|
+
</a>
|
|
174
|
+
<a
|
|
175
|
+
v-show="userData.user_complementary_information.linkedin_url"
|
|
176
|
+
:href="userData.user_complementary_information.linkedin_url"
|
|
177
|
+
target="_blank"
|
|
178
|
+
class="ml-2"
|
|
179
|
+
rel="noopener noreferrer"
|
|
180
|
+
>
|
|
181
|
+
<img
|
|
182
|
+
class="no-social"
|
|
183
|
+
src="../../../../assets/images/linkedinCv.svg"
|
|
184
|
+
alt="Linkdin"
|
|
185
|
+
/>
|
|
186
|
+
</a>
|
|
187
|
+
<a
|
|
188
|
+
v-show="userData.user_complementary_information.website"
|
|
189
|
+
:href="userData.user_complementary_information.website"
|
|
190
|
+
class="text-center ml-2"
|
|
191
|
+
target="_blank"
|
|
192
|
+
rel="noopener noreferrer"
|
|
193
|
+
>
|
|
194
|
+
<img
|
|
195
|
+
class="no-social"
|
|
196
|
+
src="../../../../assets/images/webCv.svg"
|
|
197
|
+
alt="Web"
|
|
198
|
+
/>
|
|
199
|
+
</a>
|
|
200
|
+
</div>
|
|
201
|
+
|
|
202
|
+
<div class="burh-code text-center mt-4">
|
|
203
|
+
<vue-qrcode
|
|
204
|
+
:value="baseUrl + '/' + userData.slug.slug"
|
|
205
|
+
:options="{ width: 98, height: 98 }"
|
|
206
|
+
class="border qr-code"
|
|
207
|
+
></vue-qrcode>
|
|
208
|
+
<p class="mb-0">Código BURH</p>
|
|
209
|
+
<span class="qr-id">{{ userData.id }}</span
|
|
210
|
+
><br />
|
|
211
|
+
<div class="teste-block">
|
|
212
|
+
<span class="font-weight-normal mt-2 d-block" v-if="!isLocked"
|
|
213
|
+
>Data de atualização:
|
|
214
|
+
{{ $moment(userData.updated_at).format('DD/MM/YYYY H:mm') }}
|
|
215
|
+
<!-- <template v-if="isLocked" @click="$emit('open-contact', isLocked)">
|
|
184
216
|
<i class="fa fa-lock"></i>
|
|
185
217
|
</template>
|
|
186
218
|
<template v-else>
|
|
187
219
|
{{$moment(userData.updated_at).format('DD/MM/YYYY H:mm')}}
|
|
188
220
|
</template> -->
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
</div>
|
|
221
|
+
</span>
|
|
222
|
+
</div>
|
|
223
|
+
</div>
|
|
224
|
+
</div>
|
|
194
225
|
</template>
|
|
195
226
|
|
|
196
227
|
<script>
|
|
@@ -199,134 +230,144 @@ import VueQrcode from '@chenfengyuan/vue-qrcode';
|
|
|
199
230
|
import swal from 'sweetalert2';
|
|
200
231
|
|
|
201
232
|
export default {
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
233
|
+
name: 'user-cv-left-side',
|
|
234
|
+
components: {
|
|
235
|
+
VueQrcode
|
|
236
|
+
},
|
|
237
|
+
computed: {
|
|
238
|
+
currentCompany() {
|
|
239
|
+
return this.$store.state.company.currentCompany;
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
props: {
|
|
243
|
+
userData: Object,
|
|
244
|
+
baseUrl: String,
|
|
245
|
+
search: {
|
|
246
|
+
type: String,
|
|
247
|
+
default: ''
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
data() {
|
|
251
|
+
return {
|
|
252
|
+
isLocked: !this.companyHasProduct(
|
|
253
|
+
this.$store.state.loja.showableProducts['BUSCA_AVANCADA']
|
|
254
|
+
)
|
|
255
|
+
};
|
|
256
|
+
},
|
|
257
|
+
methods: {
|
|
258
|
+
highlightText(search, text) {
|
|
259
|
+
if (search.length < 2) return text;
|
|
260
|
+
|
|
261
|
+
const regex = new RegExp(search.toLowerCase(), 'gmi');
|
|
262
|
+
return String(text || '').replace(
|
|
263
|
+
regex,
|
|
264
|
+
`<span class="search-highlight">${search}</span>`
|
|
265
|
+
);
|
|
266
|
+
},
|
|
267
|
+
getTime(
|
|
268
|
+
{ start_year = null, end_year = null, start_month, end_month },
|
|
269
|
+
textHappening = 'Cursando'
|
|
270
|
+
) {
|
|
271
|
+
const isHappening = !end_month && !end_year;
|
|
272
|
+
|
|
273
|
+
if (isHappening) {
|
|
274
|
+
return textHappening;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
const dateInitial = this.$moment(
|
|
278
|
+
['1', start_month.toString(), start_year.toString()],
|
|
279
|
+
'DD/MM/YYYY'
|
|
280
|
+
);
|
|
281
|
+
const dateDone = this.$moment(
|
|
282
|
+
['1', end_month.toString(), end_year.toString()],
|
|
283
|
+
'DD/MM/YYYY'
|
|
284
|
+
);
|
|
285
|
+
const diffDuration = this.$moment.duration(
|
|
286
|
+
dateDone.diff(dateInitial)
|
|
287
|
+
);
|
|
288
|
+
const years = diffDuration.years();
|
|
289
|
+
const months = diffDuration.months();
|
|
290
|
+
|
|
291
|
+
if (years) {
|
|
292
|
+
return years > 1 ? `(${years} anos)` : `(${years} ano)`;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
return months > 1
|
|
296
|
+
? `(${months} meses)`
|
|
297
|
+
: months == 1
|
|
298
|
+
? `(${months} mês)`
|
|
299
|
+
: '';
|
|
300
|
+
},
|
|
301
|
+
languageLevel(level) {
|
|
302
|
+
switch (parseInt(level)) {
|
|
303
|
+
case 1:
|
|
304
|
+
return 'Iniciante';
|
|
305
|
+
case 2:
|
|
306
|
+
return 'Elementar';
|
|
307
|
+
case 3:
|
|
308
|
+
return 'Pré-intermediário';
|
|
309
|
+
case 4:
|
|
310
|
+
return 'Intermediário';
|
|
311
|
+
case 5:
|
|
312
|
+
return 'Intermediário Superior';
|
|
313
|
+
case 6:
|
|
314
|
+
return 'Avançado';
|
|
315
|
+
case 7:
|
|
316
|
+
return 'Fluente';
|
|
317
|
+
default:
|
|
318
|
+
return '';
|
|
319
|
+
}
|
|
320
|
+
},
|
|
321
|
+
treatPhone(phone) {
|
|
322
|
+
if (phone) {
|
|
323
|
+
if (phone == '0' || phone.length < 9 || !phone) {
|
|
324
|
+
return 'não cadastrado';
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
return phone;
|
|
329
|
+
},
|
|
330
|
+
treatCellphone(cellphone) {
|
|
331
|
+
if (cellphone) {
|
|
332
|
+
if (cellphone == '0' || cellphone.length < 11 || !cellphone) {
|
|
333
|
+
return 'não cadastrado';
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
return cellphone;
|
|
338
|
+
},
|
|
339
|
+
handleGetPrefixes(name = '') {
|
|
340
|
+
return getPrefixes(name);
|
|
341
|
+
},
|
|
342
|
+
treatEndDate(end_month, end_year) {
|
|
343
|
+
if (end_month && end_year) {
|
|
344
|
+
return `${end_month}/${end_year}`;
|
|
345
|
+
}
|
|
346
|
+
return '';
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
filters: {
|
|
350
|
+
allDeficiencies(id) {
|
|
351
|
+
const typeDeficiency = {
|
|
352
|
+
1: 'Deficiência Física',
|
|
353
|
+
2: 'Deficiência Visual',
|
|
354
|
+
3: 'Deficiência Mental',
|
|
355
|
+
4: 'Deficiência Auditiva',
|
|
356
|
+
5: 'Deficiência Fonológica',
|
|
357
|
+
6: 'Deficiência Múltipla'
|
|
358
|
+
};
|
|
359
|
+
|
|
360
|
+
return typeDeficiency[id] || '-';
|
|
361
|
+
},
|
|
362
|
+
convertMoney(money) {
|
|
363
|
+
let moneyAux = parseFloat(money);
|
|
364
|
+
let m = moneyAux.toLocaleString('pt-BR', {
|
|
365
|
+
style: 'currency',
|
|
366
|
+
currency: 'BRL'
|
|
367
|
+
});
|
|
368
|
+
return m;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
330
371
|
};
|
|
331
372
|
</script>
|
|
332
373
|
|
|
@@ -334,12 +375,12 @@ export default {
|
|
|
334
375
|
@import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
|
|
335
376
|
|
|
336
377
|
/deep/ .search-highlight {
|
|
337
|
-
|
|
338
|
-
|
|
378
|
+
background: rgb(255, 252, 61);
|
|
379
|
+
color: #000;
|
|
339
380
|
}
|
|
340
381
|
|
|
341
|
-
.teste-block{
|
|
342
|
-
|
|
382
|
+
.teste-block {
|
|
383
|
+
display: inline !important;
|
|
343
384
|
}
|
|
344
385
|
.qr-id {
|
|
345
386
|
color: #32325d !important;
|
|
@@ -351,7 +392,7 @@ export default {
|
|
|
351
392
|
|
|
352
393
|
.profile {
|
|
353
394
|
.avatar {
|
|
354
|
-
background: transparent!important;
|
|
395
|
+
background: transparent !important;
|
|
355
396
|
img {
|
|
356
397
|
width: 178.14px;
|
|
357
398
|
height: 163px;
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
<h5 class="font-weight-bold mt-4 ml-3">Contatos</h5>
|
|
62
62
|
<div class="ml-3 info-text">
|
|
63
63
|
<span v-if="userData.email != null">Email: {{userData.email}}</span><br>
|
|
64
|
-
<span v-if="userData.user_contact.cellphone != null && userData.user_contact.cellphone.length > 1 ">Celular: {{phoneMask(userData.user_contact.cellphone)}}</span><br>
|
|
65
|
-
<span v-if="userData.user_contact.phone != null && userData.user_contact.phone.length > 1">Telefone: {{phoneMask(userData.user_contact.phone)}}</span>
|
|
64
|
+
<span v-if="userData.user_contact && userData.user_contact.cellphone != null && userData.user_contact.cellphone.length > 1 ">Celular: {{phoneMask(userData.user_contact.cellphone)}}</span><br>
|
|
65
|
+
<span v-if="userData.user_contact && userData.user_contact.phone != null && userData.user_contact.phone.length > 1">Telefone: {{phoneMask(userData.user_contact.phone)}}</span>
|
|
66
66
|
</div>
|
|
67
67
|
|
|
68
68
|
<!-- EDUCAÇÃO -->
|