update
This commit is contained in:
parent
a6e380a64c
commit
006b875d12
@ -6,7 +6,8 @@ import { useWsStore } from "../store";
|
|||||||
const listData = ref([]);
|
const listData = ref([]);
|
||||||
const store = useWsStore();
|
const store = useWsStore();
|
||||||
store.$subscribe((mutation, state) => {
|
store.$subscribe((mutation, state) => {
|
||||||
listData.value = (state.data2.lineDetailData || Array(3).fill({})).map((item, index) => ({
|
listData.value = (state.data2.lineDetailData || Array(3).fill({})).map(
|
||||||
|
(item, index) => ({
|
||||||
productLine: item.productLine || "---",
|
productLine: item.productLine || "---",
|
||||||
mbt: item.edgingInput || "---",
|
mbt: item.edgingInput || "---",
|
||||||
mbb: item.edgingOutput || "---",
|
mbb: item.edgingOutput || "---",
|
||||||
@ -22,7 +23,8 @@ store.$subscribe((mutation, state) => {
|
|||||||
gh2: item.temperingOutput || "---",
|
gh2: item.temperingOutput || "---",
|
||||||
bzt: item.finalInput || "---",
|
bzt: item.finalInput || "---",
|
||||||
bzb: item.finalOutput || "---",
|
bzb: item.finalOutput || "---",
|
||||||
}));
|
})
|
||||||
|
);
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@ -57,7 +59,7 @@ store.$subscribe((mutation, state) => {
|
|||||||
<style scoped>
|
<style scoped>
|
||||||
.realtime-table {
|
.realtime-table {
|
||||||
background: #00f3;
|
background: #00f3;
|
||||||
height: 240px;
|
height: 160px;
|
||||||
width: 80%;
|
width: 80%;
|
||||||
align-self: self-start;
|
align-self: self-start;
|
||||||
}
|
}
|
||||||
@ -65,4 +67,8 @@ store.$subscribe((mutation, state) => {
|
|||||||
.dark-table {
|
.dark-table {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dark-table >>> .el-table__inner-wrapper::before {
|
||||||
|
background-color: transparent !important;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user