From 136248eec27257de44b56ebb922f8fafed2f97c1 Mon Sep 17 00:00:00 2001 From: sjl <1716605279@qq.com> Date: Mon, 12 Jan 2026 11:22:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=92=E8=89=B2=E7=94=A8=E6=88=B7=E7=AE=A1?= =?UTF-8?q?=E7=90=86=EF=BC=8C=E5=8C=BA=E5=9F=9F=E6=A6=82=E8=A7=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/table/header/index.vue | 10 ++++++++-- src/stores/monitoringPoint.ts | 2 ++ .../area/powerAssessment/index.vue | 2 +- .../terminal/components/deviceLedgerTable.vue | 2 ++ .../terminal/components/monitorLedgerTable.vue | 2 ++ .../pqs/voltageSags/Region/components/Tableabove.vue | 8 ++++++-- src/views/pqs/voltageSags/Region/overview/index.vue | 12 ++++++++++-- .../pqs/voltageSags/monitoringPoint/online/index.vue | 4 ++++ .../monitoringPoint/online/navigation/index.vue | 5 ++++- src/views/system/auth/role/popupForm.vue | 6 +++--- src/views/system/auth/userList/popupEdit.vue | 4 ++-- 11 files changed, 44 insertions(+), 13 deletions(-) diff --git a/src/components/table/header/index.vue b/src/components/table/header/index.vue index 9b35d5e5..c080f782 100644 --- a/src/components/table/header/index.vue +++ b/src/components/table/header/index.vue @@ -23,7 +23,7 @@ - + @@ -81,7 +81,7 @@ import { mainHeight } from '@/utils/layout' import { useDictData } from '@/stores/dictData' import { Search, RefreshLeft } from '@element-plus/icons-vue' import { defineProps } from 'vue' -const emit = defineEmits(['selectChange']) +const emit = defineEmits(['selectChange','areaChange']) const tableStore = inject('tableStore') as TableStore const tableHeader = ref() const datePickerRef = ref() @@ -132,11 +132,17 @@ const headerFormSecondStyleClose = { padding: '0' } +const onAreaChange = (data) => { + + emit('areaChange', {label: data.label}) +} + watch( () => tableStore?.table.params.deptIndex, newVal => { setTimeout(() => { areaRef.value && areaRef.value.change() + }, 0) } ) diff --git a/src/stores/monitoringPoint.ts b/src/stores/monitoringPoint.ts index 3c4c81fb..9ef8069d 100644 --- a/src/stores/monitoringPoint.ts +++ b/src/stores/monitoringPoint.ts @@ -25,6 +25,7 @@ export const useMonitoringPoint = defineStore( val: any ) => { state[key] = val + } const setShowCheckBox = (val: boolean) => { if (val && state.lineIds.length === 0) { @@ -35,6 +36,7 @@ export const useMonitoringPoint = defineStore( } state.showCheckBox = val } + return { state, setValue, setShowCheckBox } }, { diff --git a/src/views/pqs/harmonicMonitoring/area/powerAssessment/index.vue b/src/views/pqs/harmonicMonitoring/area/powerAssessment/index.vue index 030584c1..6d7f9201 100644 --- a/src/views/pqs/harmonicMonitoring/area/powerAssessment/index.vue +++ b/src/views/pqs/harmonicMonitoring/area/powerAssessment/index.vue @@ -121,8 +121,8 @@ :show-arrow="false" :offset="-0" :content="item1.name" - popper-class="atooltip" placement="bottom-start" + >
{{ item1.name }} diff --git a/src/views/pqs/supervise/terminal/components/deviceLedgerTable.vue b/src/views/pqs/supervise/terminal/components/deviceLedgerTable.vue index 04bad8ea..141dbe58 100644 --- a/src/views/pqs/supervise/terminal/components/deviceLedgerTable.vue +++ b/src/views/pqs/supervise/terminal/components/deviceLedgerTable.vue @@ -18,6 +18,8 @@ placeholder="电站名称,终端名称,型号" v-model="tableStore.table.params.searchValue" clearable + maxlength="32" + show-word-limit > diff --git a/src/views/pqs/supervise/terminal/components/monitorLedgerTable.vue b/src/views/pqs/supervise/terminal/components/monitorLedgerTable.vue index 31a2e8ec..b71924af 100644 --- a/src/views/pqs/supervise/terminal/components/monitorLedgerTable.vue +++ b/src/views/pqs/supervise/terminal/components/monitorLedgerTable.vue @@ -18,6 +18,8 @@ placeholder="电站名称,终端编号,监测点名称、电压等级、终端厂家、干扰源类型" v-model="tableStore.table.params.searchValue" clearable + maxlength="32" + show-word-limit > diff --git a/src/views/pqs/voltageSags/Region/components/Tableabove.vue b/src/views/pqs/voltageSags/Region/components/Tableabove.vue index 34feee11..a37d004a 100644 --- a/src/views/pqs/voltageSags/Region/components/Tableabove.vue +++ b/src/views/pqs/voltageSags/Region/components/Tableabove.vue @@ -1,7 +1,7 @@