diff --git a/frontend/src/api/result/interface/index.ts b/frontend/src/api/result/interface/index.ts new file mode 100644 index 0000000..37c1ee5 --- /dev/null +++ b/frontend/src/api/result/interface/index.ts @@ -0,0 +1,51 @@ + +export interface MonitorResult { + /** + * 监测点id + */ + monitorId: string; + + /** + * 监测点序号 + */ + monitorNum: number; + + /** + * 总检测次数 + */ + totalNum: number; + + /** + * 合格检测次数 + */ + qualifiedNum: number; + + /** + * 不合格检测次数 + */ + unQualifiedNum: number; + + /** + * 误差体系名称 + */ + errorSysName: string; + + /** + * 检测结果 + */ + checkResult: number; + + /** + * 哪次 + */ + whichTime: string; + + /** + * 结论来源 + */ + resultOrigin: string; + /** + * 来源类型 + */ + resultType: string; +} \ No newline at end of file diff --git a/frontend/src/api/result/result.ts b/frontend/src/api/result/result.ts new file mode 100644 index 0000000..1e11ff9 --- /dev/null +++ b/frontend/src/api/result/result.ts @@ -0,0 +1,5 @@ +import http from '@/api' + +export const getMonitorResult = (devId: string) => http.post(`/result/getMonitorResult?devId=${devId}`) +export const getMonitorDataSourceResult = (monitorId: string) => + http.get(`/result/getMonitorDataSourceResult?monitorId=${monitorId}`) \ No newline at end of file diff --git a/frontend/src/views/home/components/reportResultPopup.vue b/frontend/src/views/home/components/reportResultPopup.vue new file mode 100644 index 0000000..83dade8 --- /dev/null +++ b/frontend/src/views/home/components/reportResultPopup.vue @@ -0,0 +1,181 @@ + + + \ No newline at end of file diff --git a/frontend/src/views/home/components/table.vue b/frontend/src/views/home/components/table.vue index aecfa56..81a4454 100644 --- a/frontend/src/views/home/components/table.vue +++ b/frontend/src/views/home/components/table.vue @@ -77,13 +77,20 @@ 查询 重置 - 手动检测 + + 手动检测 + 手动检测 @@ -175,7 +182,7 @@ - + @@ -187,12 +194,14 @@ ref="dataCheckSingleChannelSingleTestPopupRef" :append-to-body="true" /> + +