|
@ -485,6 +485,7 @@ const continueWork = () => { |
|
|
// 需要将进行中的数据渲染 |
|
|
// 需要将进行中的数据渲染 |
|
|
taskStore.updateType(0) |
|
|
taskStore.updateType(0) |
|
|
getInitData() |
|
|
getInitData() |
|
|
|
|
|
imageStore.updateNuclearCoreName(Cookie.getCookie('core_name')) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
const getInitData = async () => { |
|
|
const getInitData = async () => { |
|
@ -500,7 +501,7 @@ const getInitData = async () => { |
|
|
taskStore.updateCheckStatus(false) |
|
|
taskStore.updateCheckStatus(false) |
|
|
} |
|
|
} |
|
|
taskStore.updateCurrentCoord(data.currentCoord) |
|
|
taskStore.updateCurrentCoord(data.currentCoord) |
|
|
imageStore.updateNuclearCoreName(data.nuclearCoreName) |
|
|
|
|
|
|
|
|
// imageStore.updateNuclearCoreName(data.nuclearCoreName) |
|
|
imageStore.updateShowImage(false) |
|
|
imageStore.updateShowImage(false) |
|
|
taskStore.getExcelList(data.id) |
|
|
taskStore.getExcelList(data.id) |
|
|
taskStore.updateCurrentTaskId(data.id) |
|
|
taskStore.updateCurrentTaskId(data.id) |
|
@ -722,12 +723,13 @@ const websocketonmessage = async e => { |
|
|
} |
|
|
} |
|
|
} else { |
|
|
} else { |
|
|
loading.value = false |
|
|
loading.value = false |
|
|
MessagePlugin('error', { content: 'ws发送指令执行错误' }) |
|
|
|
|
|
|
|
|
// MessagePlugin('error', { content: 'ws发送指令执行错误' }) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
const websocketonopen = () => { |
|
|
const websocketonopen = () => { |
|
|
console.log('客户端链接成功!!!') |
|
|
console.log('客户端链接成功!!!') |
|
|
|
|
|
startCaptureFunc() |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
const websocketonerror = () => { |
|
|
const websocketonerror = () => { |
|
|