wxw
2024-09-25 350507ac0a6ccfa0463612996731f4165fe55601
Web/src/views/device/deviceInfo/index.vue
@@ -20,6 +20,10 @@
                     <el-switch v-model="state.boDemo" active-text="" inactive-text="演示模式"
                        @change="handleSwitchChange('boDemo', $event)"></el-switch>
                  </el-card>
                  <el-card class="box-card" shadow="hover" style="margin-top: 3px;">
                     <el-switch v-model="state.boDrumReversal" active-text="" inactive-text="滚动反转"
                        @change="handleSwitchChange('boDrumReversal', $event)"></el-switch>
                  </el-card>
               </el-collapse-item>
               <el-collapse-item title="堆垛机" name="2">
@@ -100,6 +104,7 @@
         if (foundCell) {
            //修改高度
            foundCell.BoxHeight = s.boxHeight;
            foundCell.EndLocat = s.endLocat;
         }
      }
      else if (s.type == 1) {
@@ -166,6 +171,7 @@
   debugger;
   const foundCell = cellsDataLine.value.find(cell => cell.Code === data.stationNum);
   if (foundCell) {
      foundCell.EndLocat = data.endLocat;
      const startHeight = foundCell.BoxHeight;
      const targetHeight = data.boxHeight;
      const duration = 1000; // 动画持续时间(毫秒)