@burh/nuxt-core 1.0.440 → 1.0.441
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/Cards/BaseCard.vue +2 -2
- package/components/burh-ds/Curriculum/UserCurriculum/UpgradePlan.vue +22 -25
- package/components/burh-ds/Curriculum/UserCurriculum/UserCvMiddle.vue +600 -600
- package/components/burh-ds/Curriculum/UserCurriculum/UserCvRightSide.vue +25 -25
- package/components/burh-ds/Modals/PlanModal.vue +7 -18
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
src="../../../../assets/images/icons/historicCv.svg"
|
|
13
13
|
/>
|
|
14
14
|
</span>
|
|
15
|
-
<upgrade-plan @send-contact="sendContact" v-
|
|
15
|
+
<upgrade-plan @send-contact="sendContact" v-if="isLocked" />
|
|
16
16
|
<p class="notes-title mb-0">Histórico com sua empresa</p>
|
|
17
17
|
<div class="line mb-3"></div>
|
|
18
18
|
<div
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
</p>
|
|
26
26
|
<span>{{ item.date | convertDate }}</span>
|
|
27
27
|
</div>
|
|
28
|
-
<p v-
|
|
28
|
+
<p v-if="companyHistory().length === 0" class="history-text">
|
|
29
29
|
Histórico vazio.
|
|
30
30
|
</p>
|
|
31
31
|
</el-tab-pane>
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
src="../../../../assets/images/icons/notesCv.svg"
|
|
38
38
|
/>
|
|
39
39
|
</span>
|
|
40
|
-
<upgrade-plan @send-contact="sendContact" v-
|
|
40
|
+
<upgrade-plan @send-contact="sendContact" v-if="isLocked" />
|
|
41
41
|
<p class="notes-title mb-0">Notas da equipe</p>
|
|
42
42
|
<div class="line mb-3"></div>
|
|
43
43
|
<div
|
|
@@ -59,12 +59,12 @@
|
|
|
59
59
|
</div>
|
|
60
60
|
<div class="notes-owner d-flex mt-2">
|
|
61
61
|
<img
|
|
62
|
-
v-
|
|
62
|
+
v-if="note.user.urlAvatar"
|
|
63
63
|
:src="note.user.urlAvatar"
|
|
64
64
|
:alt="note.user.name"
|
|
65
65
|
/>
|
|
66
66
|
<div
|
|
67
|
-
v-
|
|
67
|
+
v-if="!note.user.urlAvatar"
|
|
68
68
|
class="notes-avatar"
|
|
69
69
|
></div>
|
|
70
70
|
<p class="ml-1">
|
|
@@ -72,11 +72,11 @@
|
|
|
72
72
|
</p>
|
|
73
73
|
</div>
|
|
74
74
|
</div>
|
|
75
|
-
<div class="notes-text" v-
|
|
75
|
+
<div class="notes-text" v-if="notes.length === 0">
|
|
76
76
|
<p>Nenhuma nota criada.</p>
|
|
77
77
|
</div>
|
|
78
78
|
|
|
79
|
-
<div class="input-container" v-
|
|
79
|
+
<div class="input-container" v-if="!isLocked">
|
|
80
80
|
<input
|
|
81
81
|
class="notes-new pl-4 mt-3 mb-3 form-rounded"
|
|
82
82
|
type="text"
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
src="../../../../assets/images/icons/icon3.svg"
|
|
103
103
|
/>
|
|
104
104
|
</span>
|
|
105
|
-
<upgrade-plan @send-contact="sendContact" v-
|
|
105
|
+
<upgrade-plan @send-contact="sendContact" v-if="isLocked" />
|
|
106
106
|
<p class="notes-title mb-0">Documentos anexados</p>
|
|
107
107
|
<div class="line mb-3"></div>
|
|
108
108
|
|
|
@@ -141,16 +141,16 @@
|
|
|
141
141
|
</div>
|
|
142
142
|
|
|
143
143
|
</div>
|
|
144
|
-
<div class="notes-text" v-
|
|
144
|
+
<div class="notes-text" v-if="archives == null">
|
|
145
145
|
<p>Nenhum arquvio anexado.</p>
|
|
146
146
|
</div>
|
|
147
147
|
|
|
148
|
-
<div class="input-container" v-
|
|
148
|
+
<div class="input-container" v-if="!isLocked">
|
|
149
149
|
<div class="mt-5">
|
|
150
150
|
|
|
151
151
|
<dropzone-file-upload
|
|
152
152
|
disabled
|
|
153
|
-
@error="
|
|
153
|
+
@error="ifMessageError"
|
|
154
154
|
ref="MyDropzone"
|
|
155
155
|
:options="dropzoneOptions"
|
|
156
156
|
v-model="fileToUpload"
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
/>
|
|
172
172
|
</span>
|
|
173
173
|
|
|
174
|
-
<upgrade-plan @send-contact="sendContact" v-
|
|
174
|
+
<upgrade-plan @send-contact="sendContact" v-if="isLocked" />
|
|
175
175
|
|
|
176
176
|
<p class="notes-title mb-0">Laudo do Candidato</p>
|
|
177
177
|
<div class="line mb-3"></div>
|
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
ref="MyReportDropzone"
|
|
183
183
|
v-model="reportFileUpload"
|
|
184
184
|
:options="reportsDropdownzoneOptions"
|
|
185
|
-
@error="
|
|
185
|
+
@error="ifMessageError"
|
|
186
186
|
/>
|
|
187
187
|
|
|
188
188
|
<div class="archive-buttons" v-if="reportFileUpload.length > 0">
|
|
@@ -278,7 +278,7 @@
|
|
|
278
278
|
</div>
|
|
279
279
|
</div>
|
|
280
280
|
|
|
281
|
-
<div class="input-container" v-
|
|
281
|
+
<div class="input-container" v-if="!isLocked && !userReportData.comment">
|
|
282
282
|
<input
|
|
283
283
|
class="notes-new pl-4 mt-3 mb-3 form-rounded"
|
|
284
284
|
type="text"
|
|
@@ -375,7 +375,7 @@ export default {
|
|
|
375
375
|
hasReportRemove: false,
|
|
376
376
|
hasCommentRemove: false,
|
|
377
377
|
isLocked: !this.companyHasProduct(
|
|
378
|
-
this.$store.state.loja && this.$store.state.loja.
|
|
378
|
+
this.$store.state.loja && this.$store.state.loja.ifableProducts && this.$store.state.loja.ifableProducts['HISTORICO_USUARIO'] || false
|
|
379
379
|
),
|
|
380
380
|
};
|
|
381
381
|
},
|
|
@@ -419,11 +419,11 @@ export default {
|
|
|
419
419
|
this.currentRemoveItem = item;
|
|
420
420
|
},
|
|
421
421
|
|
|
422
|
-
|
|
422
|
+
ifToast(type, title){
|
|
423
423
|
const Toast = swal.mixin({
|
|
424
424
|
toast: true,
|
|
425
425
|
position: 'top-end',
|
|
426
|
-
|
|
426
|
+
ifConfirmButton: false,
|
|
427
427
|
timer: 3100,
|
|
428
428
|
});
|
|
429
429
|
|
|
@@ -433,12 +433,12 @@ export default {
|
|
|
433
433
|
});
|
|
434
434
|
},
|
|
435
435
|
|
|
436
|
-
|
|
436
|
+
ifMessageError(file, message) {
|
|
437
437
|
this.isError = true;
|
|
438
438
|
this.$refs.Mydropzone && this.$refs.Mydropzone.removeAllFiles();
|
|
439
439
|
|
|
440
440
|
if (file.status !== 'canceled'){
|
|
441
|
-
this.
|
|
441
|
+
this.ifToast('error', message);
|
|
442
442
|
}
|
|
443
443
|
},
|
|
444
444
|
|
|
@@ -450,13 +450,13 @@ export default {
|
|
|
450
450
|
if (!this.isError) {
|
|
451
451
|
this.$emit('save-archive', this.fileToUpload[0], this.userData.id);
|
|
452
452
|
this.$refs.MyDropzone && this.$refs.MyDropzone.removeAllFiles();
|
|
453
|
-
this.
|
|
453
|
+
this.ifToast('success', 'Arquivo enviado com sucesso.');
|
|
454
454
|
|
|
455
455
|
} else {
|
|
456
456
|
if (this.fileToUpload.length > 0) {
|
|
457
|
-
this.
|
|
457
|
+
this.ifToast('error', 'Arquivo invalido.');
|
|
458
458
|
} else {
|
|
459
|
-
this.
|
|
459
|
+
this.ifToast('warning', 'Selecione um arquivo.');
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
462
|
},
|
|
@@ -465,13 +465,13 @@ export default {
|
|
|
465
465
|
if (!this.isError) {
|
|
466
466
|
this.$emit('save-report', this.reportFileUpload[0], this.userFolderId);
|
|
467
467
|
this.$refs.MyReportDropzone && this.$refs.MyReportDropzone.removeAllFiles();
|
|
468
|
-
this.
|
|
468
|
+
this.ifToast('success', 'Arquivo enviado com sucesso.');
|
|
469
469
|
|
|
470
470
|
} else {
|
|
471
471
|
if (this.reportFileUpload.length > 0) {
|
|
472
|
-
this.
|
|
472
|
+
this.ifToast('error', 'Arquivo invalido.');
|
|
473
473
|
} else {
|
|
474
|
-
this.
|
|
474
|
+
this.ifToast('warning', 'Selecione um arquivo.');
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
477
|
},
|
|
@@ -61,9 +61,13 @@
|
|
|
61
61
|
/>
|
|
62
62
|
</validation-provider>
|
|
63
63
|
|
|
64
|
-
<button
|
|
64
|
+
<base-button
|
|
65
|
+
type="primary"
|
|
66
|
+
class="w-100 m-auto"
|
|
67
|
+
@click.native="sendContact()"
|
|
68
|
+
>
|
|
65
69
|
Solicitar Contato
|
|
66
|
-
</button>
|
|
70
|
+
</base-button>
|
|
67
71
|
</section>
|
|
68
72
|
</validation-observer>
|
|
69
73
|
</section>
|
|
@@ -195,7 +199,7 @@ export default {
|
|
|
195
199
|
&__contact {
|
|
196
200
|
width: 47%;
|
|
197
201
|
|
|
198
|
-
background: #
|
|
202
|
+
background: #eff5fd;
|
|
199
203
|
border-radius: 5px;
|
|
200
204
|
padding: 1rem 1.5rem 1rem;
|
|
201
205
|
margin-left: 2rem;
|
|
@@ -225,21 +229,6 @@ export default {
|
|
|
225
229
|
border: 0;
|
|
226
230
|
outline: 0;
|
|
227
231
|
}
|
|
228
|
-
|
|
229
|
-
button {
|
|
230
|
-
margin-top: 0.6rem;
|
|
231
|
-
|
|
232
|
-
width: 100%;
|
|
233
|
-
height: 2rem;
|
|
234
|
-
|
|
235
|
-
background: #5865f2;
|
|
236
|
-
box-shadow: 0px 4.22794px 10.1471px rgba(0, 0, 0, 0.15);
|
|
237
|
-
border-radius: 22.8309px;
|
|
238
|
-
border: 0;
|
|
239
|
-
outline: 0;
|
|
240
|
-
|
|
241
|
-
color: #fff;
|
|
242
|
-
}
|
|
243
232
|
}
|
|
244
233
|
}
|
|
245
234
|
}
|