xq feat:"完成了查看逆变器详情"

This commit is contained in:
2025-07-03 16:10:02 +08:00
parent f7065c701e
commit 0143f674ae
4 changed files with 543 additions and 4 deletions

View File

@ -135,6 +135,7 @@
import { listNbq, getNbq, delNbq, addNbq, updateNbq } from '@/api/business/nbq';
import { NbqVO, NbqQuery, NbqForm } from '@/api/business/nbq/types';
import { useProgram } from '@/store/modules/program';
import { getNbqDetail } from '@/api/nbqDetail';
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
const { type } = toRefs<any>(proxy?.useDict('type'));
@ -256,6 +257,7 @@ const handleUpdate = async (row?: NbqVO) => {
reset();
const _nbqId = row?.nbqId || ids.value[0];
const res = await getNbq(_nbqId);
// const res = await getNbqDetail(_nbqId);
Object.assign(form.value, res.data);
dialog.visible = true;
dialog.title = '修改逆变器列';