-
正转
-
反转
+
+ 正转
+
+
+ 反转
+
{
websocketStore.sendCommandMsg(
addLiquidCtrlJSON(1, addLiquidVal.value, addLiquidPower.value),
)
+ showSuccessToast('设置成功')
} else if (flag == 2) {
websocketStore.sendCommandMsg(
addLiquidCtrlJSON(2, addLiquidVal2.value, addLiquidPower2.value),
)
+ showSuccessToast('设置成功')
} else if (flag == 3) {
websocketStore.sendCommandMsg(addLiquidCtrlJSON(1, 0, addLiquidPower.value))
+ showSuccessToast('关闭加液蠕动泵成功')
} else if (flag == 5) {
websocketStore.sendCommandMsg(
addLiquidCtrlJSON(1, '-' + addLiquidVal.value, addLiquidPower.value),
)
+ showSuccessToast('设置成功')
} else if (flag == 6) {
websocketStore.sendCommandMsg(
addLiquidCtrlJSON(2, '-' + addLiquidVal2.value, addLiquidPower2.value),
)
+ showSuccessToast('设置成功')
} else {
websocketStore.sendCommandMsg(
addLiquidCtrlJSON(2, 0, addLiquidPower2.value),
)
+ showSuccessToast('关闭注射蠕动泵成功')
}
}
@@ -492,6 +534,9 @@ const changeDraughtStatus = flag => {
letter-spacing: 0.1em;
color: #ffffff;
}
+ .success {
+ background: #1ad66e;
+ }
.close {
width: 87px;
height: 45px;