Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -313,7 +313,7 @@ watch(
|
||||
break
|
||||
case 25001: {
|
||||
// 当录波校验完成时,更新录波项目的按钮状态
|
||||
setLogList('info', '录波对齐完成!')
|
||||
setLogList('info', '录波校验完成!')
|
||||
// 解析返回的数据
|
||||
const waveData = JSON.parse(newValue.data)
|
||||
// 找到录波项目并更新其状态
|
||||
|
||||
@@ -225,6 +225,7 @@ import { documentedPqDev } from '@/api/device/report'
|
||||
import { ResultEnum } from '@/enums/httpEnum'
|
||||
import { getPqMonList } from '@/api/device/monitor/index.ts'
|
||||
import ReportResultPopup from '@/views/home/components/reportResultPopup.vue'
|
||||
import { el } from 'element-plus/es/locale'
|
||||
|
||||
const checkStore = useCheckStore()
|
||||
let devNum = 0 //当前选取的被检设备数量
|
||||
@@ -995,8 +996,10 @@ const openTestDialog2 = () => {
|
||||
const openDrawer = async (title: string, row: any) => {
|
||||
// 单个设备报告生成
|
||||
if (title === '报告生成') {
|
||||
if (modeStore.currentMode == '比对式'){
|
||||
reportPopup.value?.open(row)
|
||||
/*await generateDevReport({
|
||||
}else{
|
||||
await generateDevReport({
|
||||
planId: checkStore.plan.id,
|
||||
devIdList: [row.id],
|
||||
scriptId: checkStore.plan.scriptId,
|
||||
@@ -1005,7 +1008,8 @@ const openDrawer = async (title: string, row: any) => {
|
||||
pageSize: 999
|
||||
})
|
||||
emit('batchGenerateClicked') // 触发事件
|
||||
ElMessage.success({ message: `报告生成成功!` })*/
|
||||
ElMessage.success({ message: `报告生成成功!` })
|
||||
}
|
||||
}
|
||||
|
||||
if (title === '报告下载') {
|
||||
|
||||
@@ -319,7 +319,7 @@
|
||||
v-model="formContent.testConfig!.realTime"
|
||||
:precision="0"
|
||||
:step="1"
|
||||
:min="1"
|
||||
:min="40"
|
||||
placeholder="请输入实时数据有效组数"
|
||||
/>
|
||||
</el-form-item>
|
||||
|
||||
Reference in New Issue
Block a user