视频巡检详情页面

This commit is contained in:
砂糖
2025-10-07 10:02:26 +08:00
parent f4418b8860
commit 0e4f543434
4 changed files with 141 additions and 123 deletions

View File

@@ -161,6 +161,9 @@ import { listInspection } from "@/api/video/inspection";
const { proxy } = getCurrentInstance();
const { ins_record_status } = proxy.useDict('ins_record_status');
const route = useRoute();
const taskId = route.query.taskId;
const inspectionList = ref([]);
const inspectionRecordList = ref([]);
const open = ref(false);
@@ -177,7 +180,7 @@ const data = reactive({
queryParams: {
pageNum: 1,
pageSize: 20,
taskId: null,
taskId: taskId ? parseInt(taskId) : null,
executeTime: null,
duration: null,
accessory: null,
@@ -188,6 +191,13 @@ const data = reactive({
}
});
watch(() => taskId, (newVal) => {
if (newVal) {
queryParams.value.taskId = parseInt(newVal);
getList();
}
});
const { queryParams, form, rules } = toRefs(data);
/** 查询巡检任务记录列表 */