mixdashboards 1.0.74 → 1.0.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BaseComponent-BmhMoM4H.cjs +1 -0
- package/dist/{BaseComponent-NnwLq7Cf.js → BaseComponent-CQaDWNO0.js} +10 -10
- package/dist/{EChartComponentBase-D7_ZiE7P.cjs → EChartComponentBase-D9EUh4BZ.cjs} +1 -1
- package/dist/{EChartComponentBase-C3gcATBZ.js → EChartComponentBase-i76OGL3z.js} +2 -2
- package/dist/{EmergencyPlanPanel-0EfbQlQm.js → EmergencyPlanPanel-B9S3Ru5-.js} +1 -1
- package/dist/{EmergencyPlanPanel-XDtQc5aN.cjs → EmergencyPlanPanel-BiAHvTfh.cjs} +1 -1
- package/dist/{HistoryPlanDialog-fbBtPeVt.cjs → HistoryPlanDialog-BU4GayEm.cjs} +1 -1
- package/dist/{HistoryPlanDialog-ihGqWXNI.js → HistoryPlanDialog-CbbeFm-i.js} +1 -1
- package/dist/{MonitoringMap-DysFrw3B.js → MonitoringMap-B6tXBdvK.js} +2 -2
- package/dist/{MonitoringMap-UT2OL3ca.cjs → MonitoringMap-FGDoA0fw.cjs} +1 -1
- package/dist/{UniverSheet-DeZ-y5mH.cjs → UniverSheet-D7y2pceH.cjs} +1 -1
- package/dist/{UniverSheet-CMWL98B8.js → UniverSheet-D8sflrTb.js} +2 -2
- package/dist/{accelerationChart-BGjzOc4I.cjs → accelerationChart-DTlwSA0N.cjs} +1 -1
- package/dist/{accelerationChart-JNRxAqU5.js → accelerationChart-bch4O3t-.js} +9 -9
- package/dist/{actionItem-DnrNafUu.js → actionItem-Cw67YwsR.js} +2 -2
- package/dist/{actionItem-DDlL4pxR.cjs → actionItem-cdsgUvaC.cjs} +1 -1
- package/dist/{alarmLevelChart-B4TglthF.cjs → alarmLevelChart-BMjTLxB5.cjs} +1 -1
- package/dist/{alarmLevelChart-D4ZPyGyd.js → alarmLevelChart-BynSRHG2.js} +2 -2
- package/dist/{alertTable-WmivR3n_.cjs → alertTable-3VhkUZSf.cjs} +1 -1
- package/dist/{alertTable-IwL3PIbe.js → alertTable-CiwuaydQ.js} +2 -2
- package/dist/{aliasObjectSelectorDemo-zcElLG44.cjs → aliasObjectSelectorDemo-BLoecZkV.cjs} +1 -1
- package/dist/{aliasObjectSelectorDemo-DCcqetww.js → aliasObjectSelectorDemo-DfdRxb4I.js} +1 -1
- package/dist/{annualRainfallChart-CNqrXKJZ.js → annualRainfallChart-CHcr4-0D.js} +2 -2
- package/dist/{annualRainfallChart-DspMrDxt.cjs → annualRainfallChart-DKR-A_PT.cjs} +1 -1
- package/dist/{aqi-B1bcKY5p.cjs → aqi-D7VqP1QE.cjs} +1 -1
- package/dist/{aqi-CdGE9-CD.js → aqi-Gu-pAovO.js} +4 -4
- package/dist/{aqiIndass-CuKfMaYn.js → aqiIndass-Bjj6n1aj.js} +18 -18
- package/dist/{aqiIndass-BZpPo1tj.cjs → aqiIndass-nfYUZ3UM.cjs} +1 -1
- package/dist/{areaDeformCurve-bNNNS8Cb.cjs → areaDeformCurve-fpGWmq05.cjs} +1 -1
- package/dist/{areaDeformCurve-Chn4CE8w.js → areaDeformCurve-nwlcUBDv.js} +2 -2
- package/dist/arrayCard-TfcgLrHv.js +139 -0
- package/dist/arrayCard-UoDqAGbN.cjs +1 -0
- package/dist/{audio-YTfr7Lqf.js → audio-BYgGYoEr.js} +2 -2
- package/dist/{audio-BeYg08W5.cjs → audio-DdUv9Ot-.cjs} +1 -1
- package/dist/bar-CkBXc7t1.cjs +2 -0
- package/dist/{bar-YhAAV2al.js → bar-SfGiFl1r.js} +75 -67
- package/dist/{bmp-Uj7Bu61U.js → bmp-BbtdzIrI.js} +2 -2
- package/dist/{bmp-vWIH5Cu7.cjs → bmp-CY-Hb2x1.cjs} +1 -1
- package/dist/{box-Cdzw27uU.cjs → box-B4C_mirv.cjs} +1 -1
- package/dist/{box-C8RIfuID.js → box-CV41cJuX.js} +2 -2
- package/dist/{chartConfigPanel-DLa3heKy.js → chartConfigPanel-D650rSn7.js} +1 -1
- package/dist/{chartConfigPanel-D3voTkdQ.cjs → chartConfigPanel-DBlqAbbH.cjs} +1 -1
- package/dist/{circleBar-Dc_qd4gk.cjs → circleBar-DkV7xPBl.cjs} +1 -1
- package/dist/{circleBar-DUSP-iMF.js → circleBar-U3iXMQr5.js} +2 -2
- package/dist/{clock-0USfNfTc.cjs → clock-CjgMeOhp.cjs} +1 -1
- package/dist/{clock-Dk1zjBcJ.js → clock-zKVUU8pu.js} +2 -2
- package/dist/clt-BsIA-YPQ.js +301 -0
- package/dist/clt-DwI8i7zI.cjs +1 -0
- package/dist/cmc-BX9ichBB.cjs +1 -0
- package/dist/cmc-CgpHejR2.js +275 -0
- package/dist/{cmp-D4ZO7mz7.js → cmp-CS34lG7V.js} +2 -2
- package/dist/{cmp-BPM8lMqg.cjs → cmp-CTqtxzo4.cjs} +1 -1
- package/dist/{conclusionCard-BYR-fH4f.js → conclusionCard-N6pA6Q9P.js} +2 -2
- package/dist/{conclusionCard-BVHHtpxH.cjs → conclusionCard-wvtJmV_8.cjs} +1 -1
- package/dist/{controlList-DsEyes9v.cjs → controlList-BUAMdHA3.cjs} +1 -1
- package/dist/{controlList-DYV1wgUY.js → controlList-Zz5ABe5b.js} +2 -2
- package/dist/{controlRecordList-j0pBrQiU.cjs → controlRecordList-CMR4y_Ml.cjs} +1 -1
- package/dist/{controlRecordList-CBGpB41d.js → controlRecordList-Dx0zj7js.js} +2 -2
- package/dist/controlRecordListAPP-ZDCKmz_8.cjs +1 -0
- package/dist/controlRecordListAPP-bL9oqWzQ.js +569 -0
- package/dist/{crd-C8IqmHc6.cjs → crd-8tMwNlgx.cjs} +1 -1
- package/dist/{crd-Di7EfiY1.js → crd-DZPpD6XY.js} +2 -2
- package/dist/{ctrBtn-BzMHJHA9.js → ctrBtn-6Ql9ulTr.js} +3 -3
- package/dist/{ctrBtn-Cj-AqUKM.cjs → ctrBtn-eCu0UDtW.cjs} +1 -1
- package/dist/{ctrSet-DMkuRDFI.js → ctrSet-BwFVH1Mk.js} +51 -50
- package/dist/{ctrSet-CnDBng-I.cjs → ctrSet-pX-zVivo.cjs} +1 -1
- package/dist/{ctrSwitch-BRfl35Aw.cjs → ctrSwitch-D95SI-aJ.cjs} +1 -1
- package/dist/{ctrSwitch-FJgD05b0.js → ctrSwitch-b6hHf4QF.js} +3 -3
- package/dist/{dataManagement-CXbeNggN.cjs → dataManagement-DubA1TV1.cjs} +1 -1
- package/dist/{dataManagement-CQoqc9Rh.js → dataManagement-VucRLCK4.js} +2 -2
- package/dist/{dataReport-l2SE8HZx.js → dataReport-CALIw14D.js} +2 -2
- package/dist/{dataReport-BkIDOCdC.cjs → dataReport-CkF5J7X1.cjs} +1 -1
- package/dist/{dataTable-jf6qXfJJ.js → dataTable-C1rBH_p9.js} +1 -1
- package/dist/{dataTable-BdttKfHG.cjs → dataTable-C2q_CX5D.cjs} +1 -1
- package/dist/{datetime-eht4XkmD.js → datetime-Cq8scz5Q.js} +2 -2
- package/dist/{datetime-BH9orUUf.cjs → datetime-TBTeWqlf.cjs} +1 -1
- package/dist/{deepClusterSlipSurface-CF_MN7sO.cjs → deepClusterSlipSurface-CFaxRVmM.cjs} +1 -1
- package/dist/{deepClusterSlipSurface-D2d52L50.js → deepClusterSlipSurface-Cm50wbjv.js} +13 -13
- package/dist/{deepDataMatrix-DqbCqz8d.cjs → deepDataMatrix-CAYSav3X.cjs} +1 -1
- package/dist/{deepDataMatrix-DY1WmgGR.js → deepDataMatrix-DyStA98d.js} +13 -13
- package/dist/{deepDisplacement3D-D3-KOmef.cjs → deepDisplacement3D-B3Iju2KK.cjs} +1 -1
- package/dist/{deepDisplacement3D-CuVVhd0X.js → deepDisplacement3D-Bat-Wc3i.js} +2 -2
- package/dist/{deepDisplacementChart-BwBojI9h.cjs → deepDisplacementChart-C-Tr4DdI.cjs} +1 -1
- package/dist/{deepDisplacementChart-DzikjpBz.cjs → deepDisplacementChart-CX9ALM89.cjs} +1 -1
- package/dist/{deepDisplacementChart-C_3eHTmR.js → deepDisplacementChart-CYMpNu_W.js} +3 -3
- package/dist/{deepDisplacementChart-DFosjAQL.js → deepDisplacementChart-D5rHoC9r.js} +26 -26
- package/dist/{deepDisplacementView-gJdi6U9B.cjs → deepDisplacementView-DTSsODJQ.cjs} +1 -1
- package/dist/{deepDisplacementView-BNQaheci.js → deepDisplacementView-DnjwQmEW.js} +1 -1
- package/dist/{deepNodeTemperatureChart-oMknBT7e.cjs → deepNodeTemperatureChart-C9NRJ49Y.cjs} +1 -1
- package/dist/{deepNodeTemperatureChart-C5d-tyOA.js → deepNodeTemperatureChart-CLKg72UA.js} +2 -2
- package/dist/{deepTangentAngleChart-C7b7sEab.cjs → deepTangentAngleChart-C9aFSFrD.cjs} +1 -1
- package/dist/{deepTangentAngleChart-C35d0nBR.js → deepTangentAngleChart-DklHYHhm.js} +2 -2
- package/dist/{deepTemperatureField-BnWHpVPm.cjs → deepTemperatureField-CXBL4_LS.cjs} +1 -1
- package/dist/{deepTemperatureField-DbGy0vHS.js → deepTemperatureField-CcnVGgbf.js} +3 -3
- package/dist/{deepTrendChart-DdCYjiWZ.js → deepTrendChart-De7ebpk4.js} +2 -2
- package/dist/{deepTrendChart-D676owsq.cjs → deepTrendChart-OGW08BX-.cjs} +1 -1
- package/dist/{deviceOnlineStatus-DSuaeFZj.cjs → deviceOnlineStatus-DarcMtY4.cjs} +1 -1
- package/dist/{deviceOnlineStatus-BH-2-UBD.js → deviceOnlineStatus-_3Txb8Tg.js} +2 -2
- package/dist/{deviceStatus-ySE9suGE.cjs → deviceStatus-BiJw8rnz.cjs} +1 -1
- package/dist/{deviceStatus-CxjbfqGK.js → deviceStatus-CL6E-pQ0.js} +12 -12
- package/dist/{displacementDataTable-DwutxypE.cjs → displacementDataTable-DmAqr-JK.cjs} +1 -1
- package/dist/{displacementDataTable-CAYYafN7.js → displacementDataTable-tKtGe2xd.js} +17 -17
- package/dist/{displacementTrajectoryChart-zya-qu9n.cjs → displacementTrajectoryChart-DG2YdSqq.cjs} +1 -1
- package/dist/{displacementTrajectoryChart-ClUAsle_.js → displacementTrajectoryChart-Dh6oPB0p.js} +31 -31
- package/dist/{displacementTrendChart-xqe9LMp8.js → displacementTrendChart-BHORe0qO.js} +40 -40
- package/dist/{displacementTrendChart-DZj52qRD.cjs → displacementTrendChart-CT140vXG.cjs} +1 -1
- package/dist/{dxf-Cmr9xmL0.cjs → dxf-CVa4Vfm3.cjs} +1 -1
- package/dist/{dxf-tZgpovsn.js → dxf-CjcHSJq-.js} +2 -2
- package/dist/{dzc-C0VMyvsH.js → dzc-DDXNSuie.js} +6 -6
- package/dist/{dzc-BwCEpLKp.cjs → dzc-DK16oTVj.cjs} +1 -1
- package/dist/{emergencyPlan-CQtYRB5n.cjs → emergencyPlan-D0AMuD-3.cjs} +1 -1
- package/dist/{emergencyPlan-j1icRflR.js → emergencyPlan-Vim4E6h7.js} +3 -3
- package/dist/evn-CdMN8gIC.js +165 -0
- package/dist/evn-D2mdSoFB.cjs +1 -0
- package/dist/{evolutionChart-q9UtSs9r.cjs → evolutionChart-I8XVW05I.cjs} +1 -1
- package/dist/{evolutionChart-C1rPjVsB.js → evolutionChart-P0l6P0Bc.js} +3 -3
- package/dist/{fileViewer-ZO55zvWU.cjs → fileViewer-D7sAA8-W.cjs} +1 -1
- package/dist/{fileViewer-Bj4FYg5G.js → fileViewer-DvntGv0b.js} +2 -2
- package/dist/{filterBar-CIYpcc9y.js → filterBar-8gex5oR-.js} +2 -2
- package/dist/{filterBar-D7js_Q7g.cjs → filterBar-GSTji96g.cjs} +1 -1
- package/dist/{fireCombustionCurve-DEHjb7Lp.js → fireCombustionCurve-B3jAhOft.js} +3 -3
- package/dist/{fireCombustionCurve-CiVXjt9E.cjs → fireCombustionCurve-DrMmHf3N.cjs} +1 -1
- package/dist/{fireFilterBar-BzgnlY5d.js → fireFilterBar-CH6iK0Xg.js} +2 -2
- package/dist/{fireFilterBar-CkQU9Yaf.cjs → fireFilterBar-Dy9DcHij.cjs} +1 -1
- package/dist/{fireHistoryTable-BoAArvjx.js → fireHistoryTable-CHxHqPs0.js} +2 -2
- package/dist/{fireHistoryTable-JCY4nLos.cjs → fireHistoryTable-n6L3juWp.cjs} +1 -1
- package/dist/{gag-DCGVulGC.js → gag-BsO4kmp1.js} +2 -2
- package/dist/{gag-CrUeBa30.cjs → gag-BzjuwBvY.cjs} +1 -1
- package/dist/gasStationList-7JzUcISs.js +1325 -0
- package/dist/gasStationList-QwqTDEAG.cjs +1 -0
- package/dist/{geo3dViewer-BSAjBg2m.cjs → geo3dViewer-Cf-jHpvF.cjs} +1 -1
- package/dist/{geo3dViewer-Du775tJ7.js → geo3dViewer-doEpUC_J.js} +3 -3
- package/dist/{glbModel-2uTNL367.js → glbModel-BgFIj_es.js} +2 -2
- package/dist/{glbModel-Cm1M6hko.cjs → glbModel-C6L--3dO.cjs} +1 -1
- package/dist/{globalObjectSelector-CEpO2o2w.js → globalObjectSelector-CdfiXRjg.js} +1 -1
- package/dist/{globalObjectSelector-W_YToM6x.cjs → globalObjectSelector-P_irB0rv.cjs} +1 -1
- package/dist/{gnssFilterBar-BSHEfiyz.cjs → gnssFilterBar-CIwyv2yc.cjs} +1 -1
- package/dist/{gnssFilterBar-DZYOL5nC.js → gnssFilterBar-DPNshMIx.js} +2 -2
- package/dist/{gnssHistoryTable-naChmXHT.js → gnssHistoryTable-C7x4-Tpp.js} +2 -2
- package/dist/{gnssHistoryTable-Ct98Vz6i.cjs → gnssHistoryTable-j5FL6oYs.cjs} +1 -1
- package/dist/{gnssMapView-DouWOPLF.js → gnssMapView-BWcS4hqj.js} +4 -4
- package/dist/{gnssMapView-CCW4_-Sn.cjs → gnssMapView-_VaJWBcE.cjs} +2 -2
- package/dist/{gnssSectionProfile-hzXQ4KzJ.cjs → gnssSectionProfile-DGbTO7lV.cjs} +1 -1
- package/dist/{gnssSectionProfile-Be-THvQP.js → gnssSectionProfile-hpyiGI-6.js} +2 -2
- package/dist/{gnssTimeSeriesChart-CbMxKxjG.cjs → gnssTimeSeriesChart-CNT6xaNs.cjs} +1 -1
- package/dist/{gnssTimeSeriesChart-DoMBz4zf.js → gnssTimeSeriesChart-rL9oG1ly.js} +2 -2
- package/dist/{gnssXYTrajectory-Bg2B89Vw.js → gnssXYTrajectory-B1LZAepw.js} +2 -2
- package/dist/{gnssXYTrajectory-BNwqQna4.cjs → gnssXYTrajectory-CwAjhPRc.cjs} +1 -1
- package/dist/{grd-XTVPofQw.js → grd-BLab9IY0.js} +26 -26
- package/dist/{grd-C-x23C0E.cjs → grd-rJXqEimt.cjs} +1 -1
- package/dist/{grdIndass-CYawTr5K.js → grdIndass-gGrZ7gRV.js} +2 -2
- package/dist/{grdIndass-h7STZwba.cjs → grdIndass-niY4UOwz.cjs} +1 -1
- package/dist/{grg-DMRsgNoC.cjs → grg-C1L5yeyY.cjs} +1 -1
- package/dist/{grg-BZPHOdr_.js → grg-Dnro7bLg.js} +6 -6
- package/dist/{gridview-C_Lqcw3n.js → gridview-BhjWlD0J.js} +2 -2
- package/dist/{gridview-BAqXV-TI.cjs → gridview-DxUsv2ny.cjs} +1 -1
- package/dist/{groundwaterFilterBar-RcVBt_vt.cjs → groundwaterFilterBar-C-2e7S04.cjs} +1 -1
- package/dist/{groundwaterFilterBar-Dq216QFO.js → groundwaterFilterBar-bNhTkX1C.js} +2 -2
- package/dist/{groundwaterProfileChart-D31MpfdN.cjs → groundwaterProfileChart-BxKGPuOe.cjs} +2 -2
- package/dist/{groundwaterProfileChart-7LN3wfLM.js → groundwaterProfileChart-dhzmwfwz.js} +3 -3
- package/dist/{groundwaterTimeCurve-CJgvt43Z.js → groundwaterTimeCurve-BtzP6icm.js} +3 -3
- package/dist/{groundwaterTimeCurve-C65gdinn.cjs → groundwaterTimeCurve-CTQPlTUr.cjs} +1 -1
- package/dist/{groupCard-BpjcijZW.js → groupCard-D00ElZoy.js} +63 -53
- package/dist/{groupCard-DNOawK4_.cjs → groupCard-D4gdaVqR.cjs} +1 -1
- package/dist/{headerBar-Bnv8ylmr.js → headerBar-DEHj8fJr.js} +2 -2
- package/dist/{headerBar-CNWKR951.cjs → headerBar-MFw1W0qa.cjs} +1 -1
- package/dist/{history-DdkBOj8L.js → history-BRkb914v.js} +22 -22
- package/dist/{history-xZTq1lUB.cjs → history-D1R2RAZQ.cjs} +1 -1
- package/dist/index-77aUdspY.cjs +612 -0
- package/dist/{index-D5BukPPY.js → index-BZpYmpDy.js} +3511 -3043
- package/dist/{insarDeformChart-DIvxdDkN.cjs → insarDeformChart-5EVWIkpL.cjs} +1 -1
- package/dist/{insarDeformChart-BKgJHbFe.js → insarDeformChart-pbOnnoN-.js} +2 -2
- package/dist/{insarImageViewer-qI5GBqkU.js → insarImageViewer-D3bbQA6g.js} +2 -2
- package/dist/{insarImageViewer-Bray3mKg.cjs → insarImageViewer-DQJBN4YM.cjs} +1 -1
- package/dist/{kds-BibvGW1n.cjs → kds-D5seJB3L.cjs} +1 -1
- package/dist/{kds-C1Chb0fa.js → kds-gTJOwHbM.js} +2 -2
- package/dist/{kpiCard-tnfcEXOn.cjs → kpiCard-Bz-fg6sL.cjs} +1 -1
- package/dist/{kpiCard-KuMZjN55.js → kpiCard-Cx6VNK6L.js} +2 -2
- package/dist/{landslideMap-B4vzymkZ.js → landslideMap-5erIcZo7.js} +3 -3
- package/dist/{landslideMap-DlMSDibx.cjs → landslideMap-D7_QpwmM.cjs} +1 -1
- package/dist/{landslideWarning-DtOMb7U_.cjs → landslideWarning-C3FZqrxT.cjs} +1 -1
- package/dist/{landslideWarning-BYlaEzUr.js → landslideWarning-CzaddgWf.js} +14 -14
- package/dist/{layerTabs-DQm_b2aH.cjs → layerTabs-Dc1Xb11W.cjs} +1 -1
- package/dist/{layerTabs-BG0gTvo8.js → layerTabs-DqbOykS2.js} +2 -2
- package/dist/{leaflet-src-DVXepwmU.js → leaflet-src-BY2SMh9y.js} +1 -1
- package/dist/{leaflet-src-qPfpknMO.cjs → leaflet-src-Brb8KUL5.cjs} +1 -1
- package/dist/{lerc-Z6kWrF7V.js → lerc-Chm_GVte.js} +2 -2
- package/dist/{lerc-CITZZDb7.cjs → lerc-DGuyYCKG.cjs} +1 -1
- package/dist/{lin-CW8Q8u-z.cjs → lin-8x2j8aGa.cjs} +1 -1
- package/dist/{lin-zJYjIE2f.js → lin-tqtSA5ci.js} +5 -5
- package/dist/{linIndass-27mWriLs.js → linIndass-DHFymSVI.js} +10 -10
- package/dist/{linIndass-CQaikC7I.cjs → linIndass-Dxo_bzrZ.cjs} +1 -1
- package/dist/{lst-Cu-ohx2m.cjs → lst-BV6EbDPs.cjs} +1 -1
- package/dist/{lst-BqXNkXrQ.js → lst-BejIuO0f.js} +2 -2
- package/dist/{manualEntry-zj6TEXL7.cjs → manualEntry-Bt4cs6kn.cjs} +1 -1
- package/dist/{manualEntry-BPEmSok7.js → manualEntry-DObI0OAq.js} +2 -2
- package/dist/{mapBackground-BhcSOZ_h.js → mapBackground-Cuym5Dqr.js} +3 -3
- package/dist/{mapBackground-CRI873EC.cjs → mapBackground-oVOBK3zr.cjs} +1 -1
- package/dist/{mappingList-DGgPl4t4.cjs → mappingList-BEWAqLd4.cjs} +1 -1
- package/dist/{mappingList-CvG8EIIC.js → mappingList-Dzq0zMfs.js} +2 -2
- package/dist/{markdownViewer-D9JqGyeI.js → markdownViewer-Bz50jkb6.js} +2 -2
- package/dist/{markdownViewer-DvbUv7kn.cjs → markdownViewer-V5b1xhPh.cjs} +1 -1
- package/dist/{mix-control-modal-DaRWnX3S.js → mix-control-modal-DzVLdO3S.js} +1 -1
- package/dist/{mix-control-modal-DpAs-GHi.cjs → mix-control-modal-I6DqPm04.cjs} +1 -1
- package/dist/{mixGrid-CHne1dXO.cjs → mixGrid-_ur8VKLD.cjs} +1 -1
- package/dist/{mixGrid-FBiMFT4V.js → mixGrid-tVSdKPms.js} +2 -2
- package/dist/mixdashboards.cjs +1 -1
- package/dist/mixdashboards.css +1 -1
- package/dist/mixdashboards.js +1 -1
- package/dist/mixiotObjectListApi-BUQ-RZ3L.cjs +1 -0
- package/dist/mixiotObjectListApi-D5vNNWgT.js +212 -0
- package/dist/{mjpegCamera-D32gJ5oN.cjs → mjpegCamera-CjWe8BEK.cjs} +1 -1
- package/dist/{mjpegCamera-D2quqZNc.js → mjpegCamera-DnAPpFJU.js} +2 -2
- package/dist/{monitorAlert-D4qszzHh.js → monitorAlert-B-fTYPn6.js} +15 -15
- package/dist/{monitorAlert-CxC81qAu.cjs → monitorAlert-qmVSQ1lc.cjs} +1 -1
- package/dist/{monitorData-DnWDsgTT.js → monitorData-Dopc660L.js} +7 -7
- package/dist/{monitorData-CVkL2ukF.cjs → monitorData-YhGSUq3H.cjs} +1 -1
- package/dist/{monitorSpeedChart-CKxwWE0i.cjs → monitorSpeedChart-Brj_YHsO.cjs} +1 -1
- package/dist/{monitorSpeedChart-CHpQsrDt.js → monitorSpeedChart-Dsvr_QPB.js} +1 -1
- package/dist/{mxa-UU7rQDd8.cjs → mxa-BzdI7BLB.cjs} +1 -1
- package/dist/{mxa-Cbnwonqc.js → mxa-D4WkyBYZ.js} +7 -7
- package/dist/{myValue-DzARZpdg.cjs → myValue-C0tq-asC.cjs} +1 -1
- package/dist/{myValue-DBxx1jtk.js → myValue-DYtBtOJ2.js} +2 -2
- package/dist/{myValueList-BVbeDsWn.cjs → myValueList-BJctRTNd.cjs} +1 -1
- package/dist/{myValueList-BbtPVr5y.js → myValueList-Ddpn1S68.js} +2 -2
- package/dist/objectList-Csf0hVwo.cjs +1 -0
- package/dist/objectList-G4wXFDwe.js +2040 -0
- package/dist/{objectListAPP-CYxy9UjL.js → objectListAPP-BrmUj4At.js} +49 -51
- package/dist/objectListAPP-UZN4iuTn.cjs +1 -0
- package/dist/{photo-DPOhq559.js → photo-BEPeK7U8.js} +2 -2
- package/dist/{photo-BRMACjXO.cjs → photo-BYH_qg5O.cjs} +1 -1
- package/dist/{pie-B7HO9F24.cjs → pie-B57zDxJV.cjs} +1 -1
- package/dist/{pie-CUqy6VGE.js → pie-CEVKe1lL.js} +2 -2
- package/dist/{placeholder-D-BpaT59.cjs → placeholder-BezBEQGo.cjs} +1 -1
- package/dist/{placeholder-DsyLsZM5.js → placeholder-Bwv3VyEg.js} +1 -1
- package/dist/{pressBtn-IefW25bT.js → pressBtn-1LCNz2gE.js} +33 -33
- package/dist/{pressBtn-DZz7PZ7o.cjs → pressBtn-CJZTyY8I.cjs} +1 -1
- package/dist/{processTable-Bm2HnUrZ.js → processTable-CHDazqah.js} +2 -2
- package/dist/{processTable-kVFr2ntb.cjs → processTable-HtDeg1by.cjs} +1 -1
- package/dist/{progressBar-00yP_jc2.cjs → progressBar-BP4SmPZK.cjs} +1 -1
- package/dist/{progressBar-C7RKpdcE.js → progressBar-C3NcWUrS.js} +2 -2
- package/dist/{progressCircle-BBkwMkI0.js → progressCircle-Bo9-Qva_.js} +48 -48
- package/dist/{progressCircle-CzqibMlZ.cjs → progressCircle-CDqK1iFt.cjs} +1 -1
- package/dist/{qrcode-DaHlY7Vv.js → qrcode-VmYwvClG.js} +2 -2
- package/dist/{qrcode-4NUAsx0h.cjs → qrcode-qD6tOm4F.cjs} +1 -1
- package/dist/{raceBar-WhOgwnlP.js → raceBar-DR2-luKW.js} +2 -2
- package/dist/{raceBar-BVsHg94d.cjs → raceBar-uAs91hyk.cjs} +1 -1
- package/dist/{rad-BlEn2Yx1.js → rad-1Jy1KDzt.js} +2 -2
- package/dist/{rad-sMtJPs8L.cjs → rad-D7-YZJNO.cjs} +1 -1
- package/dist/{radarMapViewer-C1_FFYFi.js → radarMapViewer-ByQXe0Mu.js} +2 -2
- package/dist/{radarMapViewer-CzhHFpRX.cjs → radarMapViewer-KPhNE5XX.cjs} +1 -1
- package/dist/{rainfallFilterBar-Bt2TbXV6.js → rainfallFilterBar-C1obotPf.js} +2 -2
- package/dist/{rainfallFilterBar-F7DU_nqK.cjs → rainfallFilterBar-CVQpQp82.cjs} +1 -1
- package/dist/{rainfallTimeCurve-C5tBf1lx.js → rainfallTimeCurve-B2rEx3T_.js} +3 -3
- package/dist/{rainfallTimeCurve-DaXSW7dI.cjs → rainfallTimeCurve-DU2tt-Ls.cjs} +1 -1
- package/dist/{rangeLin-Cr4NRYc9.cjs → rangeLin-COsJkCky.cjs} +1 -1
- package/dist/{rangeLin-Bral8Ev4.js → rangeLin-CdfUCFQr.js} +8 -8
- package/dist/{realtimeEvolutionMap-CCisvZz8.cjs → realtimeEvolutionMap-B7GT8MOq.cjs} +1 -1
- package/dist/{realtimeEvolutionMap-xJwuPatp.js → realtimeEvolutionMap-aR63xPW_.js} +2 -2
- package/dist/{regionBar-C8myvRfQ.cjs → regionBar-BYF7IaGA.cjs} +1 -1
- package/dist/{regionBar-D1iKcs2-.js → regionBar-DB-secNe.js} +2 -2
- package/dist/{request-C-rUicMg.js → request-CBsG4ipL.js} +1 -1
- package/dist/{request-Cxljxwu9.cjs → request-CvdHjG34.cjs} +1 -1
- package/dist/{retainer1-CC6TO-vq.cjs → retainer1-1CFk4InO.cjs} +1 -1
- package/dist/{retainer1-BvzeaTtU.js → retainer1-CMzTlM5Z.js} +3 -3
- package/dist/{retainer2-BeakFCgo.js → retainer2-DW4ewYX7.js} +3 -3
- package/dist/{retainer2-CmdgkB1y.cjs → retainer2-DliOH7it.cjs} +1 -1
- package/dist/{retainerRecordList-C7lDliOb.js → retainerRecordList-Bcm6leuD.js} +254 -275
- package/dist/retainerRecordList-DV7Tx39d.cjs +1 -0
- package/dist/retainerRecordListAPP-BDRwp8T3.js +1219 -0
- package/dist/retainerRecordListAPP-CJ-u0Tj2.cjs +1 -0
- package/dist/{ringTopN-BaKY-79s.js → ringTopN-Duq0pzm_.js} +2 -2
- package/dist/{ringTopN-Wfvu1-jE.cjs → ringTopN-rd2UwH9f.cjs} +1 -1
- package/dist/{riskRegionTable-ovBbwMl2.js → riskRegionTable-BE_ggcEV.js} +2 -2
- package/dist/{riskRegionTable-C7ee9wQX.cjs → riskRegionTable-CbPB8mlY.cjs} +1 -1
- package/dist/{sankey-BmWOGLSZ.cjs → sankey-BqBn6_rx.cjs} +1 -1
- package/dist/{sankey-K5BLueeX.js → sankey-CnKm9PZe.js} +2 -2
- package/dist/{scd-CMVoKjwE.js → scd-BaBLoem8.js} +456 -449
- package/dist/scd-BgJ5P7co.cjs +1 -0
- package/dist/{sideMenu-BbiMVHw1.cjs → sideMenu-BgiQL2P1.cjs} +1 -1
- package/dist/{sideMenu-L_dYXVgD.js → sideMenu-CUal1UQY.js} +2 -2
- package/dist/{slopeStability-WUcwG1vB.js → slopeStability-B9YbQLCE.js} +25 -25
- package/dist/{slopeStability-BWVxuRRV.cjs → slopeStability-Y2tDzJeh.cjs} +1 -1
- package/dist/{speedCurve-uwPuIJp0.js → speedCurve-DERBMtE1.js} +2 -2
- package/dist/{speedCurve-QTXe81e1.cjs → speedCurve-Kll2RRJ8.cjs} +1 -1
- package/dist/{stressFilterBar-DcqWlqsx.cjs → stressFilterBar-BGI4gVfE.cjs} +1 -1
- package/dist/{stressFilterBar-CnFNp7BR.js → stressFilterBar-CHRWFnpP.js} +2 -2
- package/dist/{stressTimeCurve-C-qycuZ2.cjs → stressTimeCurve-DE5KiXEt.cjs} +1 -1
- package/dist/{stressTimeCurve-C3r3LUBt.js → stressTimeCurve-hrlqSYS3.js} +3 -3
- package/dist/{swiper-wWrsPbDA.cjs → swiper-CnGllhBQ.cjs} +1 -1
- package/dist/{swiper-JShIvM0E.js → swiper-DNHC412s.js} +2 -2
- package/dist/{terminalConfigList-DVhEvcTB.js → terminalConfigList-BlHAsyCm.js} +2 -2
- package/dist/{terminalConfigList-nQqB1W5s.cjs → terminalConfigList-C45EANO4.cjs} +1 -1
- package/dist/{terminalList-BkMuHXZw.cjs → terminalList-CNI3_FGb.cjs} +1 -1
- package/dist/{terminalList-wAz6t4Ib.js → terminalList-UGjkhyf4.js} +2 -2
- package/dist/{terminalListAPP-CePxWgcL.cjs → terminalListAPP-6fPXF-yJ.cjs} +1 -1
- package/dist/{terminalListAPP-DuLN2OVq.js → terminalListAPP-CIJZMdxI.js} +2 -2
- package/dist/{textbox-DxXuhIyj.js → textbox-BD_LQ0EN.js} +2 -2
- package/dist/{textbox-BBi-Lg1Z.cjs → textbox-yNPnOaan.cjs} +1 -1
- package/dist/{timeQueryBar-BCTeL04F.cjs → timeQueryBar-3qiV0IV9.cjs} +1 -1
- package/dist/{timeQueryBar-DtngkLJX.js → timeQueryBar-B-uPtN25.js} +1 -1
- package/dist/{timeSeries-DJZnExBA.cjs → timeSeries-BTUuojvj.cjs} +1 -1
- package/dist/{timeSeries-CrdyAYs2.js → timeSeries-DdQI4oZU.js} +3 -3
- package/dist/{timeSeriesCurve-8_n0JJyf.cjs → timeSeriesCurve-Cj_FbK4x.cjs} +1 -1
- package/dist/{timeSeriesCurve-8_exdGlQ.js → timeSeriesCurve-TGXshTzl.js} +3 -3
- package/dist/{toggleBtn-DExYfMvi.js → toggleBtn-BMxqm5WG.js} +2 -2
- package/dist/{toggleBtn-B6dJ5cAt.cjs → toggleBtn-BXcQfnTB.cjs} +1 -1
- package/dist/{trajectoryConfigPanel-B2fwoe-I.cjs → trajectoryConfigPanel-CqoKO0hL.cjs} +1 -1
- package/dist/{trajectoryConfigPanel-Ce1SoMtw.js → trajectoryConfigPanel-uRLWdXUb.js} +1 -1
- package/dist/{trajectoryScatter-h32teAQ0.js → trajectoryScatter-DPE4cC8N.js} +2 -2
- package/dist/{trajectoryScatter-CVLEXMPO.cjs → trajectoryScatter-Dph8PSdN.cjs} +1 -1
- package/dist/{universalConfigPanel-CxbrIc2Z.js → universalConfigPanel-CI1CuBmr.js} +1 -1
- package/dist/{universalConfigPanel-cRzJmx3l.cjs → universalConfigPanel-Db-pC67o.cjs} +1 -1
- package/dist/{universalTable-BssAi-QH.js → universalTable-DMrgtBrw.js} +2 -2
- package/dist/{universalTable-V604pFVr.cjs → universalTable-dQObEQog.cjs} +1 -1
- package/dist/{video-BjmIbrRS.js → video-DEhLie80.js} +2 -2
- package/dist/{video-B8JeGpBc.cjs → video-DbsKQhVD.cjs} +1 -1
- package/dist/{videoMonitor-CVkFwlZq.js → videoMonitor-BS6_LYUb.js} +12 -12
- package/dist/{videoMonitor-B6FzkJlS.cjs → videoMonitor-DLBtivXO.cjs} +1 -1
- package/dist/vlu-DXk_wQf-.cjs +1 -0
- package/dist/vlu-DaSjPY3I.js +149 -0
- package/dist/{warningOverview-DDOm2wwB.js → warningOverview-CKCEs_Jj.js} +3 -3
- package/dist/{warningOverview-4M-WX3Ob.cjs → warningOverview-DAUlXzr0.cjs} +1 -1
- package/dist/{weather-BGrOQFPM.cjs → weather-BAI0IWNH.cjs} +1 -1
- package/dist/{weather-CETxcsJS.js → weather-XUj6pFwM.js} +2 -2
- package/dist/{windLin-B3YXltBn.js → windLin-Bt4q2eUT.js} +2 -2
- package/dist/{windLin-B6uEtUnB.cjs → windLin-C9dsCT1w.cjs} +1 -1
- package/package.json +1 -1
- package/dist/BaseComponent-CaCkjmmb.cjs +0 -1
- package/dist/arrayCard-BYZWRop3.cjs +0 -1
- package/dist/arrayCard-CVVWnZDk.js +0 -131
- package/dist/bar-1K14ZPKy.cjs +0 -2
- package/dist/clt-BCHpLoab.cjs +0 -1
- package/dist/clt-Ba9Ov5WY.js +0 -296
- package/dist/cmc-CdDCboSm.cjs +0 -1
- package/dist/cmc-CsVB4uz3.js +0 -277
- package/dist/controlRecordListAPP-BktJCkFK.cjs +0 -1
- package/dist/controlRecordListAPP-CSt8rFZX.js +0 -502
- package/dist/evn-B2F6pbqY.js +0 -158
- package/dist/evn-B6WNZ0pv.cjs +0 -1
- package/dist/gasStationList-CN2y3zri.cjs +0 -1
- package/dist/gasStationList-CifrfkH0.js +0 -1239
- package/dist/index-BzWbqJIl.cjs +0 -612
- package/dist/mixiotObjectListApi-BwIQvSS-.js +0 -67
- package/dist/mixiotObjectListApi-ClirV2tM.cjs +0 -1
- package/dist/objectList-Cpu0yqsK.js +0 -1740
- package/dist/objectList-D5E8PU66.cjs +0 -1
- package/dist/objectListAPP-Cr4uoJuN.cjs +0 -1
- package/dist/retainerRecordList-C9xVt3Yk.cjs +0 -1
- package/dist/retainerRecordListAPP-BRmG7UnF.cjs +0 -1
- package/dist/retainerRecordListAPP-Cjip5JHS.js +0 -1070
- package/dist/scd-CCNgUI2Q.cjs +0 -1
- package/dist/vlu-CHHDngO6.js +0 -142
- package/dist/vlu-Dv1vt9r0.cjs +0 -1
|
@@ -0,0 +1,1325 @@
|
|
|
1
|
+
var Ct = Object.defineProperty, At = Object.defineProperties;
|
|
2
|
+
var kt = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var $e = Object.getOwnPropertySymbols;
|
|
4
|
+
var wt = Object.prototype.hasOwnProperty, Dt = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var qe = (a, m, d) => m in a ? Ct(a, m, { enumerable: !0, configurable: !0, writable: !0, value: d }) : a[m] = d, me = (a, m) => {
|
|
6
|
+
for (var d in m || (m = {}))
|
|
7
|
+
wt.call(m, d) && qe(a, d, m[d]);
|
|
8
|
+
if ($e)
|
|
9
|
+
for (var d of $e(m))
|
|
10
|
+
Dt.call(m, d) && qe(a, d, m[d]);
|
|
11
|
+
return a;
|
|
12
|
+
}, Ae = (a, m) => At(a, kt(m));
|
|
13
|
+
var G = (a, m, d) => new Promise((g, b) => {
|
|
14
|
+
var S = (y) => {
|
|
15
|
+
try {
|
|
16
|
+
k(d.next(y));
|
|
17
|
+
} catch (T) {
|
|
18
|
+
b(T);
|
|
19
|
+
}
|
|
20
|
+
}, D = (y) => {
|
|
21
|
+
try {
|
|
22
|
+
k(d.throw(y));
|
|
23
|
+
} catch (T) {
|
|
24
|
+
b(T);
|
|
25
|
+
}
|
|
26
|
+
}, k = (y) => y.done ? g(y.value) : Promise.resolve(y.value).then(S, D);
|
|
27
|
+
k((d = d.apply(a, m)).next());
|
|
28
|
+
});
|
|
29
|
+
import { ElInput as Tt, ElIcon as Vt, ElButton as Nt, ElDropdown as Pt, ElDropdownMenu as Ot, ElDropdownItem as Lt, ElTree as Et, ElEmpty as It, ElLoadingDirective as Ft, ElDialog as Mt, ElForm as Bt, ElFormItem as Rt } from "element-plus/es";
|
|
30
|
+
import "element-plus/es/components/base/style/css";
|
|
31
|
+
import "element-plus/es/components/loading/style/css";
|
|
32
|
+
import "element-plus/es/components/dialog/style/css";
|
|
33
|
+
import "element-plus/es/components/form/style/css";
|
|
34
|
+
import "element-plus/es/components/form-item/style/css";
|
|
35
|
+
import "element-plus/es/components/empty/style/css";
|
|
36
|
+
import "element-plus/es/components/tree/style/css";
|
|
37
|
+
import "element-plus/es/components/dropdown/style/css";
|
|
38
|
+
import "element-plus/es/components/dropdown-menu/style/css";
|
|
39
|
+
import "element-plus/es/components/dropdown-item/style/css";
|
|
40
|
+
import "element-plus/es/components/button/style/css";
|
|
41
|
+
import "element-plus/es/components/input/style/css";
|
|
42
|
+
import "element-plus/es/components/icon/style/css";
|
|
43
|
+
import { defineComponent as Kt, inject as ke, ref as h, computed as O, watch as fe, nextTick as pe, reactive as Fe, onMounted as xt, withDirectives as Xe, openBlock as A, createElementBlock as N, normalizeStyle as Ut, unref as te, createElementVNode as J, toDisplayString as we, createVNode as r, withCtx as c, createTextVNode as L, createBlock as oe, createCommentVNode as De, normalizeClass as Ye, Fragment as Me, renderList as Ze, resolveDynamicComponent as Ht, renderSlot as Qt } from "vue";
|
|
44
|
+
import { Search as zt, ArrowDown as Gt } from "@element-plus/icons-vue";
|
|
45
|
+
import { B as Jt } from "./BaseComponent-CQaDWNO0.js";
|
|
46
|
+
import { b as $t, p as We, a as ne, _ as qt } from "./index-BZpYmpDy.js";
|
|
47
|
+
import { ElMessage as j } from "element-plus";
|
|
48
|
+
import { A as Xt, D as Yt } from "./ele-lst-icon-CKpeRKmk.js";
|
|
49
|
+
const Zt = [
|
|
50
|
+
{
|
|
51
|
+
uid: "CO_HUANENG",
|
|
52
|
+
id: 1001,
|
|
53
|
+
name: "华能燃气集团",
|
|
54
|
+
ctype: "customer",
|
|
55
|
+
nodeIcon: "company",
|
|
56
|
+
child: [
|
|
57
|
+
{
|
|
58
|
+
uid: "PRJ_HB",
|
|
59
|
+
id: 1101,
|
|
60
|
+
name: "华北区项目",
|
|
61
|
+
ctype: "project",
|
|
62
|
+
father_id: 1001,
|
|
63
|
+
nodeIcon: "folder",
|
|
64
|
+
child: [
|
|
65
|
+
{
|
|
66
|
+
uid: "ST_NS",
|
|
67
|
+
id: 1201,
|
|
68
|
+
name: "南山项目站",
|
|
69
|
+
ctype: "project",
|
|
70
|
+
father_id: 1101,
|
|
71
|
+
stationIndicator: "green",
|
|
72
|
+
child: [
|
|
73
|
+
{ uid: "EQ_NS_AC1", id: 1301, name: "1#空压机", ctype: "object", statusDot: "green" },
|
|
74
|
+
{ uid: "EQ_NS_AC2", id: 1302, name: "2#空压机", ctype: "object", statusDot: "green" },
|
|
75
|
+
{ uid: "EQ_NS_AC3", id: 1303, name: "3#空压机", ctype: "object", statusDot: "orange" },
|
|
76
|
+
{ uid: "EQ_NS_EM", id: 1304, name: "总电表", ctype: "object", statusDot: "green" },
|
|
77
|
+
{ uid: "EQ_NS_FM", id: 1305, name: "总流量计", ctype: "object", statusDot: "green" }
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
uid: "ST_HAIDIAN",
|
|
82
|
+
id: 1202,
|
|
83
|
+
name: "北京海淀项目站",
|
|
84
|
+
ctype: "project",
|
|
85
|
+
father_id: 1101,
|
|
86
|
+
stationIndicator: "orange",
|
|
87
|
+
child: [
|
|
88
|
+
{ uid: "EQ_HD_AC1", id: 1311, name: "1#空压机", ctype: "object", statusDot: "green" },
|
|
89
|
+
{ uid: "EQ_HD_AC2", id: 1312, name: "2#空压机", ctype: "object", statusDot: "orange" },
|
|
90
|
+
{ uid: "EQ_HD_EM", id: 1313, name: "总电表", ctype: "object", statusDot: "orange" },
|
|
91
|
+
{ uid: "EQ_HD_FM", id: 1314, name: "总流量计", ctype: "object", statusDot: "green" }
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
uid: "ST_BINHAI",
|
|
96
|
+
id: 1203,
|
|
97
|
+
name: "天津滨海项目站",
|
|
98
|
+
ctype: "project",
|
|
99
|
+
father_id: 1101,
|
|
100
|
+
stationIndicator: "green",
|
|
101
|
+
child: [
|
|
102
|
+
{ uid: "EQ_BH_AC1", id: 1321, name: "1#空压机", ctype: "object", statusDot: "green" },
|
|
103
|
+
{ uid: "EQ_BH_AC2", id: 1322, name: "2#空压机", ctype: "object", statusDot: "green" },
|
|
104
|
+
{ uid: "EQ_BH_AC3", id: 1323, name: "3#空压机", ctype: "object", statusDot: "orange" },
|
|
105
|
+
{ uid: "EQ_BH_EM", id: 1324, name: "总电表", ctype: "object", statusDot: "green" },
|
|
106
|
+
{ uid: "EQ_BH_FM", id: 1325, name: "总流量计", ctype: "object", statusDot: "green" }
|
|
107
|
+
]
|
|
108
|
+
}
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
uid: "PRJ_HD",
|
|
113
|
+
id: 1102,
|
|
114
|
+
name: "华东区项目",
|
|
115
|
+
ctype: "project",
|
|
116
|
+
father_id: 1001,
|
|
117
|
+
nodeIcon: "folder",
|
|
118
|
+
child: []
|
|
119
|
+
}
|
|
120
|
+
]
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
uid: "CO_ZHONGRAN",
|
|
124
|
+
id: 2001,
|
|
125
|
+
name: "中燃能源科技",
|
|
126
|
+
ctype: "customer",
|
|
127
|
+
nodeIcon: "company",
|
|
128
|
+
child: [
|
|
129
|
+
{
|
|
130
|
+
uid: "PRJ_XN",
|
|
131
|
+
id: 2101,
|
|
132
|
+
name: "西南区项目",
|
|
133
|
+
ctype: "project",
|
|
134
|
+
father_id: 2001,
|
|
135
|
+
nodeIcon: "folder",
|
|
136
|
+
child: [
|
|
137
|
+
{
|
|
138
|
+
uid: "ST_CD_GX",
|
|
139
|
+
id: 2201,
|
|
140
|
+
name: "成都高新项目站",
|
|
141
|
+
ctype: "project",
|
|
142
|
+
father_id: 2101,
|
|
143
|
+
stationIndicator: "green",
|
|
144
|
+
child: [
|
|
145
|
+
{ uid: "EQ_CD_AC1", id: 2301, name: "1#空压机", ctype: "object", statusDot: "green" },
|
|
146
|
+
{ uid: "EQ_CD_EM", id: 2302, name: "总电表", ctype: "object", statusDot: "green" }
|
|
147
|
+
]
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
uid: "ST_CQ_YB",
|
|
151
|
+
id: 2202,
|
|
152
|
+
name: "重庆渝北项目站",
|
|
153
|
+
ctype: "project",
|
|
154
|
+
father_id: 2101,
|
|
155
|
+
stationIndicator: "green",
|
|
156
|
+
child: [
|
|
157
|
+
{ uid: "EQ_CQ_AC1", id: 2311, name: "1#空压机", ctype: "object", statusDot: "green" },
|
|
158
|
+
{ uid: "EQ_CQ_FM", id: 2312, name: "总流量计", ctype: "object", statusDot: "orange" }
|
|
159
|
+
]
|
|
160
|
+
}
|
|
161
|
+
]
|
|
162
|
+
}
|
|
163
|
+
]
|
|
164
|
+
}
|
|
165
|
+
], Wt = /* @__PURE__ */ new Set(["pro", "globalSettings", "dashboard", "version", "meta"]);
|
|
166
|
+
function Te(a) {
|
|
167
|
+
var m, d;
|
|
168
|
+
if (!a) return null;
|
|
169
|
+
if (Array.isArray(a))
|
|
170
|
+
return Te(a[0]);
|
|
171
|
+
if (typeof a == "string")
|
|
172
|
+
try {
|
|
173
|
+
return Te(JSON.parse(a));
|
|
174
|
+
} catch (g) {
|
|
175
|
+
return null;
|
|
176
|
+
}
|
|
177
|
+
if (typeof a == "object") {
|
|
178
|
+
const g = (d = (m = a.script) != null ? m : a.data) != null ? d : a.result;
|
|
179
|
+
if (g && g !== a)
|
|
180
|
+
return Te(g);
|
|
181
|
+
}
|
|
182
|
+
return a;
|
|
183
|
+
}
|
|
184
|
+
function Ve(a) {
|
|
185
|
+
if (!a || typeof a != "object" || Array.isArray(a)) return null;
|
|
186
|
+
const m = a;
|
|
187
|
+
if (Array.isArray(m.sheets)) return m;
|
|
188
|
+
const d = m.dashboard;
|
|
189
|
+
if (Array.isArray(d) && d.length > 0 && d[0] && typeof d[0] == "object") {
|
|
190
|
+
const g = d[0];
|
|
191
|
+
if (Array.isArray(g.sheets))
|
|
192
|
+
return Ae(me(me({}, m), g), { sheets: g.sheets });
|
|
193
|
+
}
|
|
194
|
+
return null;
|
|
195
|
+
}
|
|
196
|
+
function eo(a) {
|
|
197
|
+
const m = {};
|
|
198
|
+
if (!a || typeof a != "object" || Array.isArray(a)) return m;
|
|
199
|
+
for (const d of Object.keys(a)) {
|
|
200
|
+
if (Wt.has(d)) continue;
|
|
201
|
+
const g = Ve(a[d]);
|
|
202
|
+
g && (m[d] = g);
|
|
203
|
+
}
|
|
204
|
+
return m;
|
|
205
|
+
}
|
|
206
|
+
function to(a, m) {
|
|
207
|
+
if (!a) return [];
|
|
208
|
+
const d = Te(a);
|
|
209
|
+
if (!d || typeof d != "object" || Array.isArray(d)) return [];
|
|
210
|
+
const g = d;
|
|
211
|
+
if (Array.isArray(g.sheets) && g.sheets.length)
|
|
212
|
+
return g.sheets;
|
|
213
|
+
const b = Ve(g);
|
|
214
|
+
if (b && Array.isArray(b.sheets) && b.sheets.length)
|
|
215
|
+
return b.sheets;
|
|
216
|
+
const S = eo(g), D = m.trim();
|
|
217
|
+
if (D && S[D]) {
|
|
218
|
+
const k = Ve(S[D]);
|
|
219
|
+
if (k && Array.isArray(k.sheets))
|
|
220
|
+
return k.sheets;
|
|
221
|
+
}
|
|
222
|
+
for (const k of Object.keys(S)) {
|
|
223
|
+
const y = Ve(S[k]);
|
|
224
|
+
if (y && Array.isArray(y.sheets) && y.sheets.length)
|
|
225
|
+
return y.sheets;
|
|
226
|
+
}
|
|
227
|
+
return [];
|
|
228
|
+
}
|
|
229
|
+
function le(a) {
|
|
230
|
+
return String(a != null ? a : "").trim().replace(/\s+/g, " ");
|
|
231
|
+
}
|
|
232
|
+
function oo(a) {
|
|
233
|
+
var d, g, b, S, D, k;
|
|
234
|
+
const m = [];
|
|
235
|
+
for (const y of a) {
|
|
236
|
+
if (!y || y.hideInPreviewTabs) continue;
|
|
237
|
+
const T = String((b = (g = (d = y.caption) != null ? d : y.name) != null ? g : y.id) != null ? b : "").trim(), C = String((k = (D = (S = y.id) != null ? S : y.name) != null ? D : y.caption) != null ? k : "").trim();
|
|
238
|
+
!T || !C || m.push({ title: T, pageKey: C });
|
|
239
|
+
}
|
|
240
|
+
return m;
|
|
241
|
+
}
|
|
242
|
+
function no(a, m, d) {
|
|
243
|
+
var y, T, C, K, ie, re, ve;
|
|
244
|
+
if (!a.length) return null;
|
|
245
|
+
const g = le(m);
|
|
246
|
+
let b = -1;
|
|
247
|
+
if (d !== void 0 && g && d.length)
|
|
248
|
+
for (let F = 0; F < a.length; F++) {
|
|
249
|
+
const E = a[F];
|
|
250
|
+
if (!(!E || E.hideInPreviewTabs)) {
|
|
251
|
+
for (const M of d) {
|
|
252
|
+
const ge = le(M == null ? void 0 : M.menuTitle), U = le(M == null ? void 0 : M.sheetTitle);
|
|
253
|
+
if (!ge || !U || le(g) !== ge) continue;
|
|
254
|
+
const ye = le(E.caption), ae = le(E.name), x = String((y = E.id) != null ? y : "").trim();
|
|
255
|
+
if (ye === U || ae === U || x === U) {
|
|
256
|
+
b = F;
|
|
257
|
+
break;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
if (b >= 0) break;
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
b < 0 && (b = a.findIndex((F) => F && !F.hideInPreviewTabs)), b < 0 && (b = 0);
|
|
264
|
+
const S = a[b];
|
|
265
|
+
if (!S) return null;
|
|
266
|
+
const D = String((K = (C = (T = S.caption) != null ? T : S.name) != null ? C : S.id) != null ? K : "").trim(), k = String((ve = (re = (ie = S.id) != null ? ie : S.name) != null ? re : S.caption) != null ? ve : "").trim();
|
|
267
|
+
return D ? { title: D, pageKey: k } : null;
|
|
268
|
+
}
|
|
269
|
+
const lo = { class: "gsl-top-bar" }, io = {
|
|
270
|
+
key: 0,
|
|
271
|
+
class: "gsl-top-caption"
|
|
272
|
+
}, ro = {
|
|
273
|
+
key: 1,
|
|
274
|
+
class: "gsl-top-caption-placeholder"
|
|
275
|
+
}, ao = { class: "gsl-top-actions" }, so = { class: "gsl-tree-col" }, uo = { class: "gsl-tree-wrap" }, co = { class: "gsl-tree-node" }, mo = {
|
|
276
|
+
key: 0,
|
|
277
|
+
class: "gsl-type-icon-wrap",
|
|
278
|
+
"aria-hidden": "true"
|
|
279
|
+
}, fo = { class: "gsl-tree-label" }, po = {
|
|
280
|
+
key: 0,
|
|
281
|
+
class: "gsl-monitor-col"
|
|
282
|
+
}, vo = {
|
|
283
|
+
key: 0,
|
|
284
|
+
class: "gsl-monitor-sheet-bar"
|
|
285
|
+
}, go = ["title", "onClick"], yo = {
|
|
286
|
+
key: 1,
|
|
287
|
+
class: "gsl-monitor-sheet-bar gsl-monitor-sheet-bar--fallback"
|
|
288
|
+
}, bo = {
|
|
289
|
+
key: 2,
|
|
290
|
+
class: "gsl-monitor-inner"
|
|
291
|
+
}, ho = {
|
|
292
|
+
DEFAULT_ICON: Yt,
|
|
293
|
+
ACTIVE_ICON: Xt,
|
|
294
|
+
NAME_CN: "客户项目对象组件",
|
|
295
|
+
NAME_EN: "CustomerProjectObject",
|
|
296
|
+
ORDER: 0,
|
|
297
|
+
PLATFORM: ["pc", "screen"]
|
|
298
|
+
}, _o = {
|
|
299
|
+
bgColor: "#fff",
|
|
300
|
+
nameColor: "#999",
|
|
301
|
+
valueColor: "#333",
|
|
302
|
+
titleColor: "#111",
|
|
303
|
+
titleSize: 14,
|
|
304
|
+
nameSize: 12,
|
|
305
|
+
valueSize: 12,
|
|
306
|
+
radiusSize: 8,
|
|
307
|
+
isHideTitle: !1,
|
|
308
|
+
linkChannel: ""
|
|
309
|
+
}, et = [
|
|
310
|
+
{
|
|
311
|
+
name: "客户项目对象组件",
|
|
312
|
+
fv: "",
|
|
313
|
+
object_id: "",
|
|
314
|
+
unit: "",
|
|
315
|
+
default: "",
|
|
316
|
+
isText: !1,
|
|
317
|
+
/** 为 true 时用 gasStationList.mock;默认 false,与 mixui「客户/项目/对象」同源接口 get_customer_project_tree(组件类型键仍为 gasStationList) */
|
|
318
|
+
useMockTree: !1,
|
|
319
|
+
showAddBtn: !0,
|
|
320
|
+
sheetPageKeys: "gas_layout,monitor",
|
|
321
|
+
sheetPageLabels: "对象布局,监控",
|
|
322
|
+
defaultSheetGasList: "gas_layout",
|
|
323
|
+
defaultSheetRuntimeCheck: "monitor",
|
|
324
|
+
runtimeScene: "gasList",
|
|
325
|
+
/** 对象 uid → 跳转页(项为 { stationUid, pageKey });气站节点点击时切换宿主多页 Sheet */
|
|
326
|
+
stationNavRules: [],
|
|
327
|
+
/** 已废弃:无映射时兜底;请优先用 stationNavRules */
|
|
328
|
+
stationNavPageKey: "",
|
|
329
|
+
/** 为 true:点击对象在右侧内嵌设备监控(与 mixui 对象详情「监控」同源:对象绑定显示板 + DesignPro),左侧树保留 */
|
|
330
|
+
embedObjectMonitorRight: !0,
|
|
331
|
+
/** 从对象 dashboard_list 按 device_type 取板,可选 pc | mobile | screen */
|
|
332
|
+
objectLinkedDashboardDevice: "pc",
|
|
333
|
+
/**
|
|
334
|
+
* 按树层级配置:对象内嵌显示板 Sheet 标题(或 id)。
|
|
335
|
+
* level 与 el-tree 节点 level 一致(1 客户 2 项目 3 对象 …);无匹配规则时嵌套板默认第一个 Sheet。
|
|
336
|
+
*/
|
|
337
|
+
menuToSheetLevels: [
|
|
338
|
+
{ level: 1, label: "客户", treeIcon: "OfficeBuilding", rules: [{ sheetTitle: "" }] },
|
|
339
|
+
{ level: 2, label: "项目", treeIcon: "Folder", rules: [{ sheetTitle: "" }] },
|
|
340
|
+
{ level: 3, label: "对象", treeIcon: "Monitor", rules: [{ sheetTitle: "" }] }
|
|
341
|
+
]
|
|
342
|
+
}
|
|
343
|
+
], So = [
|
|
344
|
+
{ key: "useMockTree", label: "使用模拟树(离线演示;关闭则 get_customer_project_tree)", type: "checkbox", group: "数据" },
|
|
345
|
+
{
|
|
346
|
+
key: "embedObjectMonitorRight",
|
|
347
|
+
label: "点击对象右侧内嵌设备监控(与对象详情监控同源)",
|
|
348
|
+
type: "checkbox",
|
|
349
|
+
group: "数据"
|
|
350
|
+
},
|
|
351
|
+
{ key: "objectLinkedDashboardDevice", label: "监控显示板终端(pc/mobile/screen)", group: "数据" },
|
|
352
|
+
{ key: "showAddBtn", label: "显示新增", type: "checkbox", group: "命令组" },
|
|
353
|
+
{ key: "sheetPageKeys", label: "页面标识列表" },
|
|
354
|
+
{ key: "sheetPageLabels", label: "页面标题列表" },
|
|
355
|
+
{ key: "defaultSheetGasList", label: "默认页面(客户项目对象)" },
|
|
356
|
+
{ key: "defaultSheetRuntimeCheck", label: "默认页面(运行检查)" },
|
|
357
|
+
{ key: "runtimeScene", label: "当前场景(gasList/runtimeCheck)" }
|
|
358
|
+
], jo = [], Co = {
|
|
359
|
+
isAddCondition: !1,
|
|
360
|
+
conditions: [],
|
|
361
|
+
conditionFilterFields: [
|
|
362
|
+
{ value: "name", label: "setting.mixiotListFilter.treeNodeName" },
|
|
363
|
+
{ value: "uid", label: "setting.mixiotListFilter.treeNodeUid" }
|
|
364
|
+
]
|
|
365
|
+
}, Ao = { DEFAULT: ho, OPTIONS: _o, DATA: et, PARAMS: So, SOURCE: jo, COMMON: Co }, ko = /* @__PURE__ */ Kt(Ae(me({}, Ao), {
|
|
366
|
+
__name: "gasStationList",
|
|
367
|
+
props: {
|
|
368
|
+
conf: { default: () => ({ data: [] }) },
|
|
369
|
+
uid: { default: "" },
|
|
370
|
+
mode: {},
|
|
371
|
+
theme: {},
|
|
372
|
+
code: { default: "" }
|
|
373
|
+
},
|
|
374
|
+
setup(a) {
|
|
375
|
+
const m = a;
|
|
376
|
+
class d extends Jt {
|
|
377
|
+
getDataBool(e, o) {
|
|
378
|
+
var i, u;
|
|
379
|
+
const n = (u = (i = this.props.conf) == null ? void 0 : i.data) == null ? void 0 : u[0];
|
|
380
|
+
return n && Object.prototype.hasOwnProperty.call(n, e) && n[e] !== void 0 ? !!n[e] : this.getOptionValue(e, o);
|
|
381
|
+
}
|
|
382
|
+
extractStyles() {
|
|
383
|
+
return {
|
|
384
|
+
bgColor: this.getOptionValue("bgColor", "#fff"),
|
|
385
|
+
nameColor: this.getOptionValue("nameColor", "#999"),
|
|
386
|
+
valueColor: this.getOptionValue("valueColor", "#333"),
|
|
387
|
+
titleColor: this.getOptionValue("titleColor", "#111"),
|
|
388
|
+
titleSize: this.getOptionValue("titleSize", 14),
|
|
389
|
+
nameSize: this.getOptionValue("nameSize", 12),
|
|
390
|
+
valueSize: this.getOptionValue("valueSize", 12),
|
|
391
|
+
radiusSize: this.getOptionValue("radiusSize", 8),
|
|
392
|
+
isHideTitle: this.getOptionValue("isHideTitle", !1),
|
|
393
|
+
linkChannel: this.getOptionValue("linkChannel", ""),
|
|
394
|
+
showAddBtn: this.getDataBool("showAddBtn", !0)
|
|
395
|
+
};
|
|
396
|
+
}
|
|
397
|
+
init() {
|
|
398
|
+
var e;
|
|
399
|
+
if (this.Style.value = this.extractStyles(), this.applyTheme(), !((e = this.props.conf.data) != null && e.length))
|
|
400
|
+
this.props.conf.data = JSON.parse(JSON.stringify(et));
|
|
401
|
+
else {
|
|
402
|
+
const o = this.props.conf.data[0];
|
|
403
|
+
o.useMockTree === void 0 && (o.useMockTree = !1), o.showAddBtn === void 0 && (o.showAddBtn = !0);
|
|
404
|
+
const n = {
|
|
405
|
+
sheetPageKeys: "gas_layout,monitor",
|
|
406
|
+
sheetPageLabels: "对象布局,监控",
|
|
407
|
+
defaultSheetGasList: "gas_layout",
|
|
408
|
+
defaultSheetRuntimeCheck: "monitor",
|
|
409
|
+
runtimeScene: "gasList"
|
|
410
|
+
};
|
|
411
|
+
for (const [l, f] of Object.entries(n))
|
|
412
|
+
(o[l] === void 0 || o[l] === "") && (o[l] = f);
|
|
413
|
+
o.stationNavPageKey === void 0 && (o.stationNavPageKey = ""), Array.isArray(o.stationNavRules) || (o.stationNavRules = []), o.embedObjectMonitorRight === void 0 && (o.embedObjectMonitorRight = o.openObjectLinkedDashboard !== !1), (o.objectLinkedDashboardDevice === void 0 || o.objectLinkedDashboardDevice === "") && (o.objectLinkedDashboardDevice = "pc");
|
|
414
|
+
const i = [
|
|
415
|
+
{ level: 1, label: "客户", treeIcon: "OfficeBuilding", rules: [{ sheetTitle: "" }] },
|
|
416
|
+
{ level: 2, label: "项目", treeIcon: "Folder", rules: [{ sheetTitle: "" }] },
|
|
417
|
+
{ level: 3, label: "对象", treeIcon: "Monitor", rules: [{ sheetTitle: "" }] }
|
|
418
|
+
], u = (l) => l === 1 ? "OfficeBuilding" : l === 2 ? "Folder" : l === 3 ? "Monitor" : "Folder";
|
|
419
|
+
if (!Array.isArray(o.menuToSheetLevels) || !o.menuToSheetLevels.length)
|
|
420
|
+
o.menuToSheetLevels = JSON.parse(JSON.stringify(i));
|
|
421
|
+
else
|
|
422
|
+
for (const l of o.menuToSheetLevels) {
|
|
423
|
+
(!Array.isArray(l.rules) || !l.rules.length) && (l.rules = [{ sheetTitle: "" }]);
|
|
424
|
+
const f = Number(l.level);
|
|
425
|
+
(l.treeIcon === void 0 || l.treeIcon === "") && (l.treeIcon = u(Number.isFinite(f) ? f : 0));
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
const g = new d(m, "gasStationList");
|
|
431
|
+
g.setupLifecycle();
|
|
432
|
+
const b = g.getStyle(), S = ke("switchSheetByPageKey", () => -1), D = ke("getSheets", () => []), k = ke("getProAppActiveMenuTitle", () => ""), y = ke("boardSwitchEpoch", h(0)), T = O(() => {
|
|
433
|
+
var t;
|
|
434
|
+
try {
|
|
435
|
+
const e = k;
|
|
436
|
+
return typeof e == "function" ? String((t = e()) != null ? t : "").trim() : "";
|
|
437
|
+
} catch (e) {
|
|
438
|
+
return "";
|
|
439
|
+
}
|
|
440
|
+
}), C = O(() => {
|
|
441
|
+
var t, e;
|
|
442
|
+
return ((e = (t = m.conf) == null ? void 0 : t.data) == null ? void 0 : e[0]) || {};
|
|
443
|
+
}), K = O(() => !!C.value.useMockTree);
|
|
444
|
+
function ie(t) {
|
|
445
|
+
return String(t != null ? t : "").split(/[,,]/).map((e) => e.trim()).filter(Boolean);
|
|
446
|
+
}
|
|
447
|
+
const re = O(() => {
|
|
448
|
+
const t = ie(C.value.sheetPageKeys), e = ie(C.value.sheetPageLabels);
|
|
449
|
+
return t.map((o, n) => ({ pageKey: o, label: e[n] || o }));
|
|
450
|
+
}), ve = O(() => String(C.value.runtimeScene || "gasList").trim()), F = O(() => ve.value === "runtimeCheck" ? String(C.value.defaultSheetRuntimeCheck || "").trim() : String(C.value.defaultSheetGasList || "").trim()), E = h("");
|
|
451
|
+
function M() {
|
|
452
|
+
var n;
|
|
453
|
+
const t = F.value, e = re.value, o = ((n = e[0]) == null ? void 0 : n.pageKey) || "";
|
|
454
|
+
return t && e.some((i) => i.pageKey === t) ? t : o;
|
|
455
|
+
}
|
|
456
|
+
function ge() {
|
|
457
|
+
E.value = M();
|
|
458
|
+
}
|
|
459
|
+
function U() {
|
|
460
|
+
if (m.mode === "edit" || (D() || []).filter((n) => !(n != null && n.hideInPreviewTabs)).length <= 1) return;
|
|
461
|
+
const o = M();
|
|
462
|
+
o && (E.value = o, S(String(o)));
|
|
463
|
+
}
|
|
464
|
+
fe(
|
|
465
|
+
y,
|
|
466
|
+
() => {
|
|
467
|
+
pe(() => U());
|
|
468
|
+
},
|
|
469
|
+
{ flush: "post", immediate: !0 }
|
|
470
|
+
), fe(
|
|
471
|
+
re,
|
|
472
|
+
() => {
|
|
473
|
+
m.mode !== "edit" && pe(() => U());
|
|
474
|
+
},
|
|
475
|
+
{ deep: !0 }
|
|
476
|
+
), fe(E, (t) => {
|
|
477
|
+
if (m.mode === "edit" || !t) return;
|
|
478
|
+
S(String(t)) < 0 && console.warn("[客户项目对象] 未匹配到 Sheet 页面标识:", t, "sheets:", D());
|
|
479
|
+
});
|
|
480
|
+
function ye(t) {
|
|
481
|
+
return Array.isArray(t.children) ? t.children : Array.isArray(t.child) ? t.child : [];
|
|
482
|
+
}
|
|
483
|
+
function ae(t) {
|
|
484
|
+
return Array.isArray(t) ? t.filter(Boolean).map((e) => {
|
|
485
|
+
var u, l, f, w;
|
|
486
|
+
const o = e, n = String((w = (f = (l = (u = o.name) != null ? u : o.alias) != null ? l : o.uid) != null ? f : o.id) != null ? w : ""), i = ae(ye(o));
|
|
487
|
+
return Ae(me({}, o), {
|
|
488
|
+
label: n,
|
|
489
|
+
treeKey: lt(o),
|
|
490
|
+
children: i.length ? i : void 0
|
|
491
|
+
});
|
|
492
|
+
}) : [];
|
|
493
|
+
}
|
|
494
|
+
function x(t, e) {
|
|
495
|
+
const o = String(t || "").trim().toLowerCase();
|
|
496
|
+
return o === "child_object" ? "object" : o === "customer" || o === "project" || o === "object" ? o : e <= 1 ? "customer" : e === 2 ? "project" : "object";
|
|
497
|
+
}
|
|
498
|
+
function tt(t, e) {
|
|
499
|
+
const o = t.stationIndicator;
|
|
500
|
+
if (o === "green" || o === "orange") return !0;
|
|
501
|
+
if (x(t.ctype, e.level) !== "project") return !1;
|
|
502
|
+
const n = ye(t);
|
|
503
|
+
return n.length ? n.every((i) => x(i.ctype, e.level + 1) === "object") : !1;
|
|
504
|
+
}
|
|
505
|
+
function ot(t) {
|
|
506
|
+
const e = C.value.menuToSheetLevels;
|
|
507
|
+
if (!Array.isArray(e) || !e.length) return "Folder";
|
|
508
|
+
const o = e.map((l) => {
|
|
509
|
+
var f;
|
|
510
|
+
return {
|
|
511
|
+
level: Number(l.level) || 0,
|
|
512
|
+
treeIcon: String((f = l.treeIcon) != null ? f : "").trim()
|
|
513
|
+
};
|
|
514
|
+
}).filter((l) => l.level > 0).sort((l, f) => l.level - f.level), n = o.filter((l) => l.level <= t), i = n.length ? n[n.length - 1] : o[0];
|
|
515
|
+
if (!i) return "Folder";
|
|
516
|
+
const u = i.treeIcon;
|
|
517
|
+
return u === "none" ? null : u && We[u] ? u : "Folder";
|
|
518
|
+
}
|
|
519
|
+
function nt(t) {
|
|
520
|
+
const e = ot(t);
|
|
521
|
+
return e && We[e] || null;
|
|
522
|
+
}
|
|
523
|
+
function lt(t) {
|
|
524
|
+
var n, i, u, l, f;
|
|
525
|
+
const e = String((n = t.ctype) != null ? n : "n"), o = (f = (l = (u = (i = t.uid) != null ? i : t.id) != null ? u : t.name) != null ? l : t.label) != null ? f : "n";
|
|
526
|
+
return `${e}_${o}`;
|
|
527
|
+
}
|
|
528
|
+
const $ = h([]), be = h(!1), Ne = h(null), he = h("");
|
|
529
|
+
function it(t, e) {
|
|
530
|
+
var l, f, w, I;
|
|
531
|
+
if (!t) return !0;
|
|
532
|
+
const o = t.toLowerCase(), n = String((f = (l = e.label) != null ? l : e.name) != null ? f : "").toLowerCase(), i = String((w = e.uid) != null ? w : "").toLowerCase(), u = String((I = e.alias) != null ? I : "").toLowerCase();
|
|
533
|
+
return n.includes(o) || i.includes(o) || u.includes(o);
|
|
534
|
+
}
|
|
535
|
+
function Be() {
|
|
536
|
+
pe(() => {
|
|
537
|
+
var t;
|
|
538
|
+
(t = Ne.value) == null || t.filter(he.value.trim());
|
|
539
|
+
});
|
|
540
|
+
}
|
|
541
|
+
function q() {
|
|
542
|
+
return G(this, null, function* () {
|
|
543
|
+
var t, e;
|
|
544
|
+
be.value = !0;
|
|
545
|
+
try {
|
|
546
|
+
if (K.value)
|
|
547
|
+
$.value = ae(JSON.parse(JSON.stringify(Zt)));
|
|
548
|
+
else {
|
|
549
|
+
const o = yield ne.post("get_customer_project_tree", {}, !0), n = (t = o == null ? void 0 : o.result) != null ? t : o, i = Array.isArray(n) ? n : n != null ? [n] : [];
|
|
550
|
+
$.value = ae(i);
|
|
551
|
+
}
|
|
552
|
+
yield pe(), (e = Ne.value) == null || e.filter(he.value.trim());
|
|
553
|
+
} catch (o) {
|
|
554
|
+
console.error(o), $.value = [];
|
|
555
|
+
} finally {
|
|
556
|
+
be.value = !1;
|
|
557
|
+
}
|
|
558
|
+
});
|
|
559
|
+
}
|
|
560
|
+
fe(K, () => {
|
|
561
|
+
q();
|
|
562
|
+
});
|
|
563
|
+
const B = h(null), se = h(1);
|
|
564
|
+
function Re(t) {
|
|
565
|
+
var o, n, i, u;
|
|
566
|
+
(o = b.value) != null && o.linkChannel && g.publish({
|
|
567
|
+
objectUid: String((n = t.uid) != null ? n : ""),
|
|
568
|
+
objectName: String((u = (i = t.name) != null ? i : t.label) != null ? u : ""),
|
|
569
|
+
objectId: t.id != null ? String(t.id) : ""
|
|
570
|
+
});
|
|
571
|
+
}
|
|
572
|
+
function rt(t) {
|
|
573
|
+
var i, u, l, f;
|
|
574
|
+
const e = String((i = t.uid) != null ? i : "").trim(), o = C.value.stationNavRules, n = Array.isArray(o) ? o : [];
|
|
575
|
+
for (const w of n) {
|
|
576
|
+
const I = String((u = w == null ? void 0 : w.stationUid) != null ? u : "").trim(), v = String((l = w == null ? void 0 : w.pageKey) != null ? l : "").trim();
|
|
577
|
+
if (!(!I || !v) && I === e)
|
|
578
|
+
return v;
|
|
579
|
+
}
|
|
580
|
+
return String((f = C.value.stationNavPageKey) != null ? f : "").trim();
|
|
581
|
+
}
|
|
582
|
+
function at(t, e) {
|
|
583
|
+
const o = C.value;
|
|
584
|
+
return o && Object.prototype.hasOwnProperty.call(o, t) && o[t] !== void 0 ? !!o[t] : e;
|
|
585
|
+
}
|
|
586
|
+
const X = O(() => at("embedObjectMonitorRight", !0)), Pe = O(() => {
|
|
587
|
+
if (!X.value) return;
|
|
588
|
+
const t = String(T.value || "").trim();
|
|
589
|
+
if (!t) return [];
|
|
590
|
+
const e = C.value.menuToSheetLevels;
|
|
591
|
+
if (!Array.isArray(e)) return [];
|
|
592
|
+
const o = Number(se.value), n = e.find((l) => Number(l == null ? void 0 : l.level) === o), u = (n && Array.isArray(n.rules) ? n.rules : []).map((l) => {
|
|
593
|
+
var f;
|
|
594
|
+
return String((f = l == null ? void 0 : l.sheetTitle) != null ? f : "").trim();
|
|
595
|
+
}).filter(Boolean);
|
|
596
|
+
return u.length ? u.map((l) => ({ menuTitle: t, sheetTitle: l })) : [];
|
|
597
|
+
}), st = O(() => {
|
|
598
|
+
const t = String(C.value.objectLinkedDashboardDevice || "pc").trim().toLowerCase();
|
|
599
|
+
return t === "mobile" || t === "screen" ? t : "pc";
|
|
600
|
+
}), P = h(null), _e = h(""), Se = h(""), je = h(""), Oe = h(!1), Ke = h(null), H = h([]), Q = h("");
|
|
601
|
+
function Le() {
|
|
602
|
+
var u;
|
|
603
|
+
const t = P.value;
|
|
604
|
+
if (!t) {
|
|
605
|
+
H.value = [], Q.value = "";
|
|
606
|
+
return;
|
|
607
|
+
}
|
|
608
|
+
const e = to(t, Se.value), o = Pe.value;
|
|
609
|
+
H.value = oo(e);
|
|
610
|
+
const n = no(e, T.value, o), i = (n == null ? void 0 : n.pageKey) || ((u = H.value[0]) == null ? void 0 : u.pageKey) || "";
|
|
611
|
+
(!Q.value || !H.value.some((l) => l.pageKey === Q.value)) && (Q.value = i);
|
|
612
|
+
}
|
|
613
|
+
function ut(t) {
|
|
614
|
+
var o, n;
|
|
615
|
+
if (!t.pageKey || !P.value) return;
|
|
616
|
+
Q.value = t.pageKey;
|
|
617
|
+
const e = (n = (o = Ke.value) == null ? void 0 : o.switchSheetByPageKey) == null ? void 0 : n.call(o, t.pageKey);
|
|
618
|
+
(e === void 0 || e < 0) && j.warning("未找到对应 Sheet 页面");
|
|
619
|
+
}
|
|
620
|
+
function xe() {
|
|
621
|
+
P.value = null, _e.value = "", Se.value = "", je.value = "", H.value = [], Q.value = "";
|
|
622
|
+
}
|
|
623
|
+
function Ue(t) {
|
|
624
|
+
if (!t || typeof t != "object") return {};
|
|
625
|
+
const e = t, o = e.result;
|
|
626
|
+
if (o && typeof o == "object" && !Array.isArray(o)) return o;
|
|
627
|
+
const n = e.data;
|
|
628
|
+
return n && typeof n == "object" && !Array.isArray(n) ? n : e;
|
|
629
|
+
}
|
|
630
|
+
function ct(t, e) {
|
|
631
|
+
const o = e.toLowerCase();
|
|
632
|
+
return t.find((n) => {
|
|
633
|
+
var l, f;
|
|
634
|
+
const i = String((l = n == null ? void 0 : n.device_type) != null ? l : "").toLowerCase(), u = String((f = n == null ? void 0 : n.type) != null ? f : "").toLowerCase();
|
|
635
|
+
return i === o || u === o;
|
|
636
|
+
});
|
|
637
|
+
}
|
|
638
|
+
function dt(t) {
|
|
639
|
+
return G(this, null, function* () {
|
|
640
|
+
var o, n, i, u;
|
|
641
|
+
const e = t.trim();
|
|
642
|
+
if (!e) {
|
|
643
|
+
j.warning("对象缺少 uid");
|
|
644
|
+
return;
|
|
645
|
+
}
|
|
646
|
+
Oe.value = !0, P.value = null, _e.value = e, Se.value = "", je.value = "";
|
|
647
|
+
try {
|
|
648
|
+
const l = yield ne.post("get_object_item", { uid: e }, !0), f = Ue(l), w = Array.isArray(f.dashboard_list) ? f.dashboard_list : [], I = st.value, v = ct(w, I), z = String((o = v == null ? void 0 : v.uid) != null ? o : "").trim();
|
|
649
|
+
if (!z) {
|
|
650
|
+
j.warning("该对象未绑定对应类型的显示板");
|
|
651
|
+
return;
|
|
652
|
+
}
|
|
653
|
+
Se.value = z, je.value = String((u = (i = (n = v == null ? void 0 : v.name) != null ? n : v == null ? void 0 : v.caption) != null ? i : v == null ? void 0 : v.alias) != null ? u : "").trim();
|
|
654
|
+
const de = yield ne.post("get_dashboard_item", { uid: z }, !0), ee = Ue(de), s = ee == null ? void 0 : ee.script;
|
|
655
|
+
s && typeof s == "object" && Object.keys(s).length ? (P.value = s, yield pe(), Le()) : j.warning("显示板脚本为空");
|
|
656
|
+
} catch (l) {
|
|
657
|
+
console.error(l), P.value = null, Le();
|
|
658
|
+
} finally {
|
|
659
|
+
Oe.value = !1;
|
|
660
|
+
}
|
|
661
|
+
});
|
|
662
|
+
}
|
|
663
|
+
fe(
|
|
664
|
+
[P, T, Pe, se],
|
|
665
|
+
() => {
|
|
666
|
+
Le();
|
|
667
|
+
},
|
|
668
|
+
{ deep: !0 }
|
|
669
|
+
);
|
|
670
|
+
function mt(t, e) {
|
|
671
|
+
B.value = t, se.value = e.level;
|
|
672
|
+
const o = rt(t);
|
|
673
|
+
if (o && tt(t, e)) {
|
|
674
|
+
X.value && xe(), E.value = o, Re(t);
|
|
675
|
+
return;
|
|
676
|
+
}
|
|
677
|
+
X.value && x(t.ctype, e.level) !== "object" && xe(), x(t.ctype, e.level) === "object" && G(null, null, function* () {
|
|
678
|
+
var n;
|
|
679
|
+
if (X.value && m.mode !== "edit") {
|
|
680
|
+
const i = String((n = t.uid) != null ? n : "").trim();
|
|
681
|
+
i && (yield dt(i));
|
|
682
|
+
} else
|
|
683
|
+
ge();
|
|
684
|
+
Re(t);
|
|
685
|
+
});
|
|
686
|
+
}
|
|
687
|
+
const He = O(() => B.value ? x(B.value.ctype, se.value) === "customer" : !1), Qe = O(() => B.value ? x(B.value.ctype, se.value) === "project" : !1), ue = h(null), ce = h(""), Ee = h("");
|
|
688
|
+
function ft(t) {
|
|
689
|
+
t === "customer" ? pt() : t === "project" ? vt() : t === "object" && gt();
|
|
690
|
+
}
|
|
691
|
+
function pt() {
|
|
692
|
+
ze(), Y.value = !0;
|
|
693
|
+
}
|
|
694
|
+
function vt() {
|
|
695
|
+
var u, l, f;
|
|
696
|
+
if (!He.value || !B.value) {
|
|
697
|
+
j.warning("请先在树中选中客户(片区)节点");
|
|
698
|
+
return;
|
|
699
|
+
}
|
|
700
|
+
Ge();
|
|
701
|
+
const t = B.value, e = t.id, o = e != null && e !== "" ? Number(e) : NaN;
|
|
702
|
+
ue.value = Number.isFinite(o) ? o : null, ce.value = String((u = t.uid) != null ? u : "").trim();
|
|
703
|
+
const n = String((f = (l = t.name) != null ? l : t.label) != null ? f : "").trim(), i = ce.value;
|
|
704
|
+
Ee.value = [n, i].filter(Boolean).join(" · ") || i || String(e != null ? e : "—"), Z.value = !0;
|
|
705
|
+
}
|
|
706
|
+
function gt() {
|
|
707
|
+
var e, o, n, i;
|
|
708
|
+
if (!Qe.value || !B.value) {
|
|
709
|
+
j.warning("请先在树中选中项目节点");
|
|
710
|
+
return;
|
|
711
|
+
}
|
|
712
|
+
Je();
|
|
713
|
+
const t = B.value;
|
|
714
|
+
p.customer_id = String((e = t.uid) != null ? e : "").trim(), p.customer_name = String((n = (o = t.name) != null ? o : t.label) != null ? n : "").trim(), p.customer_alias = String((i = t.alias) != null ? i : "").trim(), W.value = !0;
|
|
715
|
+
}
|
|
716
|
+
const Y = h(!1), Z = h(!1), W = h(!1), R = h(!1), _ = Fe({
|
|
717
|
+
name: "",
|
|
718
|
+
alias: "",
|
|
719
|
+
contact: "",
|
|
720
|
+
mobile: "",
|
|
721
|
+
description: ""
|
|
722
|
+
}), V = Fe({
|
|
723
|
+
name: "",
|
|
724
|
+
alias: "",
|
|
725
|
+
description: ""
|
|
726
|
+
}), p = Fe({
|
|
727
|
+
uid: "",
|
|
728
|
+
name: "",
|
|
729
|
+
alias: "",
|
|
730
|
+
model: "",
|
|
731
|
+
customer_id: "",
|
|
732
|
+
customer_name: "",
|
|
733
|
+
customer_alias: "",
|
|
734
|
+
description: ""
|
|
735
|
+
});
|
|
736
|
+
function ze() {
|
|
737
|
+
_.name = "", _.alias = "", _.contact = "", _.mobile = "", _.description = "";
|
|
738
|
+
}
|
|
739
|
+
function Ge() {
|
|
740
|
+
V.name = "", V.alias = "", V.description = "";
|
|
741
|
+
}
|
|
742
|
+
function yt() {
|
|
743
|
+
ue.value = null, ce.value = "", Ee.value = "";
|
|
744
|
+
}
|
|
745
|
+
function bt() {
|
|
746
|
+
Ge(), yt();
|
|
747
|
+
}
|
|
748
|
+
function Je() {
|
|
749
|
+
p.uid = "", p.name = "", p.alias = "", p.model = "", p.customer_id = "", p.customer_name = "", p.customer_alias = "", p.description = "";
|
|
750
|
+
}
|
|
751
|
+
function ht() {
|
|
752
|
+
return G(this, null, function* () {
|
|
753
|
+
if (!_.name.trim()) {
|
|
754
|
+
j.warning("请填写客户名称");
|
|
755
|
+
return;
|
|
756
|
+
}
|
|
757
|
+
if (K.value) {
|
|
758
|
+
j.success("演示数据:已记录(未写入模拟树,关闭「使用模拟树」后可调真实接口)"), Y.value = !1;
|
|
759
|
+
return;
|
|
760
|
+
}
|
|
761
|
+
R.value = !0;
|
|
762
|
+
try {
|
|
763
|
+
yield ne.post(
|
|
764
|
+
"create_customer",
|
|
765
|
+
{
|
|
766
|
+
name: _.name.trim(),
|
|
767
|
+
alias: _.alias.trim(),
|
|
768
|
+
contact: _.contact,
|
|
769
|
+
mobile: _.mobile,
|
|
770
|
+
description: _.description
|
|
771
|
+
},
|
|
772
|
+
!0
|
|
773
|
+
), j.success("添加成功"), Y.value = !1, yield q();
|
|
774
|
+
} catch (t) {
|
|
775
|
+
j.error("添加失败");
|
|
776
|
+
} finally {
|
|
777
|
+
R.value = !1;
|
|
778
|
+
}
|
|
779
|
+
});
|
|
780
|
+
}
|
|
781
|
+
function _t() {
|
|
782
|
+
return G(this, null, function* () {
|
|
783
|
+
if (!V.name.trim()) {
|
|
784
|
+
j.warning("请填写项目名称");
|
|
785
|
+
return;
|
|
786
|
+
}
|
|
787
|
+
const t = ue.value != null && !Number.isNaN(ue.value), e = !!ce.value;
|
|
788
|
+
if (!t && !e) {
|
|
789
|
+
j.warning("缺少所属客户");
|
|
790
|
+
return;
|
|
791
|
+
}
|
|
792
|
+
if (K.value) {
|
|
793
|
+
j.success("演示数据:已记录(未写入模拟树)"), Z.value = !1;
|
|
794
|
+
return;
|
|
795
|
+
}
|
|
796
|
+
R.value = !0;
|
|
797
|
+
try {
|
|
798
|
+
const o = {
|
|
799
|
+
name: V.name.trim(),
|
|
800
|
+
alias: V.alias.trim(),
|
|
801
|
+
description: V.description
|
|
802
|
+
};
|
|
803
|
+
t ? o.father_id = ue.value : e && (o.parent_uid = ce.value), yield ne.post("create_project", o, !0), j.success("添加成功"), Z.value = !1, yield q();
|
|
804
|
+
} catch (o) {
|
|
805
|
+
j.error("添加失败");
|
|
806
|
+
} finally {
|
|
807
|
+
R.value = !1;
|
|
808
|
+
}
|
|
809
|
+
});
|
|
810
|
+
}
|
|
811
|
+
function St() {
|
|
812
|
+
var t, e, o, n, i, u, l;
|
|
813
|
+
return {
|
|
814
|
+
id: 0,
|
|
815
|
+
/** 与 mixui 客户项目对象下添加对象一致:编号由中台生成,请求体 uid 置空 */
|
|
816
|
+
uid: "",
|
|
817
|
+
name: String((t = p.name) != null ? t : "").trim(),
|
|
818
|
+
alias: String((e = p.alias) != null ? e : ""),
|
|
819
|
+
model: String((o = p.model) != null ? o : ""),
|
|
820
|
+
description: String((n = p.description) != null ? n : ""),
|
|
821
|
+
customer_id: String((i = p.customer_id) != null ? i : ""),
|
|
822
|
+
customer_name: String((u = p.customer_name) != null ? u : ""),
|
|
823
|
+
customer_alias: String((l = p.customer_alias) != null ? l : ""),
|
|
824
|
+
/** 后端 Go 结构体为 []string,不能传 JSON 字符串 */
|
|
825
|
+
terminal_list: [],
|
|
826
|
+
mapping_id: "",
|
|
827
|
+
mapping_name: "",
|
|
828
|
+
tag: [],
|
|
829
|
+
province: "",
|
|
830
|
+
city: "",
|
|
831
|
+
create_by_tpl: 0,
|
|
832
|
+
tpl_uid: "",
|
|
833
|
+
tpl_name: "",
|
|
834
|
+
tpl_alias: "",
|
|
835
|
+
addition: "[]"
|
|
836
|
+
};
|
|
837
|
+
}
|
|
838
|
+
function jt() {
|
|
839
|
+
return G(this, null, function* () {
|
|
840
|
+
var t;
|
|
841
|
+
if (!p.name.trim()) {
|
|
842
|
+
j.warning("请填写对象名称");
|
|
843
|
+
return;
|
|
844
|
+
}
|
|
845
|
+
if (!String((t = p.customer_id) != null ? t : "").trim()) {
|
|
846
|
+
j.warning("缺少所属项目,请从树中选中项目后再添加");
|
|
847
|
+
return;
|
|
848
|
+
}
|
|
849
|
+
if (K.value) {
|
|
850
|
+
j.success("演示数据:已记录(未写入模拟树)"), W.value = !1;
|
|
851
|
+
return;
|
|
852
|
+
}
|
|
853
|
+
R.value = !0;
|
|
854
|
+
try {
|
|
855
|
+
yield ne.post("create_object", St(), !0), j.success("添加成功"), W.value = !1, yield q();
|
|
856
|
+
} catch (e) {
|
|
857
|
+
j.error("添加失败");
|
|
858
|
+
} finally {
|
|
859
|
+
R.value = !1;
|
|
860
|
+
}
|
|
861
|
+
});
|
|
862
|
+
}
|
|
863
|
+
return xt(() => {
|
|
864
|
+
q();
|
|
865
|
+
}), (t, e) => {
|
|
866
|
+
const o = Vt, n = Tt, i = Nt, u = Lt, l = Ot, f = Pt, w = Et, I = It, v = Rt, z = Bt, de = Mt, ee = Ft;
|
|
867
|
+
return Xe((A(), N("div", {
|
|
868
|
+
class: "customer-project-object mix-component",
|
|
869
|
+
style: Ut({ backgroundColor: te(b).bgColor, borderRadius: `${te(b).radiusSize}px` })
|
|
870
|
+
}, [
|
|
871
|
+
J("div", lo, [
|
|
872
|
+
te(b).isHideTitle ? (A(), N("div", ro)) : (A(), N("span", io, we(a.conf.caption || a.conf.name), 1)),
|
|
873
|
+
J("div", ao, [
|
|
874
|
+
r(n, {
|
|
875
|
+
modelValue: he.value,
|
|
876
|
+
"onUpdate:modelValue": e[0] || (e[0] = (s) => he.value = s),
|
|
877
|
+
class: "gsl-search-input",
|
|
878
|
+
clearable: "",
|
|
879
|
+
placeholder: "搜索客户、项目、对象…",
|
|
880
|
+
size: "small",
|
|
881
|
+
onInput: Be,
|
|
882
|
+
onClear: Be
|
|
883
|
+
}, {
|
|
884
|
+
prefix: c(() => [
|
|
885
|
+
r(o, { class: "gsl-search-icon" }, {
|
|
886
|
+
default: c(() => [
|
|
887
|
+
r(te(zt))
|
|
888
|
+
]),
|
|
889
|
+
_: 1
|
|
890
|
+
})
|
|
891
|
+
]),
|
|
892
|
+
_: 1
|
|
893
|
+
}, 8, ["modelValue"]),
|
|
894
|
+
r(i, {
|
|
895
|
+
size: "small",
|
|
896
|
+
loading: be.value,
|
|
897
|
+
onClick: q
|
|
898
|
+
}, {
|
|
899
|
+
default: c(() => [...e[19] || (e[19] = [
|
|
900
|
+
L("刷新", -1)
|
|
901
|
+
])]),
|
|
902
|
+
_: 1
|
|
903
|
+
}, 8, ["loading"]),
|
|
904
|
+
te(b).showAddBtn ? (A(), oe(f, {
|
|
905
|
+
key: 0,
|
|
906
|
+
trigger: "click",
|
|
907
|
+
onCommand: ft
|
|
908
|
+
}, {
|
|
909
|
+
dropdown: c(() => [
|
|
910
|
+
r(l, null, {
|
|
911
|
+
default: c(() => [
|
|
912
|
+
r(u, { command: "customer" }, {
|
|
913
|
+
default: c(() => [...e[21] || (e[21] = [
|
|
914
|
+
L("添加客户", -1)
|
|
915
|
+
])]),
|
|
916
|
+
_: 1
|
|
917
|
+
}),
|
|
918
|
+
r(u, {
|
|
919
|
+
command: "project",
|
|
920
|
+
disabled: !He.value
|
|
921
|
+
}, {
|
|
922
|
+
default: c(() => [...e[22] || (e[22] = [
|
|
923
|
+
L("添加项目", -1)
|
|
924
|
+
])]),
|
|
925
|
+
_: 1
|
|
926
|
+
}, 8, ["disabled"]),
|
|
927
|
+
r(u, {
|
|
928
|
+
command: "object",
|
|
929
|
+
disabled: !Qe.value
|
|
930
|
+
}, {
|
|
931
|
+
default: c(() => [...e[23] || (e[23] = [
|
|
932
|
+
L("添加对象", -1)
|
|
933
|
+
])]),
|
|
934
|
+
_: 1
|
|
935
|
+
}, 8, ["disabled"])
|
|
936
|
+
]),
|
|
937
|
+
_: 1
|
|
938
|
+
})
|
|
939
|
+
]),
|
|
940
|
+
default: c(() => [
|
|
941
|
+
r(i, {
|
|
942
|
+
type: "primary",
|
|
943
|
+
size: "small"
|
|
944
|
+
}, {
|
|
945
|
+
default: c(() => [
|
|
946
|
+
e[20] || (e[20] = L(" 新增 ", -1)),
|
|
947
|
+
r(o, { class: "el-icon--right" }, {
|
|
948
|
+
default: c(() => [
|
|
949
|
+
r(te(Gt))
|
|
950
|
+
]),
|
|
951
|
+
_: 1
|
|
952
|
+
})
|
|
953
|
+
]),
|
|
954
|
+
_: 1
|
|
955
|
+
})
|
|
956
|
+
]),
|
|
957
|
+
_: 1
|
|
958
|
+
})) : De("", !0)
|
|
959
|
+
])
|
|
960
|
+
]),
|
|
961
|
+
J("div", {
|
|
962
|
+
class: Ye(["mix-body gsl-body", { "gsl-body--split": X.value }])
|
|
963
|
+
}, [
|
|
964
|
+
J("div", so, [
|
|
965
|
+
J("div", uo, [
|
|
966
|
+
$.value.length ? (A(), oe(w, {
|
|
967
|
+
key: 0,
|
|
968
|
+
ref_key: "treeRef",
|
|
969
|
+
ref: Ne,
|
|
970
|
+
class: "gsl-tree",
|
|
971
|
+
data: $.value,
|
|
972
|
+
props: { label: "label", children: "children" },
|
|
973
|
+
"node-key": "treeKey",
|
|
974
|
+
"highlight-current": "",
|
|
975
|
+
"default-expand-all": "",
|
|
976
|
+
"filter-node-method": it,
|
|
977
|
+
onNodeClick: mt
|
|
978
|
+
}, {
|
|
979
|
+
default: c(({ node: s, data: Ce }) => [
|
|
980
|
+
J("span", co, [
|
|
981
|
+
(A(!0), N(Me, null, Ze([nt(s.level)], (Ie) => (A(), N(Me, {
|
|
982
|
+
key: Ce.treeKey + "-" + s.level
|
|
983
|
+
}, [
|
|
984
|
+
Ie ? (A(), N("span", mo, [
|
|
985
|
+
r(o, { class: "gsl-tree-level-icon" }, {
|
|
986
|
+
default: c(() => [
|
|
987
|
+
(A(), oe(Ht(Ie)))
|
|
988
|
+
]),
|
|
989
|
+
_: 2
|
|
990
|
+
}, 1024)
|
|
991
|
+
])) : De("", !0)
|
|
992
|
+
], 64))), 128)),
|
|
993
|
+
J("span", fo, we(Ce.label), 1)
|
|
994
|
+
])
|
|
995
|
+
]),
|
|
996
|
+
_: 1
|
|
997
|
+
}, 8, ["data"])) : (A(), oe(I, {
|
|
998
|
+
key: 1,
|
|
999
|
+
description: "暂无树数据"
|
|
1000
|
+
}))
|
|
1001
|
+
])
|
|
1002
|
+
]),
|
|
1003
|
+
X.value ? Xe((A(), N("div", po, [
|
|
1004
|
+
P.value && H.value.length ? (A(), N("div", vo, [
|
|
1005
|
+
(A(!0), N(Me, null, Ze(H.value, (s, Ce) => (A(), N("button", {
|
|
1006
|
+
key: s.pageKey + "-" + Ce,
|
|
1007
|
+
type: "button",
|
|
1008
|
+
class: Ye(["gsl-monitor-sheet-tab", { active: s.pageKey === Q.value }]),
|
|
1009
|
+
title: s.title,
|
|
1010
|
+
onClick: (Ie) => ut(s)
|
|
1011
|
+
}, we(s.title), 11, go))), 128))
|
|
1012
|
+
])) : P.value ? (A(), N("div", yo, we(je.value || "设备监控"), 1)) : De("", !0),
|
|
1013
|
+
P.value ? (A(), N("div", bo, [
|
|
1014
|
+
(A(), oe($t, {
|
|
1015
|
+
ref_key: "rightPanelDesignRef",
|
|
1016
|
+
ref: Ke,
|
|
1017
|
+
key: _e.value,
|
|
1018
|
+
script: P.value,
|
|
1019
|
+
uid: _e.value,
|
|
1020
|
+
"enable-web-socket": !0,
|
|
1021
|
+
"follow-host-theme": !0,
|
|
1022
|
+
"host-pro-menu-title": T.value,
|
|
1023
|
+
"host-menu-to-sheet-rules": Pe.value
|
|
1024
|
+
}, null, 8, ["script", "uid", "host-pro-menu-title", "host-menu-to-sheet-rules"]))
|
|
1025
|
+
])) : (A(), oe(I, {
|
|
1026
|
+
key: 3,
|
|
1027
|
+
class: "gsl-monitor-empty",
|
|
1028
|
+
description: "点击对象查看设备监控"
|
|
1029
|
+
}))
|
|
1030
|
+
])), [
|
|
1031
|
+
[ee, Oe.value]
|
|
1032
|
+
]) : De("", !0)
|
|
1033
|
+
], 2),
|
|
1034
|
+
r(de, {
|
|
1035
|
+
modelValue: Y.value,
|
|
1036
|
+
"onUpdate:modelValue": e[7] || (e[7] = (s) => Y.value = s),
|
|
1037
|
+
title: "添加客户",
|
|
1038
|
+
width: "520px",
|
|
1039
|
+
"destroy-on-close": "",
|
|
1040
|
+
onClosed: ze
|
|
1041
|
+
}, {
|
|
1042
|
+
footer: c(() => [
|
|
1043
|
+
r(i, {
|
|
1044
|
+
onClick: e[6] || (e[6] = (s) => Y.value = !1)
|
|
1045
|
+
}, {
|
|
1046
|
+
default: c(() => [...e[24] || (e[24] = [
|
|
1047
|
+
L("取消", -1)
|
|
1048
|
+
])]),
|
|
1049
|
+
_: 1
|
|
1050
|
+
}),
|
|
1051
|
+
r(i, {
|
|
1052
|
+
type: "primary",
|
|
1053
|
+
loading: R.value,
|
|
1054
|
+
onClick: ht
|
|
1055
|
+
}, {
|
|
1056
|
+
default: c(() => [...e[25] || (e[25] = [
|
|
1057
|
+
L("保存", -1)
|
|
1058
|
+
])]),
|
|
1059
|
+
_: 1
|
|
1060
|
+
}, 8, ["loading"])
|
|
1061
|
+
]),
|
|
1062
|
+
default: c(() => [
|
|
1063
|
+
r(z, {
|
|
1064
|
+
model: _,
|
|
1065
|
+
"label-width": "100px"
|
|
1066
|
+
}, {
|
|
1067
|
+
default: c(() => [
|
|
1068
|
+
r(v, {
|
|
1069
|
+
label: "客户名称",
|
|
1070
|
+
required: ""
|
|
1071
|
+
}, {
|
|
1072
|
+
default: c(() => [
|
|
1073
|
+
r(n, {
|
|
1074
|
+
modelValue: _.name,
|
|
1075
|
+
"onUpdate:modelValue": e[1] || (e[1] = (s) => _.name = s),
|
|
1076
|
+
placeholder: "必填"
|
|
1077
|
+
}, null, 8, ["modelValue"])
|
|
1078
|
+
]),
|
|
1079
|
+
_: 1
|
|
1080
|
+
}),
|
|
1081
|
+
r(v, { label: "客户别名" }, {
|
|
1082
|
+
default: c(() => [
|
|
1083
|
+
r(n, {
|
|
1084
|
+
modelValue: _.alias,
|
|
1085
|
+
"onUpdate:modelValue": e[2] || (e[2] = (s) => _.alias = s)
|
|
1086
|
+
}, null, 8, ["modelValue"])
|
|
1087
|
+
]),
|
|
1088
|
+
_: 1
|
|
1089
|
+
}),
|
|
1090
|
+
r(v, { label: "联系人" }, {
|
|
1091
|
+
default: c(() => [
|
|
1092
|
+
r(n, {
|
|
1093
|
+
modelValue: _.contact,
|
|
1094
|
+
"onUpdate:modelValue": e[3] || (e[3] = (s) => _.contact = s)
|
|
1095
|
+
}, null, 8, ["modelValue"])
|
|
1096
|
+
]),
|
|
1097
|
+
_: 1
|
|
1098
|
+
}),
|
|
1099
|
+
r(v, { label: "手机" }, {
|
|
1100
|
+
default: c(() => [
|
|
1101
|
+
r(n, {
|
|
1102
|
+
modelValue: _.mobile,
|
|
1103
|
+
"onUpdate:modelValue": e[4] || (e[4] = (s) => _.mobile = s)
|
|
1104
|
+
}, null, 8, ["modelValue"])
|
|
1105
|
+
]),
|
|
1106
|
+
_: 1
|
|
1107
|
+
}),
|
|
1108
|
+
r(v, { label: "描述" }, {
|
|
1109
|
+
default: c(() => [
|
|
1110
|
+
r(n, {
|
|
1111
|
+
modelValue: _.description,
|
|
1112
|
+
"onUpdate:modelValue": e[5] || (e[5] = (s) => _.description = s),
|
|
1113
|
+
type: "textarea",
|
|
1114
|
+
rows: 2
|
|
1115
|
+
}, null, 8, ["modelValue"])
|
|
1116
|
+
]),
|
|
1117
|
+
_: 1
|
|
1118
|
+
})
|
|
1119
|
+
]),
|
|
1120
|
+
_: 1
|
|
1121
|
+
}, 8, ["model"])
|
|
1122
|
+
]),
|
|
1123
|
+
_: 1
|
|
1124
|
+
}, 8, ["modelValue"]),
|
|
1125
|
+
r(de, {
|
|
1126
|
+
modelValue: Z.value,
|
|
1127
|
+
"onUpdate:modelValue": e[12] || (e[12] = (s) => Z.value = s),
|
|
1128
|
+
title: "添加项目",
|
|
1129
|
+
width: "520px",
|
|
1130
|
+
"destroy-on-close": "",
|
|
1131
|
+
onClosed: bt
|
|
1132
|
+
}, {
|
|
1133
|
+
footer: c(() => [
|
|
1134
|
+
r(i, {
|
|
1135
|
+
onClick: e[11] || (e[11] = (s) => Z.value = !1)
|
|
1136
|
+
}, {
|
|
1137
|
+
default: c(() => [...e[26] || (e[26] = [
|
|
1138
|
+
L("取消", -1)
|
|
1139
|
+
])]),
|
|
1140
|
+
_: 1
|
|
1141
|
+
}),
|
|
1142
|
+
r(i, {
|
|
1143
|
+
type: "primary",
|
|
1144
|
+
loading: R.value,
|
|
1145
|
+
onClick: _t
|
|
1146
|
+
}, {
|
|
1147
|
+
default: c(() => [...e[27] || (e[27] = [
|
|
1148
|
+
L("保存", -1)
|
|
1149
|
+
])]),
|
|
1150
|
+
_: 1
|
|
1151
|
+
}, 8, ["loading"])
|
|
1152
|
+
]),
|
|
1153
|
+
default: c(() => [
|
|
1154
|
+
r(z, {
|
|
1155
|
+
model: V,
|
|
1156
|
+
"label-width": "100px"
|
|
1157
|
+
}, {
|
|
1158
|
+
default: c(() => [
|
|
1159
|
+
r(v, { label: "所属客户" }, {
|
|
1160
|
+
default: c(() => [
|
|
1161
|
+
r(n, {
|
|
1162
|
+
"model-value": Ee.value,
|
|
1163
|
+
disabled: ""
|
|
1164
|
+
}, null, 8, ["model-value"])
|
|
1165
|
+
]),
|
|
1166
|
+
_: 1
|
|
1167
|
+
}),
|
|
1168
|
+
r(v, {
|
|
1169
|
+
label: "项目名称",
|
|
1170
|
+
required: ""
|
|
1171
|
+
}, {
|
|
1172
|
+
default: c(() => [
|
|
1173
|
+
r(n, {
|
|
1174
|
+
modelValue: V.name,
|
|
1175
|
+
"onUpdate:modelValue": e[8] || (e[8] = (s) => V.name = s),
|
|
1176
|
+
placeholder: "必填"
|
|
1177
|
+
}, null, 8, ["modelValue"])
|
|
1178
|
+
]),
|
|
1179
|
+
_: 1
|
|
1180
|
+
}),
|
|
1181
|
+
r(v, { label: "项目别名" }, {
|
|
1182
|
+
default: c(() => [
|
|
1183
|
+
r(n, {
|
|
1184
|
+
modelValue: V.alias,
|
|
1185
|
+
"onUpdate:modelValue": e[9] || (e[9] = (s) => V.alias = s)
|
|
1186
|
+
}, null, 8, ["modelValue"])
|
|
1187
|
+
]),
|
|
1188
|
+
_: 1
|
|
1189
|
+
}),
|
|
1190
|
+
r(v, { label: "描述" }, {
|
|
1191
|
+
default: c(() => [
|
|
1192
|
+
r(n, {
|
|
1193
|
+
modelValue: V.description,
|
|
1194
|
+
"onUpdate:modelValue": e[10] || (e[10] = (s) => V.description = s),
|
|
1195
|
+
type: "textarea",
|
|
1196
|
+
rows: 2
|
|
1197
|
+
}, null, 8, ["modelValue"])
|
|
1198
|
+
]),
|
|
1199
|
+
_: 1
|
|
1200
|
+
})
|
|
1201
|
+
]),
|
|
1202
|
+
_: 1
|
|
1203
|
+
}, 8, ["model"])
|
|
1204
|
+
]),
|
|
1205
|
+
_: 1
|
|
1206
|
+
}, 8, ["modelValue"]),
|
|
1207
|
+
r(de, {
|
|
1208
|
+
modelValue: W.value,
|
|
1209
|
+
"onUpdate:modelValue": e[18] || (e[18] = (s) => W.value = s),
|
|
1210
|
+
title: "添加对象",
|
|
1211
|
+
width: "560px",
|
|
1212
|
+
"destroy-on-close": "",
|
|
1213
|
+
onClosed: Je
|
|
1214
|
+
}, {
|
|
1215
|
+
footer: c(() => [
|
|
1216
|
+
r(i, {
|
|
1217
|
+
onClick: e[17] || (e[17] = (s) => W.value = !1)
|
|
1218
|
+
}, {
|
|
1219
|
+
default: c(() => [...e[28] || (e[28] = [
|
|
1220
|
+
L("取消", -1)
|
|
1221
|
+
])]),
|
|
1222
|
+
_: 1
|
|
1223
|
+
}),
|
|
1224
|
+
r(i, {
|
|
1225
|
+
type: "primary",
|
|
1226
|
+
loading: R.value,
|
|
1227
|
+
onClick: jt
|
|
1228
|
+
}, {
|
|
1229
|
+
default: c(() => [...e[29] || (e[29] = [
|
|
1230
|
+
L("保存", -1)
|
|
1231
|
+
])]),
|
|
1232
|
+
_: 1
|
|
1233
|
+
}, 8, ["loading"])
|
|
1234
|
+
]),
|
|
1235
|
+
default: c(() => [
|
|
1236
|
+
r(z, {
|
|
1237
|
+
model: p,
|
|
1238
|
+
"label-width": "110px"
|
|
1239
|
+
}, {
|
|
1240
|
+
default: c(() => [
|
|
1241
|
+
r(v, {
|
|
1242
|
+
label: "对象名称",
|
|
1243
|
+
required: ""
|
|
1244
|
+
}, {
|
|
1245
|
+
default: c(() => [
|
|
1246
|
+
r(n, {
|
|
1247
|
+
modelValue: p.name,
|
|
1248
|
+
"onUpdate:modelValue": e[13] || (e[13] = (s) => p.name = s),
|
|
1249
|
+
placeholder: "必填"
|
|
1250
|
+
}, null, 8, ["modelValue"])
|
|
1251
|
+
]),
|
|
1252
|
+
_: 1
|
|
1253
|
+
}),
|
|
1254
|
+
r(v, { label: "对象别名" }, {
|
|
1255
|
+
default: c(() => [
|
|
1256
|
+
r(n, {
|
|
1257
|
+
modelValue: p.alias,
|
|
1258
|
+
"onUpdate:modelValue": e[14] || (e[14] = (s) => p.alias = s)
|
|
1259
|
+
}, null, 8, ["modelValue"])
|
|
1260
|
+
]),
|
|
1261
|
+
_: 1
|
|
1262
|
+
}),
|
|
1263
|
+
r(v, { label: "型号" }, {
|
|
1264
|
+
default: c(() => [
|
|
1265
|
+
r(n, {
|
|
1266
|
+
modelValue: p.model,
|
|
1267
|
+
"onUpdate:modelValue": e[15] || (e[15] = (s) => p.model = s)
|
|
1268
|
+
}, null, 8, ["modelValue"])
|
|
1269
|
+
]),
|
|
1270
|
+
_: 1
|
|
1271
|
+
}),
|
|
1272
|
+
r(v, { label: "项目编号" }, {
|
|
1273
|
+
default: c(() => [
|
|
1274
|
+
r(n, {
|
|
1275
|
+
"model-value": p.customer_id,
|
|
1276
|
+
disabled: ""
|
|
1277
|
+
}, null, 8, ["model-value"])
|
|
1278
|
+
]),
|
|
1279
|
+
_: 1
|
|
1280
|
+
}),
|
|
1281
|
+
r(v, { label: "项目名称" }, {
|
|
1282
|
+
default: c(() => [
|
|
1283
|
+
r(n, {
|
|
1284
|
+
"model-value": p.customer_name,
|
|
1285
|
+
disabled: ""
|
|
1286
|
+
}, null, 8, ["model-value"])
|
|
1287
|
+
]),
|
|
1288
|
+
_: 1
|
|
1289
|
+
}),
|
|
1290
|
+
r(v, { label: "项目别名" }, {
|
|
1291
|
+
default: c(() => [
|
|
1292
|
+
r(n, {
|
|
1293
|
+
"model-value": p.customer_alias,
|
|
1294
|
+
disabled: ""
|
|
1295
|
+
}, null, 8, ["model-value"])
|
|
1296
|
+
]),
|
|
1297
|
+
_: 1
|
|
1298
|
+
}),
|
|
1299
|
+
r(v, { label: "描述" }, {
|
|
1300
|
+
default: c(() => [
|
|
1301
|
+
r(n, {
|
|
1302
|
+
modelValue: p.description,
|
|
1303
|
+
"onUpdate:modelValue": e[16] || (e[16] = (s) => p.description = s),
|
|
1304
|
+
type: "textarea",
|
|
1305
|
+
rows: 2
|
|
1306
|
+
}, null, 8, ["modelValue"])
|
|
1307
|
+
]),
|
|
1308
|
+
_: 1
|
|
1309
|
+
})
|
|
1310
|
+
]),
|
|
1311
|
+
_: 1
|
|
1312
|
+
}, 8, ["model"])
|
|
1313
|
+
]),
|
|
1314
|
+
_: 1
|
|
1315
|
+
}, 8, ["modelValue"]),
|
|
1316
|
+
Qt(t.$slots, "default", {}, void 0, !0)
|
|
1317
|
+
], 4)), [
|
|
1318
|
+
[ee, be.value && !$.value.length]
|
|
1319
|
+
]);
|
|
1320
|
+
};
|
|
1321
|
+
}
|
|
1322
|
+
})), Jo = /* @__PURE__ */ qt(ko, [["__scopeId", "data-v-3637114d"]]);
|
|
1323
|
+
export {
|
|
1324
|
+
Jo as default
|
|
1325
|
+
};
|