diff --git a/src/api/harmonic-boot/area.ts b/src/api/harmonic-boot/area.ts new file mode 100644 index 00000000..65aa3148 --- /dev/null +++ b/src/api/harmonic-boot/area.ts @@ -0,0 +1,49 @@ +import request from '@/utils/request' + +export function getTypeIdData(data: any) { + return request({ + url: '/system-boot/dictData/getTypeIdData', + method: 'post', + data: data + }) +} +export function getOnlineRateData2(data:any) { + return request({ + url: '/harmonic-boot/onlineRateData/getOnlineRateData', + method: 'post', + data: data + }) +} +export function getAreaDept() { + return request({ + url: '/user-boot/dept/loginDeptTree', + method: 'post' + }) +} +export function getOnlineRateDataCensus(data:any) { + return request({ + url: '/device-boot/terminalOnlineRateData/getOnlineRateDataCensus', + method: 'post', + data: data + }) +} +export function IntegrityIcon(data:any) { + return request({ + url: '/harmonic-boot/integrity/getIntegrityIcon', + method: 'post', + data: data + }) +} +export function getDeptIdAreaTree() { + return request({ + url: '/system-boot/area/getDeptIdAreaTree', + method: 'post' + }) +} +export function getOnlineRateData(data:any) { + return request({ + url: '/device-boot/terminalOnlineRateData/getOnlineRateData', + method: 'post', + data: data + }) +} diff --git a/src/components/UploadFile/src/UploadFile.vue b/src/components/UploadFile/src/UploadFile.vue index eb228d90..d08dca1c 100644 --- a/src/components/UploadFile/src/UploadFile.vue +++ b/src/components/UploadFile/src/UploadFile.vue @@ -61,7 +61,7 @@ import type { UploadInstance, UploadProps, UploadRawFile, UploadUserFile } from import { isString } from '@/utils/is' import { useUpload } from '@/components/UploadFile/src/useUpload' import { UploadFile } from 'element-plus/es/components/upload/src/upload' - +import { useMessage } from '@/hooks/web/useMessage' defineOptions({ name: 'UploadFile' }) const message = useMessage() // 消息弹窗 diff --git a/src/components/UploadFile/src/UploadImgs.vue b/src/components/UploadFile/src/UploadImgs.vue index 87d3c2c5..4ccc3411 100644 --- a/src/components/UploadFile/src/UploadImgs.vue +++ b/src/components/UploadFile/src/UploadImgs.vue @@ -53,7 +53,7 @@ import { ElNotification } from 'element-plus' import { propTypes } from '@/utils/propTypes' import { useUpload } from '@/components/UploadFile/src/useUpload' import { Plus, Edit, ZoomIn, Delete } from '@element-plus/icons-vue' - +import { useMessage } from '@/hooks/web/useMessage' defineOptions({ name: 'UploadImgs' }) const message = useMessage() // 消息弹窗 diff --git a/src/views/pqs/harmonicMonitoring/area/harmonicdistortionrate.vue b/src/views/pqs/harmonicMonitoring/area/harmonicdistortionrate.vue new file mode 100644 index 00000000..963832af --- /dev/null +++ b/src/views/pqs/harmonicMonitoring/area/harmonicdistortionrate.vue @@ -0,0 +1,672 @@ + + + + + + + + + + + + + + + + 查询 + + + + 条件筛选 + + + + + + + + + + + + + + + + + + + + + {{ data.name }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/pqs/harmonicMonitoring/area/integralitytable.vue b/src/views/pqs/harmonicMonitoring/area/integralitytable.vue new file mode 100644 index 00000000..8887530d --- /dev/null +++ b/src/views/pqs/harmonicMonitoring/area/integralitytable.vue @@ -0,0 +1,718 @@ + + + + + + + + + + + + + + + + + + + + + + + {{ data.name }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 查询 + + + 条件筛选 + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/pqs/harmonicMonitoring/area/onlinerate/components/onlineCharts.vue b/src/views/pqs/harmonicMonitoring/area/onlinerate/components/onlineCharts.vue new file mode 100644 index 00000000..1bb34330 --- /dev/null +++ b/src/views/pqs/harmonicMonitoring/area/onlinerate/components/onlineCharts.vue @@ -0,0 +1,305 @@ + + + + + + diff --git a/src/views/pqs/harmonicMonitoring/area/onlinerate/components/onlineratetable.vue b/src/views/pqs/harmonicMonitoring/area/onlinerate/components/onlineratetable.vue new file mode 100644 index 00000000..53dc50d6 --- /dev/null +++ b/src/views/pqs/harmonicMonitoring/area/onlinerate/components/onlineratetable.vue @@ -0,0 +1,377 @@ + + + + + + + + + + + + + + + / + {{ scope.row.ip }} + + + + + / + {{ scope.row.dataName }} + + + + + / + + {{ scope.row.manufacturer }} + + + + + + + / + + 中断 + + + 正常 + + + + + + / + + {{ scope.row.updateTime }} + + + + + + 暂无数据 + + {{ scope.row.onlineRate.toFixed(2) }} + + + + + + + 暂无评估 + + + 优秀 + + + 合格 + + + 不合格 + + + + + + + + + diff --git a/src/views/pqs/harmonicMonitoring/area/onlinerate/index.vue b/src/views/pqs/harmonicMonitoring/area/onlinerate/index.vue new file mode 100644 index 00000000..f67fca6a --- /dev/null +++ b/src/views/pqs/harmonicMonitoring/area/onlinerate/index.vue @@ -0,0 +1,401 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/pqs/harmonicMonitoring/area/powerassessment.vue b/src/views/pqs/harmonicMonitoring/area/powerassessment.vue new file mode 100644 index 00000000..bec96e5c --- /dev/null +++ b/src/views/pqs/harmonicMonitoring/area/powerassessment.vue @@ -0,0 +1,414 @@ + + + + + + 统计类型: + + + + + + 区域: + + + + + {{ data.name }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 暂无数据 + {{ + scope.row.data + }} + + + + + + + + + + + + + + + + + diff --git a/src/views/pqs/harmonicMonitoring/area/qualifiedRate.vue b/src/views/pqs/harmonicMonitoring/area/qualifiedRate.vue new file mode 100644 index 00000000..68b1fab5 --- /dev/null +++ b/src/views/pqs/harmonicMonitoring/area/qualifiedRate.vue @@ -0,0 +1,620 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 查询 + + + + 条件筛选 + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/pqs/harmonicMonitoring/area/qypowerment.vue b/src/views/pqs/harmonicMonitoring/area/qypowerment.vue new file mode 100644 index 00000000..6fa34b76 --- /dev/null +++ b/src/views/pqs/harmonicMonitoring/area/qypowerment.vue @@ -0,0 +1,884 @@ + + + + + + + + 查询 + + + + + + + + + 5级 + :优秀--(4.5,5] + 4级 + :良好--(4,4.5] + 3级 + :合格--(3,4] + 2级 + :较差--(2,3] + 1级 + :极差--[1,2] + + + + + + + + {{ item.name }} + + + 无 + + + 5级 + + + 4级 + + + 3级 + + + 2级 + + + 1级 + + + + + + + 无 + + + 5级 + + + 4级 + + + 3级 + + + 2级 + + + 1级 + + + + + {{ item1.name.substr(0, 6) }} + + + + + + + + + + + + + + + + + + + + + + + 暂无数据 + + + {{ scope.row.data }} + + / + + + + + + + + + + + + + + + + + + 暂无数据 + + {{ scope.row.data }} + + + + + + 暂无评估 + + 无污染 + + + 轻微污染 + + + 轻度污染 + + + 中度污染 + + + 重度污染 + + + + + + + + + + + + + + + 暂无数据 + + {{ scope.row.data }} + + + + + + 暂无评估 + + 无污染 + + + 轻微污染 + + + 轻度污染 + + + 中度污染 + + + 重度污染 + + + + + + + + + + + + + + + + + diff --git a/src/views/pqs/harmonicMonitoring/area/steadystate.vue b/src/views/pqs/harmonicMonitoring/area/steadystate.vue new file mode 100644 index 00000000..566e7b25 --- /dev/null +++ b/src/views/pqs/harmonicMonitoring/area/steadystate.vue @@ -0,0 +1,671 @@ + + + + + + + + + + + + + 查询 + + + + 条件筛选 + + + + + + + + + + + + + + + + + + {{ data.name }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/pqs/harmonicMonitoring/area/terminalonlinerate.vue b/src/views/pqs/harmonicMonitoring/area/terminalonlinerate.vue new file mode 100644 index 00000000..cb84685a --- /dev/null +++ b/src/views/pqs/harmonicMonitoring/area/terminalonlinerate.vue @@ -0,0 +1,618 @@ + + + + + + + + + + + + + 查询 + + + 条件筛选 + + + + + + + + + + + + + + + + + + + + + + + + {{ data.name }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/pqs/harmonicMonitoring/area/transienteventlist.vue b/src/views/pqs/harmonicMonitoring/area/transienteventlist.vue new file mode 100644 index 00000000..052ec010 --- /dev/null +++ b/src/views/pqs/harmonicMonitoring/area/transienteventlist.vue @@ -0,0 +1,1073 @@ + + + + + + + + + + + + + + 查询 + + + + 波形文件 + + + + + 条件筛选 + + + + + + + + + + + + + + + + + + + + + + {{ data.name }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ (scope.row.featureAmplitude * 100).toFixed(2) }} + + + + + + {{ (100 - scope.row.featureAmplitude * 100).toFixed(2) }} + + / + + + + + + + + {{ scope.row.severity < 0 ? '/' : scope.row.severity }} + + + + + + 暂无波形 + + + 波形分析 + + + + + + + + + + + + 值类型选择: + + + + + + + 返回 + + + + + + + + + + + + + + + + + + + 幅值 + + + + + <时间< + + + + + <程度< + + + + + + + + + + + + + + + 取 消 + 确 定 + + + + + + + diff --git a/src/views/pqs/supervise/testRun/index.vue b/src/views/pqs/supervise/testRun/index.vue index 3db864e3..33c38699 100644 --- a/src/views/pqs/supervise/testRun/index.vue +++ b/src/views/pqs/supervise/testRun/index.vue @@ -317,6 +317,7 @@ const startRunTest = () => { // 下载报告 const downloadTheReport = (url: string) => { getFileNameAndFilePath({ filePath: url }).then((res: any) => { + console.log(res.data.url,"res"); const link = document.createElement('a') link.href = res.data.url link.download = res.data.name