默认选中第一条检测计划
This commit is contained in:
@@ -385,9 +385,12 @@ const tableList = ref([]);
|
||||
const boundPqDevList=ref<Device.ReqPqDevParams[]>([])//根据检测计划id查询出所有已绑定的设备
|
||||
|
||||
const getTableList = async (params: any) => {
|
||||
const pqDevList_Result2 = await getBoundPqDevList({'planId': props.id, 'checkStateList':[0,1,2]});
|
||||
boundPqDevList.value = pqDevList_Result2.data as Device.ReqPqDevParams[];
|
||||
return getBoundPqDevList({'planId': props.id, 'checkStateList':[0,1,2]});
|
||||
debugger
|
||||
if(props.id) {
|
||||
// const pqDevList_Result2 = await getBoundPqDevList({'planId': props.id,'checkStateList':[0,1,2]});
|
||||
// boundPqDevList.value = pqDevList_Result2.data as Device.ReqPqDevParams[];
|
||||
return getBoundPqDevList({'planId': props.id,'checkStateList':[0,1,2]});
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user