Added filtering of empty text entries
This commit is contained in:
parent
d4226920d8
commit
c3e30b998d
@ -1,6 +1,10 @@
|
|||||||
<template>
|
<template>
|
||||||
<b-container fluid>
|
<b-container fluid>
|
||||||
<b-container v-if="type != null && whom != null && site != null && tutors != null" fluid style="padding-left: 130px;">
|
<b-container
|
||||||
|
v-if="type != null && whom != null && site != null && tutors != null"
|
||||||
|
fluid
|
||||||
|
style="padding-left: 130px;"
|
||||||
|
>
|
||||||
<h3>
|
<h3>
|
||||||
<v-icon name="tag" scale="1.5" />
|
<v-icon name="tag" scale="1.5" />
|
||||||
{{ type }} / {{ whom }}
|
{{ type }} / {{ whom }}
|
||||||
@ -443,9 +447,11 @@ export default {
|
|||||||
: notObservedValue,
|
: notObservedValue,
|
||||||
monitoringStrengths: monitoring
|
monitoringStrengths: monitoring
|
||||||
.map((entry) => entry.strengths)
|
.map((entry) => entry.strengths)
|
||||||
|
.filter((entry) => entry.length > 0)
|
||||||
.join("; "),
|
.join("; "),
|
||||||
monitoringImprovements: monitoring
|
monitoringImprovements: monitoring
|
||||||
.map((entry) => entry.AFIs)
|
.map((entry) => entry.AFIs)
|
||||||
|
.filter((entry) => entry.length > 0)
|
||||||
.join("; "),
|
.join("; "),
|
||||||
controlProceduralRating:
|
controlProceduralRating:
|
||||||
controlProcedural.length > 0
|
controlProcedural.length > 0
|
||||||
@ -453,9 +459,11 @@ export default {
|
|||||||
: notObservedValue,
|
: notObservedValue,
|
||||||
controlProceduralStrengths: controlProcedural
|
controlProceduralStrengths: controlProcedural
|
||||||
.map((entry) => entry.strengths)
|
.map((entry) => entry.strengths)
|
||||||
|
.filter((entry) => entry.length > 0)
|
||||||
.join("; "),
|
.join("; "),
|
||||||
controlProceduralImprovements: controlProcedural
|
controlProceduralImprovements: controlProcedural
|
||||||
.map((entry) => entry.AFIs)
|
.map((entry) => entry.AFIs)
|
||||||
|
.filter((entry) => entry.length > 0)
|
||||||
.join("; "),
|
.join("; "),
|
||||||
controlRating:
|
controlRating:
|
||||||
control.length > 0
|
control.length > 0
|
||||||
@ -463,17 +471,23 @@ export default {
|
|||||||
: notObservedValue,
|
: notObservedValue,
|
||||||
controlStrengths: control
|
controlStrengths: control
|
||||||
.map((entry) => entry.strengths)
|
.map((entry) => entry.strengths)
|
||||||
|
.filter((entry) => entry.length > 0)
|
||||||
|
.join("; "),
|
||||||
|
controlImprovements: control
|
||||||
|
.map((entry) => entry.AFIs)
|
||||||
|
.filter((entry) => entry.length > 0)
|
||||||
.join("; "),
|
.join("; "),
|
||||||
controlImprovements: control.map((entry) => entry.AFIs).join("; "),
|
|
||||||
conservatismRating:
|
conservatismRating:
|
||||||
conservatism.length > 0
|
conservatism.length > 0
|
||||||
? Math.round(self.totals[3])
|
? Math.round(self.totals[3])
|
||||||
: notObservedValue,
|
: notObservedValue,
|
||||||
conservatismStrengths: conservatism
|
conservatismStrengths: conservatism
|
||||||
.map((entry) => entry.strengths)
|
.map((entry) => entry.strengths)
|
||||||
|
.filter((entry) => entry.length > 0)
|
||||||
.join(";"),
|
.join(";"),
|
||||||
conservatismImprovements: conservatism
|
conservatismImprovements: conservatism
|
||||||
.map((entry) => entry.strengths)
|
.map((entry) => entry.strengths)
|
||||||
|
.filter((entry) => entry.length > 0)
|
||||||
.join(";"),
|
.join(";"),
|
||||||
teamworkCommunicationsRating:
|
teamworkCommunicationsRating:
|
||||||
teamworkCommunications.length > 0
|
teamworkCommunications.length > 0
|
||||||
@ -481,9 +495,11 @@ export default {
|
|||||||
: notObservedValue,
|
: notObservedValue,
|
||||||
teamworkCommunicationsStrengths: teamworkCommunications
|
teamworkCommunicationsStrengths: teamworkCommunications
|
||||||
.map((entry) => entry.strengths)
|
.map((entry) => entry.strengths)
|
||||||
|
.filter((entry) => entry.length > 0)
|
||||||
.join(";"),
|
.join(";"),
|
||||||
teamworkCommunicationsImprovements: teamworkCommunications
|
teamworkCommunicationsImprovements: teamworkCommunications
|
||||||
.map((entry) => entry.AFIs)
|
.map((entry) => entry.AFIs)
|
||||||
|
.filter((entry) => entry.length > 0)
|
||||||
.join(";"),
|
.join(";"),
|
||||||
teamworkLeadershipRating:
|
teamworkLeadershipRating:
|
||||||
teamworkLeadership.length > 0
|
teamworkLeadership.length > 0
|
||||||
@ -491,9 +507,11 @@ export default {
|
|||||||
: notObservedValue,
|
: notObservedValue,
|
||||||
teamworkLeadershipStrengths: teamworkLeadership
|
teamworkLeadershipStrengths: teamworkLeadership
|
||||||
.map((entry) => entry.strengths)
|
.map((entry) => entry.strengths)
|
||||||
|
.filter((entry) => entry.length > 0)
|
||||||
.join(";"),
|
.join(";"),
|
||||||
teamworkLeadershipImprovements: teamworkLeadership
|
teamworkLeadershipImprovements: teamworkLeadership
|
||||||
.map((entry) => entry.AFIs)
|
.map((entry) => entry.AFIs)
|
||||||
|
.filter((entry) => entry.length > 0)
|
||||||
.join(";"),
|
.join(";"),
|
||||||
teamworkWorkloadRating:
|
teamworkWorkloadRating:
|
||||||
teamworkWorkload.length > 0
|
teamworkWorkload.length > 0
|
||||||
@ -501,9 +519,11 @@ export default {
|
|||||||
: notObservedValue,
|
: notObservedValue,
|
||||||
teamworkWorkloadStrengths: teamworkWorkload
|
teamworkWorkloadStrengths: teamworkWorkload
|
||||||
.map((entry) => entry.strengths)
|
.map((entry) => entry.strengths)
|
||||||
|
.filter((entry) => entry.length > 0)
|
||||||
.join(";"),
|
.join(";"),
|
||||||
teamworkWorkloadImprovements: teamworkWorkload
|
teamworkWorkloadImprovements: teamworkWorkload
|
||||||
.map((entry) => entry.AFIs)
|
.map((entry) => entry.AFIs)
|
||||||
|
.filter((entry) => entry.length > 0)
|
||||||
.join(";"),
|
.join(";"),
|
||||||
knowledgeRating:
|
knowledgeRating:
|
||||||
knowledge.length > 0
|
knowledge.length > 0
|
||||||
@ -511,9 +531,11 @@ export default {
|
|||||||
: notObservedValue,
|
: notObservedValue,
|
||||||
knowledgeStrengths: knowledge
|
knowledgeStrengths: knowledge
|
||||||
.map((entry) => entry.strengths)
|
.map((entry) => entry.strengths)
|
||||||
|
.filter((entry) => entry.length > 0)
|
||||||
.join(";"),
|
.join(";"),
|
||||||
knowledgeImprovements: knowledge
|
knowledgeImprovements: knowledge
|
||||||
.map((entry) => entry.AFIs)
|
.map((entry) => entry.AFIs)
|
||||||
|
.filter((entry) => entry.length > 0)
|
||||||
.join(";"),
|
.join(";"),
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user