微调
This commit is contained in:
@@ -625,10 +625,10 @@ watch(
|
|||||||
updatePercentage()
|
updatePercentage()
|
||||||
}
|
}
|
||||||
if(newValue.code == 25005){
|
if(newValue.code == 25005){
|
||||||
setLogList("error", '实时数据校验失败!开始录波校验...')
|
setLogList("error", '实时数据不符合!开始录波校验...')
|
||||||
}
|
}
|
||||||
if(newValue.code == 25006){
|
if(newValue.code == 25006){
|
||||||
setLogList("error", '统计数据校验失败!开始录波校验...')
|
setLogList("error", '统计数据不符合!开始录波校验...')
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -841,6 +841,8 @@ const handleTest2 = async (val: string) => {
|
|||||||
// 只传递有监测点的设备
|
// 只传递有监测点的设备
|
||||||
|
|
||||||
const targetPlan = props.planTable.data.find((item: any) => item.id === props.plan.id)
|
const targetPlan = props.planTable.data.find((item: any) => item.id === props.plan.id)
|
||||||
|
|
||||||
|
|
||||||
// 检查数组长度是否为1且唯一元素是'wave_data'
|
// 检查数组长度是否为1且唯一元素是'wave_data'
|
||||||
const isOnlyWave = targetPlan.datasourceIds.length === 1 && targetPlan.datasourceIds[0] === 'wave_data'
|
const isOnlyWave = targetPlan.datasourceIds.length === 1 && targetPlan.datasourceIds[0] === 'wave_data'
|
||||||
|
|
||||||
|
|||||||
@@ -236,9 +236,9 @@ const downloadFile = async () => {
|
|||||||
|
|
||||||
|
|
||||||
ElMessageBox.confirm('确认导出被检设备?', '温馨提示', {
|
ElMessageBox.confirm('确认导出被检设备?', '温馨提示', {
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
confirmButtonText: '确定',
|
confirmButtonText: '确定',
|
||||||
cancelButtonText: '取消'
|
cancelButtonText: '取消'
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
const patternId = dictStore.getDictData('Pattern').find(item => item.name === modeStore.currentMode)?.id
|
const patternId = dictStore.getDictData('Pattern').find(item => item.name === modeStore.currentMode)?.id
|
||||||
useDownload(exportPqDev, '被检设备导出数据', {...proTable.value?.searchParam, pattern: patternId}, false, '.xlsx')
|
useDownload(exportPqDev, '被检设备导出数据', {...proTable.value?.searchParam, pattern: patternId}, false, '.xlsx')
|
||||||
|
|||||||
@@ -690,6 +690,10 @@ const exportPlan = async () => {
|
|||||||
ElMessageBox.confirm(`确认导出${subPlanFormContent.name}子计划元信息?`, '温馨提示', { type: 'warning' }).then(() =>
|
ElMessageBox.confirm(`确认导出${subPlanFormContent.name}子计划元信息?`, '温馨提示', { type: 'warning' }).then(() =>
|
||||||
useDownload(exportSubPlan, `${subPlanFormContent.name}_子计划元信息`, params, false, '.zip')
|
useDownload(exportSubPlan, `${subPlanFormContent.name}_子计划元信息`, params, false, '.zip')
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const exportPlanCheckResultData = async (selectedListIds: string[]) => {
|
const exportPlanCheckResultData = async (selectedListIds: string[]) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user