@burh/nuxt-core 1.0.443 → 1.0.444
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.
|
@@ -13,21 +13,25 @@
|
|
|
13
13
|
/>
|
|
14
14
|
</span>
|
|
15
15
|
<upgrade-plan @send-contact="sendContact" v-if="isLocked" />
|
|
16
|
+
|
|
16
17
|
<p class="notes-title mb-0">Histórico com sua empresa</p>
|
|
17
18
|
<div class="line mb-3"></div>
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
|
|
20
|
+
<template v-if="!isLocked">
|
|
21
|
+
<div
|
|
22
|
+
class="mt-3"
|
|
23
|
+
v-for="(item, index) in orderByDate(companyHistory())"
|
|
24
|
+
:key="index"
|
|
25
|
+
>
|
|
26
|
+
<p class="history-text mb-0">
|
|
27
|
+
{{ item.text }}
|
|
28
|
+
</p>
|
|
29
|
+
<span>{{ item.date | convertDate }}</span>
|
|
30
|
+
</div>
|
|
31
|
+
<p v-if="companyHistory().length === 0" class="history-text">
|
|
32
|
+
Histórico vazio.
|
|
25
33
|
</p>
|
|
26
|
-
|
|
27
|
-
</div>
|
|
28
|
-
<p v-if="companyHistory().length === 0" class="history-text">
|
|
29
|
-
Histórico vazio.
|
|
30
|
-
</p>
|
|
34
|
+
</template>
|
|
31
35
|
</el-tab-pane>
|
|
32
36
|
|
|
33
37
|
<el-tab-pane name="notes" class="ml-2" v-if="isNotesActived">
|
|
@@ -37,44 +41,50 @@
|
|
|
37
41
|
src="../../../../assets/images/icons/notesCv.svg"
|
|
38
42
|
/>
|
|
39
43
|
</span>
|
|
44
|
+
|
|
40
45
|
<upgrade-plan @send-contact="sendContact" v-if="isLocked" />
|
|
46
|
+
|
|
41
47
|
<p class="notes-title mb-0">Notas da equipe</p>
|
|
42
48
|
<div class="line mb-3"></div>
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
v-
|
|
46
|
-
:key="index"
|
|
47
|
-
>
|
|
48
|
-
<div class="notes-baloon">
|
|
49
|
-
<div class="notes-text ml-3 pt-1">
|
|
50
|
-
<p class="mt-3">{{ note.text }}</p>
|
|
51
|
-
</div>
|
|
49
|
+
|
|
50
|
+
<template v-if="!isLocked">
|
|
51
|
+
<template v-if="notes.length > 0">
|
|
52
52
|
<div
|
|
53
|
-
|
|
53
|
+
v-for="(note, index) in notes.slice(0, 5)"
|
|
54
|
+
:key="index"
|
|
54
55
|
>
|
|
55
|
-
<
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
<div class="notes-baloon">
|
|
57
|
+
<div class="notes-text ml-3 pt-1">
|
|
58
|
+
<p class="mt-3">{{ note.text }}</p>
|
|
59
|
+
</div>
|
|
60
|
+
<div
|
|
61
|
+
class="d-flex justify-content-end align-items-center mr-3"
|
|
62
|
+
>
|
|
63
|
+
<p class="notes-date">
|
|
64
|
+
{{ note.created_at | convertDate }}
|
|
65
|
+
</p>
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
<div class="notes-owner d-flex mt-2">
|
|
69
|
+
<img
|
|
70
|
+
v-if="note.user.urlAvatar"
|
|
71
|
+
:src="note.user.urlAvatar"
|
|
72
|
+
:alt="note.user.name"
|
|
73
|
+
/>
|
|
74
|
+
<div
|
|
75
|
+
v-if="!note.user.urlAvatar"
|
|
76
|
+
class="notes-avatar"
|
|
77
|
+
></div>
|
|
78
|
+
<p class="ml-1">
|
|
79
|
+
{{ note.user.name }}
|
|
80
|
+
</p>
|
|
81
|
+
</div>
|
|
58
82
|
</div>
|
|
83
|
+
</template>
|
|
84
|
+
<div class="notes-text" v-if="notes.length === 0">
|
|
85
|
+
<p>Nenhuma nota criada.</p>
|
|
59
86
|
</div>
|
|
60
|
-
|
|
61
|
-
<img
|
|
62
|
-
v-if="note.user.urlAvatar"
|
|
63
|
-
:src="note.user.urlAvatar"
|
|
64
|
-
:alt="note.user.name"
|
|
65
|
-
/>
|
|
66
|
-
<div
|
|
67
|
-
v-if="!note.user.urlAvatar"
|
|
68
|
-
class="notes-avatar"
|
|
69
|
-
></div>
|
|
70
|
-
<p class="ml-1">
|
|
71
|
-
{{ note.user.name }}
|
|
72
|
-
</p>
|
|
73
|
-
</div>
|
|
74
|
-
</div>
|
|
75
|
-
<div class="notes-text" v-if="notes.length === 0">
|
|
76
|
-
<p>Nenhuma nota criada.</p>
|
|
77
|
-
</div>
|
|
87
|
+
</template>
|
|
78
88
|
|
|
79
89
|
<div class="input-container" v-if="!isLocked">
|
|
80
90
|
<input
|
|
@@ -102,52 +112,55 @@
|
|
|
102
112
|
src="../../../../assets/images/icons/icon3.svg"
|
|
103
113
|
/>
|
|
104
114
|
</span>
|
|
115
|
+
|
|
105
116
|
<upgrade-plan @send-contact="sendContact" v-if="isLocked" />
|
|
117
|
+
|
|
106
118
|
<p class="notes-title mb-0">Documentos anexados</p>
|
|
107
119
|
<div class="line mb-3"></div>
|
|
108
120
|
|
|
109
|
-
<
|
|
110
|
-
<div
|
|
111
|
-
<div
|
|
112
|
-
<div>
|
|
113
|
-
<
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
<
|
|
117
|
-
|
|
118
|
-
<
|
|
121
|
+
<template v-if="!isLocked">
|
|
122
|
+
<div class="archive-content">
|
|
123
|
+
<div v-for="(item, index) in archives" :key="index">
|
|
124
|
+
<div @click="openArchive(item)" class="archive-container">
|
|
125
|
+
<div>
|
|
126
|
+
<img class="archive-img" src="../../../../assets/images/icons/icon3.svg" >
|
|
127
|
+
</div>
|
|
128
|
+
<div class="archive-name">
|
|
129
|
+
<span>{{item.name}}</span>
|
|
130
|
+
<div class="archive-icon">
|
|
131
|
+
<i @click.stop.prevent="openRemoveSection(item, (index+1))" class="far fa-trash-alt"></i>
|
|
132
|
+
</div>
|
|
119
133
|
</div>
|
|
120
134
|
</div>
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
</
|
|
135
|
+
<div v-if="hasRemove && hasRemove == (index+1)" class="archive-remove">
|
|
136
|
+
<p>Você tem certeza que deseja apagar este arquivo?</p>
|
|
137
|
+
<div class="d-flex">
|
|
138
|
+
<base-button
|
|
139
|
+
@click="removeArchive(currentRemoveItem, index)"
|
|
140
|
+
size="sm"
|
|
141
|
+
class="btn-outline-primary col-6 p-1"
|
|
142
|
+
>
|
|
143
|
+
Apagar
|
|
144
|
+
</base-button>
|
|
145
|
+
<base-button
|
|
146
|
+
@click="hasRemove = false"
|
|
147
|
+
size="sm"
|
|
148
|
+
class="btn-outline-danger col-6 p-1"
|
|
149
|
+
>
|
|
150
|
+
Cancelar
|
|
151
|
+
</base-button>
|
|
152
|
+
</div>
|
|
139
153
|
</div>
|
|
140
154
|
</div>
|
|
141
155
|
</div>
|
|
142
156
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
</
|
|
157
|
+
<div class="notes-text" v-if="archives == null">
|
|
158
|
+
<p>Nenhum arquvio anexado.</p>
|
|
159
|
+
</div>
|
|
160
|
+
</template>
|
|
147
161
|
|
|
148
162
|
<div class="input-container" v-if="!isLocked">
|
|
149
163
|
<div class="mt-5">
|
|
150
|
-
|
|
151
164
|
<dropzone-file-upload
|
|
152
165
|
disabled
|
|
153
166
|
@error="ifMessageError"
|
|
@@ -176,107 +189,111 @@
|
|
|
176
189
|
<p class="notes-title mb-0">Laudo do Candidato</p>
|
|
177
190
|
<div class="line mb-3"></div>
|
|
178
191
|
|
|
179
|
-
<
|
|
180
|
-
<
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
192
|
+
<template v-if="!isLocked">
|
|
193
|
+
<div class="input-container" v-if="!userReportData.annex">
|
|
194
|
+
<dropzone-file-upload
|
|
195
|
+
disabled
|
|
196
|
+
ref="MyReportDropzone"
|
|
197
|
+
v-model="reportFileUpload"
|
|
198
|
+
:options="reportsDropdownzoneOptions"
|
|
199
|
+
@error="ifMessageError"
|
|
200
|
+
/>
|
|
187
201
|
|
|
188
|
-
|
|
189
|
-
|
|
202
|
+
<div class="archive-buttons" v-if="reportFileUpload.length > 0">
|
|
203
|
+
<base-button @click="saveReport" size="sm" class="btn-outline-primary btn-rounded col-12">Salvar</base-button>
|
|
204
|
+
</div>
|
|
190
205
|
</div>
|
|
191
|
-
</div>
|
|
192
206
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
207
|
+
<div class="archive-content" v-else-if="userReportData.annex">
|
|
208
|
+
<div @click="openArchive(userReportData.annex)" class="archive-container">
|
|
209
|
+
<div>
|
|
210
|
+
<img class="archive-img" src="../../../../assets/images/icons/icon6.svg" >
|
|
211
|
+
</div>
|
|
212
|
+
<div class="archive-name">
|
|
213
|
+
<span>{{ userReportData.annex.name }}</span>
|
|
214
|
+
<div class="archive-icon">
|
|
215
|
+
<i @click.stop.prevent="openReportRemoveSection(userReportData.annex)" class="far fa-trash-alt"></i>
|
|
216
|
+
</div>
|
|
202
217
|
</div>
|
|
203
218
|
</div>
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
</
|
|
219
|
+
<div v-if="hasReportRemove" class="archive-remove">
|
|
220
|
+
<p>Você tem certeza que deseja apagar este arquivo?</p>
|
|
221
|
+
<div class="d-flex">
|
|
222
|
+
<base-button
|
|
223
|
+
@click="removeReportArchive(currentRemoveItem)"
|
|
224
|
+
size="sm"
|
|
225
|
+
class="btn-outline-primary col-6 p-1"
|
|
226
|
+
>
|
|
227
|
+
Apagar
|
|
228
|
+
</base-button>
|
|
229
|
+
<base-button
|
|
230
|
+
@click="hasRemove = false"
|
|
231
|
+
size="sm"
|
|
232
|
+
class="btn-outline-danger col-6 p-1"
|
|
233
|
+
>
|
|
234
|
+
Cancelar
|
|
235
|
+
</base-button>
|
|
236
|
+
</div>
|
|
222
237
|
</div>
|
|
223
238
|
</div>
|
|
224
|
-
</
|
|
239
|
+
</template>
|
|
225
240
|
|
|
226
241
|
<p class="notes-title mb-0">Comentários Recrutador</p>
|
|
227
242
|
<div class="line mb-3"></div>
|
|
228
243
|
|
|
229
|
-
<
|
|
230
|
-
<div
|
|
231
|
-
<div class="notes-
|
|
232
|
-
<
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
244
|
+
<template v-if="!isLocked">
|
|
245
|
+
<div v-if="userReportData.comment">
|
|
246
|
+
<div class="notes-baloon fullsize">
|
|
247
|
+
<div class="notes-text mx-3 pt-1">
|
|
248
|
+
<p class="mt-3">{{ userReportData.comment.comment }}</p>
|
|
249
|
+
</div>
|
|
250
|
+
<div
|
|
251
|
+
class="d-flex justify-content-between align-items-center mx-3"
|
|
252
|
+
>
|
|
253
|
+
<p @click.prevent="hasCommentRemove = !hasCommentRemove" class="notes-date remove-baloon">
|
|
254
|
+
Excluir
|
|
255
|
+
</p>
|
|
240
256
|
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
257
|
+
<p class="notes-date">
|
|
258
|
+
{{ userReportData.comment.created_at | convertDate }}
|
|
259
|
+
</p>
|
|
260
|
+
</div>
|
|
244
261
|
</div>
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
</
|
|
262
|
+
<div v-if="hasCommentRemove" class="archive-remove">
|
|
263
|
+
<p>Você tem certeza que deseja apagar este comentário?</p>
|
|
264
|
+
<div class="d-flex">
|
|
265
|
+
<base-button
|
|
266
|
+
@click="removeComment(userReportData.comment.id)"
|
|
267
|
+
size="sm"
|
|
268
|
+
class="btn-outline-primary col-6 p-1"
|
|
269
|
+
>
|
|
270
|
+
Apagar
|
|
271
|
+
</base-button>
|
|
272
|
+
<base-button
|
|
273
|
+
@click="hasCommentRemove = false"
|
|
274
|
+
size="sm"
|
|
275
|
+
class="btn-outline-danger col-6 p-1"
|
|
276
|
+
>
|
|
277
|
+
Cancelar
|
|
278
|
+
</base-button>
|
|
279
|
+
</div>
|
|
280
|
+
</div>
|
|
281
|
+
<div class="notes-owner d-flex mt-2">
|
|
282
|
+
<img
|
|
283
|
+
v-if="userReportData.comment.user.urlAvatar"
|
|
284
|
+
:src="userReportData.comment.user.urlAvatar"
|
|
285
|
+
:alt="userReportData.comment.user.name"
|
|
286
|
+
/>
|
|
287
|
+
<div
|
|
288
|
+
v-else
|
|
289
|
+
class="notes-avatar"
|
|
290
|
+
></div>
|
|
291
|
+
<p class="ml-1">
|
|
292
|
+
{{ userReportData.comment.user.name }}
|
|
293
|
+
</p>
|
|
263
294
|
</div>
|
|
264
295
|
</div>
|
|
265
|
-
|
|
266
|
-
<img
|
|
267
|
-
v-if="userReportData.comment.user.urlAvatar"
|
|
268
|
-
:src="userReportData.comment.user.urlAvatar"
|
|
269
|
-
:alt="userReportData.comment.user.name"
|
|
270
|
-
/>
|
|
271
|
-
<div
|
|
272
|
-
v-else
|
|
273
|
-
class="notes-avatar"
|
|
274
|
-
></div>
|
|
275
|
-
<p class="ml-1">
|
|
276
|
-
{{ userReportData.comment.user.name }}
|
|
277
|
-
</p>
|
|
278
|
-
</div>
|
|
279
|
-
</div>
|
|
296
|
+
</template>
|
|
280
297
|
|
|
281
298
|
<div class="input-container" v-if="!isLocked && !userReportData.comment">
|
|
282
299
|
<input
|
|
@@ -293,15 +310,6 @@
|
|
|
293
310
|
></i>
|
|
294
311
|
</div>
|
|
295
312
|
</el-tab-pane>
|
|
296
|
-
|
|
297
|
-
<!-- <el-tab-pane :disabled="true">
|
|
298
|
-
<span class="tab__icon-pane cursor-disabled" slot="label">
|
|
299
|
-
<img
|
|
300
|
-
class="img__icon-pane"
|
|
301
|
-
src="../../../../assets/images/icons/icon4.svg"
|
|
302
|
-
/>
|
|
303
|
-
</span>
|
|
304
|
-
</el-tab-pane> -->
|
|
305
313
|
</el-tabs>
|
|
306
314
|
</div>
|
|
307
315
|
</template>
|
|
@@ -374,9 +382,6 @@ export default {
|
|
|
374
382
|
userReportData: [],
|
|
375
383
|
hasReportRemove: false,
|
|
376
384
|
hasCommentRemove: false,
|
|
377
|
-
isLocked: !this.companyHasProduct(
|
|
378
|
-
this.$store.state.loja && this.$store.state.loja.ifableProducts && this.$store.state.loja.ifableProducts['HISTORICO_USUARIO'] || false
|
|
379
|
-
),
|
|
380
385
|
};
|
|
381
386
|
},
|
|
382
387
|
props: {
|
|
@@ -565,6 +570,13 @@ export default {
|
|
|
565
570
|
};
|
|
566
571
|
}
|
|
567
572
|
},
|
|
573
|
+
computed: {
|
|
574
|
+
isLocked() {
|
|
575
|
+
return !this.companyHasProduct(
|
|
576
|
+
this.$store.state.loja && this.$store.state.loja.showableProducts && this.$store.state.loja.showableProducts['HISTORICO_USUARIO'] || false
|
|
577
|
+
);
|
|
578
|
+
}
|
|
579
|
+
}
|
|
568
580
|
};
|
|
569
581
|
</script>
|
|
570
582
|
<style>
|