xq feat:"完成了查看逆变器详情"
This commit is contained in:
@ -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 = '修改逆变器列';
|
||||
|
Reference in New Issue
Block a user