revert del fix dei tooling
This commit is contained in:
@@ -99,7 +99,7 @@ export class baseRestService {
|
||||
(iziToast as any).error({
|
||||
title: r.config.url,
|
||||
// message: localizeString(r.data.message, r.data.message),
|
||||
message: store.getters.getLabel(r.data.message),
|
||||
message: store.getters.getLabel(r.data.message) || r.data.message,
|
||||
theme: "dark",
|
||||
timeout: false,
|
||||
class: "t-error",
|
||||
|
||||
@@ -92,7 +92,7 @@ export default class toolingEquipment extends Vue {
|
||||
async mounted() {
|
||||
|
||||
await new ToolingService().GetTools();
|
||||
// await new ToolingService().GetToolsConfiguration();
|
||||
await new ToolingService().GetToolsConfiguration();
|
||||
|
||||
this.toolsConfiguration = (this.$store.state as AppModel).tooling.toolsConfiguration;
|
||||
this.edgeConfiguration = (this.$store.state as AppModel).tooling.edgesConfiguration;
|
||||
|
||||
@@ -65,7 +65,7 @@ export default class toolingFamilies extends Vue {
|
||||
|
||||
async mounted() {
|
||||
await new ToolingService().GetFamilies();
|
||||
// await new ToolingService().GetToolsConfiguration();
|
||||
await new ToolingService().GetToolsConfiguration();
|
||||
|
||||
this.familyConfiguration = (this.$store.state as AppModel).tooling.familyConfiguration;
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@ export default class toolingMagPos extends Vue {
|
||||
|
||||
mounted() {
|
||||
new ToolingService().GetMagazinesPositions();
|
||||
// new ToolingService().GetToolsConfiguration();
|
||||
new ToolingService().GetToolsConfiguration();
|
||||
this.magposConfiguration = (this.$store.state as AppModel).tooling.magazinePosConfiguration;
|
||||
this.modalBlockMagazine();
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@ export default class toolingShanks extends Vue {
|
||||
|
||||
async mounted() {
|
||||
await new ToolingService().GetShanks();
|
||||
// await new ToolingService().GetToolsConfiguration();
|
||||
await new ToolingService().GetToolsConfiguration();
|
||||
|
||||
this.shankConfiguration = (this.$store.state as AppModel).tooling.shankConfiguration;
|
||||
this.childToolsShank = (this.$store.state as AppModel).tooling.childToolsShank;
|
||||
|
||||
Reference in New Issue
Block a user