From 350507ac0a6ccfa0463612996731f4165fe55601 Mon Sep 17 00:00:00 2001 From: wxw <Administrator@DESKTOP-5BIMHQ3> Date: 星期三, 25 九月 2024 09:18:22 +0800 Subject: [PATCH] 工作台增加滚筒反转开关 --- Web/src/views/device/deviceInfo/index.vue | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/Web/src/views/device/deviceInfo/index.vue b/Web/src/views/device/deviceInfo/index.vue index cac9429..4e0cddd 100644 --- a/Web/src/views/device/deviceInfo/index.vue +++ b/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; // 鍔ㄧ敾鎸佺画鏃堕棿锛堟绉掞級 -- Gitblit v1.8.0