|
@ -95,7 +95,7 @@ |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script setup lang="ts"> |
|
|
<script setup lang="ts"> |
|
|
import { MoveLiquidArea, SpttingPlates, MainComponent } from '../components' |
|
|
|
|
|
|
|
|
import { MoveLiquidArea, SpttingPlates, MainComponent } from '../Components' |
|
|
// import SliderAreaEx from '../components/Consumables/SliderAreaEx.vue'; |
|
|
// import SliderAreaEx from '../components/Consumables/SliderAreaEx.vue'; |
|
|
// import DragAreaEx from '../components/Consumables/DragAreaEx.vue'; |
|
|
// import DragAreaEx from '../components/Consumables/DragAreaEx.vue'; |
|
|
import { ref, onMounted, onActivated, onBeforeUnmount, watch } from 'vue' |
|
|
import { ref, onMounted, onActivated, onBeforeUnmount, watch } from 'vue' |
|
@ -120,13 +120,6 @@ import { ElMessage } from 'element-plus' |
|
|
const { wsUrl } = getServerInfo('/api/v1/app/ws/state') |
|
|
const { wsUrl } = getServerInfo('/api/v1/app/ws/state') |
|
|
const socket = createWebSocket(wsUrl) |
|
|
const socket = createWebSocket(wsUrl) |
|
|
|
|
|
|
|
|
// const sliderValue = ref(25); // 初始值 |
|
|
|
|
|
// const totalVal = ref(50) |
|
|
|
|
|
|
|
|
|
|
|
// const hVal = ref(10) |
|
|
|
|
|
// const hTotal = ref(60) |
|
|
|
|
|
// const vVal = ref(10) |
|
|
|
|
|
// const vTotal = ref(60) |
|
|
|
|
|
|
|
|
|
|
|
const consumableStore = useConsumablesStore() |
|
|
const consumableStore = useConsumablesStore() |
|
|
const emergencyStore = useEmergencyStore() |
|
|
const emergencyStore = useEmergencyStore() |
|
@ -380,7 +373,7 @@ const handleIsUnload = () => { |
|
|
isAlreadyLoad.value = false |
|
|
isAlreadyLoad.value = false |
|
|
isHandleScan.value = false |
|
|
isHandleScan.value = false |
|
|
socket.unsubscribe<ConsumablesStateMessage>( |
|
|
socket.unsubscribe<ConsumablesStateMessage>( |
|
|
'ConsumablesStateService', |
|
|
|
|
|
|
|
|
'ConsumablesState', |
|
|
handleConsumablesState, |
|
|
handleConsumablesState, |
|
|
) |
|
|
) |
|
|
// 重置 moveLiquids 和 tempTipNum |
|
|
// 重置 moveLiquids 和 tempTipNum |
|
|