diff --git a/src/api/event-boot/report.ts b/src/api/event-boot/report.ts index 55ef1bc3..6815083c 100644 --- a/src/api/event-boot/report.ts +++ b/src/api/event-boot/report.ts @@ -1,72 +1,115 @@ -import createAxios from '@/utils/request' - -//事件报告 -export function getEventReport(data) { - return createAxios({ - url: '/event-boot/report/getEventReport', - method: 'post', - data - }) -} -// 生成报告 -export function getAreaReport(data) { - return createAxios({ - url: '/event-boot/report/getAreaReport', - method: 'post', - data, - responseType: 'blob' - }) -} -//查询所有模板 -export function getList(data) { - return createAxios({ - url: '/system-boot/EventTemplate/getList', - method: 'post', - data - }) -} -export function selectReleation(data) { - return createAxios({ - url: '/system-boot/EventTemplate/selectReleation', - method: 'post', - params: data - }) -} -export function getLineExport(data) { - return createAxios({ - url: '/event-boot/report/getLineExport', - method: 'post', - data: data, - responseType: 'blob' - }) -} -export function getVoltage(data: any) { - return createAxios({ - url: '/event-boot/report/getVoltage', - method: 'post', - data - }) -} -export function getGeneralSituation(data: any) { - return createAxios({ - url: '/event-boot/report/getGeneralSituation', - method: 'post', - data - }) -} -export function getTransientValue(data: any) { - return createAxios({ - url: '/event-boot/transient/getTransientValue', - method: 'post', - data - }) -} -// 周报导出 -export function getExport(data: any) { - return createAxios({ - url: '/event-boot/report/getExport', - method: 'post', - data, - responseType: 'blob' - }) -} +import createAxios from '@/utils/request' +import { genFileId, ElMessage, ElNotification } from 'element-plus' + +//事件报告 +export function getEventReport(data) { + return createAxios({ + url: '/event-boot/report/getEventReport', + method: 'post', + data + }) +} +// 生成报告 +export function getAreaReport(data) { + return createAxios({ + url: '/event-boot/report/getAreaReport', + method: 'post', + data, + responseType: 'blob' + }).then(async res => { + let load: any = await readJsonBlob(res) + if (load.code) { + if (load.data.code == 'A0011') { + ElMessage.warning('下载失败!') + } else { + ElMessage.warning(load.data.message) + } + } else { + return res + } + }) +} +async function readJsonBlob(blob) { + try { + // 1. Blob.text() 读取二进制 → 直接转为 字符串(自动处理编码) + const jsonStr = await blob.text() + // 2. JSON.parse 解析字符串 → 得到可用的 JS 对象/数组 + const jsonData = JSON.parse(jsonStr) + // 3. 拿到数据,后续随便用 + return { + code: true, + data: jsonData + } + } catch (err) { + return { + code: false, + data: {} + } + // console.error('解析Blob的JSON数据失败:', err) + } +} + +//查询所有模板 +export function getList(data) { + return createAxios({ + url: '/system-boot/EventTemplate/getList', + method: 'post', + data + }) +} +export function selectReleation(data) { + return createAxios({ + url: '/system-boot/EventTemplate/selectReleation', + method: 'post', + params: data + }) +} +export function getLineExport(data) { + return createAxios({ + url: '/event-boot/report/getLineExport', + method: 'post', + data: data, + responseType: 'blob' + }).then(async res => { + let load: any = await readJsonBlob(res) + if (load.code) { + if (load.data.code == 'A0011') { + ElMessage.warning('下载失败!') + } else { + ElMessage.warning(load.data.message) + } + } else { + return res + } + }) +} +export function getVoltage(data: any) { + return createAxios({ + url: '/event-boot/report/getVoltage', + method: 'post', + data + }) +} +export function getGeneralSituation(data: any) { + return createAxios({ + url: '/event-boot/report/getGeneralSituation', + method: 'post', + data + }) +} +export function getTransientValue(data: any) { + return createAxios({ + url: '/event-boot/transient/getTransientValue', + method: 'post', + data + }) +} +// 周报导出 +export function getExport(data: any) { + return createAxios({ + url: '/event-boot/report/getExport', + method: 'post', + data, + responseType: 'blob' + }) +} diff --git a/src/api/harmonic-boot/harmonic.ts b/src/api/harmonic-boot/harmonic.ts index 6a494662..497a9216 100644 --- a/src/api/harmonic-boot/harmonic.ts +++ b/src/api/harmonic-boot/harmonic.ts @@ -1,18 +1,48 @@ -import request from '@/utils/request' - -export function getHistoryResult(data: any) { - return request({ - url: '/harmonic-boot/harmonic/getHistoryResult', - method: 'post', - data: data - }) -} -// word报告 -export function exportModelJB(data: any) { - return request({ - url: '/harmonic-boot/exportmodel/exportModelJB', - method: 'post', - responseType: 'blob', - data: data - }) -} +import request from '@/utils/request' +import { genFileId, ElMessage, ElNotification } from 'element-plus' +export function getHistoryResult(data: any) { + return request({ + url: '/harmonic-boot/harmonic/getHistoryResult', + method: 'post', + data: data + }) +} +// word报告 +export function exportModelJB(data: any) { + return request({ + url: '/harmonic-boot/exportmodel/exportModelJB', + method: 'post', + responseType: 'blob', + data: data + }).then(async res => { + let load: any = await readJsonBlob(res) + if (load.code) { + if (load.data.code == 'A0011') { + ElMessage.warning('下载失败!') + } else { + ElMessage.warning(load.data.message) + } + } else { + return res + } + }) +} +async function readJsonBlob(blob) { + try { + // 1. Blob.text() 读取二进制 → 直接转为 字符串(自动处理编码) + const jsonStr = await blob.text() + // 2. JSON.parse 解析字符串 → 得到可用的 JS 对象/数组 + const jsonData = JSON.parse(jsonStr) + // 3. 拿到数据,后续随便用 + return { + code: true, + data: jsonData + } + } catch (err) { + return { + code: false, + data: {} + } + // console.error('解析Blob的JSON数据失败:', err) + } +} diff --git a/src/api/process-boot/reportForms.ts b/src/api/process-boot/reportForms.ts index e97f0ec3..52da52cf 100644 --- a/src/api/process-boot/reportForms.ts +++ b/src/api/process-boot/reportForms.ts @@ -1,4 +1,5 @@ import createAxios from '@/utils/request' +import { genFileId, ElMessage, ElNotification } from 'element-plus' export function exportModel(data: any) { return createAxios({ @@ -6,6 +7,17 @@ export function exportModel(data: any) { method: 'post', data: data, responseType: 'blob' + }).then(async res => { + let load: any = await readJsonBlob(res) + if (load.code) { + if (load.data.code == 'A0011') { + ElMessage.warning('下载失败!') + } else { + ElMessage.warning(load.data.message) + } + } else { + return res + } }) } export function areaHarmonicReport(data: any) { @@ -14,5 +26,35 @@ export function areaHarmonicReport(data: any) { method: 'post', data: data, responseType: 'blob' + }).then(async res => { + let load: any = await readJsonBlob(res) + if (load.code) { + if (load.data.code == 'A0011') { + ElMessage.warning('下载失败!') + } else { + ElMessage.warning(load.data.message) + } + } else { + return res + } }) } +async function readJsonBlob(blob) { + try { + // 1. Blob.text() 读取二进制 → 直接转为 字符串(自动处理编码) + const jsonStr = await blob.text() + // 2. JSON.parse 解析字符串 → 得到可用的 JS 对象/数组 + const jsonData = JSON.parse(jsonStr) + // 3. 拿到数据,后续随便用 + return { + code: true, + data: jsonData + } + } catch (err) { + return { + code: false, + data: {} + } + // console.error('解析Blob的JSON数据失败:', err) + } +} diff --git a/src/template/table.vue b/src/template/table.vue index 91ae8218..8ffb919d 100644 --- a/src/template/table.vue +++ b/src/template/table.vue @@ -1,176 +1,176 @@ - - + + diff --git a/src/utils/mqtt.ts b/src/utils/mqtt.ts index ce98b12f..a8ec54ca 100644 --- a/src/utils/mqtt.ts +++ b/src/utils/mqtt.ts @@ -56,7 +56,7 @@ class MQTT { localStorage.getItem('MqttUrl') == 'null' ? 'ws://192.168.1.68:8083/mqtt' : localStorage.getItem('MqttUrl') - + if (mqttUrl == 'null'||mqttUrl == null) return this.client = mqtt.connect(mqttUrl, this.defaultOptions as IClientOptions) this.setupEventListeners() diff --git a/src/views/LN/newEnergy/newEnergyLedger/index.vue b/src/views/LN/newEnergy/newEnergyLedger/index.vue index 35c8a7c0..d734b301 100644 --- a/src/views/LN/newEnergy/newEnergyLedger/index.vue +++ b/src/views/LN/newEnergy/newEnergyLedger/index.vue @@ -1,125 +1,125 @@ - - - - + + + + diff --git a/src/views/pqs/bearingCapacity/evaluationList/index.vue b/src/views/pqs/bearingCapacity/evaluationList/index.vue index 6369d2ad..f7d4a2e0 100644 --- a/src/views/pqs/bearingCapacity/evaluationList/index.vue +++ b/src/views/pqs/bearingCapacity/evaluationList/index.vue @@ -136,7 +136,7 @@ const tableStore: any = new TableStore({ { field: 'evaluateDate', title: '评估日期' }, { - title: '操作', + title: '操作',fixed: 'right', width: '180', render: 'buttons', buttons: [ diff --git a/src/views/pqs/bearingCapacity/userManagement/index.vue b/src/views/pqs/bearingCapacity/userManagement/index.vue index 5c0ac06c..8540fa92 100644 --- a/src/views/pqs/bearingCapacity/userManagement/index.vue +++ b/src/views/pqs/bearingCapacity/userManagement/index.vue @@ -187,7 +187,7 @@ const tableStore: any = new TableStore({ { field: 'createBy', title: '创建者' }, { field: 'createTime', title: '创建日期' }, { - title: '操作', + title: '操作',fixed: 'right', width: '180', render: 'buttons', buttons: [ diff --git a/src/views/pqs/business/log/frontLog/index.vue b/src/views/pqs/business/log/frontLog/index.vue index ae00d56f..9b23e827 100644 --- a/src/views/pqs/business/log/frontLog/index.vue +++ b/src/views/pqs/business/log/frontLog/index.vue @@ -77,7 +77,7 @@ const tableStore = new TableStore({ } }, { - title: '操作', + title: '操作',fixed: 'right', width: '180', render: 'buttons', buttons: [ diff --git a/src/views/pqs/business/terminal/FrontManagement/index.vue b/src/views/pqs/business/terminal/FrontManagement/index.vue index 2a5087e9..93dd3947 100644 --- a/src/views/pqs/business/terminal/FrontManagement/index.vue +++ b/src/views/pqs/business/terminal/FrontManagement/index.vue @@ -315,7 +315,7 @@ const tableStore = new TableStore({ { title: '描述', field: 'remark' }, { - title: '操作', + title: '操作',fixed: 'right', align: 'center', width: '180', render: 'buttons', diff --git a/src/views/pqs/business/terminal/transformerStrategy/components/addLedger.vue b/src/views/pqs/business/terminal/transformerStrategy/components/addLedger.vue index 18a4b85e..b7f021e5 100644 --- a/src/views/pqs/business/terminal/transformerStrategy/components/addLedger.vue +++ b/src/views/pqs/business/terminal/transformerStrategy/components/addLedger.vue @@ -328,7 +328,7 @@ const tableStore = new TableStore({ field: 'tfDescribe' }, { - title: '操作', + title: '操作',fixed: 'right', align: 'center', width: '180', render: 'buttons', diff --git a/src/views/pqs/business/terminal/transformerStrategy/index.vue b/src/views/pqs/business/terminal/transformerStrategy/index.vue index 3047a291..39667d41 100644 --- a/src/views/pqs/business/terminal/transformerStrategy/index.vue +++ b/src/views/pqs/business/terminal/transformerStrategy/index.vue @@ -161,7 +161,7 @@ const tableStore = new TableStore({ field: 'tfDescribe' }, { - title: '操作', + title: '操作',fixed: 'right', align: 'center', width: '180', render: 'buttons', diff --git a/src/views/pqs/business/terminal/userLedger/index.vue b/src/views/pqs/business/terminal/userLedger/index.vue index fd703e40..d389c33a 100644 --- a/src/views/pqs/business/terminal/userLedger/index.vue +++ b/src/views/pqs/business/terminal/userLedger/index.vue @@ -1,315 +1,315 @@ - - + + diff --git a/src/views/pqs/database/case/index.vue b/src/views/pqs/database/case/index.vue index d48a7210..899d48a6 100644 --- a/src/views/pqs/database/case/index.vue +++ b/src/views/pqs/database/case/index.vue @@ -1,274 +1,274 @@ - - - + + + diff --git a/src/views/pqs/database/stencil/index.vue b/src/views/pqs/database/stencil/index.vue index e73243ba..31213914 100644 --- a/src/views/pqs/database/stencil/index.vue +++ b/src/views/pqs/database/stencil/index.vue @@ -49,7 +49,7 @@ const tableStore = new TableStore({ field: 'createTime' }, { - title: '操作', + title: '操作',fixed: 'right', width: '280', render: 'buttons', buttons: [ diff --git a/src/views/pqs/harmonicMonitoring/area/TransientEventList/index.vue b/src/views/pqs/harmonicMonitoring/area/TransientEventList/index.vue index c910818f..715edf9c 100644 --- a/src/views/pqs/harmonicMonitoring/area/TransientEventList/index.vue +++ b/src/views/pqs/harmonicMonitoring/area/TransientEventList/index.vue @@ -179,7 +179,7 @@ const tableStore = new TableStore({ { field: 'duration', title: '持续时间(s)', minWidth: '100' }, { - title: '操作', + title: '操作',fixed: 'right', width: '120', render: 'buttons', buttons: [ diff --git a/src/views/pqs/harmonicMonitoring/area/qualifiedRate/index.vue b/src/views/pqs/harmonicMonitoring/area/qualifiedRate/index.vue index 3ce40832..0f7e8ce1 100644 --- a/src/views/pqs/harmonicMonitoring/area/qualifiedRate/index.vue +++ b/src/views/pqs/harmonicMonitoring/area/qualifiedRate/index.vue @@ -74,9 +74,14 @@ - - - + + + @@ -159,6 +164,8 @@ const tableStore = new TableStore({ title: '电压等级', field: 'voltageLevel', align: 'center', + minWidth: 80, + formatter: function (row) { return row.cellValue ? row.cellValue : '/' } @@ -167,6 +174,7 @@ const tableStore = new TableStore({ title: '网络参数', field: 'networkParam', align: 'center', + minWidth: 120, formatter: function (row) { return row.cellValue ? row.cellValue : '/' } @@ -175,6 +183,7 @@ const tableStore = new TableStore({ title: '监测点名称', field: 'lineName', align: 'center', + minWidth: 120, formatter: function (row) { return row.cellValue ? row.cellValue : '/' } @@ -183,6 +192,7 @@ const tableStore = new TableStore({ title: '厂家', field: 'factoryName', align: 'center', + minWidth: 80, formatter: function (row) { return row.cellValue ? row.cellValue : '/' } @@ -191,6 +201,7 @@ const tableStore = new TableStore({ title: '谐波电压(%)', field: 'harmonicVoltage', align: 'center', + minWidth: 80, formatter: function (row) { return row.cellValue != 3.14159 ? row.cellValue : '/' } @@ -199,6 +210,7 @@ const tableStore = new TableStore({ title: '电压偏差(%)', field: 'voltageOffset', align: 'center', + minWidth: 80, formatter: function (row) { return row.cellValue != 3.14159 ? row.cellValue : '/' } @@ -207,6 +219,7 @@ const tableStore = new TableStore({ title: '三相电压不平衡度(%)', field: 'voltageUnbalance', align: 'center', + minWidth: 100, formatter: function (row) { return row.cellValue != 3.14159 ? row.cellValue : '/' } @@ -215,6 +228,7 @@ const tableStore = new TableStore({ title: '间谐波电压含有率(%)', field: 'interHarmonic', align: 'center', + minWidth: 100, formatter: function (row) { return row.cellValue != 3.14159 ? row.cellValue : '/' } @@ -223,6 +237,7 @@ const tableStore = new TableStore({ title: '谐波电流(%)', field: 'harmonicCurrent', align: 'center', + minWidth: 80, formatter: function (row) { return row.cellValue != 3.14159 ? row.cellValue : '/' } @@ -231,6 +246,7 @@ const tableStore = new TableStore({ title: '负序电流(%)', field: 'negativeCurrent', align: 'center', + minWidth: 80, formatter: function (row) { return row.cellValue != 3.14159 ? row.cellValue : '/' } @@ -239,6 +255,7 @@ const tableStore = new TableStore({ title: '频率偏差(%)', field: 'freqOffset', align: 'center', + minWidth: 80, formatter: function (row) { return row.cellValue != 3.14159 ? row.cellValue : '/' } @@ -247,6 +264,7 @@ const tableStore = new TableStore({ title: '闪变(%)', field: 'flicker', align: 'center', + minWidth: 80, formatter: function (row) { return row.cellValue != 3.14159 ? row.cellValue : '/' } @@ -256,7 +274,7 @@ const tableStore = new TableStore({ loadCallback: () => { tableStore.table.data = tree2List(tableStore.table.data, Math.random() * 1000) tableStore.table.column[0].title = tableStore.table.params.statisticalType.name - + chartsRef.value && chartsRef.value.getTableStoreParams(tableStore.table.params) setTimeout(() => { activeName.value == 0 && tableRef.value && tableRef.value.getRef().setAllTreeExpand(true) @@ -312,7 +330,7 @@ const tree2List = (list: any, id?: string) => { }) // 返回结果数组 return arr - } +} onMounted(() => { tableStore.index() }) diff --git a/src/views/pqs/harmonicMonitoring/detailed/division/components/aListOfLoadData.vue b/src/views/pqs/harmonicMonitoring/detailed/division/components/aListOfLoadData.vue index a063f538..6193e72e 100644 --- a/src/views/pqs/harmonicMonitoring/detailed/division/components/aListOfLoadData.vue +++ b/src/views/pqs/harmonicMonitoring/detailed/division/components/aListOfLoadData.vue @@ -69,7 +69,7 @@ const tableStore = new TableStore({ { title: '更新时间', field: 'updateTime' }, { - title: '操作', + title: '操作',fixed: 'right', width: '180', render: 'buttons', buttons: [ diff --git a/src/views/pqs/harmonicMonitoring/detailed/division/index.vue b/src/views/pqs/harmonicMonitoring/detailed/division/index.vue index 711e4c3a..31e29d36 100644 --- a/src/views/pqs/harmonicMonitoring/detailed/division/index.vue +++ b/src/views/pqs/harmonicMonitoring/detailed/division/index.vue @@ -49,7 +49,7 @@ const tableStore = new TableStore({ { title: '计算时间', field: 'updateTime' }, { title: '计算窗口', field: 'timeWindow' }, { - title: '操作', + title: '操作',fixed: 'right', width: '180', render: 'buttons', buttons: [ diff --git a/src/views/pqs/harmonicMonitoring/detailed/pollutionReport/components/regionalAssessment.vue b/src/views/pqs/harmonicMonitoring/detailed/pollutionReport/components/regionalAssessment.vue index e2967f50..9e21ca8f 100644 --- a/src/views/pqs/harmonicMonitoring/detailed/pollutionReport/components/regionalAssessment.vue +++ b/src/views/pqs/harmonicMonitoring/detailed/pollutionReport/components/regionalAssessment.vue @@ -107,9 +107,9 @@ const tableStore = new TableStore({ minWidth: 150 }, { - title: '操作', + title: '操作',fixed: 'right', width: '180', - fixed: 'right', + render: 'buttons', buttons: [ { diff --git a/src/views/pqs/harmonicMonitoring/detailed/pollutionReport/components/userEvaluation.vue b/src/views/pqs/harmonicMonitoring/detailed/pollutionReport/components/userEvaluation.vue index cb460c0e..5dd1aed5 100644 --- a/src/views/pqs/harmonicMonitoring/detailed/pollutionReport/components/userEvaluation.vue +++ b/src/views/pqs/harmonicMonitoring/detailed/pollutionReport/components/userEvaluation.vue @@ -106,9 +106,9 @@ const tableStore = new TableStore({ } }, { - title: '操作', + title: '操作',fixed: 'right', width: '180', - fixed: 'right', + render: 'buttons', buttons: [ { diff --git a/src/views/pqs/harmonicMonitoring/embed/lntegruty/components/table.vue b/src/views/pqs/harmonicMonitoring/embed/lntegruty/components/table.vue index 1ee6ca13..a38957f5 100644 --- a/src/views/pqs/harmonicMonitoring/embed/lntegruty/components/table.vue +++ b/src/views/pqs/harmonicMonitoring/embed/lntegruty/components/table.vue @@ -123,7 +123,8 @@ const tableStore = new TableStore({ { field: 'name', title: '电网拓扑', width: 350, type: 'radio', align: 'left', treeNode: true }, { field: 'ip', - title: '网络参数' ,width:'120px', + title: '网络参数', + width: '120px', formatter: ({ row }: any) => { return row.ip || '/' } @@ -249,7 +250,7 @@ const searchEvent = debounce(() => { (item: any) => searchProps.some(key => String(item[key]).toLowerCase().indexOf(filterVal) > -1), options ) - // console.log('🚀 ~ searchEvent ~ rest:', rest) + // console.log('🚀 ~ searchEvent ~ rest:', rest) tableStore.table.data = rest @@ -288,6 +289,10 @@ const exportEvent = () => { }) exportModelJB(form) .then(async res => { + if (res == undefined) { + loading.value = false + return + } let blob = new Blob([res], { type: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' }) diff --git a/src/views/pqs/harmonicMonitoring/embed/lntegruty/components_JB/table.vue b/src/views/pqs/harmonicMonitoring/embed/lntegruty/components_JB/table.vue index 86f925df..ab56ade6 100644 --- a/src/views/pqs/harmonicMonitoring/embed/lntegruty/components_JB/table.vue +++ b/src/views/pqs/harmonicMonitoring/embed/lntegruty/components_JB/table.vue @@ -123,7 +123,8 @@ const tableStore = new TableStore({ { field: 'name', title: '电网拓扑', width: 350, type: 'radio', align: 'left', treeNode: true }, { field: 'ip', - title: '网络参数' ,width:'120px', + title: '网络参数', + width: '120px', formatter: ({ row }: any) => { return row.ip || '/' } @@ -249,7 +250,7 @@ const searchEvent = debounce(() => { (item: any) => searchProps.some(key => String(item[key]).toLowerCase().indexOf(filterVal) > -1), options ) - // console.log('🚀 ~ searchEvent ~ rest:', rest) + // console.log('🚀 ~ searchEvent ~ rest:', rest) tableStore.table.data = rest @@ -288,6 +289,10 @@ const exportEvent = () => { }) exportModelJB(form) .then(async res => { + if (res == undefined) { + loading.value = false + return + } let blob = new Blob([res], { type: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' }) diff --git a/src/views/pqs/harmonicMonitoring/monitoringPoint/online/statisticalReport/index.vue b/src/views/pqs/harmonicMonitoring/monitoringPoint/online/statisticalReport/index.vue index 15653705..7dd9baa5 100644 --- a/src/views/pqs/harmonicMonitoring/monitoringPoint/online/statisticalReport/index.vue +++ b/src/views/pqs/harmonicMonitoring/monitoringPoint/online/statisticalReport/index.vue @@ -86,7 +86,7 @@ const tableStore = new TableStore({ item.data[k.r][k.c].v ? (item.data[k.r][k.c] = k.v) : '' }) }) - + setTimeout(() => { luckysheet.create({ container: 'luckysheet', @@ -126,7 +126,6 @@ const changetype = (val: any) => { reportForm.value = val.reportForm } const selectChange = () => { - if (tableStore.table.data.length != 0) { setTimeout(() => { luckysheet && luckysheet?.resize() @@ -152,6 +151,10 @@ const exportReport = () => { }) exportModelJB(form) .then(async res => { + if (res == undefined) { + loading.value = false + return + } let blob = new Blob([res], { type: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' }) diff --git a/src/views/pqs/harmonicMonitoring/reportForms/passing/index.vue b/src/views/pqs/harmonicMonitoring/reportForms/passing/index.vue index f603095a..a55b61ce 100644 --- a/src/views/pqs/harmonicMonitoring/reportForms/passing/index.vue +++ b/src/views/pqs/harmonicMonitoring/reportForms/passing/index.vue @@ -1,129 +1,141 @@ - - - - + + + + diff --git a/src/views/pqs/harmonicMonitoring/reportForms/region/index.vue b/src/views/pqs/harmonicMonitoring/reportForms/region/index.vue index 14d7e8cf..75fd54bb 100644 --- a/src/views/pqs/harmonicMonitoring/reportForms/region/index.vue +++ b/src/views/pqs/harmonicMonitoring/reportForms/region/index.vue @@ -87,6 +87,10 @@ const exportEvent = () => { endTime: TableHeaderRef.value.datePickerRef.timeValue[1] }) .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' }) diff --git a/src/views/pqs/harmonicMonitoring/reportForms/statistics/index.vue b/src/views/pqs/harmonicMonitoring/reportForms/statistics/index.vue index df96fd38..f519438e 100644 --- a/src/views/pqs/harmonicMonitoring/reportForms/statistics/index.vue +++ b/src/views/pqs/harmonicMonitoring/reportForms/statistics/index.vue @@ -41,7 +41,13 @@ @@ -189,6 +195,10 @@ const exportReport = () => { }) exportModelJB(form) .then(async res => { + if (res == undefined) { + loading.value = false + return + } let blob = new Blob([res], { type: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' }) diff --git a/src/views/pqs/harmonicMonitoring/reportForms/word/index.vue b/src/views/pqs/harmonicMonitoring/reportForms/word/index.vue index 192843ed..c1f5aa98 100644 --- a/src/views/pqs/harmonicMonitoring/reportForms/word/index.vue +++ b/src/views/pqs/harmonicMonitoring/reportForms/word/index.vue @@ -151,6 +151,10 @@ const exportEvent = () => { ElMessage('生成报告中...') exportModel(form) .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' }) diff --git a/src/views/pqs/process/definition/index.vue b/src/views/pqs/process/definition/index.vue index c81286fc..dc8df8a9 100644 --- a/src/views/pqs/process/definition/index.vue +++ b/src/views/pqs/process/definition/index.vue @@ -1,141 +1,141 @@ - - - - + + + + diff --git a/src/views/pqs/runManage/assessment/components/dictionary/components/cable/index.vue b/src/views/pqs/runManage/assessment/components/dictionary/components/cable/index.vue index 3d56a980..2840635b 100644 --- a/src/views/pqs/runManage/assessment/components/dictionary/components/cable/index.vue +++ b/src/views/pqs/runManage/assessment/components/dictionary/components/cable/index.vue @@ -62,9 +62,9 @@ const tableStore = new TableStore({ { title: '零序电抗X0(Ω/km)', field: 'zeroX0', minWidth: '80' }, { title: '零序电纳Y0(S/km)', field: 'zeroY0', minWidth: '80' }, { - title: '操作', + title: '操作',fixed: 'right', width: '180', - fixed: 'right', + render: 'buttons', buttons: [ { diff --git a/src/views/pqs/runManage/assessment/components/dictionary/components/harmonicWave/index.vue b/src/views/pqs/runManage/assessment/components/dictionary/components/harmonicWave/index.vue index f1ab520a..f91894e2 100644 --- a/src/views/pqs/runManage/assessment/components/dictionary/components/harmonicWave/index.vue +++ b/src/views/pqs/runManage/assessment/components/dictionary/components/harmonicWave/index.vue @@ -96,9 +96,9 @@ const tableStore = new TableStore({ { title: '谐波49次', field: 'i49', minWidth: '80' }, { title: '谐波50次', field: 'i50', minWidth: '80' }, { - title: '操作', + title: '操作',fixed: 'right', width: '180', - fixed: 'right', + render: 'buttons', buttons: [ { diff --git a/src/views/pqs/runManage/assessment/components/dictionary/components/load/index.vue b/src/views/pqs/runManage/assessment/components/dictionary/components/load/index.vue index aeeacc6d..48cb4c68 100644 --- a/src/views/pqs/runManage/assessment/components/dictionary/components/load/index.vue +++ b/src/views/pqs/runManage/assessment/components/dictionary/components/load/index.vue @@ -63,9 +63,9 @@ const tableStore = new TableStore({ { title: '启动容量倍数', field: 'inpactloadMultiple', minWidth: '80' }, { - title: '操作', + title: '操作',fixed: 'right', width: '180', - fixed: 'right', + render: 'buttons', buttons: [ { diff --git a/src/views/pqs/runManage/assessment/components/dictionary/components/transformer/index.vue b/src/views/pqs/runManage/assessment/components/dictionary/components/transformer/index.vue index d4761a4c..aef47677 100644 --- a/src/views/pqs/runManage/assessment/components/dictionary/components/transformer/index.vue +++ b/src/views/pqs/runManage/assessment/components/dictionary/components/transformer/index.vue @@ -73,9 +73,9 @@ const tableStore = new TableStore({ { title: '空载电流(A)', field: 'noloadCur', minWidth: '80' }, { title: '短路阻抗(%)', field: 'shortCircuitImpedance', minWidth: '80' }, { - title: '操作', + title: '操作',fixed: 'right', width: '180', - fixed: 'right', + render: 'buttons', buttons: [ { diff --git a/src/views/pqs/runManage/assessment/components/uese/index.vue b/src/views/pqs/runManage/assessment/components/uese/index.vue index 2c1d5c38..fdc4258b 100644 --- a/src/views/pqs/runManage/assessment/components/uese/index.vue +++ b/src/views/pqs/runManage/assessment/components/uese/index.vue @@ -184,10 +184,10 @@ const tableStore: any = new TableStore({ // { field: 'name13', title: '单相负荷', minWidth: 180 }, { - title: '操作', + title: '操作',fixed: 'right', width: '220', render: 'buttons', - fixed: 'right', + buttons: [ { name: 'edit', diff --git a/src/views/pqs/supervise/electricalEnergy/components/audit.vue b/src/views/pqs/supervise/electricalEnergy/components/audit.vue index 9ce86866..8a19821e 100644 --- a/src/views/pqs/supervise/electricalEnergy/components/audit.vue +++ b/src/views/pqs/supervise/electricalEnergy/components/audit.vue @@ -1,155 +1,155 @@ - - + + diff --git a/src/views/pqs/supervise/electricalEnergy/components/maintenance.vue b/src/views/pqs/supervise/electricalEnergy/components/maintenance.vue index 17f754fa..a78c273f 100644 --- a/src/views/pqs/supervise/electricalEnergy/components/maintenance.vue +++ b/src/views/pqs/supervise/electricalEnergy/components/maintenance.vue @@ -1,255 +1,255 @@ - - + + diff --git a/src/views/pqs/supervise/electricalEnergy/components1/complaints.vue b/src/views/pqs/supervise/electricalEnergy/components1/complaints.vue index a6e9c756..8095a5fa 100644 --- a/src/views/pqs/supervise/electricalEnergy/components1/complaints.vue +++ b/src/views/pqs/supervise/electricalEnergy/components1/complaints.vue @@ -122,7 +122,7 @@ const tableStore = new TableStore({ } }, { - title: '操作', + title: '操作',fixed: 'right', minWidth: 120, align: 'center', render: 'buttons', diff --git a/src/views/pqs/supervise/electricalEnergy/components1/online.vue b/src/views/pqs/supervise/electricalEnergy/components1/online.vue index 69627990..7432a093 100644 --- a/src/views/pqs/supervise/electricalEnergy/components1/online.vue +++ b/src/views/pqs/supervise/electricalEnergy/components1/online.vue @@ -187,11 +187,11 @@ const tableStore = new TableStore({ title: '最新数据时间' }, { - title: '操作', + title: '操作',fixed: 'right', width: '180', align: 'center', render: 'buttons', - fixed: 'right', + buttons: [ { name: 'productSetting', diff --git a/src/views/pqs/supervise/electricalEnergy/components1/testQuestions.vue b/src/views/pqs/supervise/electricalEnergy/components1/testQuestions.vue index f8717200..108a9e48 100644 --- a/src/views/pqs/supervise/electricalEnergy/components1/testQuestions.vue +++ b/src/views/pqs/supervise/electricalEnergy/components1/testQuestions.vue @@ -104,11 +104,11 @@ const tableStore = new TableStore({ } }, { - title: '操作', + title: '操作',fixed: 'right', minWidth: '180', align: 'center', render: 'buttons', - fixed: 'right', + buttons: [ { name: 'edit', diff --git a/src/views/pqs/supervise/electricalEnergy/components1/testRun.vue b/src/views/pqs/supervise/electricalEnergy/components1/testRun.vue index 681b5d62..aca433f8 100644 --- a/src/views/pqs/supervise/electricalEnergy/components1/testRun.vue +++ b/src/views/pqs/supervise/electricalEnergy/components1/testRun.vue @@ -134,9 +134,9 @@ const tableStore = new TableStore({ } }, { - title: '操作', + title: '操作',fixed: 'right', minWidth: 230, - fixed: 'right', + render: 'buttons', buttons: [ // { diff --git a/src/views/pqs/supervise/harmonicSurvey/components/planAudits.vue b/src/views/pqs/supervise/harmonicSurvey/components/planAudits.vue index 081d3778..ad54ac2e 100644 --- a/src/views/pqs/supervise/harmonicSurvey/components/planAudits.vue +++ b/src/views/pqs/supervise/harmonicSurvey/components/planAudits.vue @@ -1,67 +1,67 @@ - - + + diff --git a/src/views/pqs/supervise/harmonicSurvey/components/planManage.vue b/src/views/pqs/supervise/harmonicSurvey/components/planManage.vue index d1efb543..daab4386 100644 --- a/src/views/pqs/supervise/harmonicSurvey/components/planManage.vue +++ b/src/views/pqs/supervise/harmonicSurvey/components/planManage.vue @@ -147,9 +147,9 @@ const tableStore = new TableStore({ } }, { - title: '操作', + title: '操作',fixed: 'right', minWidth: '180', - fixed: 'right', + render: 'buttons', buttons: [ { diff --git a/src/views/pqs/supervise/harmonicSurvey/components/testManage.vue b/src/views/pqs/supervise/harmonicSurvey/components/testManage.vue index 9f701921..5830734d 100644 --- a/src/views/pqs/supervise/harmonicSurvey/components/testManage.vue +++ b/src/views/pqs/supervise/harmonicSurvey/components/testManage.vue @@ -1,362 +1,362 @@ - - - - + + + + diff --git a/src/views/pqs/supervise/interfere/components/network/index.vue b/src/views/pqs/supervise/interfere/components/network/index.vue index 12a20c63..a5adcc86 100644 --- a/src/views/pqs/supervise/interfere/components/network/index.vue +++ b/src/views/pqs/supervise/interfere/components/network/index.vue @@ -61,7 +61,7 @@ const tableStore = new TableStore({ { field: 'recordTime', title: '建档时间' }, { field: 'iuploadTime', title: '报告提交评估时间' }, { - title: '操作', + title: '操作',fixed: 'right', width: '120', render: 'buttons', buttons: [ diff --git a/src/views/pqs/supervise/interfere/components/normal.vue b/src/views/pqs/supervise/interfere/components/normal.vue index 96dc7996..199262b7 100644 --- a/src/views/pqs/supervise/interfere/components/normal.vue +++ b/src/views/pqs/supervise/interfere/components/normal.vue @@ -1,129 +1,129 @@ - - + + diff --git a/src/views/pqs/supervise/interfere/components/normalizationManager/interferenceUserTable.vue b/src/views/pqs/supervise/interfere/components/normalizationManager/interferenceUserTable.vue index ea2a6696..eaf9f74c 100644 --- a/src/views/pqs/supervise/interfere/components/normalizationManager/interferenceUserTable.vue +++ b/src/views/pqs/supervise/interfere/components/normalizationManager/interferenceUserTable.vue @@ -188,9 +188,9 @@ const tableStore = new TableStore({ }, // visible:!jb_pl.value && !jb_dky.value?true:false, { - title: '操作', + title: '操作',fixed: 'right', minWidth: 300, - fixed: 'right', + render: 'buttons', buttons: [ diff --git a/src/views/pqs/supervise/interfere/components/normalizationManager/programReview.vue b/src/views/pqs/supervise/interfere/components/normalizationManager/programReview.vue index 45f6bf94..f19c42ab 100644 --- a/src/views/pqs/supervise/interfere/components/normalizationManager/programReview.vue +++ b/src/views/pqs/supervise/interfere/components/normalizationManager/programReview.vue @@ -161,9 +161,9 @@ const tableStore = new TableStore({ }, { field: 'createTime', title: '创建时间', minWidth: 100 }, { - title: '操作', + title: '操作',fixed: 'right', minWidth: 180, - fixed: 'right', + render: 'buttons', buttons: [ { diff --git a/src/views/pqs/supervise/interfere/components/undocumented/index.vue b/src/views/pqs/supervise/interfere/components/undocumented/index.vue index ea0b2af7..a472ec94 100644 --- a/src/views/pqs/supervise/interfere/components/undocumented/index.vue +++ b/src/views/pqs/supervise/interfere/components/undocumented/index.vue @@ -167,9 +167,9 @@ const tableStore = new TableStore({ } }, { - title: '操作', + title: '操作',fixed: 'right', minWidth: 150, - fixed: 'right', + render: 'buttons', buttons: [ { diff --git a/src/views/pqs/supervise/plan/components/effectProblem/index.vue b/src/views/pqs/supervise/plan/components/effectProblem/index.vue index ec711a87..b19e99a4 100644 --- a/src/views/pqs/supervise/plan/components/effectProblem/index.vue +++ b/src/views/pqs/supervise/plan/components/effectProblem/index.vue @@ -1,217 +1,217 @@ - - + + diff --git a/src/views/pqs/supervise/plan/index.vue b/src/views/pqs/supervise/plan/index.vue index 886e2d3d..dbb4527d 100644 --- a/src/views/pqs/supervise/plan/index.vue +++ b/src/views/pqs/supervise/plan/index.vue @@ -176,9 +176,9 @@ const tableStore = new TableStore({ } }, { - title: '操作', + title: '操作',fixed: 'right', minWidth: 300, - fixed: 'right', + render: 'buttons', buttons: [ { diff --git a/src/views/pqs/supervise/retire/monitor.vue b/src/views/pqs/supervise/retire/monitor.vue index 949439bc..1e02a04c 100644 --- a/src/views/pqs/supervise/retire/monitor.vue +++ b/src/views/pqs/supervise/retire/monitor.vue @@ -1,382 +1,382 @@ - - - - + + + + diff --git a/src/views/pqs/supervise/retire/terminal.vue b/src/views/pqs/supervise/retire/terminal.vue index 81c6de14..91c4814e 100644 --- a/src/views/pqs/supervise/retire/terminal.vue +++ b/src/views/pqs/supervise/retire/terminal.vue @@ -1,378 +1,378 @@ - - - - + + + + diff --git a/src/views/pqs/supervise/technology/components/alarm.vue b/src/views/pqs/supervise/technology/components/alarm.vue index bea281ea..ad8d3ad7 100644 --- a/src/views/pqs/supervise/technology/components/alarm.vue +++ b/src/views/pqs/supervise/technology/components/alarm.vue @@ -221,11 +221,11 @@ const tableStore = new TableStore({ // }, { - title: '操作', + title: '操作',fixed: 'right', minWidth: '220', align: 'center', render: 'buttons', - fixed: 'right', + buttons: [ { name: 'productSetting', diff --git a/src/views/pqs/supervise/technology/components/earlyWarn.vue b/src/views/pqs/supervise/technology/components/earlyWarn.vue index 39bf3863..b6946ef3 100644 --- a/src/views/pqs/supervise/technology/components/earlyWarn.vue +++ b/src/views/pqs/supervise/technology/components/earlyWarn.vue @@ -138,11 +138,11 @@ const tableStore = new TableStore({ // ] // }, { - title: '操作', + title: '操作',fixed: 'right', minWidth: '220', align: 'center', render: 'buttons', - fixed: 'right', + buttons: [ { name: 'productSetting', diff --git a/src/views/pqs/supervise/technology/components/overview.vue b/src/views/pqs/supervise/technology/components/overview.vue index 72dcd6c0..600883fb 100644 --- a/src/views/pqs/supervise/technology/components/overview.vue +++ b/src/views/pqs/supervise/technology/components/overview.vue @@ -1,214 +1,214 @@ - - - + + + diff --git a/src/views/pqs/supervise/technology/components/technology.vue b/src/views/pqs/supervise/technology/components/technology.vue index ecefff60..d4883fc4 100644 --- a/src/views/pqs/supervise/technology/components/technology.vue +++ b/src/views/pqs/supervise/technology/components/technology.vue @@ -1,188 +1,188 @@ - - + + diff --git a/src/views/pqs/supervise/terminal/components/cycleTab.vue b/src/views/pqs/supervise/terminal/components/cycleTab.vue index f8c9ba59..781fefc0 100644 --- a/src/views/pqs/supervise/terminal/components/cycleTab.vue +++ b/src/views/pqs/supervise/terminal/components/cycleTab.vue @@ -1,302 +1,302 @@ - - + + diff --git a/src/views/pqs/supervise/terminal/components/deviceLedgerTable.vue b/src/views/pqs/supervise/terminal/components/deviceLedgerTable.vue index 141dbe58..d7380e04 100644 --- a/src/views/pqs/supervise/terminal/components/deviceLedgerTable.vue +++ b/src/views/pqs/supervise/terminal/components/deviceLedgerTable.vue @@ -95,7 +95,7 @@ const tableStore = new TableStore({ } /* { - title: '操作', + title: '操作',fixed: 'right', minWidth: 150, fixed: 'right', render: 'buttons', diff --git a/src/views/pqs/supervise/terminal/components/interferenceUserTable.vue b/src/views/pqs/supervise/terminal/components/interferenceUserTable.vue index c2069c66..bcbd97c8 100644 --- a/src/views/pqs/supervise/terminal/components/interferenceUserTable.vue +++ b/src/views/pqs/supervise/terminal/components/interferenceUserTable.vue @@ -1,388 +1,388 @@ - - + + diff --git a/src/views/pqs/supervise/terminal/components/monitorLedgerTable.vue b/src/views/pqs/supervise/terminal/components/monitorLedgerTable.vue index b71924af..1092879b 100644 --- a/src/views/pqs/supervise/terminal/components/monitorLedgerTable.vue +++ b/src/views/pqs/supervise/terminal/components/monitorLedgerTable.vue @@ -194,7 +194,7 @@ const tableStore = new TableStore({ } /* { - title: '操作', + title: '操作',fixed: 'right', minWidth: 150, fixed: 'right', render: 'buttons', diff --git a/src/views/pqs/supervise/terminal/components/networkTab.vue b/src/views/pqs/supervise/terminal/components/networkTab.vue index 4cf60870..6109d2f7 100644 --- a/src/views/pqs/supervise/terminal/components/networkTab.vue +++ b/src/views/pqs/supervise/terminal/components/networkTab.vue @@ -1,372 +1,372 @@ - - + + diff --git a/src/views/pqs/supervise/terminal/components/sensitiveUserTable.vue b/src/views/pqs/supervise/terminal/components/sensitiveUserTable.vue index 76b77bd5..3e5f32c2 100644 --- a/src/views/pqs/supervise/terminal/components/sensitiveUserTable.vue +++ b/src/views/pqs/supervise/terminal/components/sensitiveUserTable.vue @@ -1,286 +1,286 @@ - - + + diff --git a/src/views/pqs/supervise/terminalNetworkDetection/components/cycleDetection/index.vue b/src/views/pqs/supervise/terminalNetworkDetection/components/cycleDetection/index.vue index 234750c3..0d0fb9ab 100644 --- a/src/views/pqs/supervise/terminalNetworkDetection/components/cycleDetection/index.vue +++ b/src/views/pqs/supervise/terminalNetworkDetection/components/cycleDetection/index.vue @@ -1,304 +1,304 @@ - - - - - + + + + + diff --git a/src/views/pqs/supervise/terminalNetworkDetection/components/jointDebugList/index.vue b/src/views/pqs/supervise/terminalNetworkDetection/components/jointDebugList/index.vue index 27033704..2118c4ef 100644 --- a/src/views/pqs/supervise/terminalNetworkDetection/components/jointDebugList/index.vue +++ b/src/views/pqs/supervise/terminalNetworkDetection/components/jointDebugList/index.vue @@ -1,379 +1,379 @@ - - - - - + + + + + diff --git a/src/views/pqs/supervise/terminalNetworkDetection/components/monitorpoint/index.vue b/src/views/pqs/supervise/terminalNetworkDetection/components/monitorpoint/index.vue index 8e2ffc06..e0ec8452 100644 --- a/src/views/pqs/supervise/terminalNetworkDetection/components/monitorpoint/index.vue +++ b/src/views/pqs/supervise/terminalNetworkDetection/components/monitorpoint/index.vue @@ -107,9 +107,9 @@ const tableStore = new TableStore({ } }, { - title: '操作', + title: '操作',fixed: 'right', minWidth: 150, - fixed: 'right', + render: 'buttons', buttons: [ { diff --git a/src/views/pqs/supervise/terminalNetworkDetection/components/terminainal/index.vue b/src/views/pqs/supervise/terminalNetworkDetection/components/terminainal/index.vue index 087d2485..b9cd6260 100644 --- a/src/views/pqs/supervise/terminalNetworkDetection/components/terminainal/index.vue +++ b/src/views/pqs/supervise/terminalNetworkDetection/components/terminainal/index.vue @@ -1,388 +1,388 @@ - - - - + + + + diff --git a/src/views/pqs/supervise/testRun/index.vue b/src/views/pqs/supervise/testRun/index.vue index cf31135b..dc4fc6f4 100644 --- a/src/views/pqs/supervise/testRun/index.vue +++ b/src/views/pqs/supervise/testRun/index.vue @@ -146,9 +146,9 @@ const tableStore = new TableStore({ } }, { - title: '操作', + title: '操作',fixed: 'right', minWidth: 230, - fixed: 'right', + render: 'buttons', buttons: [ { diff --git a/src/views/pqs/supervise_hn/electricalEnergy/components/audit.vue b/src/views/pqs/supervise_hn/electricalEnergy/components/audit.vue index 9ce86866..8a19821e 100644 --- a/src/views/pqs/supervise_hn/electricalEnergy/components/audit.vue +++ b/src/views/pqs/supervise_hn/electricalEnergy/components/audit.vue @@ -1,155 +1,155 @@ - - + + diff --git a/src/views/pqs/supervise_hn/electricalEnergy/components/maintenance.vue b/src/views/pqs/supervise_hn/electricalEnergy/components/maintenance.vue index 17f754fa..a78c273f 100644 --- a/src/views/pqs/supervise_hn/electricalEnergy/components/maintenance.vue +++ b/src/views/pqs/supervise_hn/electricalEnergy/components/maintenance.vue @@ -1,255 +1,255 @@ - - + + diff --git a/src/views/pqs/supervise_hn/electricalEnergy/components1/complaints.vue b/src/views/pqs/supervise_hn/electricalEnergy/components1/complaints.vue index 29e8de93..312a39d5 100644 --- a/src/views/pqs/supervise_hn/electricalEnergy/components1/complaints.vue +++ b/src/views/pqs/supervise_hn/electricalEnergy/components1/complaints.vue @@ -1,225 +1,225 @@ - - - - + + + + diff --git a/src/views/pqs/supervise_hn/electricalEnergy/components1/online.vue b/src/views/pqs/supervise_hn/electricalEnergy/components1/online.vue index ad4f15f4..fe9669d4 100644 --- a/src/views/pqs/supervise_hn/electricalEnergy/components1/online.vue +++ b/src/views/pqs/supervise_hn/electricalEnergy/components1/online.vue @@ -1,378 +1,378 @@ - - - - + + + + diff --git a/src/views/pqs/supervise_hn/electricalEnergy/components1/testQuestions.vue b/src/views/pqs/supervise_hn/electricalEnergy/components1/testQuestions.vue index 42737470..245b971f 100644 --- a/src/views/pqs/supervise_hn/electricalEnergy/components1/testQuestions.vue +++ b/src/views/pqs/supervise_hn/electricalEnergy/components1/testQuestions.vue @@ -1,187 +1,187 @@ - - - - + + + + diff --git a/src/views/pqs/supervise_hn/electricalEnergy/components1/testRun.vue b/src/views/pqs/supervise_hn/electricalEnergy/components1/testRun.vue index 1d613e44..7794e5f2 100644 --- a/src/views/pqs/supervise_hn/electricalEnergy/components1/testRun.vue +++ b/src/views/pqs/supervise_hn/electricalEnergy/components1/testRun.vue @@ -1,302 +1,302 @@ - - - - - + + + + + diff --git a/src/views/pqs/supervise_hn/harmonicSurvey/components/planAudits.vue b/src/views/pqs/supervise_hn/harmonicSurvey/components/planAudits.vue index 081d3778..ad54ac2e 100644 --- a/src/views/pqs/supervise_hn/harmonicSurvey/components/planAudits.vue +++ b/src/views/pqs/supervise_hn/harmonicSurvey/components/planAudits.vue @@ -1,67 +1,67 @@ - - + + diff --git a/src/views/pqs/supervise_hn/harmonicSurvey/components/planManage.vue b/src/views/pqs/supervise_hn/harmonicSurvey/components/planManage.vue index 02a169dd..ff44981a 100644 --- a/src/views/pqs/supervise_hn/harmonicSurvey/components/planManage.vue +++ b/src/views/pqs/supervise_hn/harmonicSurvey/components/planManage.vue @@ -1,336 +1,336 @@ - - - - + + + + diff --git a/src/views/pqs/supervise_hn/harmonicSurvey/components/testManage.vue b/src/views/pqs/supervise_hn/harmonicSurvey/components/testManage.vue index 137945cb..9875b5e5 100644 --- a/src/views/pqs/supervise_hn/harmonicSurvey/components/testManage.vue +++ b/src/views/pqs/supervise_hn/harmonicSurvey/components/testManage.vue @@ -1,339 +1,339 @@ - - - - + + + + diff --git a/src/views/pqs/supervise_hn/interfere/components/network/index.vue b/src/views/pqs/supervise_hn/interfere/components/network/index.vue index 12a20c63..a5adcc86 100644 --- a/src/views/pqs/supervise_hn/interfere/components/network/index.vue +++ b/src/views/pqs/supervise_hn/interfere/components/network/index.vue @@ -61,7 +61,7 @@ const tableStore = new TableStore({ { field: 'recordTime', title: '建档时间' }, { field: 'iuploadTime', title: '报告提交评估时间' }, { - title: '操作', + title: '操作',fixed: 'right', width: '120', render: 'buttons', buttons: [ diff --git a/src/views/pqs/supervise_hn/interfere/components/normal.vue b/src/views/pqs/supervise_hn/interfere/components/normal.vue index 96dc7996..199262b7 100644 --- a/src/views/pqs/supervise_hn/interfere/components/normal.vue +++ b/src/views/pqs/supervise_hn/interfere/components/normal.vue @@ -1,129 +1,129 @@ - - + + diff --git a/src/views/pqs/supervise_hn/interfere/components/normalizationManager/interferenceUserTable.vue b/src/views/pqs/supervise_hn/interfere/components/normalizationManager/interferenceUserTable.vue index 7e2b6911..25181ac5 100644 --- a/src/views/pqs/supervise_hn/interfere/components/normalizationManager/interferenceUserTable.vue +++ b/src/views/pqs/supervise_hn/interfere/components/normalizationManager/interferenceUserTable.vue @@ -173,9 +173,9 @@ const tableStore = new TableStore({ }, // visible:!jb_pl.value && !jb_dky.value?true:false, { - title: '操作', + title: '操作',fixed: 'right', minWidth: 300, - fixed: 'right', + render: 'buttons', buttons: [ diff --git a/src/views/pqs/supervise_hn/interfere/components/normalizationManager/programReview.vue b/src/views/pqs/supervise_hn/interfere/components/normalizationManager/programReview.vue index d345ccef..c1e5dce7 100644 --- a/src/views/pqs/supervise_hn/interfere/components/normalizationManager/programReview.vue +++ b/src/views/pqs/supervise_hn/interfere/components/normalizationManager/programReview.vue @@ -1,358 +1,358 @@ - - - - + + + + diff --git a/src/views/pqs/supervise_hn/interfere/components/undocumented/index.vue b/src/views/pqs/supervise_hn/interfere/components/undocumented/index.vue index 3ac5c4e6..c69e8789 100644 --- a/src/views/pqs/supervise_hn/interfere/components/undocumented/index.vue +++ b/src/views/pqs/supervise_hn/interfere/components/undocumented/index.vue @@ -1,404 +1,404 @@ - - - - + + + + diff --git a/src/views/pqs/supervise_hn/plan/components/effectProblem/index.vue b/src/views/pqs/supervise_hn/plan/components/effectProblem/index.vue index ec711a87..5d0690ac 100644 --- a/src/views/pqs/supervise_hn/plan/components/effectProblem/index.vue +++ b/src/views/pqs/supervise_hn/plan/components/effectProblem/index.vue @@ -1,217 +1,217 @@ - - + + diff --git a/src/views/pqs/supervise_hn/plan/index.vue b/src/views/pqs/supervise_hn/plan/index.vue index 347ea60f..1a7e2157 100644 --- a/src/views/pqs/supervise_hn/plan/index.vue +++ b/src/views/pqs/supervise_hn/plan/index.vue @@ -1,391 +1,391 @@ - - - + + + diff --git a/src/views/pqs/supervise_hn/retire/monitor.vue b/src/views/pqs/supervise_hn/retire/monitor.vue index 5d03181e..9258a1ed 100644 --- a/src/views/pqs/supervise_hn/retire/monitor.vue +++ b/src/views/pqs/supervise_hn/retire/monitor.vue @@ -148,10 +148,10 @@ const tableStore = new TableStore({ } }, { - title: '操作', + title: '操作',fixed: 'right', align: 'center', minWidth: '150', - fixed: 'right', + render: 'buttons', buttons: [ { diff --git a/src/views/pqs/supervise_hn/retire/terminal.vue b/src/views/pqs/supervise_hn/retire/terminal.vue index 992100a9..139b7286 100644 --- a/src/views/pqs/supervise_hn/retire/terminal.vue +++ b/src/views/pqs/supervise_hn/retire/terminal.vue @@ -144,10 +144,10 @@ const tableStore = new TableStore({ } }, { - title: '操作', + title: '操作',fixed: 'right', align: 'center', minWidth: '150', - fixed: 'right', + render: 'buttons', buttons: [ { diff --git a/src/views/pqs/supervise_hn/technology/components/alarm.vue b/src/views/pqs/supervise_hn/technology/components/alarm.vue index 4a37eed4..a8ef7b2a 100644 --- a/src/views/pqs/supervise_hn/technology/components/alarm.vue +++ b/src/views/pqs/supervise_hn/technology/components/alarm.vue @@ -1,531 +1,531 @@ - - - - + + + + diff --git a/src/views/pqs/supervise_hn/technology/components/earlyWarn.vue b/src/views/pqs/supervise_hn/technology/components/earlyWarn.vue index ee79423d..86832017 100644 --- a/src/views/pqs/supervise_hn/technology/components/earlyWarn.vue +++ b/src/views/pqs/supervise_hn/technology/components/earlyWarn.vue @@ -112,11 +112,11 @@ const tableStore = new TableStore({ // ] // }, { - title: '操作', + title: '操作',fixed: 'right', minWidth: '220', align: 'center', render: 'buttons', - fixed: 'right', + buttons: [ { name: 'productSetting', diff --git a/src/views/pqs/supervise_hn/technology/components/overview.vue b/src/views/pqs/supervise_hn/technology/components/overview.vue index 72dcd6c0..600883fb 100644 --- a/src/views/pqs/supervise_hn/technology/components/overview.vue +++ b/src/views/pqs/supervise_hn/technology/components/overview.vue @@ -1,214 +1,214 @@ - - - + + + diff --git a/src/views/pqs/supervise_hn/technology/components/technology.vue b/src/views/pqs/supervise_hn/technology/components/technology.vue index 5f43352f..3a7e0651 100644 --- a/src/views/pqs/supervise_hn/technology/components/technology.vue +++ b/src/views/pqs/supervise_hn/technology/components/technology.vue @@ -122,7 +122,7 @@ const tableStore = new TableStore({ }, { - title: '操作', + title: '操作',fixed: 'right', width: '180', render: 'buttons', buttons: [ diff --git a/src/views/pqs/supervise_hn/terminal/components/cycleTab.vue b/src/views/pqs/supervise_hn/terminal/components/cycleTab.vue index f8c9ba59..5d07f6ca 100644 --- a/src/views/pqs/supervise_hn/terminal/components/cycleTab.vue +++ b/src/views/pqs/supervise_hn/terminal/components/cycleTab.vue @@ -1,302 +1,302 @@ - - + + diff --git a/src/views/pqs/supervise_hn/terminal/components/deviceLedgerTable.vue b/src/views/pqs/supervise_hn/terminal/components/deviceLedgerTable.vue index 0b06750c..1ee0c6a8 100644 --- a/src/views/pqs/supervise_hn/terminal/components/deviceLedgerTable.vue +++ b/src/views/pqs/supervise_hn/terminal/components/deviceLedgerTable.vue @@ -94,7 +94,7 @@ const tableStore = new TableStore({ } /* { - title: '操作', + title: '操作',fixed: 'right', minWidth: 150, fixed: 'right', render: 'buttons', diff --git a/src/views/pqs/supervise_hn/terminal/components/interferenceUserTable.vue b/src/views/pqs/supervise_hn/terminal/components/interferenceUserTable.vue index dd2a4d4c..756a99c6 100644 --- a/src/views/pqs/supervise_hn/terminal/components/interferenceUserTable.vue +++ b/src/views/pqs/supervise_hn/terminal/components/interferenceUserTable.vue @@ -1,390 +1,390 @@ - - + + diff --git a/src/views/pqs/supervise_hn/terminal/components/monitorLedgerTable.vue b/src/views/pqs/supervise_hn/terminal/components/monitorLedgerTable.vue index c5692d47..61f47b18 100644 --- a/src/views/pqs/supervise_hn/terminal/components/monitorLedgerTable.vue +++ b/src/views/pqs/supervise_hn/terminal/components/monitorLedgerTable.vue @@ -113,7 +113,7 @@ const tableStore = new TableStore({ /* { - title: '操作', + title: '操作',fixed: 'right', minWidth: 150, fixed: 'right', render: 'buttons', diff --git a/src/views/pqs/supervise_hn/terminal/components/networkTab.vue b/src/views/pqs/supervise_hn/terminal/components/networkTab.vue index 4cf60870..7ad49c6d 100644 --- a/src/views/pqs/supervise_hn/terminal/components/networkTab.vue +++ b/src/views/pqs/supervise_hn/terminal/components/networkTab.vue @@ -1,372 +1,372 @@ - - + + diff --git a/src/views/pqs/supervise_hn/terminal/components/sensitiveUserTable.vue b/src/views/pqs/supervise_hn/terminal/components/sensitiveUserTable.vue index f5ba1822..f1b43241 100644 --- a/src/views/pqs/supervise_hn/terminal/components/sensitiveUserTable.vue +++ b/src/views/pqs/supervise_hn/terminal/components/sensitiveUserTable.vue @@ -1,285 +1,285 @@ - - + + diff --git a/src/views/pqs/supervise_hn/terminalNetworkDetection/components/cycleDetection/index.vue b/src/views/pqs/supervise_hn/terminalNetworkDetection/components/cycleDetection/index.vue index c5e56d1a..81f67f08 100644 --- a/src/views/pqs/supervise_hn/terminalNetworkDetection/components/cycleDetection/index.vue +++ b/src/views/pqs/supervise_hn/terminalNetworkDetection/components/cycleDetection/index.vue @@ -1,286 +1,286 @@ - - - - - + + + + + diff --git a/src/views/pqs/supervise_hn/terminalNetworkDetection/components/jointDebugList/index.vue b/src/views/pqs/supervise_hn/terminalNetworkDetection/components/jointDebugList/index.vue index 2028d293..8d08a501 100644 --- a/src/views/pqs/supervise_hn/terminalNetworkDetection/components/jointDebugList/index.vue +++ b/src/views/pqs/supervise_hn/terminalNetworkDetection/components/jointDebugList/index.vue @@ -1,361 +1,361 @@ - - - - - + + + + + diff --git a/src/views/pqs/supervise_hn/terminalNetworkDetection/components/monitorpoint/index.vue b/src/views/pqs/supervise_hn/terminalNetworkDetection/components/monitorpoint/index.vue index e7931523..2d14a7fb 100644 --- a/src/views/pqs/supervise_hn/terminalNetworkDetection/components/monitorpoint/index.vue +++ b/src/views/pqs/supervise_hn/terminalNetworkDetection/components/monitorpoint/index.vue @@ -1,328 +1,328 @@ - - - - - + + + + + diff --git a/src/views/pqs/supervise_hn/terminalNetworkDetection/components/terminainal/index.vue b/src/views/pqs/supervise_hn/terminalNetworkDetection/components/terminainal/index.vue index 86b40a16..b2d1eb92 100644 --- a/src/views/pqs/supervise_hn/terminalNetworkDetection/components/terminainal/index.vue +++ b/src/views/pqs/supervise_hn/terminalNetworkDetection/components/terminainal/index.vue @@ -1,372 +1,372 @@ - - - - + + + + diff --git a/src/views/pqs/supervise_hn/testRun/testRun.vue b/src/views/pqs/supervise_hn/testRun/testRun.vue index d0a69979..30b939b6 100644 --- a/src/views/pqs/supervise_hn/testRun/testRun.vue +++ b/src/views/pqs/supervise_hn/testRun/testRun.vue @@ -138,9 +138,9 @@ const tableStore = new TableStore({ } }, { - title: '操作', + title: '操作',fixed: 'right', minWidth: 230, - fixed: 'right', + render: 'buttons', buttons: [ { diff --git a/src/views/pqs/task/myTask/index.vue b/src/views/pqs/task/myTask/index.vue index bb40f70c..49e6077f 100644 --- a/src/views/pqs/task/myTask/index.vue +++ b/src/views/pqs/task/myTask/index.vue @@ -1,143 +1,143 @@ - - - - + + + + diff --git a/src/views/pqs/voltageSags/Region/transientList/index.vue b/src/views/pqs/voltageSags/Region/transientList/index.vue index 3f26f78a..62a0d2a5 100644 --- a/src/views/pqs/voltageSags/Region/transientList/index.vue +++ b/src/views/pqs/voltageSags/Region/transientList/index.vue @@ -270,10 +270,10 @@ const tableStore = new TableStore({ }, { - title: '操作', + title: '操作',fixed: 'right', width: '150', render: 'buttons', - fixed: 'right', + buttons: [ { name: 'edit', diff --git a/src/views/pqs/voltageSags/analyse/eventCorrelation/index.vue b/src/views/pqs/voltageSags/analyse/eventCorrelation/index.vue index 33461041..44d6322e 100644 --- a/src/views/pqs/voltageSags/analyse/eventCorrelation/index.vue +++ b/src/views/pqs/voltageSags/analyse/eventCorrelation/index.vue @@ -89,13 +89,15 @@ const tableStore = new TableStore({ 0: 'warning', 1: 'success', 2: 'success', - 3: 'warning' + 3: 'warning', + null: 'info' }, replaceValue: { 0: '未处理', 1: '已处理', 2: '已处理,无结果', - 3: '计算失败' + 3: '计算失败', + null: '/' } }, { @@ -112,7 +114,7 @@ const tableStore = new TableStore({ } }, { - title: '操作', + title: '操作',fixed: 'right', width: '120', render: 'buttons', buttons: [ diff --git a/src/views/pqs/voltageSags/analyse/eventwaveform/index.vue b/src/views/pqs/voltageSags/analyse/eventwaveform/index.vue index 317e1225..6fdc9113 100644 --- a/src/views/pqs/voltageSags/analyse/eventwaveform/index.vue +++ b/src/views/pqs/voltageSags/analyse/eventwaveform/index.vue @@ -131,7 +131,7 @@ const tableStore = new TableStore({ title: '事件关联分析描述' }, { - title: '操作', + title: '操作',fixed: 'right', width: '200', render: 'buttons', buttons: [ diff --git a/src/views/pqs/voltageSags/analyse/impactscope/index.vue b/src/views/pqs/voltageSags/analyse/impactscope/index.vue index c20933e1..a07cb68f 100644 --- a/src/views/pqs/voltageSags/analyse/impactscope/index.vue +++ b/src/views/pqs/voltageSags/analyse/impactscope/index.vue @@ -119,7 +119,7 @@ const tableStore = new TableStore({ title: '事件关联分析描述' }, { - title: '操作', + title: '操作',fixed: 'right', width: '200', render: 'buttons', buttons: [ diff --git a/src/views/pqs/voltageSags/monitoringPoint/online/eventStudy/index.vue b/src/views/pqs/voltageSags/monitoringPoint/online/eventStudy/index.vue index fdc92e2e..50f7d0d0 100644 --- a/src/views/pqs/voltageSags/monitoringPoint/online/eventStudy/index.vue +++ b/src/views/pqs/voltageSags/monitoringPoint/online/eventStudy/index.vue @@ -83,10 +83,10 @@ const tableStore = new TableStore({ { title: '持续时间(s)', field: 'duration', minWidth: '100' }, // { title: '严重度', field: 'severity', minWidth: '80' }, { - title: '操作', + title: '操作',fixed: 'right', width: '180', render: 'buttons', - fixed: 'right', + buttons: [ { name: 'edit', diff --git a/src/views/pqs/voltageSags/monitoringPoint/online/transientReport/index.vue b/src/views/pqs/voltageSags/monitoringPoint/online/transientReport/index.vue index cb42d34a..afc7a4b3 100644 --- a/src/views/pqs/voltageSags/monitoringPoint/online/transientReport/index.vue +++ b/src/views/pqs/voltageSags/monitoringPoint/online/transientReport/index.vue @@ -201,6 +201,10 @@ const exportEvent = () => { ElMessage('生成报告中,请稍等!') getLineExport(formd.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' }) @@ -234,6 +238,10 @@ const preview = () => { formd.value.flag = TableHeaderRef.value.datePickerRef.interval ElMessage('生成报告中,请稍等!') getLineExport(formd.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' }) diff --git a/src/views/pqs/voltageSags/monitoringPoint/transientList/index.vue b/src/views/pqs/voltageSags/monitoringPoint/transientList/index.vue index 1c4f5437..e1c07efb 100644 --- a/src/views/pqs/voltageSags/monitoringPoint/transientList/index.vue +++ b/src/views/pqs/voltageSags/monitoringPoint/transientList/index.vue @@ -118,7 +118,7 @@ const tableStore: any = new TableStore({ { field: 'duration', title: '持续时间(s)', minWidth: '100' }, { - title: '操作', + title: '操作',fixed: 'right', width: '120', render: 'buttons', buttons: [ diff --git a/src/views/pqs/voltageSags/report/eventReports/index.vue b/src/views/pqs/voltageSags/report/eventReports/index.vue index 1ee61645..d32e2ef7 100644 --- a/src/views/pqs/voltageSags/report/eventReports/index.vue +++ b/src/views/pqs/voltageSags/report/eventReports/index.vue @@ -51,16 +51,15 @@ defineOptions({ }) const dictData = useDictData() const triggerType = dictData.getBasicData('Event_Statis') -const sign:any = dictData.getBasicData('power_flag') +const sign: any = dictData.getBasicData('power_flag') const tableRef = ref() const tableStore = new TableStore({ - url: '/event-boot/report/getEventReport', method: 'POST', column: [ { title: '序号', - + align: 'center', width: 80, formatter: (row: any) => { @@ -69,40 +68,43 @@ const tableStore = new TableStore({ }, { field: 'startTime', - title: '暂态事件发生时刻', + title: '发生时刻', width: '180', formatter: (row: any) => { return row.cellValue ? row.cellValue.replace('T', ' ') : '/' } }, - { field: 'gdName', title: '供电公司' }, - { field: 'subName', title: '变电站' }, - { field: 'ip', title: '网络参数' ,width:'120px' }, - { field: 'lineName', title: '监测点' }, + { field: 'gdName', title: '供电公司', minWidth: '120' }, + { field: 'subName', title: '变电站', minWidth: '120' }, + { field: 'ip', title: '网络参数', width: '120px' }, + { field: 'lineName', title: '监测点', minWidth: '120' }, { field: 'eventType', - title: '触发类型', + title: '触发类型',minWidth: '100' , formatter: (row: any) => { return triggerType.filter(item => item.id === row.cellValue)[0].name } }, { field: 'advanceType', - title: '暂态类型' + title: '暂态类型', + minWidth: '100' }, { field: 'advanceReason', - title: '暂态原因' + title: '暂态原因', + minWidth: '100' }, { field: 'voltageScale', title: '电压等级', - width: '100' + minWidth: '100' }, { field: 'featureAmplitude', title: '暂降(骤升)幅值(%)', - width: '140',formatter: (row: any) => { + width: '140', + formatter: (row: any) => { // return (row.cellValue * 100).toFixed(0) return Math.floor(row.cellValue * 10000) / 100 } @@ -111,17 +113,16 @@ const tableStore = new TableStore({ field: 'duration', title: '持续时间(s)', width: '100' - }, + } // { field: 'severity', title: '严重度' } - ], - + ] }) tableStore.table.params.comFlag = '1' tableStore.table.params.monitorFlag = 0 tableStore.table.params.powerFlag = sign[0]?.algoDescribe || 0 tableStore.table.params.serverName = 'event-boot' -tableStore.table.params.waveType='' -tableStore.table.params.searchValue='' +tableStore.table.params.waveType = '' +tableStore.table.params.searchValue = '' tableStore.table.params.statisticalType = dictData.getBasicData('Statistical_Type', [ 'Report_Type', 'Manufacturer', @@ -135,7 +136,6 @@ onMounted(() => { tableStore.index() }) const exportEvent = () => { - let form: any = JSON.parse(JSON.stringify(tableStore.table.params)) form.pageNum = 1 form.pageSize = tableStore.table.total diff --git a/src/views/pqs/voltageSags/report/monitoringPointReport/index.vue b/src/views/pqs/voltageSags/report/monitoringPointReport/index.vue index 172aa3b3..6eee2329 100644 --- a/src/views/pqs/voltageSags/report/monitoringPointReport/index.vue +++ b/src/views/pqs/voltageSags/report/monitoringPointReport/index.vue @@ -254,6 +254,10 @@ const exportEvent = () => { ElMessage('生成报告中,请稍等!') getLineExport(formd.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' }) diff --git a/src/views/pqs/voltageSags/report/regionalReports/index.vue b/src/views/pqs/voltageSags/report/regionalReports/index.vue index f4ee73bb..0b6dae41 100644 --- a/src/views/pqs/voltageSags/report/regionalReports/index.vue +++ b/src/views/pqs/voltageSags/report/regionalReports/index.vue @@ -9,7 +9,7 @@ > - +
@@ -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 @@ - - + + 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 @@ - - + +