@@ -164,7 +166,7 @@ defineOptions({
})
const height = mainHeight(20)
const size = ref(19)
-const dotList:any = ref({})
+const dotList: any = ref({})
const dictData = useDictData()
const waveTypeList = ref([
{
@@ -281,23 +283,29 @@ const exportEvent = () => {
formInline.value.waveType = tableStore.table.params.waveType
formInline.value.interval = tableStore.table.params.timeFlag
ElMessage('生成报告中,请稍等!')
- getAreaReport(formInline.value).then((res: any) => {
- let blob = new Blob([res], {
- type: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document;charset=UTF-8'
- })
+ getAreaReport(formInline.value)
+ .then((res: any) => {
+ if (res == undefined) {
+ loading.value = false
+ return
+ }
+ let blob = new Blob([res], {
+ type: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document;charset=UTF-8'
+ })
- const url = window.URL.createObjectURL(blob)
- const link = document.createElement('a') // 创建a标签
- link.href = url
- // link.download = "电压暂降事件分析报告"; // 设置下载的文件名
- link.download = dotList.value.name +'区域报告' + dayjs().format('YYYYMMDD') // 设置下载的文件名
- document.body.appendChild(link)
- link.click() //执行下载
- document.body.removeChild(link)
- loading.value = false
- }).catch(() => {
- loading.value = false
- })
+ const url = window.URL.createObjectURL(blob)
+ const link = document.createElement('a') // 创建a标签
+ link.href = url
+ // link.download = "电压暂降事件分析报告"; // 设置下载的文件名
+ link.download = dotList.value.name + '区域报告' + dayjs().format('YYYYMMDD') // 设置下载的文件名
+ document.body.appendChild(link)
+ link.click() //执行下载
+ document.body.removeChild(link)
+ loading.value = false
+ })
+ .catch(() => {
+ loading.value = false
+ })
}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 暂降数据
+ 电压暂降事件统计
+ 耐受曲线信息
+
+
+
+
+
+
+
+
diff --git a/src/views/pqs/voltageSags/sagGovern/businessUser/index.vue b/src/views/pqs/voltageSags/sagGovern/businessUser/index.vue
index 243ad20d..89b26c24 100644
--- a/src/views/pqs/voltageSags/sagGovern/businessUser/index.vue
+++ b/src/views/pqs/voltageSags/sagGovern/businessUser/index.vue
@@ -102,7 +102,7 @@ const tableStore = new TableStore({
},
{
- title: '操作',
+ title: '操作',fixed: 'right',
align: 'center',
width: '230',
render: 'buttons',
diff --git a/src/views/pqs/voltageSags/sagGovern/businessUser/machine/index.vue b/src/views/pqs/voltageSags/sagGovern/businessUser/machine/index.vue
index f62b86db..3a08141e 100644
--- a/src/views/pqs/voltageSags/sagGovern/businessUser/machine/index.vue
+++ b/src/views/pqs/voltageSags/sagGovern/businessUser/machine/index.vue
@@ -1,170 +1,170 @@
-
-
-
-
-
-
-
-
-
-
-
-
- 新增
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ 新增
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/pqs/voltageSags/sagGovern/businessUser/productLine/index.vue b/src/views/pqs/voltageSags/sagGovern/businessUser/productLine/index.vue
index 5b26de89..978ff346 100644
--- a/src/views/pqs/voltageSags/sagGovern/businessUser/productLine/index.vue
+++ b/src/views/pqs/voltageSags/sagGovern/businessUser/productLine/index.vue
@@ -1,148 +1,148 @@
-
-
-
-
-
-
- 新增
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+ 新增
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/pqs/voltageSags/sagGovern/businessUser/sensitiveUnit/unitTable.vue b/src/views/pqs/voltageSags/sagGovern/businessUser/sensitiveUnit/unitTable.vue
index 844ba39a..0b123c9f 100644
--- a/src/views/pqs/voltageSags/sagGovern/businessUser/sensitiveUnit/unitTable.vue
+++ b/src/views/pqs/voltageSags/sagGovern/businessUser/sensitiveUnit/unitTable.vue
@@ -1,147 +1,147 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/views/pqs/voltageSags/sagGovern/scheme/index.vue b/src/views/pqs/voltageSags/sagGovern/scheme/index.vue
index 39eefd05..7a065a08 100644
--- a/src/views/pqs/voltageSags/sagGovern/scheme/index.vue
+++ b/src/views/pqs/voltageSags/sagGovern/scheme/index.vue
@@ -1,192 +1,192 @@
-
-
-
-
-
-
-
-
-
-
-
-
- 新增治理方案
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ 新增治理方案
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/setting/dictionary/component/index.vue b/src/views/setting/dictionary/component/index.vue
index 368f9fa5..ba280aeb 100644
--- a/src/views/setting/dictionary/component/index.vue
+++ b/src/views/setting/dictionary/component/index.vue
@@ -47,7 +47,7 @@ const tableStore = new TableStore({
{ field: 'path', title: '组件路径' },
{ field: 'image', title: '组件展示', render: 'image' },
{
- title: '操作',
+ title: '操作',fixed: 'right',
render: 'buttons',
buttons: [
{
diff --git a/src/views/setting/dictionary/list/detail.vue b/src/views/setting/dictionary/list/detail.vue
index de4f01c0..6a637fd3 100644
--- a/src/views/setting/dictionary/list/detail.vue
+++ b/src/views/setting/dictionary/list/detail.vue
@@ -1,153 +1,153 @@
-
-
-
-
-
-
-
- {{ props.detail.name }}详情信息
-
-
-
-
-
-
-
-
- 新增
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+ {{ props.detail.name }}详情信息
+
+
+
+
+
+
+
+
+ 新增
+
+
+
+
+
+
+
diff --git a/src/views/setting/dictionary/list/index.vue b/src/views/setting/dictionary/list/index.vue
index a615ef77..86dcccc3 100644
--- a/src/views/setting/dictionary/list/index.vue
+++ b/src/views/setting/dictionary/list/index.vue
@@ -1,128 +1,128 @@
-
-
-
-
-
-
-
-
-
- 新增字典类型
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ 新增字典类型
+
+
+
+
+
+
+
+
+
diff --git a/src/views/setting/dictionary/tree/index.vue b/src/views/setting/dictionary/tree/index.vue
index f96a7c2b..41024bb8 100644
--- a/src/views/setting/dictionary/tree/index.vue
+++ b/src/views/setting/dictionary/tree/index.vue
@@ -1,114 +1,114 @@
-
-
-
-
+
+
+
+
diff --git a/src/views/system/ReportConfiguration/components/disposition.vue b/src/views/system/ReportConfiguration/components/disposition.vue
index 200d4e97..c40f1846 100644
--- a/src/views/system/ReportConfiguration/components/disposition.vue
+++ b/src/views/system/ReportConfiguration/components/disposition.vue
@@ -1,101 +1,101 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- 报告字典管理
- 新增模版
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 报告字典管理
+ 新增模版
+
+
+
+
+
+
+
diff --git a/src/views/system/auth/audit/index.vue b/src/views/system/auth/audit/index.vue
index 24b64a78..aa792e5f 100644
--- a/src/views/system/auth/audit/index.vue
+++ b/src/views/system/auth/audit/index.vue
@@ -1,136 +1,136 @@
-
-
-
-
+
+
+
+
diff --git a/src/views/system/auth/department/index.vue b/src/views/system/auth/department/index.vue
index 24596252..ee2d331e 100644
--- a/src/views/system/auth/department/index.vue
+++ b/src/views/system/auth/department/index.vue
@@ -1,195 +1,195 @@
-
-
-
-
+
+
+
+
diff --git a/src/views/system/auth/menu/api.vue b/src/views/system/auth/menu/api.vue
index 63d49bff..c462a872 100644
--- a/src/views/system/auth/menu/api.vue
+++ b/src/views/system/auth/menu/api.vue
@@ -47,7 +47,7 @@ const tableStore = new TableStore({
},
{ title: 'URL接口路径', field: 'path' },
{
- title: '操作',
+ title: '操作',fixed: 'right',
align: 'center',
width: '180',
render: 'buttons',
diff --git a/src/views/system/auth/menu/menu.vue b/src/views/system/auth/menu/menu.vue
index fb47d689..ae55ae0e 100644
--- a/src/views/system/auth/menu/menu.vue
+++ b/src/views/system/auth/menu/menu.vue
@@ -56,7 +56,7 @@ const tableStore = new TableStore({
render: 'icon'
},
{
- title: '操作',
+ title: '操作',fixed: 'right',
align: 'center',
width: '180',
render: 'buttons',
diff --git a/src/views/system/auth/role/index.vue b/src/views/system/auth/role/index.vue
index 7d898f4b..78c05c05 100644
--- a/src/views/system/auth/role/index.vue
+++ b/src/views/system/auth/role/index.vue
@@ -69,7 +69,7 @@ const tableStore = new TableStore({
}
},
{
- title: '操作',
+ title: '操作',fixed: 'right',
align: 'center',
width: '180',
render: 'buttons',
diff --git a/src/views/system/auth/userList/index.vue b/src/views/system/auth/userList/index.vue
index 6d115538..cf7af519 100644
--- a/src/views/system/auth/userList/index.vue
+++ b/src/views/system/auth/userList/index.vue
@@ -1,231 +1,231 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 添加
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 添加
+
+
+
+
+
+
+
+
diff --git a/src/views/system/bpm/category/index.vue b/src/views/system/bpm/category/index.vue
index eb47a257..d8c682ac 100644
--- a/src/views/system/bpm/category/index.vue
+++ b/src/views/system/bpm/category/index.vue
@@ -1,115 +1,115 @@
-
-
-
-
-
-
-
-
-
-
- 新增
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+ 新增
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/system/bpm/form/index.vue b/src/views/system/bpm/form/index.vue
index fe16a1b6..3eab57f4 100644
--- a/src/views/system/bpm/form/index.vue
+++ b/src/views/system/bpm/form/index.vue
@@ -1,167 +1,167 @@
-
-
-
-
-
-
-
-
-
-
- 新增
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/views/system/bpm/model/index.vue b/src/views/system/bpm/model/index.vue
index d71ed3dc..a00cec6f 100644
--- a/src/views/system/bpm/model/index.vue
+++ b/src/views/system/bpm/model/index.vue
@@ -1,271 +1,271 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 新增模型
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 新增模型
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/system/bpm/sign/index.vue b/src/views/system/bpm/sign/index.vue
index e6e16d75..ec4610f7 100644
--- a/src/views/system/bpm/sign/index.vue
+++ b/src/views/system/bpm/sign/index.vue
@@ -1,113 +1,113 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- 新增
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 新增
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/system/bpm/task/alarmTask/index.vue b/src/views/system/bpm/task/alarmTask/index.vue
index 33b3e0f1..a7a5c6de 100644
--- a/src/views/system/bpm/task/alarmTask/index.vue
+++ b/src/views/system/bpm/task/alarmTask/index.vue
@@ -1,292 +1,292 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/system/bpm/task/done/index.vue b/src/views/system/bpm/task/done/index.vue
index 008a224a..cf3cc504 100644
--- a/src/views/system/bpm/task/done/index.vue
+++ b/src/views/system/bpm/task/done/index.vue
@@ -1,161 +1,161 @@
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/src/views/system/bpm/task/myInstance/index.vue b/src/views/system/bpm/task/myInstance/index.vue
index d6efbb40..8e4b66fc 100644
--- a/src/views/system/bpm/task/myInstance/index.vue
+++ b/src/views/system/bpm/task/myInstance/index.vue
@@ -1,186 +1,186 @@
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/src/views/system/bpm/task/todo/index.vue b/src/views/system/bpm/task/todo/index.vue
index cb8ced8f..bb1c8bbb 100644
--- a/src/views/system/bpm/task/todo/index.vue
+++ b/src/views/system/bpm/task/todo/index.vue
@@ -75,7 +75,7 @@ const tableStore = new TableStore({
}
},
{
- title: '操作',
+ title: '操作',fixed: 'right',
align: 'center',
minWidth: 100,
render: 'buttons',
diff --git a/src/views/system/icd/index.vue b/src/views/system/icd/index.vue
index 831852c4..191c2f12 100644
--- a/src/views/system/icd/index.vue
+++ b/src/views/system/icd/index.vue
@@ -1,166 +1,166 @@
-
-
-
-
-
-
-
-
-
-
- 新增
-
-
-
-
-
-
-
-
-
-
- 取消
- 确认
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+ 新增
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 确认
+
+
+
+
+
diff --git a/src/views/system/modelManage/index.vue b/src/views/system/modelManage/index.vue
index 8294d6af..6963adc7 100644
--- a/src/views/system/modelManage/index.vue
+++ b/src/views/system/modelManage/index.vue
@@ -1,155 +1,155 @@
-
-
-
-
-
-
-
-
-
-
- 新增
-
-
-
-
-
-
-
-
-
-
- 取消
- 确认
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+ 新增
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 确认
+
+
+
+
+
diff --git a/src/views/system/reportForms/index.vue b/src/views/system/reportForms/index.vue
index 31865bbc..98767625 100644
--- a/src/views/system/reportForms/index.vue
+++ b/src/views/system/reportForms/index.vue
@@ -51,7 +51,7 @@ const tableStore: any = new TableStore({
}
},
{
- title: '操作',
+ title: '操作',fixed: 'right',
width: '220',
render: 'buttons',
buttons: [
diff --git a/src/views/system/scheduledTasks/index.vue b/src/views/system/scheduledTasks/index.vue
index cdd292fe..77cabb07 100644
--- a/src/views/system/scheduledTasks/index.vue
+++ b/src/views/system/scheduledTasks/index.vue
@@ -1,206 +1,206 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 新增定时任务
-
-
-
-
-
-
-
-
-
-
-
-
- 取消
-
- 确认
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 新增定时任务
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+
+ 确认
+
+
+
+
+
+
diff --git a/src/views/system/subject/index.vue b/src/views/system/subject/index.vue
index 3280e9ff..e38d3c0e 100644
--- a/src/views/system/subject/index.vue
+++ b/src/views/system/subject/index.vue
@@ -1,150 +1,150 @@
-
-
-
-
+
+
+
+