fix : 隧道模拟功能初步完成
This commit is contained in:
@@ -209,8 +209,15 @@ const submitDevice = () => {
|
||||
getScreenInfo(previewId, true);
|
||||
|
||||
};
|
||||
const simulatedBlasting = async () => {
|
||||
await blastingSimulation(previewId, 10);
|
||||
const simulatedBlasting = () => {
|
||||
ElMessageBox.confirm(`是否确定模拟爆破`, '系统提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning',
|
||||
customClass: 'delBox'
|
||||
}).then(() => {
|
||||
blastingSimulation(previewId, 10);
|
||||
})
|
||||
};
|
||||
const endSimulate = async () => {
|
||||
isStartSimulate.value = true;
|
||||
@@ -327,7 +334,7 @@ const initWebSocket = () => {
|
||||
// let wsUrl = `ws://frp.toomewhy.top:38000/wstunnel/websocket/simulate/${token}/123`;
|
||||
// let wsUrl = `ws://192.168.31.175:9000/websocket/simulate/${token}/${serialNumber.value}`;
|
||||
// let wsUrl = `ws://tunnel.feashow.com/api/wstunnel/websocket/simulate/${token}/${serialNumber.value}`;
|
||||
let wsUrl = import.meta.env.VITE_BASE_WSURL+`/${token}/${serialNumber.value}`;
|
||||
let wsUrl = import.meta.env.VITE_BASE_WSURL + `/${token}/${serialNumber.value}`;
|
||||
// let wsUrl = `ws://clay.frp.feashow.cn/wstunnel/websocket/equipment/${token}/${serialNumber.value}`;
|
||||
// let wsUrl = `ws://frp.toomewhy.top:39000/websocket/simulate/${token}/${serialNumber.value}`;
|
||||
socket = new WebSocket(wsUrl);
|
||||
|
||||
Reference in New Issue
Block a user