微调
This commit is contained in:
@@ -138,6 +138,22 @@ onMounted(async () => {
|
||||
})
|
||||
|
||||
watch(webMsgSend, function (newValue, oldValue) {
|
||||
if (newValue.requestId.includes('formal_real&&' && newValue.operateCode === 'OPER_GATHER')) {
|
||||
if (newValue.code === 10200) {
|
||||
ElMessage.success('启动成功')
|
||||
} else {
|
||||
ElMessage.error('启动失败')
|
||||
console.log('错误信息:',webMsgSend)
|
||||
}
|
||||
}
|
||||
if (newValue.requestId.includes('close_source' && newValue.operateCode === 'CLOSE_GATHER')) {
|
||||
if (newValue.code === 10200) {
|
||||
ElMessage.success('停止成功')
|
||||
} else {
|
||||
ElMessage.error('停止失败')
|
||||
console.log('错误信息:',webMsgSend)
|
||||
}
|
||||
}
|
||||
switch (newValue.requestId) {
|
||||
case 'yjc_ytxjy':
|
||||
switch (newValue.operateCode) {
|
||||
@@ -159,7 +175,6 @@ watch(webMsgSend, function (newValue, oldValue) {
|
||||
ElMessage.error('源服务端连接失败')
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user