WIP Сделала сортировку
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
.text-smm.color-grey.flex.items-center.gap-x-6px.line-height
|
||||
span.align-middle {{ protocolDate?.dayMonth }}
|
||||
.rounded-full.h-1.w-1.background-grey
|
||||
span.align-middle {{ `${protocolData?.start_time} - ${protocolData?.end_time}` }}
|
||||
span.align-middle {{ `${time?.start} - ${time?.end}` }}
|
||||
.flex.items-center.justify-center.h-6.w-6.rounded(
|
||||
:style="statusСolors"
|
||||
)
|
||||
@@ -66,7 +66,8 @@ export default {
|
||||
}
|
||||
},
|
||||
protocolDate() {
|
||||
let date = moment(this.protocolData?.date)
|
||||
let date = moment
|
||||
.parseZone(this.protocolData?.start)
|
||||
.format("DD.MM.YYYY")
|
||||
.split(".");
|
||||
return {
|
||||
@@ -74,6 +75,12 @@ export default {
|
||||
dayMonth: date[0] + "." + date[1],
|
||||
};
|
||||
},
|
||||
time() {
|
||||
return {
|
||||
start: moment.parseZone(this.protocolData?.start).format("HH:mm"),
|
||||
end: moment.parseZone(this.protocolData?.end).format("HH:mm"),
|
||||
};
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user