diff --git a/src/api/statistics/index.ts b/src/api/statistics/index.ts index 475816f..0b71015 100644 --- a/src/api/statistics/index.ts +++ b/src/api/statistics/index.ts @@ -269,4 +269,31 @@ export function rightEventDevOpen(data: object) { }); } +// 部门集合 +export function getDept(data: object) { + return service({ + url: "/report/getDept", + method: "post", + data, + }); +} + +// 报表导出 +export function exportForms(data: object) { + return service({ + url: "/report/get", + method: "post", + data, + responseType: "blob", + }); +} + + + + + + + + + diff --git a/src/views/VoltageSag_BJ/components/reportForms.vue b/src/views/VoltageSag_BJ/components/reportForms.vue new file mode 100644 index 0000000..be8bf35 --- /dev/null +++ b/src/views/VoltageSag_BJ/components/reportForms.vue @@ -0,0 +1,186 @@ + + + + + + + + + + + + + + + + + + + 确定 + 取消 + + + + + + + diff --git a/src/views/VoltageSag_BJ/index.vue b/src/views/VoltageSag_BJ/index.vue index eccfc1e..9311967 100644 --- a/src/views/VoltageSag_BJ/index.vue +++ b/src/views/VoltageSag_BJ/index.vue @@ -1,375 +1,358 @@ - - - - Loading... - - - - - - {{ timeInfo.dateYear }} {{ timeInfo.dateWeek }} - {{ timeInfo.dateDay }} - - - - - - - {{ title }} - - - - - - - - - - - - - - - - - - - - - 系统配置 - - - - - - - - - - - - - - - - - - - - - - - - - {{ - bottomTextRef?.urgentList.length > 99 - ? "99+" - : bottomTextRef?.urgentList.length - }} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + Loading... + + + + + + {{ timeInfo.dateYear }} {{ timeInfo.dateWeek }} + {{ timeInfo.dateDay }} + + + + + + + {{ title }} + + + + + + + + + + + + + + + + + + + + + 系统配置 + 报表导出 + + + + + + + + + + + + + + + + + + + + + + + + + {{ + bottomTextRef?.urgentList.length > 99 + ? "99+" + : bottomTextRef?.urgentList.length + }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +