Commit 9f07cea9 authored by 张伯涛's avatar 张伯涛

bug修改

parent c925f834
......@@ -4,6 +4,7 @@
<div class="loading-spinner"></div>
<p> 命令执行中,请稍后......</p>
<p v-show="isStop">倒计时{{countDown}}</p>
<p v-show="isWait">正在获取停止状态,请稍后</p>
</div>
<el-dialog @close="onClose" :close-on-click-modal="false" v-model="dialogFormVisible" width="30%" title="请选择进行一键启动的循环泵:" center>
......@@ -119,10 +120,11 @@ const stationId = ref(null);
const limit = ref(0);
const dialogFormVisible = ref(false);
const isSingle = ref(false);
const countDown = ref(120);
const countDown = ref(180);
const props = { multiple: false, emitPath: false }
const isRunning = ref(false);
const isStop = ref(false);
const isWait = ref(false);
const userInfo = store.getters.getUserInfo();
var startPercent = reactive(new Array({
......@@ -787,7 +789,7 @@ async function OnekeyStop(){
}
isStop.value = true;
countDown.value = 120;
countDown.value = 180;
isRunning.value = true;
startCountdown();
}catch (error) {
......@@ -834,6 +836,7 @@ async function handleSetOneStartStopTwo( stationId,unitId,runStepsFlag,stopSteps
}
async function OnekeyStopEnd() {
isStop.value = false;
stationId.value = options[0].children[0].children.find(item => item.value === transferId.value).stationId
try {
......@@ -992,7 +995,7 @@ async function OnekeyStopEnd() {
}
finally {
isLoading.value = false;
isStop.value = false;
isWait.value = false;
}
}
......@@ -1027,7 +1030,7 @@ function getSteps() {
startCountdownTwo();
}else {
clearInterval(timerTwo)
countDown.value = 120;
countDown.value = 180;
isStop.value = false;
}
}
......@@ -1036,7 +1039,7 @@ function getSteps() {
}else {
clearInterval(timerTwo)
isLoading.value = false
countDown.value = 120;
countDown.value = 180;
isStop.value = false;
}
const getItem = item ? item : itemTwo
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment