| | |
| | | <div id="longa" v-show="dalipiana"></div> |
| | | <div id="longb" v-show="dalipianb"></div> |
| | | <div id="shangpianji" v-show="shangpian"></div> |
| | | <!-- <div id="shangpianji" v-show="xiapian"></div> |
| | | <div id="shangpianji" v-show="shangpian"></div> |
| | | <div id="shangpianji" v-show="shangpian"></div> |
| | | <div id="shangpianji" v-show="shangpian"></div> |
| | | <div id="shangpianji" v-show="shangpian"></div> |
| | | <div id="shangpianji" v-show="shangpian"></div> --> |
| | | <div id="xiapianji1" v-show="xiapian1"></div> |
| | | <div id="xiapianji2" v-show="xiapian2"></div> |
| | | <div id="xiapianji3" v-show="xiapian3"></div> |
| | | <div id="xiapianji4" v-show="xiapian4"></div> |
| | | <div id="xiapianji5" v-show="xiapian5"></div> |
| | | <div id="xiapianji6" v-show="xiapian6"></div> |
| | | </div> |
| | | <div id="centerright" style="margin-top: 10px;margin-left: 10px; height: 240px;width: 240px;background-color: #911005;"> |
| | | <el-table height="240" ref="table" width="340px" |
| | |
| | | const dalipiana = ref(false) |
| | | const dalipianb = ref(false) |
| | | const shangpian = ref(false) |
| | | const xiapian1 = ref(false) |
| | | const xiapian2 = ref(false) |
| | | const xiapian3 = ref(false) |
| | | const xiapian4 = ref(false) |
| | | const xiapian5 = ref(false) |
| | | const xiapian6 = ref(false) |
| | | |
| | | const thisProcess = ref(); // 用于存储process_id的响应式引用 |
| | | // 定义一个响应式引用来存储图表实例 |
| | |
| | | // 下片 |
| | | const socketUrl6 = `ws://${WebSocketHost}:${host}/api/unLoadGlass/api/talk/unLoadGlassIsRun`; |
| | | const handleMessage6 = (data) => { |
| | | // if(data.engineering.length !==0 ){ |
| | | // shangpian.value = true; |
| | | // } |
| | | const tasks = data.downWorkstation[0]; |
| | | if (tasks && tasks.length >= 6) { |
| | | xiapian1.value = tasks[0].racksNumber !== 0; |
| | | xiapian2.value = tasks[1].racksNumber !== 0; |
| | | xiapian3.value = tasks[2].racksNumber !== 0; |
| | | xiapian4.value = tasks[3].racksNumber !== 0; |
| | | xiapian5.value = tasks[4].racksNumber !== 0; |
| | | xiapian6.value = tasks[5].racksNumber !== 0; |
| | | } |
| | | }; |
| | | const renderPieCharts = () => { |
| | | processesData.value.forEach((data, index) => { |
| | |
| | | margin-top: -90px; |
| | | margin-left: 568px; |
| | | } |
| | | #xiapianji1{ |
| | | position: absolute; |
| | | z-index: 1; |
| | | width: 10px; |
| | | height: 7px; |
| | | background-color: #529b2e; |
| | | margin-top: -213px; |
| | | margin-left: 111px; |
| | | } |
| | | #xiapianji2{ |
| | | position: absolute; |
| | | z-index: 1; |
| | | width: 10px; |
| | | height: 7px; |
| | | background-color: #529b2e; |
| | | margin-top: -213px; |
| | | margin-left: 140px; |
| | | } |
| | | #xiapianji3{ |
| | | position: absolute; |
| | | z-index: 1; |
| | | width: 10px; |
| | | height: 7px; |
| | | background-color: #529b2e; |
| | | margin-top: -202px; |
| | | margin-left: 126px; |
| | | } |
| | | #xiapianji4{ |
| | | position: absolute; |
| | | z-index: 1; |
| | | width: 10px; |
| | | height: 7px; |
| | | background-color: #529b2e; |
| | | margin-top: -213px; |
| | | margin-left: 175px; |
| | | } |
| | | #xiapianji5{ |
| | | position: absolute; |
| | | z-index: 1; |
| | | width: 10px; |
| | | height: 7px; |
| | | background-color: #529b2e; |
| | | margin-top: -213px; |
| | | margin-left: 204px; |
| | | } |
| | | #xiapianji6{ |
| | | position: absolute; |
| | | z-index: 1; |
| | | width: 10px; |
| | | height: 7px; |
| | | background-color: #529b2e; |
| | | margin-top: -202px; |
| | | margin-left: 190px; |
| | | } |
| | | </style> |