This commit is contained in:
2024-05-11 11:15:17 +08:00
parent dd7c5f11ab
commit ca21a0cbed
6 changed files with 76 additions and 29 deletions

View File

@@ -39,6 +39,7 @@ import ProdMonitor from "./components/ProdMonitor.vue";
import Store from "./components/Store.vue";
import Energy from "./components/Energy.vue";
import Order from "./components/Order.vue";
import { cockpitDataMonitor } from "@/api/produceData";
export default {
name: "FactoryData",
components: {
@@ -119,11 +120,23 @@ export default {
// ];
},
},
mounted() {
this.getMes1();
},
methods: {
updateCompany(obj) {
this.companyId = obj.companyId;
this.companyName = obj.companyName;
},
getMes1() {
// cockpitDataMonitor({
// factorys: ["1"],
// date: 4,
// }).then((res) => {
// console.log(res);
// });
cockpitDataMonitor().then((res) => {});
},
},
};
</script>