# frontend/src/views/home/components/table.vue

#	frontend/src/views/home/tabs/dashboard.vue
This commit is contained in:
sjl
2024-12-17 11:36:02 +08:00
6 changed files with 76 additions and 27 deletions

View File

@@ -379,6 +379,7 @@ const proTable = ref<ProTableInstance>();
const boundPqDevList=ref<Device.ReqPqDevParams[]>([])//根据检测计划id查询出所有已绑定的设备
const getTableList = async (params: any) => {
<<<<<<< HEAD
const checkStateList = ref<any>()
if(form.value.checkStatus != null){
checkStateList.value = [form.value.checkStatus]
@@ -391,6 +392,14 @@ const getTableList = async (params: any) => {
'reportState ': form.value.checkReportStatus,
'name':form.value.search
});
=======
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]});
}
>>>>>>> 07d02307e2507c32fc2b3c8b745b074d7a9bb74d
};