From 2ff46c5cbcb3419c23d21b0bb5730e571eb984a9 Mon Sep 17 00:00:00 2001 From: huangjp Date: Wed, 12 Nov 2025 10:55:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=89=E4=BC=8F=E5=8A=9F=E8=83=BD=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lang/dashboard/en.js | 22 +- src/lang/dashboard/zh.js | 24 +- src/lang/device/en.js | 14 +- src/lang/device/zh.js | 13 +- src/lang/operational/en.js | 3 +- src/lang/revenue/en.js | 16 +- src/lang/revenue/zh.js | 17 +- src/lang/screen/en.js | 10 +- src/lang/screen/zh.js | 11 +- src/lang/strategic/en.js | 2 +- src/lang/system/en.js | 6 +- src/lang/zh.js | 2 +- src/permission.js | 1 + src/router/index.js | 18 + src/router/modules/revenue-management.js | 7 +- .../components/bottom-left/standard-215.vue | 269 +++++ .../components/bottom-right/common.vue | 307 ++++++ .../components/bottom-right/disposition.vue | 284 +++++ .../components/bottom-right/standard-215.vue | 297 ++++++ .../components/center-right/common.vue | 182 ++++ .../components/center-right/disposition.vue | 179 ++++ .../components/center-right/standard-215.vue | 334 ++++++ .../components/itemBox/position.vue | 207 ++++ .../top-center/pv-operating-curve.vue | 244 +++++ .../components/top-left/common-mwh.vue | 508 +++++++++ .../components/top-left/common.vue | 509 +++++++++ .../components/top-left/disposition.vue | 378 +++++++ .../components/top-left/standard-215.vue | 498 +++++++++ .../dashboard-pv/components/top-left/zzhb.vue | 540 ++++++++++ .../components/top-right/control.vue | 571 ++++++++++ .../components/top-right/index.vue | 331 ++++++ src/views/dashboard-pv/index.vue | 509 +++++++++ .../components/top-center/ninth.vue | 2 - .../components/top-center/pv2storage261.vue | 85 +- .../components/SwiperTable.vue | 265 +++++ .../components/SwiperTableAlarm.vue | 292 ++++++ .../components/SwiperTableCenter.vue | 296 ++++++ .../components/center-bottom.vue | 192 ++++ .../components/center-top.vue | 119 +++ .../new-screen-zz-pv/components/item-warp.vue | 51 + .../components/left-bottom.vue | 136 +++ .../components/left-center.vue | 202 ++++ .../new-screen-zz-pv/components/left-top.vue | 180 ++++ .../components/map-center.vue | 394 +++++++ .../components/right-bottom.vue | 73 ++ .../components/right-center.vue | 68 ++ .../new-screen-zz-pv/components/right-top.vue | 244 +++++ src/views/new-screen-zz-pv/index.vue | 389 +++++++ .../components/loading.vue | 89 ++ .../pv-earnings-statement/index.vue | 988 ++++++++++++++++++ .../dcdcmppt/components/center-bottom.vue | 255 +++++ .../dcdcmppt/components/center-top.vue | 950 +++++++++++++++++ .../components/dcdcmppt/components/right.vue | 106 ++ .../components/dcdcmppt/config/config.js | 439 ++++++++ .../components/dcdcmppt/index.vue | 121 +++ .../standard-215-device-list/index.vue | 10 +- vue.config.js | 2 +- 57 files changed, 12168 insertions(+), 93 deletions(-) create mode 100644 src/views/dashboard-pv/components/bottom-left/standard-215.vue create mode 100644 src/views/dashboard-pv/components/bottom-right/common.vue create mode 100644 src/views/dashboard-pv/components/bottom-right/disposition.vue create mode 100644 src/views/dashboard-pv/components/bottom-right/standard-215.vue create mode 100644 src/views/dashboard-pv/components/center-right/common.vue create mode 100644 src/views/dashboard-pv/components/center-right/disposition.vue create mode 100644 src/views/dashboard-pv/components/center-right/standard-215.vue create mode 100644 src/views/dashboard-pv/components/itemBox/position.vue create mode 100644 src/views/dashboard-pv/components/top-center/pv-operating-curve.vue create mode 100644 src/views/dashboard-pv/components/top-left/common-mwh.vue create mode 100644 src/views/dashboard-pv/components/top-left/common.vue create mode 100644 src/views/dashboard-pv/components/top-left/disposition.vue create mode 100644 src/views/dashboard-pv/components/top-left/standard-215.vue create mode 100644 src/views/dashboard-pv/components/top-left/zzhb.vue create mode 100644 src/views/dashboard-pv/components/top-right/control.vue create mode 100644 src/views/dashboard-pv/components/top-right/index.vue create mode 100644 src/views/dashboard-pv/index.vue create mode 100644 src/views/new-screen-zz-pv/components/SwiperTable.vue create mode 100644 src/views/new-screen-zz-pv/components/SwiperTableAlarm.vue create mode 100644 src/views/new-screen-zz-pv/components/SwiperTableCenter.vue create mode 100644 src/views/new-screen-zz-pv/components/center-bottom.vue create mode 100644 src/views/new-screen-zz-pv/components/center-top.vue create mode 100644 src/views/new-screen-zz-pv/components/item-warp.vue create mode 100644 src/views/new-screen-zz-pv/components/left-bottom.vue create mode 100644 src/views/new-screen-zz-pv/components/left-center.vue create mode 100644 src/views/new-screen-zz-pv/components/left-top.vue create mode 100644 src/views/new-screen-zz-pv/components/map-center.vue create mode 100644 src/views/new-screen-zz-pv/components/right-bottom.vue create mode 100644 src/views/new-screen-zz-pv/components/right-center.vue create mode 100644 src/views/new-screen-zz-pv/components/right-top.vue create mode 100644 src/views/new-screen-zz-pv/index.vue create mode 100644 src/views/revenue-management/pv-earnings-statement/components/loading.vue create mode 100644 src/views/revenue-management/pv-earnings-statement/index.vue create mode 100644 src/views/surveillance/standard-215-device-list/components/dcdcmppt/components/center-bottom.vue create mode 100644 src/views/surveillance/standard-215-device-list/components/dcdcmppt/components/center-top.vue create mode 100644 src/views/surveillance/standard-215-device-list/components/dcdcmppt/components/right.vue create mode 100644 src/views/surveillance/standard-215-device-list/components/dcdcmppt/config/config.js create mode 100644 src/views/surveillance/standard-215-device-list/components/dcdcmppt/index.vue diff --git a/src/lang/dashboard/en.js b/src/lang/dashboard/en.js index 925ede6..c60a082 100644 --- a/src/lang/dashboard/en.js +++ b/src/lang/dashboard/en.js @@ -64,7 +64,6 @@ export default { aioPower: 'AIO Power', loadPower: 'Load Power', powerFactor: 'Fa-Power', - stationName: 'Name of Power Station', stationType: 'Type of Power Station', stationLocation: 'Location of Power Station', @@ -81,7 +80,6 @@ export default { tree: 'Tree', discabinet: 'Distribution cabinet', chargingPile: 'Charging pile', - chargingDischarging: 'Cumulative charge and discharge', sevenDay: 'Nearly Seven Days', monthDay: 'Nearly a Month', @@ -108,7 +106,6 @@ export default { energyStorage: 'Energy Storage', energyStorageMeter: 'Energy Storage Meter', crane: 'Crane', - realtimeAlarm: 'Real-Time Alarms', accessPoint: 'Device Access Point', environmentalData: 'Environmental Control Data', @@ -120,27 +117,23 @@ export default { refSetting: 'Refrigeration Setting', shutPoint: 'Fan Shutdown Point', heatSetting: 'Heating Setting', - cabinetTem: 'Temperature of Energy Storage Cabinet', cabinetHum: 'Humidity of Energy Storage Cabinet', dieselTem: 'Diesel Generator Temperature', dieselLevel: 'Diesel Generator Oil Level', dieselDenerators: 'Diesel Generator', - runCurve: 'Run Time Curve', runData: 'Run Time Data', power: 'Power', air: 'Air Conditioning', device: 'Device', chargingandDischarging: 'Electricity', - alarmDevices: 'Alarm Devices', NormalDevices: 'Normal Devices', DeviceNo: 'Device No', DeviceType: 'Device Type', DeviceState: 'Device State', AlarmTime: 'Alarm time', - oneControl: 'One-click Control', col: 'Indicators', state: 'State', @@ -163,12 +156,10 @@ export default { issusedMsg: 'This operation will send data items in sequence. Do you confirm the sending?', cancel: 'Cancel', sure: 'Sure', - Loadpower: 'Load Active Power', pvpower: 'Photovoltaic Active Power', PCSpower: 'PCS Active Power', Dieselpower: 'Diesel Generator Power', - waterSuper: 'Water Supply Temperature', ambientTem: 'Ambient Temperature', returnTemperature: 'Return Water Temperature', @@ -177,7 +168,6 @@ export default { engineV: 'Diesel Generator voltage', powerfrequency: 'Generate Electricity Frequency', engineC: 'Diesel Generator Current', - onepcsPower: '1-PCS Active Power', twopcsPower: '2-PCS Active Power', onebmsSoc: '1-BMS-SOC', @@ -224,6 +214,16 @@ export default { generation: 'Generation', yhl: 'Fuel', jsfs: 'Count method', - saveSuccess: 'Save successful' + saveSuccess: 'Save successful', + todayElectricityGeneration: "Today's Electricity Generation", + totalPowerGeneration: 'Cumulative Power Generation', + totalRevenue: 'Cumulative Earnings', + ratedPowerofInverter: 'Rated power of inverter', + energyTrend: 'Energy Trend', + month: 'month', + year: 'year', + powerGenerationCapacity: 'power generation capacity', + powerGeneration: 'power generation', + revenueTrend: 'Revenue Trend' } } diff --git a/src/lang/dashboard/zh.js b/src/lang/dashboard/zh.js index 3ee00c7..0605475 100644 --- a/src/lang/dashboard/zh.js +++ b/src/lang/dashboard/zh.js @@ -13,7 +13,6 @@ export default { totalDischarge: '总放电量', dailyCharge: '日充电量', dailyDischarge: '日放电量', - day: '天', frequency: '频率', rechPower: '可充功率', disRechPower: '可放功率', @@ -64,7 +63,6 @@ export default { aioPower: '一体机功率', loadPower: '负载功率', refluxAmmeter: '防逆流电表', - stationName: '电站名称', stationType: '电站类型', stationLocation: '电站位置', @@ -78,7 +76,6 @@ export default { coal: '等效节约煤', income: '等效经济收入', tree: '棵', - chargingDischarging: '累计充放电量', sevenDay: '近七天', monthDay: '近一月', @@ -106,7 +103,6 @@ export default { energyStorageMeter: '储能电表', crane: '塔吊', powerFactor: '功率因数', - realtimeAlarm: '实时告警', accessPoint: '设备接入点', environmentalData: '环控数据', @@ -118,27 +114,23 @@ export default { refSetting: '制冷设定', shutPoint: '风机停机点', heatSetting: '制热设定', - cabinetTem: '储能柜温度', cabinetHum: '储能柜湿度', dieselTem: '柴发温度', dieselLevel: '柴发油位', dieselDenerators: '柴发', - runCurve: '运行曲线', runData: '运行数据', power: '功率', air: '空调', device: '设备', chargingandDischarging: '充放电量', - alarmDevices: '告警设备', NormalDevices: '正常设备', DeviceNo: '设备编号', DeviceType: '设备类型', DeviceState: '设备状态', AlarmTime: '告警时间', - oneControl: '一键控制', col: '指标', state: '状态', @@ -161,12 +153,10 @@ export default { issusedMsg: '此操作将会按顺序下发数据项,是否确认下发?', cancel: '取消', sure: '确认', - Loadpower: '负载有功功率', pvpower: '光伏有功功率', PCSpower: 'PCS有功功率', Dieselpower: '柴发有功功率', - waterSuper: '供水温度', ambientTem: '环境温度', returnTemperature: '回水温度', @@ -175,7 +165,6 @@ export default { engineV: '柴发电压', powerfrequency: '发电频率', engineC: '柴发电流', - onepcsPower: '1-PCS有功功率', twopcsPower: '2-PCS有功功率', onebmsSoc: '1-BMS-SOC', @@ -222,6 +211,17 @@ export default { generation: '发电量', yhl: '油耗量', jsfs: '计算方式', - saveSuccess: '保存成功' + saveSuccess: '保存成功', + todayElectricityGeneration: '当日发电量', + totalPowerGeneration: '累计发电量', + totalRevenue: '累计收益', + ratedPowerofInverter: '逆变器额定功率', + energyTrend: '能量趋势', + day: '日', + month: '月', + year: '年', + powerGenerationCapacity: '发电功率', + powerGeneration: '发电量', + revenueTrend: '收益趋势' } } diff --git a/src/lang/device/en.js b/src/lang/device/en.js index ee5c475..a615b1f 100644 --- a/src/lang/device/en.js +++ b/src/lang/device/en.js @@ -78,7 +78,6 @@ export default { acRea: 'Active/Reactive', active: 'Active', reactive: 'Reactive', - eqptRunState: 'Eqpt Run State', cumCharge: 'Cumulative charge', cumDischarge: 'Cumulative discharge', @@ -103,10 +102,17 @@ export default { rightHum: 'Right Humidity', leftTem: 'Left Temperature', rightTem: 'Right Temperature', - dataDisplay: 'Data Display', - airTopo: 'Air Conditioning Topology', - airTem: 'Air Conditioning Temperature' + airTem: 'Air Conditioning Temperature', + batVoltage: 'BAT voltage', + batCurrent: 'BAT current', + busVoltage: 'BUS voltage', + busCurrent: 'BUS current', + dc: 'DC', + dcVoltage: 'DC voltage', + operatingPower: 'operating power', + powerGenerationCapacity: 'power generation capacity', + powerGeneration: 'Power Generation' } } diff --git a/src/lang/device/zh.js b/src/lang/device/zh.js index 17b66b0..bd054f5 100644 --- a/src/lang/device/zh.js +++ b/src/lang/device/zh.js @@ -103,10 +103,17 @@ export default { rightHum: '右侧湿度', leftTem: '左侧温度', rightTem: '右侧温度', - dataDisplay: '数据展示', - airTopo: '空调拓扑图', - airTem: '空调温度' + airTem: '空调温度', + batVoltage: 'BAT电压', + batCurrent: 'BAT电流', + busVoltage: 'BAT电压', + busCurrent: 'BAT电流', + dc: '直流电流', + dcVoltage: '直流电压', + operatingPower: '运行功率', + powerGenerationCapacity: '发电功率', + powerGeneration: '发电' } } diff --git a/src/lang/operational/en.js b/src/lang/operational/en.js index 487f089..4c10036 100644 --- a/src/lang/operational/en.js +++ b/src/lang/operational/en.js @@ -522,6 +522,7 @@ export default { hint: 'Hint', delSuccess: 'Delete Success', addSuccess: 'Add Success', - editSuccess: 'Edit Success', repairRecord: 'repairRecord' } + editSuccess: 'Edit Success', repairRecord: 'repairRecord' + } } diff --git a/src/lang/revenue/en.js b/src/lang/revenue/en.js index 9646fa5..0bf1244 100644 --- a/src/lang/revenue/en.js +++ b/src/lang/revenue/en.js @@ -174,7 +174,21 @@ export default { computeding: 'Computing,The current progress is:', laterQuery: '%,Please enquire later.', earningReport: 'Earning Report', - bill: 'Bill' + bill: 'Bill', + + powerGenerationStatus: 'power Generation Status', + totalStringCapacity: 'Total string capacity', + currentMonthlyPowerGeneration: 'Current monthly power generation', + monthlyPowerGeneration: 'Monthly power generation', + cumulativePowerGeneration: 'cumulative power generation', + equivalentPowerGenerationTime: 'Equivalent power generation time', + peakACpower: 'Peak AC power', + gridConnectedDuration: 'grid-connected duration', + projectRevenueSituation: 'Project revenue situation', + monthlyPVpowerGeneration: 'Monthly PV power generation', + monthlyInverterPowerGeneration: 'Monthly inverter power generation', + monthlyIncome: 'Monthly income', + powerGeneration: 'Power Generation' }, region: { regionName: 'Region Name', diff --git a/src/lang/revenue/zh.js b/src/lang/revenue/zh.js index 6cff10f..96c15a3 100644 --- a/src/lang/revenue/zh.js +++ b/src/lang/revenue/zh.js @@ -134,7 +134,6 @@ export default { dayHighPrice: '日最高电价', dayLowtPrice: '日最低电价', close: '关闭' - }, state: { month: '月份', @@ -173,7 +172,21 @@ export default { computeding: '计算中,当前进度为', laterQuery: '%,请稍后查询。', earningReport: '收益报表', - bill: '账单' + bill: '账单', + + powerGenerationStatus: '项目发电情况', + totalStringCapacity: '组串总容量', + currentMonthlyPowerGeneration: '本月发电量', + cumulativePowerGeneration: '累计发电量', + equivalentPowerGenerationTime: '等价发电时', + peakACpower: '峰值交流功率', + monthlyPowerGeneration: '月发电量', + projectRevenueSituation: '项目收益情况', + monthlyPVpowerGeneration: '本月PV发电量', + monthlyInverterPowerGeneration: '本月逆变器发电量', + monthlyIncome: '本月收益', + gridConnectedDuration: '并网时长', + powerGeneration: '发电量' }, region: { regionName: '区域名称', diff --git a/src/lang/screen/en.js b/src/lang/screen/en.js index c4818fe..fd1a33a 100644 --- a/src/lang/screen/en.js +++ b/src/lang/screen/en.js @@ -53,6 +53,14 @@ export default { ammeter: 'PA', cabinet: 'Cabinet', diesel: 'Diesel', - qtScreenTitle: 'New smart energy operation platform' + qtScreenTitle: 'New smart energy operation platform', + pvScreenTitle: 'Zetatech Smart PV management and control platform', + todayEarning: 'Today Earning', + dailyPowerGeneration: 'Daily Power Generation', + yearlyPowerGeneration: 'Yearly Power Generation', + cumulativePowerGeneration: 'Cumulative Power Generation', + powerGenerationEarningRanking: 'Power generation earnings ranking', + powerGenerationRanking: 'Power generation ranking', + powerGeneration: 'power generation' } } diff --git a/src/lang/screen/zh.js b/src/lang/screen/zh.js index 3d9be8e..d21e6aa 100644 --- a/src/lang/screen/zh.js +++ b/src/lang/screen/zh.js @@ -53,6 +53,15 @@ export default { ammeter: '电表', cabinet: '储能柜', diesel: '柴发', - qtScreenTitle: '新一代智慧能源运营平台' + qtScreenTitle: '新一代智慧能源运营平台', + + pvScreenTitle: '智慧光伏管控平台', + todayEarning: '今日收益', + dailyPowerGeneration: '日发电量', + yearlyPowerGeneration: '年发电量', + cumulativePowerGeneration: '累计发电量', + powerGenerationEarningRanking: '发电收益排名', + powerGenerationRanking: '发电量排名', + powerGeneration: '发电' } } diff --git a/src/lang/strategic/en.js b/src/lang/strategic/en.js index 34688a5..1daab30 100644 --- a/src/lang/strategic/en.js +++ b/src/lang/strategic/en.js @@ -262,7 +262,7 @@ export default { policyTemCurve: 'Policy Template Curve/kW', exitSaveExit: 'Please save or exit the edit first', distributeSuccess: 'Distribute Succeeded', - numRange: 'The number range is -99999999-99999999到99999999之间' + numRange: 'Between -99999999 and 99999999' }, loadForecast: { conditions: 'Current operating conditions', diff --git a/src/lang/system/en.js b/src/lang/system/en.js index 461c6a1..39ca88b 100644 --- a/src/lang/system/en.js +++ b/src/lang/system/en.js @@ -35,7 +35,8 @@ export default { maxValue: 'You can select up to', point: 'points', pointError: 'Only one point can be selected for ordinary points or cell dismantling' - }, deviceUpgrade: { + }, + deviceUpgrade: { powerStation: 'PowerStation', device: 'Device', deviceType: 'DeviceType', @@ -80,5 +81,6 @@ export default { pleaseSelectTime: 'Please Select Time', pleaseFillinUpgradeReason: 'Please Fill in Upgrade Reason', pleaseUploadUpgradeFile: 'Please Upload Upgrade File', - uploadSuccessful: 'Upload Successful' } + uploadSuccessful: 'Upload Successful' + } } diff --git a/src/lang/zh.js b/src/lang/zh.js index 1ac5125..a7fbc26 100644 --- a/src/lang/zh.js +++ b/src/lang/zh.js @@ -159,7 +159,7 @@ export default { placeholder: '请输入文件名(默认file)' }, pdf: { - tips: '这里使用 window.print() 来实现下载pdf的功能' + tips: '这里使用 window.print() 来实现下载pdf的功能' }, theme: { change: '换肤', diff --git a/src/permission.js b/src/permission.js index 62a16e7..be58aa6 100644 --- a/src/permission.js +++ b/src/permission.js @@ -14,6 +14,7 @@ const whiteList = [ '/screen', '/new-screen', '/new-screen-zz', + '/new-screen-zz-pv', '/common-screen', '/app-privacy-en.html' ] // no redirect whitelist diff --git a/src/router/index.js b/src/router/index.js index 92501d0..c70e009 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -87,6 +87,12 @@ export const constantRoutes = [ name: 'new-screen-zz', meta: { title: '管控大屏' } }, + { + path: '/new-screen-zz-pv', + component: () => import('@/views/new-screen-zz-pv/index.vue'), + name: 'new-screen-zz-pv', + meta: { title: '光伏大屏' } + }, { path: '/dashboard-test', component: Layout, @@ -99,6 +105,18 @@ export const constantRoutes = [ } ] }, + { + path: '/dashboard-pv', + component: Layout, + children: [ + { + path: 'dashboard-pv', + component: () => import('@/views/dashboard-pv/index.vue'), + name: 'dashboard-pv', + meta: { title: 'dashboard-pv', icon: 'dashboard', affix: true } + } + ] + }, { path: '/dashboard-zhongzi', component: Layout, diff --git a/src/router/modules/revenue-management.js b/src/router/modules/revenue-management.js index 811367e..577dcc4 100644 --- a/src/router/modules/revenue-management.js +++ b/src/router/modules/revenue-management.js @@ -33,8 +33,13 @@ const revenueRouter = { component: () => import('@/views/revenue-management/proxy-price/index.vue'), name: 'proxy-price', meta: { title: 'proxy-price' } + }, + { + path: 'pv-earnings-statement', + component: () => import('@/views/revenue-management/pv-earnings-statement/index.vue'), + name: 'pv-earnings-statement', + meta: { title: '光伏收益报表' } } - ] } diff --git a/src/views/dashboard-pv/components/bottom-left/standard-215.vue b/src/views/dashboard-pv/components/bottom-left/standard-215.vue new file mode 100644 index 0000000..66a7b0d --- /dev/null +++ b/src/views/dashboard-pv/components/bottom-left/standard-215.vue @@ -0,0 +1,269 @@ + + + + diff --git a/src/views/dashboard-pv/components/bottom-right/common.vue b/src/views/dashboard-pv/components/bottom-right/common.vue new file mode 100644 index 0000000..df88967 --- /dev/null +++ b/src/views/dashboard-pv/components/bottom-right/common.vue @@ -0,0 +1,307 @@ + + + + diff --git a/src/views/dashboard-pv/components/bottom-right/disposition.vue b/src/views/dashboard-pv/components/bottom-right/disposition.vue new file mode 100644 index 0000000..d9e7793 --- /dev/null +++ b/src/views/dashboard-pv/components/bottom-right/disposition.vue @@ -0,0 +1,284 @@ + + + + diff --git a/src/views/dashboard-pv/components/bottom-right/standard-215.vue b/src/views/dashboard-pv/components/bottom-right/standard-215.vue new file mode 100644 index 0000000..206a34f --- /dev/null +++ b/src/views/dashboard-pv/components/bottom-right/standard-215.vue @@ -0,0 +1,297 @@ + + + + diff --git a/src/views/dashboard-pv/components/center-right/common.vue b/src/views/dashboard-pv/components/center-right/common.vue new file mode 100644 index 0000000..90d06f6 --- /dev/null +++ b/src/views/dashboard-pv/components/center-right/common.vue @@ -0,0 +1,182 @@ + + + + diff --git a/src/views/dashboard-pv/components/center-right/disposition.vue b/src/views/dashboard-pv/components/center-right/disposition.vue new file mode 100644 index 0000000..ca26cd0 --- /dev/null +++ b/src/views/dashboard-pv/components/center-right/disposition.vue @@ -0,0 +1,179 @@ + + + + diff --git a/src/views/dashboard-pv/components/center-right/standard-215.vue b/src/views/dashboard-pv/components/center-right/standard-215.vue new file mode 100644 index 0000000..a58cd72 --- /dev/null +++ b/src/views/dashboard-pv/components/center-right/standard-215.vue @@ -0,0 +1,334 @@ + + + + diff --git a/src/views/dashboard-pv/components/itemBox/position.vue b/src/views/dashboard-pv/components/itemBox/position.vue new file mode 100644 index 0000000..2d50557 --- /dev/null +++ b/src/views/dashboard-pv/components/itemBox/position.vue @@ -0,0 +1,207 @@ + + + + diff --git a/src/views/dashboard-pv/components/top-center/pv-operating-curve.vue b/src/views/dashboard-pv/components/top-center/pv-operating-curve.vue new file mode 100644 index 0000000..1ebd539 --- /dev/null +++ b/src/views/dashboard-pv/components/top-center/pv-operating-curve.vue @@ -0,0 +1,244 @@ + + + + diff --git a/src/views/dashboard-pv/components/top-left/common-mwh.vue b/src/views/dashboard-pv/components/top-left/common-mwh.vue new file mode 100644 index 0000000..2afecf5 --- /dev/null +++ b/src/views/dashboard-pv/components/top-left/common-mwh.vue @@ -0,0 +1,508 @@ + + + + diff --git a/src/views/dashboard-pv/components/top-left/common.vue b/src/views/dashboard-pv/components/top-left/common.vue new file mode 100644 index 0000000..fa3d068 --- /dev/null +++ b/src/views/dashboard-pv/components/top-left/common.vue @@ -0,0 +1,509 @@ + + + + diff --git a/src/views/dashboard-pv/components/top-left/disposition.vue b/src/views/dashboard-pv/components/top-left/disposition.vue new file mode 100644 index 0000000..b788464 --- /dev/null +++ b/src/views/dashboard-pv/components/top-left/disposition.vue @@ -0,0 +1,378 @@ + + + + diff --git a/src/views/dashboard-pv/components/top-left/standard-215.vue b/src/views/dashboard-pv/components/top-left/standard-215.vue new file mode 100644 index 0000000..c0d7a18 --- /dev/null +++ b/src/views/dashboard-pv/components/top-left/standard-215.vue @@ -0,0 +1,498 @@ + + + + diff --git a/src/views/dashboard-pv/components/top-left/zzhb.vue b/src/views/dashboard-pv/components/top-left/zzhb.vue new file mode 100644 index 0000000..3ccfc0c --- /dev/null +++ b/src/views/dashboard-pv/components/top-left/zzhb.vue @@ -0,0 +1,540 @@ + + + + diff --git a/src/views/dashboard-pv/components/top-right/control.vue b/src/views/dashboard-pv/components/top-right/control.vue new file mode 100644 index 0000000..f41498d --- /dev/null +++ b/src/views/dashboard-pv/components/top-right/control.vue @@ -0,0 +1,571 @@ + + + + diff --git a/src/views/dashboard-pv/components/top-right/index.vue b/src/views/dashboard-pv/components/top-right/index.vue new file mode 100644 index 0000000..70a4a66 --- /dev/null +++ b/src/views/dashboard-pv/components/top-right/index.vue @@ -0,0 +1,331 @@ + + + + diff --git a/src/views/dashboard-pv/index.vue b/src/views/dashboard-pv/index.vue new file mode 100644 index 0000000..a840272 --- /dev/null +++ b/src/views/dashboard-pv/index.vue @@ -0,0 +1,509 @@ + + + + + + diff --git a/src/views/dashboardtest/components/top-center/ninth.vue b/src/views/dashboardtest/components/top-center/ninth.vue index 196847b..0365de6 100644 --- a/src/views/dashboardtest/components/top-center/ninth.vue +++ b/src/views/dashboardtest/components/top-center/ninth.vue @@ -530,12 +530,10 @@ {{ pcsData_9.length > 1 ? pcsData_9[1].value : '' }} {{ pcsData_9.length > 2 ? pcsData_9[2].value : '' }} {{ pcsData_9.length > 3 ? pcsData_9[3].value : '' }} - - diff --git a/src/views/dashboardtest/components/top-center/pv2storage261.vue b/src/views/dashboardtest/components/top-center/pv2storage261.vue index 015c76c..a1001fd 100644 --- a/src/views/dashboardtest/components/top-center/pv2storage261.vue +++ b/src/views/dashboardtest/components/top-center/pv2storage261.vue @@ -54,30 +54,6 @@ stroke="#0094FF" stroke-dasharray="3 3" /> - - - - - {{ truncateText(item.name, 100) }} + {{ truncateText(item.name, 90) }} - - + {{ item.value }} @@ -445,7 +418,7 @@ popper-class="svg-tooltip" > - {{ truncateText(item.name, 100) }} + {{ truncateText(item.name, 90) }} @@ -453,7 +426,7 @@ - + {{ item.value }} @@ -570,20 +543,35 @@ export default { }, mounted() {}, methods: { - truncateText(text, maxWidth) { - if (!text) return '' - const width = this.measureTextWidth(text) - if (width <= maxWidth) return text - - let truncated = text - while (this.measureTextWidth(truncated + '...') > maxWidth && truncated.length > 0) { - truncated = truncated.slice(0, -1) - } - return truncated + (truncated.length < text.length ? '...' : '') + isChineseDominant(text) { + const chineseRegex = /[\u4e00-\u9fa5]/g + const chineseCount = (text.match(chineseRegex) || []).length + return chineseCount / text.length > 0.5 }, - // 精确测量文本渲染宽度(像素) + + // 修改截断逻辑:按字符类型统一视觉宽度 + truncateText(text, baseMaxWidth = 90) { + if (!text) return '' + + // 1. 按文本类型设置“最大可显示字符数”(视觉宽度相近) + const isChinese = this.isChineseDominant(text) + const maxChars = isChinese ? 8 : 15 // 中文8字 ≈ 英文15字母(14px sans-serif下) + + // 2. 先按字符数截断(避免过长文本循环过多) + const truncated = text.slice(0, maxChars) + let finalText = truncated + + // 3. 精确测量:如果截断后加...仍超宽,继续缩减 + while (this.measureTextWidth(finalText + '...') > baseMaxWidth && finalText.length > 0) { + finalText = finalText.slice(0, -1) + } + + // 4. 补充...(如果有截断) + return finalText + (finalText.length < text.length ? '...' : '') + }, + + // 精确测量文本渲染宽度(像素)- 保持不变 measureTextWidth(text, font = '14px sans-serif') { - // 创建或复用一个 canvas(避免重复创建) if (!this._textMeasurementCanvas) { this._textMeasurementCanvas = document.createElement('canvas') } @@ -592,11 +580,12 @@ export default { return ctx.measureText(text).width }, - // 计算 value 的 x 坐标:baseX + name 的实际宽度 + 一点间距 - calculateValueX(name, baseX = 200) { - const truncatedName = this.truncateText(name, 120) // 限制 name 最大宽度 - const width = this.measureTextWidth(truncatedName) - return baseX + width + 6 // +6 是 name 和 value 之间的小空隙 + // 计算value的x坐标:基于统一后的截断文本宽度 + calculateValueX(name, baseX = 205) { + const truncatedName = this.truncateText(name) // 无需传maxWidth,内部统一处理 + const nameWidth = this.measureTextWidth(truncatedName) + const spacing = 6 // 固定间距(因截断文本视觉宽度一致,间距会统一) + return baseX + nameWidth + spacing }, countChineseAndEnglishCharacters(str, x) { var chineseCount = str.match(/[\u4e00-\u9fa5]/g) ? str.match(/[\u4e00-\u9fa5]/g).length : 0 diff --git a/src/views/new-screen-zz-pv/components/SwiperTable.vue b/src/views/new-screen-zz-pv/components/SwiperTable.vue new file mode 100644 index 0000000..47f3493 --- /dev/null +++ b/src/views/new-screen-zz-pv/components/SwiperTable.vue @@ -0,0 +1,265 @@ + + + + diff --git a/src/views/new-screen-zz-pv/components/SwiperTableAlarm.vue b/src/views/new-screen-zz-pv/components/SwiperTableAlarm.vue new file mode 100644 index 0000000..7639e84 --- /dev/null +++ b/src/views/new-screen-zz-pv/components/SwiperTableAlarm.vue @@ -0,0 +1,292 @@ + + + + diff --git a/src/views/new-screen-zz-pv/components/SwiperTableCenter.vue b/src/views/new-screen-zz-pv/components/SwiperTableCenter.vue new file mode 100644 index 0000000..66a25bd --- /dev/null +++ b/src/views/new-screen-zz-pv/components/SwiperTableCenter.vue @@ -0,0 +1,296 @@ + + + + + diff --git a/src/views/new-screen-zz-pv/components/center-bottom.vue b/src/views/new-screen-zz-pv/components/center-bottom.vue new file mode 100644 index 0000000..5a0beea --- /dev/null +++ b/src/views/new-screen-zz-pv/components/center-bottom.vue @@ -0,0 +1,192 @@ + + + + + diff --git a/src/views/new-screen-zz-pv/components/center-top.vue b/src/views/new-screen-zz-pv/components/center-top.vue new file mode 100644 index 0000000..7a84de0 --- /dev/null +++ b/src/views/new-screen-zz-pv/components/center-top.vue @@ -0,0 +1,119 @@ + + + + + diff --git a/src/views/new-screen-zz-pv/components/item-warp.vue b/src/views/new-screen-zz-pv/components/item-warp.vue new file mode 100644 index 0000000..73a9896 --- /dev/null +++ b/src/views/new-screen-zz-pv/components/item-warp.vue @@ -0,0 +1,51 @@ + + + + + diff --git a/src/views/new-screen-zz-pv/components/left-bottom.vue b/src/views/new-screen-zz-pv/components/left-bottom.vue new file mode 100644 index 0000000..5b6a3a0 --- /dev/null +++ b/src/views/new-screen-zz-pv/components/left-bottom.vue @@ -0,0 +1,136 @@ + + + + + diff --git a/src/views/new-screen-zz-pv/components/left-center.vue b/src/views/new-screen-zz-pv/components/left-center.vue new file mode 100644 index 0000000..c156dea --- /dev/null +++ b/src/views/new-screen-zz-pv/components/left-center.vue @@ -0,0 +1,202 @@ + + + + + diff --git a/src/views/new-screen-zz-pv/components/left-top.vue b/src/views/new-screen-zz-pv/components/left-top.vue new file mode 100644 index 0000000..d38d401 --- /dev/null +++ b/src/views/new-screen-zz-pv/components/left-top.vue @@ -0,0 +1,180 @@ + + + + + diff --git a/src/views/new-screen-zz-pv/components/map-center.vue b/src/views/new-screen-zz-pv/components/map-center.vue new file mode 100644 index 0000000..d05fa4c --- /dev/null +++ b/src/views/new-screen-zz-pv/components/map-center.vue @@ -0,0 +1,394 @@ + + + diff --git a/src/views/new-screen-zz-pv/components/right-bottom.vue b/src/views/new-screen-zz-pv/components/right-bottom.vue new file mode 100644 index 0000000..949302a --- /dev/null +++ b/src/views/new-screen-zz-pv/components/right-bottom.vue @@ -0,0 +1,73 @@ + + + + + diff --git a/src/views/new-screen-zz-pv/components/right-center.vue b/src/views/new-screen-zz-pv/components/right-center.vue new file mode 100644 index 0000000..cbde0a5 --- /dev/null +++ b/src/views/new-screen-zz-pv/components/right-center.vue @@ -0,0 +1,68 @@ + + + + + diff --git a/src/views/new-screen-zz-pv/components/right-top.vue b/src/views/new-screen-zz-pv/components/right-top.vue new file mode 100644 index 0000000..e169d68 --- /dev/null +++ b/src/views/new-screen-zz-pv/components/right-top.vue @@ -0,0 +1,244 @@ + + + + + diff --git a/src/views/new-screen-zz-pv/index.vue b/src/views/new-screen-zz-pv/index.vue new file mode 100644 index 0000000..29e82f1 --- /dev/null +++ b/src/views/new-screen-zz-pv/index.vue @@ -0,0 +1,389 @@ + + + + + diff --git a/src/views/revenue-management/pv-earnings-statement/components/loading.vue b/src/views/revenue-management/pv-earnings-statement/components/loading.vue new file mode 100644 index 0000000..0a6b030 --- /dev/null +++ b/src/views/revenue-management/pv-earnings-statement/components/loading.vue @@ -0,0 +1,89 @@ + + + + diff --git a/src/views/revenue-management/pv-earnings-statement/index.vue b/src/views/revenue-management/pv-earnings-statement/index.vue new file mode 100644 index 0000000..136cfa7 --- /dev/null +++ b/src/views/revenue-management/pv-earnings-statement/index.vue @@ -0,0 +1,988 @@ + + + + + diff --git a/src/views/surveillance/standard-215-device-list/components/dcdcmppt/components/center-bottom.vue b/src/views/surveillance/standard-215-device-list/components/dcdcmppt/components/center-bottom.vue new file mode 100644 index 0000000..6ac7544 --- /dev/null +++ b/src/views/surveillance/standard-215-device-list/components/dcdcmppt/components/center-bottom.vue @@ -0,0 +1,255 @@ + + + + diff --git a/src/views/surveillance/standard-215-device-list/components/dcdcmppt/components/center-top.vue b/src/views/surveillance/standard-215-device-list/components/dcdcmppt/components/center-top.vue new file mode 100644 index 0000000..19ba9da --- /dev/null +++ b/src/views/surveillance/standard-215-device-list/components/dcdcmppt/components/center-top.vue @@ -0,0 +1,950 @@ + + + + diff --git a/src/views/surveillance/standard-215-device-list/components/dcdcmppt/components/right.vue b/src/views/surveillance/standard-215-device-list/components/dcdcmppt/components/right.vue new file mode 100644 index 0000000..a6e3b4d --- /dev/null +++ b/src/views/surveillance/standard-215-device-list/components/dcdcmppt/components/right.vue @@ -0,0 +1,106 @@ + + + + diff --git a/src/views/surveillance/standard-215-device-list/components/dcdcmppt/config/config.js b/src/views/surveillance/standard-215-device-list/components/dcdcmppt/config/config.js new file mode 100644 index 0000000..47b813b --- /dev/null +++ b/src/views/surveillance/standard-215-device-list/components/dcdcmppt/config/config.js @@ -0,0 +1,439 @@ +export const pcsRightData = [ + { + label: '总报警状态', + englabel: 'PCS Total Alarm Status', + field: 'YX0012', + value: '' + }, + + { + label: '单元直压故障', + englabel: 'Unit direct pressure failure', + field: 'YX0007', + value: '' + }, + { + label: '开关电源欠压', + englabel: 'Switching power supply is undervoltaged', + field: 'YX0010', + value: '' + }, + { + label: '过温故障', + englabel: 'Overtemperature failure', + field: 'YX0015', + value: '' + }, + { + label: '系统相序错误', + englabel: 'The system phase sequence is incorrect', + field: 'YX0031', + value: '' + }, + { + label: '直流极性反接', + englabel: 'DC polarity reversed', + field: 'YX0032', + value: '' + }, + { + label: '直流母线软件过压', + englabel: 'DC bus software overvoltage', + field: 'YX0033', + value: '' + }, + { + label: '直流母线软件欠压', + englabel: 'DC bus software undervoltage', + field: 'YX0034', + value: '' + }, + { + label: '系统过频率', + englabel: 'The frequency of the system is over-frequent', + field: 'YX0035', + value: '' + }, + { + label: '系统欠频率', + englabel: 'System underfrequency', + field: 'YX0036', + value: '' + }, + { + label: '直流充电过流', + englabel: 'DC charging overcurrent', + field: 'YX0037', + value: '' + }, + { + label: '直流放电过流', + englabel: 'DC discharge overcurrent', + field: 'YX0038', + value: '' + }, + { + label: '孤岛保护', + englabel: 'Island protection', + field: 'YX0039', + value: '' + }, + { + label: '直流主接合闸故障', + englabel: 'DC main connection and closing fault', + field: 'YX0045', + value: '' + }, + { + label: '直流主接分闸故障', + englabel: 'DC main connection opening fault', + field: 'YX0046', + value: '' + }, + { + label: '直流软启合闸故障', + englabel: 'DC soft start and close fault', + field: 'YX0047', + value: '' + }, + { + label: '直流软启分闸故障', + englabel: 'DC soft start opening fault', + field: 'YX0048', + value: '' + }, + { + label: '直流软起失败', + englabel: 'DC soft start failed', + field: 'YX0050', + value: '' + }, + { + label: '起机条件不满足', + englabel: 'The starting conditions are not met', + field: 'YX0053', + value: '' + }, + { + label: '运行中开关故障', + englabel: 'Faulty switch during operation', + field: 'YX0054', + value: '' + }, + { + label: '逆变启动超时', + englabel: 'The inverter startup timed out', + field: 'YX0055', + value: '' + }, + { + label: '参数下发设置错误', + englabel: 'The parameter delivery setting is incorrect', + field: 'YX0056', + value: '' + }, + { + label: '通讯故障', + englabel: 'Communication failures', + field: 'YX0057', + value: '' + }, + { + label: '温度异常', + englabel: 'Abnormal temperature', + field: 'YX0058', + value: '' + }, + { + label: '跳机', + englabel: 'Jump', + field: 'YX0059', + value: '' + }, + { + label: 'DCDC通讯故障', + englabel: 'DCDC communication failure', + field: 'YX0061', + value: '' + }, + { + label: 'EMS通讯故障', + englabel: 'EMS communication failure', + field: 'YX0062', + value: '' + }, + { + label: '急停故障', + englabel: 'Emergency stop or melt core failure', + field: 'YX0063', + value: '' + }, + { + label: '母线不平衡异常', + englabel: 'The bus bar is unbalanced and abnormal', + field: 'YX0068', + value: '' + }, + { + label: '母线半直压过压', + englabel: 'The bus bar is semi-directly pressed and overpressed', + field: 'YX0069', + value: '' + }, + { + label: '启动超时', + englabel: 'Startup timed out', + field: 'YX0070', + value: '' + } + +] + +export const pcsLeftTopData = [ + { + label: 'BAT电压', + englabel: 'BAT voltage', + field: 'outputPower', + value: '0', + unit: 'V' + }, + { + label: 'BAT电流', + field: 'reactivePowerPCS', + englabel: 'BAT current', + value: '0', + unit: 'A' + }, + { + label: 'BUS电压', + englabel: 'BUS voltage', + field: 'grid', + value: '0', + unit: 'V' + }, + + { + label: 'BUS电流', + englabel: 'BUS current', + field: 'volA', + value: '0', + unit: 'A' + } + +] +// export const pcsLeftTopData = [ +// { +// label: 'Pac', +// field: 'outputPower', +// value: '0', +// unit: 'kW' +// }, +// { +// label: 'Qac', +// field: 'reactivePowerPCS', +// value: '0', +// unit: 'kVar' +// }, +// { +// label: 'Freq', +// field: 'grid', +// value: '0', +// unit: 'Hz' +// }, + +// { +// label: 'Uab', +// field: 'volA', +// value: '0', +// unit: 'V' +// }, +// { +// label: 'Ubc', +// field: 'volB', +// value: '0', +// unit: 'V' +// }, +// { +// label: 'Uca', +// field: 'volC', +// value: '0', +// unit: 'V' +// }, +// { +// label: 'Ia', +// field: 'currentA', +// value: '0', +// unit: 'A' +// }, +// { +// label: 'Ib', +// field: 'currentB', +// value: '0', +// unit: 'A' +// }, +// { +// label: 'Ic', +// field: 'currentC', +// value: '0', +// unit: 'A' +// } + +// ] + +// export const pcsLeftBottomData = [ +// { +// label: 'Udc', +// field: 'dcPower', +// value: '0', +// unit: 'kW' +// }, +// { +// label: 'Idc', +// field: 'dcCurrent', +// value: '0', +// unit: 'A' +// }, +// { +// label: 'Pdc', +// field: 'dcInputVol', +// value: '0', +// unit: 'V' +// } + +// ] +export const pcsLeftBottomData1 = [ + { + label: '运行功率', + englabel: 'operating power', + field: 'dcPower', + value: '0', + unit: 'kW' + }, + { + label: '直流电压', + englabel: 'DC voltage', + field: 'dcInputVol', + value: '0', + unit: 'V' + }, + { + label: '直流电流', + englabel: 'DC current', + field: 'dcCurrent', + value: '0', + unit: 'A' + } + +] + +export const pcsLeftBottomData2 = [ + { + label: '直流功率', + englabel: 'DC power', + field: 'dcPower', + value: '0', + unit: 'kW' + }, + { + label: '直流电压', + englabel: 'DC voltage', + field: 'dcInputVol', + value: '0', + unit: 'V' + }, + { + label: '直流电流', + englabel: 'DC current', + field: 'dcCurrent', + value: '0', + unit: 'A' + }, + { + label: 'pcs模块温度', + englabel: 'PCS module temperature', + field: 'radiatorTemperature', + value: '0', + unit: '℃' + } + +] + +export const pcsCenterDataStatus = [ + { + label: '运行状态', + englabel: 'Run state', + field: 'runState', + value: '' + }, + { + label: '远方/就地状态', + englabel: 'Distance/Local State', + field: 'remoteInPlace', + value: '' + }, + { + label: '并网', + englabel: 'Grid', + field: 'onGrid', + value: '' + }, + { + label: '离网', + englabel: 'Off-grid', + field: 'offGrid', + value: '' + }, + + { + label: '充电状态', + englabel: 'Charge state', + field: 'stateCharging', + value: '' + }, + { + label: '放电状态', + englabel: 'Discharge state', + field: 'stateDischarging', + value: '' + }, { + label: '待机', + englabel: 'Standby', + field: 'deviceStateStand', + value: '' + }, { + label: '故障', + englabel: 'Fault', + field: 'deviceStateFault', + value: '' + }, + { + label: '充满', + englabel: 'Full', + field: 'deviceStateFull', + value: '' + }, + { + label: '放空', + englabel: 'Empty', + field: 'deviceStateEmpty', + value: '' + }, + { + label: '直流断路器', + englabel: 'DC breaker', + field: 'dcBreaker', + value: '' + }, + { + label: '紧急停机', + englabel: 'Emergent shutdown', + field: 'eStop', + value: '' + }, + { + label: 'SOC', + field: 'soc', + value: '' + } + +] diff --git a/src/views/surveillance/standard-215-device-list/components/dcdcmppt/index.vue b/src/views/surveillance/standard-215-device-list/components/dcdcmppt/index.vue new file mode 100644 index 0000000..b68f371 --- /dev/null +++ b/src/views/surveillance/standard-215-device-list/components/dcdcmppt/index.vue @@ -0,0 +1,121 @@ + + + + + diff --git a/src/views/surveillance/standard-215-device-list/index.vue b/src/views/surveillance/standard-215-device-list/index.vue index 36b4b13..3ef3658 100644 --- a/src/views/surveillance/standard-215-device-list/index.vue +++ b/src/views/surveillance/standard-215-device-list/index.vue @@ -18,6 +18,7 @@ // 电池堆 import Left from './components/left.vue' import PCS from './components/pcs/index.vue' +import DCDCMPPT from './components/dcdcmppt/index.vue' import RingMainUnit from './components/ring-main-unit/index.vue' import CLUSTER from './components/cluster/index.vue' @@ -33,7 +34,7 @@ import OPTICALSTORAGE from './components/optical-storage/index.vue' import DIESELGENERATORS from './components/diesel-generators/index.vue' import NABATTERY from './components/na-battery/index.vue' export default { - components: { Left, PCS, LIQUIDCLUSTER, DIESELGENERATORS, RingMainUnit, CLUSTER, STACK, AIRCONDITION, STORAGEFIRE, ElectricityMeter, GROUP, LIQUID, FIRE, OPTICALSTORAGE, NABATTERY }, + components: { Left, PCS, DCDCMPPT, LIQUIDCLUSTER, DIESELGENERATORS, RingMainUnit, CLUSTER, STACK, AIRCONDITION, STORAGEFIRE, ElectricityMeter, GROUP, LIQUID, FIRE, OPTICALSTORAGE, NABATTERY }, props: {}, data() { return { @@ -85,12 +86,19 @@ export default { methods: { getDeviceNode(node) { const self = this + console.log(node.deviceType) + if (node.deviceType) { if (node.deviceType.includes('pcs') && !this.isBoShi(node.stationId)) { this.currentComponent = 'PCS' self.$nextTick(() => { self.$refs[self.currentComponent].getData(node.srcId) }) + } else if (node.deviceType.includes('mttp') || node.deviceType.includes('mppt')) { + this.currentComponent = 'DCDCMPPT' + self.$nextTick(() => { + self.$refs[self.currentComponent].getData(node.srcId) + }) } else if (node.deviceType.includes('emu')) { this.currentComponent = 'RingMainUnit' self.$nextTick(() => { diff --git a/vue.config.js b/vue.config.js index 90013c8..265ee41 100644 --- a/vue.config.js +++ b/vue.config.js @@ -6,7 +6,7 @@ function resolve(dir) { return path.join(__dirname, dir) } -const name = defaultSettings.title || '中自新能源' // page title +const name = defaultSettings.title || '中自能源' // page title // If your port is set to 80, // use administrator privileges to execute the command line.