@burh/nuxt-core 1.0.428 → 1.0.430
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.
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
<dropzone-file-upload
|
|
152
152
|
disabled
|
|
153
153
|
@error="showMessageError"
|
|
154
|
-
ref="
|
|
154
|
+
ref="MyDropzone"
|
|
155
155
|
:options="dropzoneOptions"
|
|
156
156
|
v-model="fileToUpload"
|
|
157
157
|
/>
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
<div class="input-container" v-if="!isLocked && !userReportData.annex">
|
|
180
180
|
<dropzone-file-upload
|
|
181
181
|
disabled
|
|
182
|
-
ref="
|
|
182
|
+
ref="MyReportDropzone"
|
|
183
183
|
v-model="reportFileUpload"
|
|
184
184
|
:options="reportsDropdownzoneOptions"
|
|
185
185
|
@error="showMessageError"
|
|
@@ -435,7 +435,7 @@ export default {
|
|
|
435
435
|
|
|
436
436
|
showMessageError(file, message) {
|
|
437
437
|
this.isError = true;
|
|
438
|
-
this.$refs.Mydropzone.removeAllFiles();
|
|
438
|
+
this.$refs.Mydropzone && this.$refs.Mydropzone.removeAllFiles();
|
|
439
439
|
|
|
440
440
|
if (file.status !== 'canceled'){
|
|
441
441
|
this.showToast('error', message);
|
|
@@ -443,13 +443,13 @@ export default {
|
|
|
443
443
|
},
|
|
444
444
|
|
|
445
445
|
openArchive(item) {
|
|
446
|
-
window.open(item.
|
|
446
|
+
window.open(item.storage_url, '_blank');
|
|
447
447
|
},
|
|
448
448
|
|
|
449
449
|
saveImage(){
|
|
450
450
|
if (!this.isError) {
|
|
451
451
|
this.$emit('save-archive', this.fileToUpload[0], this.userData.id);
|
|
452
|
-
this.$refs.
|
|
452
|
+
this.$refs.MyDropzone && this.$refs.MyDropzone.removeAllFiles();
|
|
453
453
|
this.showToast('success', 'Arquivo enviado com sucesso.');
|
|
454
454
|
|
|
455
455
|
} else {
|
|
@@ -464,7 +464,7 @@ export default {
|
|
|
464
464
|
saveReport() {
|
|
465
465
|
if (!this.isError) {
|
|
466
466
|
this.$emit('save-report', this.reportFileUpload[0], this.userFolderId);
|
|
467
|
-
this.$refs.
|
|
467
|
+
this.$refs.MyReportDropzone && this.$refs.MyReportDropzone.removeAllFiles();
|
|
468
468
|
this.showToast('success', 'Arquivo enviado com sucesso.');
|
|
469
469
|
|
|
470
470
|
} else {
|
|
@@ -1,379 +1,379 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="bg-white content-right tabs ">
|
|
3
|
-
<el-tabs
|
|
4
|
-
:class="active"
|
|
5
|
-
class="mt-3 handle-icon-color"
|
|
6
|
-
v-model="active"
|
|
7
|
-
>
|
|
8
|
-
<el-tab-pane name="reports" class="ml-2">
|
|
9
|
-
<span class="tab__icon-pane" slot="label">
|
|
10
|
-
<img
|
|
11
|
-
class="img__icon-pane img__icon--reports"
|
|
12
|
-
src="../../../../assets/images/icons/icon5.svg"
|
|
13
|
-
/>
|
|
14
|
-
</span>
|
|
15
|
-
|
|
16
|
-
<p class="notes-title mb-0">Laudo do Candidato</p>
|
|
17
|
-
<div class="line mb-3"></div>
|
|
18
|
-
|
|
19
|
-
<p v-show="!userReportData.annex" class="history-text">
|
|
20
|
-
Nenhum arquivo vinculado a este usuário.
|
|
21
|
-
</p>
|
|
22
|
-
|
|
23
|
-
<div class="archive-content" v-if="userReportData.annex">
|
|
24
|
-
<div @click="openArchive(userReportData.annex)" class="archive-container">
|
|
25
|
-
<div>
|
|
26
|
-
<img class="archive-img" src="../../../../assets/images/icons/icon6.svg" >
|
|
27
|
-
</div>
|
|
28
|
-
<div class="archive-name">
|
|
29
|
-
<span>{{ userReportData.annex.name }}</span>
|
|
30
|
-
</div>
|
|
31
|
-
</div>
|
|
32
|
-
</div>
|
|
33
|
-
|
|
34
|
-
<p class="notes-title mb-0">Comentários Recrutador</p>
|
|
35
|
-
<div class="line mb-3"></div>
|
|
36
|
-
|
|
37
|
-
<p v-show="!userReportData.annex" class="history-text">
|
|
38
|
-
Nenhum comentário vinculado a este usuário.
|
|
39
|
-
</p>
|
|
40
|
-
|
|
41
|
-
<div v-if="userReportData.comment">
|
|
42
|
-
<div class="notes-baloon fullsize">
|
|
43
|
-
<div class="notes-text mx-3 pt-1">
|
|
44
|
-
<p class="mt-3">{{ userReportData.comment.comment }}</p>
|
|
45
|
-
</div>
|
|
46
|
-
<div
|
|
47
|
-
class="d-flex justify-content-end align-items-center mr-3"
|
|
48
|
-
>
|
|
49
|
-
<p class="notes-date">
|
|
50
|
-
{{ userReportData.comment.created_at | convertDate }}
|
|
51
|
-
</p>
|
|
52
|
-
</div>
|
|
53
|
-
</div>
|
|
54
|
-
<div class="notes-owner d-flex mt-2">
|
|
55
|
-
<img
|
|
56
|
-
v-if="userReportData.comment.user.urlAvatar"
|
|
57
|
-
:src="userReportData.comment.user.urlAvatar"
|
|
58
|
-
:alt="userReportData.comment.user.name"
|
|
59
|
-
/>
|
|
60
|
-
<div
|
|
61
|
-
v-else
|
|
62
|
-
class="notes-avatar"
|
|
63
|
-
></div>
|
|
64
|
-
<p class="ml-1">
|
|
65
|
-
{{ userReportData.comment.user.name }}
|
|
66
|
-
</p>
|
|
67
|
-
</div>
|
|
68
|
-
</div>
|
|
69
|
-
</el-tab-pane>
|
|
70
|
-
</el-tabs>
|
|
71
|
-
</div>
|
|
72
|
-
</template>
|
|
73
|
-
|
|
74
|
-
<script>
|
|
75
|
-
import { Tabs, TabPane } from 'element-ui';
|
|
76
|
-
|
|
77
|
-
export default {
|
|
78
|
-
name: 'user-cv-right-side',
|
|
79
|
-
filters: {
|
|
80
|
-
convertDate(data) {
|
|
81
|
-
if (typeof data !== 'string') {
|
|
82
|
-
data = '2020-01-01 12:00:00';
|
|
83
|
-
}
|
|
84
|
-
let d = new Date(data);
|
|
85
|
-
let options = { hour: '2-digit', minute: '2-digit' };
|
|
86
|
-
return d.toLocaleDateString('pt-BR', options);
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
components: {
|
|
90
|
-
[Tabs.name]: Tabs,
|
|
91
|
-
[TabPane.name]: TabPane,
|
|
92
|
-
},
|
|
93
|
-
data(){
|
|
94
|
-
return {
|
|
95
|
-
newNote: '',
|
|
96
|
-
newReportNote: '',
|
|
97
|
-
active: 'reports',
|
|
98
|
-
userReportData: [],
|
|
99
|
-
};
|
|
100
|
-
},
|
|
101
|
-
props: {
|
|
102
|
-
userData: Object,
|
|
103
|
-
userFolderId: String,
|
|
104
|
-
},
|
|
105
|
-
mounted() {
|
|
106
|
-
this.getUserFolderData();
|
|
107
|
-
},
|
|
108
|
-
methods: {
|
|
109
|
-
async getUserFolderData() {
|
|
110
|
-
const apiUrl = `${process.env.baseApiUrlV2}/company/buffer/folder/user/${this.userFolderId}`;
|
|
111
|
-
|
|
112
|
-
const data = await this.$axios(apiUrl)
|
|
113
|
-
.then(res => res.data)
|
|
114
|
-
.catch(() => {});
|
|
115
|
-
|
|
116
|
-
if (!data) return;
|
|
117
|
-
|
|
118
|
-
this.mountUserReport(data.data);
|
|
119
|
-
},
|
|
120
|
-
|
|
121
|
-
openArchive(item) {
|
|
122
|
-
window.open(item.
|
|
123
|
-
},
|
|
124
|
-
|
|
125
|
-
mountUserReport(userData) {
|
|
126
|
-
const annex = userData.annex[0] || undefined;
|
|
127
|
-
const comment = userData.comments[0] || undefined;
|
|
128
|
-
|
|
129
|
-
this.userReportData = {
|
|
130
|
-
annex,
|
|
131
|
-
comment
|
|
132
|
-
};
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
};
|
|
136
|
-
</script>
|
|
137
|
-
<style>
|
|
138
|
-
.el-tabs__nav-wrap::after {
|
|
139
|
-
background: #fff !important;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.el-tabs__active-bar {
|
|
143
|
-
width: 30px !important;
|
|
144
|
-
height: 4px !important;
|
|
145
|
-
border-radius: 10px 10px 0px 0px;
|
|
146
|
-
}
|
|
147
|
-
</style>
|
|
148
|
-
|
|
149
|
-
<style lang="scss" scoped>
|
|
150
|
-
@import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
|
|
151
|
-
|
|
152
|
-
/deep/ .el-tab-pane {
|
|
153
|
-
height: 760px;
|
|
154
|
-
max-height: 760px;
|
|
155
|
-
overflow: hidden;
|
|
156
|
-
overflow-y: auto;
|
|
157
|
-
position: relative;
|
|
158
|
-
|
|
159
|
-
> .notes-title {
|
|
160
|
-
position: sticky;
|
|
161
|
-
position: -webkit-sticky;
|
|
162
|
-
top: 0;
|
|
163
|
-
background: white;
|
|
164
|
-
padding: 10px 0;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
> .input-container {
|
|
168
|
-
position: sticky;
|
|
169
|
-
position: -webkit-sticky;
|
|
170
|
-
bottom: 0;
|
|
171
|
-
background: white;
|
|
172
|
-
> .input-icon {
|
|
173
|
-
cursor: pointer;
|
|
174
|
-
position: absolute;
|
|
175
|
-
top: 50%;
|
|
176
|
-
right: 30px;
|
|
177
|
-
transform: translateY(-50%);
|
|
178
|
-
color: #c8c8c8;
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
&::-webkit-scrollbar {
|
|
183
|
-
width: 8px;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
&::-webkit-scrollbar-track {
|
|
187
|
-
background: #f5f5f5;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
&::-webkit-scrollbar-thumb {
|
|
191
|
-
background: #e9e8e8;
|
|
192
|
-
border-radius: 10px;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
.archive-content {
|
|
196
|
-
width: 95%;
|
|
197
|
-
|
|
198
|
-
p {
|
|
199
|
-
margin-bottom: 0;
|
|
200
|
-
font-size: 0.875rem;
|
|
201
|
-
padding: .3rem .6rem 0 .6rem;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.archive-container {
|
|
205
|
-
display: flex;
|
|
206
|
-
align-items: center;
|
|
207
|
-
padding: 0.5rem 0.5rem 0.438rem;
|
|
208
|
-
cursor: pointer;
|
|
209
|
-
user-select: none;
|
|
210
|
-
|
|
211
|
-
&:hover{
|
|
212
|
-
background-color: #f6f9fc;
|
|
213
|
-
border-radius: 5px;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
.archive-img {
|
|
217
|
-
background-color: #f5f5f5;
|
|
218
|
-
border-radius: 6px;
|
|
219
|
-
padding: 7px;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
.archive-name {
|
|
223
|
-
display: flex;
|
|
224
|
-
margin-left: .8rem;
|
|
225
|
-
width: 145%;
|
|
226
|
-
justify-content: space-between !important;
|
|
227
|
-
|
|
228
|
-
.archive-icon {
|
|
229
|
-
margin-left: 1.5rem;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
p {
|
|
233
|
-
margin: 0;
|
|
234
|
-
padding: 0;
|
|
235
|
-
width: 13rem;
|
|
236
|
-
white-space: nowrap;
|
|
237
|
-
overflow: hidden;
|
|
238
|
-
text-overflow: ellipsis;
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
.upload-container {
|
|
243
|
-
position: sticky;
|
|
244
|
-
position: -webkit-sticky;
|
|
245
|
-
bottom: 0;
|
|
246
|
-
background: white;
|
|
247
|
-
width: 231px;
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
.archive-buttons {
|
|
253
|
-
display: flex;
|
|
254
|
-
margin-top: -1rem;
|
|
255
|
-
width: 95%;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
.archive-remove {
|
|
259
|
-
width: 90%;
|
|
260
|
-
word-break: break-word;
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
/deep/ .el-tabs__nav-scroll {
|
|
265
|
-
display: flex;
|
|
266
|
-
justify-content: stretch;
|
|
267
|
-
align-items: flex-start;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
/deep/ .el-tabs__item {
|
|
271
|
-
padding: 0 1.60rem !important;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
/deep/ .el-tabs__nav {
|
|
275
|
-
width: 100% !important;
|
|
276
|
-
user-select: none;
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
@media (max-width: 1520px) {
|
|
280
|
-
/deep/ .el-tabs__item {
|
|
281
|
-
padding: 0 1.8rem !important;
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
.readmore {
|
|
286
|
-
overflow: hidden;
|
|
287
|
-
text-overflow: ellipsis;
|
|
288
|
-
display: -webkit-box;
|
|
289
|
-
-webkit-line-clamp: 3;
|
|
290
|
-
-webkit-box-orient: vertical;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
.tab__icon-pane {
|
|
294
|
-
.img__icon-pane {
|
|
295
|
-
background-color: #f5f5f5 !important;
|
|
296
|
-
border-radius: 30%;
|
|
297
|
-
padding: 7px;
|
|
298
|
-
margin-bottom: 1rem;
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
.content-right {
|
|
303
|
-
width: 25%;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
.notes-title {
|
|
307
|
-
font-size: 14px;
|
|
308
|
-
color: #1d364b;
|
|
309
|
-
font-weight: bold;
|
|
310
|
-
background-color: white;
|
|
311
|
-
z-index: 500;
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
.notes-baloon {
|
|
315
|
-
width: 231px;
|
|
316
|
-
height: auto;
|
|
317
|
-
|
|
318
|
-
background: #eff5fd;
|
|
319
|
-
border-radius: 10px 10px 10px 0px;
|
|
320
|
-
|
|
321
|
-
&.fullsize {
|
|
322
|
-
width: 80%!important;
|
|
323
|
-
min-width: 280px;
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
.notes-text {
|
|
328
|
-
p {
|
|
329
|
-
font-size: 13px;
|
|
330
|
-
color: #62778c;
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
.notes-date {
|
|
335
|
-
font-size: 11px;
|
|
336
|
-
text-align: right;
|
|
337
|
-
|
|
338
|
-
color: #8da2b5;
|
|
339
|
-
top: calc(50% - 17px / 2 - 444.5px);
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
.notes-owner {
|
|
343
|
-
img {
|
|
344
|
-
width: 23px;
|
|
345
|
-
height: 23px;
|
|
346
|
-
border-radius: 50%;
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
.notes-avatar {
|
|
350
|
-
width: 23px;
|
|
351
|
-
height: 23px;
|
|
352
|
-
border-radius: 50%;
|
|
353
|
-
background-color: #adb5bd;
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
p {
|
|
357
|
-
font-size: 13px;
|
|
358
|
-
font-weight: 600;
|
|
359
|
-
text-transform: uppercase;
|
|
360
|
-
|
|
361
|
-
color: #62778c;
|
|
362
|
-
}
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
.line {
|
|
366
|
-
width: 221px;
|
|
367
|
-
height: 0px;
|
|
368
|
-
|
|
369
|
-
border: 1px solid #ececec5c;
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
.history-text {
|
|
373
|
-
font-size: 13px;
|
|
374
|
-
color: #62778c;
|
|
375
|
-
}
|
|
376
|
-
.cursor-disabled {
|
|
377
|
-
cursor: no-drop;
|
|
378
|
-
}
|
|
379
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="bg-white content-right tabs ">
|
|
3
|
+
<el-tabs
|
|
4
|
+
:class="active"
|
|
5
|
+
class="mt-3 handle-icon-color"
|
|
6
|
+
v-model="active"
|
|
7
|
+
>
|
|
8
|
+
<el-tab-pane name="reports" class="ml-2">
|
|
9
|
+
<span class="tab__icon-pane" slot="label">
|
|
10
|
+
<img
|
|
11
|
+
class="img__icon-pane img__icon--reports"
|
|
12
|
+
src="../../../../assets/images/icons/icon5.svg"
|
|
13
|
+
/>
|
|
14
|
+
</span>
|
|
15
|
+
|
|
16
|
+
<p class="notes-title mb-0">Laudo do Candidato</p>
|
|
17
|
+
<div class="line mb-3"></div>
|
|
18
|
+
|
|
19
|
+
<p v-show="!userReportData.annex" class="history-text">
|
|
20
|
+
Nenhum arquivo vinculado a este usuário.
|
|
21
|
+
</p>
|
|
22
|
+
|
|
23
|
+
<div class="archive-content" v-if="userReportData.annex">
|
|
24
|
+
<div @click="openArchive(userReportData.annex)" class="archive-container">
|
|
25
|
+
<div>
|
|
26
|
+
<img class="archive-img" src="../../../../assets/images/icons/icon6.svg" >
|
|
27
|
+
</div>
|
|
28
|
+
<div class="archive-name">
|
|
29
|
+
<span>{{ userReportData.annex.name }}</span>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
|
|
34
|
+
<p class="notes-title mb-0">Comentários Recrutador</p>
|
|
35
|
+
<div class="line mb-3"></div>
|
|
36
|
+
|
|
37
|
+
<p v-show="!userReportData.annex" class="history-text">
|
|
38
|
+
Nenhum comentário vinculado a este usuário.
|
|
39
|
+
</p>
|
|
40
|
+
|
|
41
|
+
<div v-if="userReportData.comment">
|
|
42
|
+
<div class="notes-baloon fullsize">
|
|
43
|
+
<div class="notes-text mx-3 pt-1">
|
|
44
|
+
<p class="mt-3">{{ userReportData.comment.comment }}</p>
|
|
45
|
+
</div>
|
|
46
|
+
<div
|
|
47
|
+
class="d-flex justify-content-end align-items-center mr-3"
|
|
48
|
+
>
|
|
49
|
+
<p class="notes-date">
|
|
50
|
+
{{ userReportData.comment.created_at | convertDate }}
|
|
51
|
+
</p>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
<div class="notes-owner d-flex mt-2">
|
|
55
|
+
<img
|
|
56
|
+
v-if="userReportData.comment.user.urlAvatar"
|
|
57
|
+
:src="userReportData.comment.user.urlAvatar"
|
|
58
|
+
:alt="userReportData.comment.user.name"
|
|
59
|
+
/>
|
|
60
|
+
<div
|
|
61
|
+
v-else
|
|
62
|
+
class="notes-avatar"
|
|
63
|
+
></div>
|
|
64
|
+
<p class="ml-1">
|
|
65
|
+
{{ userReportData.comment.user.name }}
|
|
66
|
+
</p>
|
|
67
|
+
</div>
|
|
68
|
+
</div>
|
|
69
|
+
</el-tab-pane>
|
|
70
|
+
</el-tabs>
|
|
71
|
+
</div>
|
|
72
|
+
</template>
|
|
73
|
+
|
|
74
|
+
<script>
|
|
75
|
+
import { Tabs, TabPane } from 'element-ui';
|
|
76
|
+
|
|
77
|
+
export default {
|
|
78
|
+
name: 'user-cv-right-side',
|
|
79
|
+
filters: {
|
|
80
|
+
convertDate(data) {
|
|
81
|
+
if (typeof data !== 'string') {
|
|
82
|
+
data = '2020-01-01 12:00:00';
|
|
83
|
+
}
|
|
84
|
+
let d = new Date(data);
|
|
85
|
+
let options = { hour: '2-digit', minute: '2-digit' };
|
|
86
|
+
return d.toLocaleDateString('pt-BR', options);
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
components: {
|
|
90
|
+
[Tabs.name]: Tabs,
|
|
91
|
+
[TabPane.name]: TabPane,
|
|
92
|
+
},
|
|
93
|
+
data(){
|
|
94
|
+
return {
|
|
95
|
+
newNote: '',
|
|
96
|
+
newReportNote: '',
|
|
97
|
+
active: 'reports',
|
|
98
|
+
userReportData: [],
|
|
99
|
+
};
|
|
100
|
+
},
|
|
101
|
+
props: {
|
|
102
|
+
userData: Object,
|
|
103
|
+
userFolderId: String,
|
|
104
|
+
},
|
|
105
|
+
mounted() {
|
|
106
|
+
this.getUserFolderData();
|
|
107
|
+
},
|
|
108
|
+
methods: {
|
|
109
|
+
async getUserFolderData() {
|
|
110
|
+
const apiUrl = `${process.env.baseApiUrlV2}/company/buffer/folder/user/${this.userFolderId}`;
|
|
111
|
+
|
|
112
|
+
const data = await this.$axios(apiUrl)
|
|
113
|
+
.then(res => res.data)
|
|
114
|
+
.catch(() => {});
|
|
115
|
+
|
|
116
|
+
if (!data) return;
|
|
117
|
+
|
|
118
|
+
this.mountUserReport(data.data);
|
|
119
|
+
},
|
|
120
|
+
|
|
121
|
+
openArchive(item) {
|
|
122
|
+
window.open(item.storage_url, '_blank');
|
|
123
|
+
},
|
|
124
|
+
|
|
125
|
+
mountUserReport(userData) {
|
|
126
|
+
const annex = userData.annex[0] || undefined;
|
|
127
|
+
const comment = userData.comments[0] || undefined;
|
|
128
|
+
|
|
129
|
+
this.userReportData = {
|
|
130
|
+
annex,
|
|
131
|
+
comment
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
};
|
|
136
|
+
</script>
|
|
137
|
+
<style>
|
|
138
|
+
.el-tabs__nav-wrap::after {
|
|
139
|
+
background: #fff !important;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.el-tabs__active-bar {
|
|
143
|
+
width: 30px !important;
|
|
144
|
+
height: 4px !important;
|
|
145
|
+
border-radius: 10px 10px 0px 0px;
|
|
146
|
+
}
|
|
147
|
+
</style>
|
|
148
|
+
|
|
149
|
+
<style lang="scss" scoped>
|
|
150
|
+
@import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
|
|
151
|
+
|
|
152
|
+
/deep/ .el-tab-pane {
|
|
153
|
+
height: 760px;
|
|
154
|
+
max-height: 760px;
|
|
155
|
+
overflow: hidden;
|
|
156
|
+
overflow-y: auto;
|
|
157
|
+
position: relative;
|
|
158
|
+
|
|
159
|
+
> .notes-title {
|
|
160
|
+
position: sticky;
|
|
161
|
+
position: -webkit-sticky;
|
|
162
|
+
top: 0;
|
|
163
|
+
background: white;
|
|
164
|
+
padding: 10px 0;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
> .input-container {
|
|
168
|
+
position: sticky;
|
|
169
|
+
position: -webkit-sticky;
|
|
170
|
+
bottom: 0;
|
|
171
|
+
background: white;
|
|
172
|
+
> .input-icon {
|
|
173
|
+
cursor: pointer;
|
|
174
|
+
position: absolute;
|
|
175
|
+
top: 50%;
|
|
176
|
+
right: 30px;
|
|
177
|
+
transform: translateY(-50%);
|
|
178
|
+
color: #c8c8c8;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
&::-webkit-scrollbar {
|
|
183
|
+
width: 8px;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
&::-webkit-scrollbar-track {
|
|
187
|
+
background: #f5f5f5;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
&::-webkit-scrollbar-thumb {
|
|
191
|
+
background: #e9e8e8;
|
|
192
|
+
border-radius: 10px;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.archive-content {
|
|
196
|
+
width: 95%;
|
|
197
|
+
|
|
198
|
+
p {
|
|
199
|
+
margin-bottom: 0;
|
|
200
|
+
font-size: 0.875rem;
|
|
201
|
+
padding: .3rem .6rem 0 .6rem;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.archive-container {
|
|
205
|
+
display: flex;
|
|
206
|
+
align-items: center;
|
|
207
|
+
padding: 0.5rem 0.5rem 0.438rem;
|
|
208
|
+
cursor: pointer;
|
|
209
|
+
user-select: none;
|
|
210
|
+
|
|
211
|
+
&:hover{
|
|
212
|
+
background-color: #f6f9fc;
|
|
213
|
+
border-radius: 5px;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.archive-img {
|
|
217
|
+
background-color: #f5f5f5;
|
|
218
|
+
border-radius: 6px;
|
|
219
|
+
padding: 7px;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.archive-name {
|
|
223
|
+
display: flex;
|
|
224
|
+
margin-left: .8rem;
|
|
225
|
+
width: 145%;
|
|
226
|
+
justify-content: space-between !important;
|
|
227
|
+
|
|
228
|
+
.archive-icon {
|
|
229
|
+
margin-left: 1.5rem;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
p {
|
|
233
|
+
margin: 0;
|
|
234
|
+
padding: 0;
|
|
235
|
+
width: 13rem;
|
|
236
|
+
white-space: nowrap;
|
|
237
|
+
overflow: hidden;
|
|
238
|
+
text-overflow: ellipsis;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.upload-container {
|
|
243
|
+
position: sticky;
|
|
244
|
+
position: -webkit-sticky;
|
|
245
|
+
bottom: 0;
|
|
246
|
+
background: white;
|
|
247
|
+
width: 231px;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.archive-buttons {
|
|
253
|
+
display: flex;
|
|
254
|
+
margin-top: -1rem;
|
|
255
|
+
width: 95%;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.archive-remove {
|
|
259
|
+
width: 90%;
|
|
260
|
+
word-break: break-word;
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
/deep/ .el-tabs__nav-scroll {
|
|
265
|
+
display: flex;
|
|
266
|
+
justify-content: stretch;
|
|
267
|
+
align-items: flex-start;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
/deep/ .el-tabs__item {
|
|
271
|
+
padding: 0 1.60rem !important;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
/deep/ .el-tabs__nav {
|
|
275
|
+
width: 100% !important;
|
|
276
|
+
user-select: none;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
@media (max-width: 1520px) {
|
|
280
|
+
/deep/ .el-tabs__item {
|
|
281
|
+
padding: 0 1.8rem !important;
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.readmore {
|
|
286
|
+
overflow: hidden;
|
|
287
|
+
text-overflow: ellipsis;
|
|
288
|
+
display: -webkit-box;
|
|
289
|
+
-webkit-line-clamp: 3;
|
|
290
|
+
-webkit-box-orient: vertical;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.tab__icon-pane {
|
|
294
|
+
.img__icon-pane {
|
|
295
|
+
background-color: #f5f5f5 !important;
|
|
296
|
+
border-radius: 30%;
|
|
297
|
+
padding: 7px;
|
|
298
|
+
margin-bottom: 1rem;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.content-right {
|
|
303
|
+
width: 25%;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.notes-title {
|
|
307
|
+
font-size: 14px;
|
|
308
|
+
color: #1d364b;
|
|
309
|
+
font-weight: bold;
|
|
310
|
+
background-color: white;
|
|
311
|
+
z-index: 500;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.notes-baloon {
|
|
315
|
+
width: 231px;
|
|
316
|
+
height: auto;
|
|
317
|
+
|
|
318
|
+
background: #eff5fd;
|
|
319
|
+
border-radius: 10px 10px 10px 0px;
|
|
320
|
+
|
|
321
|
+
&.fullsize {
|
|
322
|
+
width: 80%!important;
|
|
323
|
+
min-width: 280px;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.notes-text {
|
|
328
|
+
p {
|
|
329
|
+
font-size: 13px;
|
|
330
|
+
color: #62778c;
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.notes-date {
|
|
335
|
+
font-size: 11px;
|
|
336
|
+
text-align: right;
|
|
337
|
+
|
|
338
|
+
color: #8da2b5;
|
|
339
|
+
top: calc(50% - 17px / 2 - 444.5px);
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.notes-owner {
|
|
343
|
+
img {
|
|
344
|
+
width: 23px;
|
|
345
|
+
height: 23px;
|
|
346
|
+
border-radius: 50%;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.notes-avatar {
|
|
350
|
+
width: 23px;
|
|
351
|
+
height: 23px;
|
|
352
|
+
border-radius: 50%;
|
|
353
|
+
background-color: #adb5bd;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
p {
|
|
357
|
+
font-size: 13px;
|
|
358
|
+
font-weight: 600;
|
|
359
|
+
text-transform: uppercase;
|
|
360
|
+
|
|
361
|
+
color: #62778c;
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.line {
|
|
366
|
+
width: 221px;
|
|
367
|
+
height: 0px;
|
|
368
|
+
|
|
369
|
+
border: 1px solid #ececec5c;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.history-text {
|
|
373
|
+
font-size: 13px;
|
|
374
|
+
color: #62778c;
|
|
375
|
+
}
|
|
376
|
+
.cursor-disabled {
|
|
377
|
+
cursor: no-drop;
|
|
378
|
+
}
|
|
379
|
+
</style>
|