|
|
@ -593,6 +593,14 @@ export default { |
|
|
] |
|
|
] |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
watch: { |
|
|
|
|
|
wdrFormData: { |
|
|
|
|
|
deep: true, |
|
|
|
|
|
handler: function (newV, oldV) { |
|
|
|
|
|
this.wdrFormData.toWdr = this.wdrFormData.toWdr.toUpperCase() |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
mounted() { |
|
|
mounted() { |
|
|
this.$nextTick(() => { |
|
|
this.$nextTick(() => { |
|
|
this.height = window.innerHeight - 220; |
|
|
this.height = window.innerHeight - 220; |
|
|
@ -1031,7 +1039,7 @@ export default { |
|
|
if (failCount > 0 && failedUnitIds.length > 0) { |
|
|
if (failCount > 0 && failedUnitIds.length > 0) { |
|
|
// 失败序列号(用逗号分隔)- rqrq |
|
|
// 失败序列号(用逗号分隔)- rqrq |
|
|
htmlContent += `<p><b>失败序列号:</b>${failedUnitIds.join(', ')}</p>` |
|
|
htmlContent += `<p><b>失败序列号:</b>${failedUnitIds.join(', ')}</p>` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 失败报错(只显示第一个)- rqrq |
|
|
// 失败报错(只显示第一个)- rqrq |
|
|
const firstError = failedReasons.length > 0 ? failedReasons[0] : '未知错误' |
|
|
const firstError = failedReasons.length > 0 ? failedReasons[0] : '未知错误' |
|
|
htmlContent += `<p><b>失败报错:</b>${firstError}</p>` |
|
|
htmlContent += `<p><b>失败报错:</b>${firstError}</p>` |
|
|
|