13 Commits

Author SHA1 Message Date
caozehui
cd9b82848e 历史趋势图颜色调整 2025-12-31 15:00:20 +08:00
caozehui
bcbd274f9d 微调 2025-12-29 16:28:08 +08:00
caozehui
6d48942c83 微调 2025-12-29 16:13:34 +08:00
caozehui
a156976302 更新后端jar包 2025-12-29 16:07:24 +08:00
caozehui
4752caf982 微调 2025-12-26 13:38:48 +08:00
caozehui
a096690917 Merge branch 'qr_branch'
# Conflicts:
#	frontend/src/views/home/components/preTest.vue
#	frontend/src/views/home/components/test.vue
#	frontend/src/views/machine/device/components/devicePopup.vue
#	frontend/src/views/machine/testScript/components/testScriptFlickerTab.vue
2025-12-26 13:27:26 +08:00
caozehui
29efbae717 源未知异常处理 2025-11-06 08:42:04 +08:00
caozehui
a5177860de 微调 2025-09-03 14:23:05 +08:00
caozehui
66019e0d3c 闪变添加4000变动频度 2025-08-04 10:02:22 +08:00
caozehui
0ca992134f 微调 2025-08-01 09:44:00 +08:00
caozehui
128b02c145 微调 2025-08-01 08:46:44 +08:00
caozehui
bbc08679b9 微调 2025-08-01 08:42:26 +08:00
caozehui
bf8b8c9f0f NPQS-581表单默认加密、密钥和识别码为万能的 2025-07-31 14:16:27 +08:00
7 changed files with 56 additions and 20 deletions

View File

@@ -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:

View File

@@ -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],

View File

@@ -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 {
// ==================== 特定业务消息处理 ==================== // ==================== 特定业务消息处理 ====================

View File

@@ -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':

View File

@@ -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) {

View File

@@ -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