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