Compare commits
13 Commits
051b4dfb15
...
2025-12
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cd9b82848e | ||
|
|
bcbd274f9d | ||
|
|
6d48942c83 | ||
|
|
a156976302 | ||
|
|
4752caf982 | ||
|
|
a096690917 | ||
|
|
29efbae717 | ||
|
|
a5177860de | ||
|
|
66019e0d3c | ||
|
|
0ca992134f | ||
|
|
128b02c145 | ||
|
|
bbc08679b9 | ||
|
|
bf8b8c9f0f |
@@ -76,6 +76,7 @@ log:
|
|||||||
report:
|
report:
|
||||||
template: {{APP_DATA_PATH}}\template
|
template: {{APP_DATA_PATH}}\template
|
||||||
reportDir: {{APP_DATA_PATH}}\report
|
reportDir: {{APP_DATA_PATH}}\report
|
||||||
|
dateFormat: yyyy年MM月dd日
|
||||||
data:
|
data:
|
||||||
homeDir: {{APP_DATA_PATH}}\data
|
homeDir: {{APP_DATA_PATH}}\data
|
||||||
qr:
|
qr:
|
||||||
|
|||||||
Binary file not shown.
@@ -234,7 +234,7 @@ const setEchart = () => {
|
|||||||
type: 'line',
|
type: 'line',
|
||||||
smooth: true,
|
smooth: true,
|
||||||
color:
|
color:
|
||||||
colorName == 'A' ? '#DAA520' : colorName == 'B' ? '#2E8B57' : colorName == 'C' ? '#A52a2a' : '',
|
colorName == 'A' ? '#DAA520' : colorName == 'B' ? '#2E8B57' : colorName == 'C' ? '#A52a2a' : '#DAA520',
|
||||||
symbol: 'none',
|
symbol: 'none',
|
||||||
data: seriesList,
|
data: seriesList,
|
||||||
lineStyle: lineStyle[lineS],
|
lineStyle: lineStyle[lineS],
|
||||||
|
|||||||
@@ -322,6 +322,12 @@ watch(webMsgSend, function (newValue, oldValue) {
|
|||||||
type: 'error',
|
type: 'error',
|
||||||
})
|
})
|
||||||
TableInit();
|
TableInit();
|
||||||
|
} else if (newValue.code == -1) { //todo 10552之后还会发送消息吗?
|
||||||
|
ElMessageBox.alert('源未知异常', '检测失败', {
|
||||||
|
confirmButtonText: '确定',
|
||||||
|
type: 'error',
|
||||||
|
})
|
||||||
|
TableInit();
|
||||||
} else {
|
} else {
|
||||||
// ==================== 特定业务消息处理 ====================
|
// ==================== 特定业务消息处理 ====================
|
||||||
|
|
||||||
|
|||||||
@@ -358,6 +358,14 @@ watch(webMsgSend, function (newValue, oldValue) {
|
|||||||
handleFatalError(step4, step4InitLog, '存在已经初始化步骤,执行自动关闭,请重新发起检测!')
|
handleFatalError(step4, step4InitLog, '存在已经初始化步骤,执行自动关闭,请重新发起检测!')
|
||||||
} else if (newValue.code == 10520) {
|
} else if (newValue.code == 10520) {
|
||||||
handleFatalError(step4, step4InitLog, '解析报文异常')
|
handleFatalError(step4, step4InitLog, '解析报文异常')
|
||||||
|
}else if (newValue.code == -1) {
|
||||||
|
step4.value = 'error'
|
||||||
|
step4InitLog.value = [{
|
||||||
|
type: 'error',
|
||||||
|
log: '源未知异常!',
|
||||||
|
}];
|
||||||
|
ts.value = 'error'
|
||||||
|
step5.value = 'error'
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'DATA_REQUEST$02':
|
case 'DATA_REQUEST$02':
|
||||||
|
|||||||
@@ -260,7 +260,7 @@ const checkResultView: ComputedRef<CheckData.ScriptChnViewItem[]> = computed(()
|
|||||||
temp.devices.push({
|
temp.devices.push({
|
||||||
deviceId: device.deviceId,
|
deviceId: device.deviceId,
|
||||||
deviceName: device.deviceName,
|
deviceName: device.deviceName,
|
||||||
chnResult: tempChnBtnResult,
|
chnResult: tempChnBtnResult
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
return temp
|
return temp
|
||||||
@@ -401,6 +401,16 @@ watch(webMsgSend, function(newValue, oldValue) {
|
|||||||
log: `${new Date().toLocaleString()}:存在已经初始化步骤,执行自动关闭,请重新发起检测!`,
|
log: `${new Date().toLocaleString()}:存在已经初始化步骤,执行自动关闭,请重新发起检测!`,
|
||||||
})
|
})
|
||||||
emit('update:testStatus', 'test_init_fail')
|
emit('update:testStatus', 'test_init_fail')
|
||||||
|
} else if (newValue.code == -1) {
|
||||||
|
ElMessageBox.alert('源未知异常!', '检测失败!', {
|
||||||
|
confirmButtonText: '确定',
|
||||||
|
type: 'error',
|
||||||
|
})
|
||||||
|
testLogList.push({
|
||||||
|
type: 'error',
|
||||||
|
log: `${new Date().toLocaleString()}:源未知异常!`
|
||||||
|
})
|
||||||
|
emit('update:testStatus', 'error')
|
||||||
} else {
|
} else {
|
||||||
// ========== 根据请求ID处理不同类型的消息 ==========
|
// ========== 根据请求ID处理不同类型的消息 ==========
|
||||||
switch (newValue.requestId) {
|
switch (newValue.requestId) {
|
||||||
|
|||||||
@@ -649,6 +649,17 @@ const updateDeviceByType = (devTypeId: string) => {
|
|||||||
value: String(i + 1),
|
value: String(i + 1),
|
||||||
label: String(i + 1)
|
label: String(i + 1)
|
||||||
}))
|
}))
|
||||||
|
if(scene.value === '1'){
|
||||||
|
if (dev.name.includes('NPQS-581') || dev.name.includes('NPQS-580') || dev.name.includes('PQ-COM')) {
|
||||||
|
formContent.encryptionFlag = 1
|
||||||
|
formContent.series = 'Pqs&cn870299'
|
||||||
|
formContent.devKey = '!qaz@wsx3edc4rfv'
|
||||||
|
} else {
|
||||||
|
formContent.encryptionFlag = 0
|
||||||
|
formContent.series = null
|
||||||
|
formContent.devKey = null
|
||||||
|
}
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
// 默认值处理
|
// 默认值处理
|
||||||
formContent.devChns = 1
|
formContent.devChns = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user