use computed function
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
4a323d2cfb
commit
2d9163ea1b
|
@ -281,7 +281,7 @@
|
||||||
<!-- Footer block -->
|
<!-- Footer block -->
|
||||||
<report-footer id="pageFooter"
|
<report-footer id="pageFooter"
|
||||||
v-bind:company-code="ticket.companyCode"
|
v-bind:company-code="ticket.companyCode"
|
||||||
v-bind:left-text="footerType()"
|
v-bind:left-text="footerType"
|
||||||
v-bind:center-text="client.socialName"
|
v-bind:center-text="client.socialName"
|
||||||
v-bind="$props">
|
v-bind="$props">
|
||||||
</report-footer>
|
</report-footer>
|
||||||
|
|
|
@ -44,6 +44,10 @@ module.exports = {
|
||||||
});
|
});
|
||||||
|
|
||||||
return total;
|
return total;
|
||||||
|
},
|
||||||
|
footerType() {
|
||||||
|
const translatedType = this.$t(this.type);
|
||||||
|
return `${translatedType} ${this.ticketId}`;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
@ -109,10 +113,6 @@ module.exports = {
|
||||||
return phytosanitary.filter((item, index) =>
|
return phytosanitary.filter((item, index) =>
|
||||||
phytosanitary.indexOf(item) == index
|
phytosanitary.indexOf(item) == index
|
||||||
).join(', ');
|
).join(', ');
|
||||||
},
|
|
||||||
footerType() {
|
|
||||||
const translatedType = this.$t(this.type);
|
|
||||||
return `${translatedType} ${this.ticketId}`;
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
|
|
Loading…
Reference in New Issue