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,1219 @@
|
|
|
1
|
+
var Ct = Object.defineProperty, Et = Object.defineProperties;
|
|
2
|
+
var jt = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Ue = Object.getOwnPropertySymbols;
|
|
4
|
+
var Vt = Object.prototype.hasOwnProperty, Rt = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ye = (w, k, f) => k in w ? Ct(w, k, { enumerable: !0, configurable: !0, writable: !0, value: f }) : w[k] = f, ne = (w, k) => {
|
|
6
|
+
for (var f in k || (k = {}))
|
|
7
|
+
Vt.call(k, f) && Ye(w, f, k[f]);
|
|
8
|
+
if (Ue)
|
|
9
|
+
for (var f of Ue(k))
|
|
10
|
+
Rt.call(k, f) && Ye(w, f, k[f]);
|
|
11
|
+
return w;
|
|
12
|
+
}, se = (w, k) => Et(w, jt(k));
|
|
13
|
+
var A = (w, k, f) => new Promise((V, ee) => {
|
|
14
|
+
var te = (D) => {
|
|
15
|
+
try {
|
|
16
|
+
I(f.next(D));
|
|
17
|
+
} catch ($) {
|
|
18
|
+
ee($);
|
|
19
|
+
}
|
|
20
|
+
}, R = (D) => {
|
|
21
|
+
try {
|
|
22
|
+
I(f.throw(D));
|
|
23
|
+
} catch ($) {
|
|
24
|
+
ee($);
|
|
25
|
+
}
|
|
26
|
+
}, I = (D) => D.done ? V(D.value) : Promise.resolve(D.value).then(te, R);
|
|
27
|
+
I((f = f.apply(w, k)).next());
|
|
28
|
+
});
|
|
29
|
+
import { ElDropdown as Dt, ElButton as zt, ElIcon as At, ElDropdownMenu as Bt, ElDropdownItem as Ot, ElRadioGroup as Ft, ElRadioButton as Lt, ElDatePicker as Tt, ElSelect as Mt, ElOption as Pt, ElInput as Ut, ElTag as Yt, ElPagination as Nt, ElLoadingDirective as Kt, ElDialog as It, ElAlert as $t, ElDescriptions as Ht, ElDescriptionsItem as Jt, ElTimeline as Wt, ElTimelineItem as qt, ElImage as Gt, ElEmpty as Qt, ElForm as Xt, ElFormItem as Zt, ElUpload as el } 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/form/style/css";
|
|
33
|
+
import "element-plus/es/components/upload/style/css";
|
|
34
|
+
import "element-plus/es/components/form-item/style/css";
|
|
35
|
+
import "element-plus/es/components/dialog/style/css";
|
|
36
|
+
import "element-plus/es/components/empty/style/css";
|
|
37
|
+
import "element-plus/es/components/timeline/style/css";
|
|
38
|
+
import "element-plus/es/components/timeline-item/style/css";
|
|
39
|
+
import "element-plus/es/components/image/style/css";
|
|
40
|
+
import "element-plus/es/components/descriptions/style/css";
|
|
41
|
+
import "element-plus/es/components/descriptions-item/style/css";
|
|
42
|
+
import "element-plus/es/components/alert/style/css";
|
|
43
|
+
import "element-plus/es/components/pagination/style/css";
|
|
44
|
+
import "element-plus/es/components/tag/style/css";
|
|
45
|
+
import "element-plus/es/components/input/style/css";
|
|
46
|
+
import "element-plus/es/components/select/style/css";
|
|
47
|
+
import "element-plus/es/components/option/style/css";
|
|
48
|
+
import "element-plus/es/components/date-picker/style/css";
|
|
49
|
+
import "element-plus/es/components/radio-group/style/css";
|
|
50
|
+
import "element-plus/es/components/radio-button/style/css";
|
|
51
|
+
import "element-plus/es/components/dropdown/style/css";
|
|
52
|
+
import "element-plus/es/components/dropdown-menu/style/css";
|
|
53
|
+
import "element-plus/es/components/dropdown-item/style/css";
|
|
54
|
+
import "element-plus/es/components/button/style/css";
|
|
55
|
+
import "element-plus/es/components/icon/style/css";
|
|
56
|
+
import { defineComponent as tl, computed as P, reactive as Se, ref as y, onMounted as ll, openBlock as u, createElementBlock as m, normalizeStyle as xe, unref as j, normalizeClass as Ne, createElementVNode as _, toDisplayString as h, createVNode as n, withCtx as s, createTextVNode as b, createBlock as F, createCommentVNode as B, withDirectives as Ke, withKeys as Ce, Fragment as L, renderList as Z, withModifiers as re, renderSlot as al } from "vue";
|
|
57
|
+
import { d as K, a as T, F as ol, h as il, _ as nl } from "./index-BZpYmpDy.js";
|
|
58
|
+
import { u as sl } from "./useMixiotPanelSurface-DRl3cZvc.js";
|
|
59
|
+
import { B as rl } from "./BaseComponent-CQaDWNO0.js";
|
|
60
|
+
import { g as dl } from "./titleStyle-BT5GlpAb.js";
|
|
61
|
+
import { ElMessage as x, ElMessageBox as cl } from "element-plus";
|
|
62
|
+
import { Plus as Ee, Search as ul, MoreFilled as pl, ArrowDown as ml } from "@element-plus/icons-vue";
|
|
63
|
+
import { a as _l } from "./appendCommonDesignerWhereAnd-DwefWNOa.js";
|
|
64
|
+
import { A as fl, D as bl } from "./ele-lst-icon-CKpeRKmk.js";
|
|
65
|
+
const vl = {
|
|
66
|
+
key: 0,
|
|
67
|
+
class: "app-title-row"
|
|
68
|
+
}, gl = { class: "mix-app-body" }, yl = { class: "app-status-row" }, hl = { class: "app-toolbar-row" }, kl = { class: "app-card-scroll" }, wl = ["onClick", "onKeydown"], Sl = { class: "app-card-top" }, xl = { class: "app-card-top-left" }, Cl = { class: "app-card-name" }, El = { class: "app-card-top-right" }, jl = { class: "app-card-fields" }, Vl = { class: "app-field-label" }, Rl = {
|
|
69
|
+
key: 0,
|
|
70
|
+
class: "app-field-value"
|
|
71
|
+
}, Dl = {
|
|
72
|
+
key: 1,
|
|
73
|
+
class: "app-field-value"
|
|
74
|
+
}, zl = ["onClick"], Al = { class: "pagination" }, Bl = { class: "pagination-row pagination-row--meta" }, Ol = { class: "pagination-row pagination-row--pager" }, Fl = { class: "detail-header-row" }, Ll = { class: "detail-body" }, Tl = { class: "tl-row" }, Ml = { class: "tl-row" }, Pl = {
|
|
75
|
+
key: 0,
|
|
76
|
+
class: "tl-row"
|
|
77
|
+
}, Ul = {
|
|
78
|
+
key: 1,
|
|
79
|
+
class: "tl-row tl-images"
|
|
80
|
+
}, Yl = {
|
|
81
|
+
key: 0,
|
|
82
|
+
class: "tl-event-values"
|
|
83
|
+
}, Nl = {
|
|
84
|
+
DEFAULT_ICON: bl,
|
|
85
|
+
ACTIVE_ICON: fl,
|
|
86
|
+
NAME_CN: "历程记录",
|
|
87
|
+
NAME_EN: "RetainerRecordListAPP",
|
|
88
|
+
ORDER: 7,
|
|
89
|
+
PLATFORM: ["mobile"]
|
|
90
|
+
}, Kl = {
|
|
91
|
+
panelBgTone: {
|
|
92
|
+
value: "light",
|
|
93
|
+
type: "select",
|
|
94
|
+
label: "component.options.mixiotPanelBgTone",
|
|
95
|
+
options: [
|
|
96
|
+
{ label: "component.options.mixiotPanelBgTone_light", value: "light" },
|
|
97
|
+
{ label: "component.options.mixiotPanelBgTone_dark", value: "dark" }
|
|
98
|
+
]
|
|
99
|
+
},
|
|
100
|
+
bgColor: "#fff",
|
|
101
|
+
nameColor: "#999",
|
|
102
|
+
valueColor: "#333",
|
|
103
|
+
titleColor: "#111",
|
|
104
|
+
titleSize: 14,
|
|
105
|
+
nameSize: 12,
|
|
106
|
+
valueSize: 12,
|
|
107
|
+
radiusSize: 8,
|
|
108
|
+
isHideTitle: !1,
|
|
109
|
+
columns: [
|
|
110
|
+
{ key: "template_id", label: "项目编号", width: 140, visible: !0 },
|
|
111
|
+
{ key: "label_cn", label: "历程项中文名称", width: 140, visible: !0 },
|
|
112
|
+
{ key: "label_en", label: "历程项英文名称", width: 140, visible: !0 },
|
|
113
|
+
{ key: "code", label: "历程项编码", width: 120, visible: !0 },
|
|
114
|
+
{ key: "category", label: "历程类型", width: 100, visible: !0 },
|
|
115
|
+
{ key: "object_id", label: "对象编号", width: 140, visible: !0 },
|
|
116
|
+
{ key: "object_name", label: "对象名称", width: 140, visible: !0 },
|
|
117
|
+
{ key: "object_alias", label: "对象别名", width: 120, visible: !0 },
|
|
118
|
+
{ key: "model", label: "型号", width: 100, visible: !0 },
|
|
119
|
+
{ key: "retained", label: "状态", width: 90, visible: !0 },
|
|
120
|
+
{ key: "opened_at", label: "开始时间", width: 170, visible: !0 },
|
|
121
|
+
{ key: "elapsed", label: "持续时间", width: 120, visible: !0 },
|
|
122
|
+
{ key: "statis_result", label: "统计结果", width: 120, visible: !0 },
|
|
123
|
+
{ key: "close_at", label: "结束时间", width: 170, visible: !0 }
|
|
124
|
+
]
|
|
125
|
+
}, Ie = [
|
|
126
|
+
{
|
|
127
|
+
name: "历程记录",
|
|
128
|
+
fv: "",
|
|
129
|
+
showViewBtn: !0,
|
|
130
|
+
showExportBtn: !0,
|
|
131
|
+
template_id: "项目编号",
|
|
132
|
+
template_id_visible: !0,
|
|
133
|
+
label_cn: "历程项中文名称",
|
|
134
|
+
label_cn_visible: !0,
|
|
135
|
+
label_en: "历程项英文名称",
|
|
136
|
+
label_en_visible: !0,
|
|
137
|
+
code: "历程项编码",
|
|
138
|
+
code_visible: !0,
|
|
139
|
+
category: "历程类型",
|
|
140
|
+
category_visible: !0,
|
|
141
|
+
object_id: "对象编号",
|
|
142
|
+
object_id_visible: !0,
|
|
143
|
+
object_name: "对象名称",
|
|
144
|
+
object_name_visible: !0,
|
|
145
|
+
object_alias: "对象别名",
|
|
146
|
+
object_alias_visible: !0,
|
|
147
|
+
model: "型号",
|
|
148
|
+
model_visible: !0,
|
|
149
|
+
retained: "状态",
|
|
150
|
+
retained_visible: !0,
|
|
151
|
+
opened_at: "开始时间",
|
|
152
|
+
opened_at_visible: !0,
|
|
153
|
+
elapsed: "持续时间",
|
|
154
|
+
elapsed_visible: !0,
|
|
155
|
+
statis_result: "统计结果",
|
|
156
|
+
statis_result_visible: !0,
|
|
157
|
+
close_at: "结束时间",
|
|
158
|
+
close_at_visible: !0,
|
|
159
|
+
appCardDefaultLines: 3
|
|
160
|
+
}
|
|
161
|
+
], Il = [
|
|
162
|
+
{ key: "appCardDefaultLines", label: "APP卡片默认展示行数", type: "number" },
|
|
163
|
+
{ key: "showViewBtn", label: "详情", type: "checkbox", group: "操作组" },
|
|
164
|
+
{ key: "showExportBtn", label: "导出", type: "checkbox", group: "命令组" },
|
|
165
|
+
{ key: "name", label: "参数名称" },
|
|
166
|
+
{ key: "template_id", label: "项目编号", checkable: !0, checkboxKey: "template_id_visible" },
|
|
167
|
+
{ key: "label_cn", label: "历程项中文名称", checkable: !0, checkboxKey: "label_cn_visible" },
|
|
168
|
+
{ key: "label_en", label: "历程项英文名称", checkable: !0, checkboxKey: "label_en_visible" },
|
|
169
|
+
{ key: "code", label: "历程项编码", checkable: !0, checkboxKey: "code_visible" },
|
|
170
|
+
{ key: "category", label: "历程类型", checkable: !0, checkboxKey: "category_visible" },
|
|
171
|
+
{ key: "object_id", label: "对象编号", checkable: !0, checkboxKey: "object_id_visible" },
|
|
172
|
+
{ key: "object_name", label: "对象名称", checkable: !0, checkboxKey: "object_name_visible" },
|
|
173
|
+
{ key: "object_alias", label: "对象别名", checkable: !0, checkboxKey: "object_alias_visible" },
|
|
174
|
+
{ key: "model", label: "型号", checkable: !0, checkboxKey: "model_visible" },
|
|
175
|
+
{ key: "retained", label: "状态", checkable: !0, checkboxKey: "retained_visible" },
|
|
176
|
+
{ key: "opened_at", label: "开始时间", checkable: !0, checkboxKey: "opened_at_visible" },
|
|
177
|
+
{ key: "elapsed", label: "持续时间", checkable: !0, checkboxKey: "elapsed_visible" },
|
|
178
|
+
{ key: "statis_result", label: "统计结果", checkable: !0, checkboxKey: "statis_result_visible" },
|
|
179
|
+
{ key: "close_at", label: "结束时间", checkable: !0, checkboxKey: "close_at_visible" }
|
|
180
|
+
], $l = [], Hl = {
|
|
181
|
+
isAddCondition: !1,
|
|
182
|
+
conditions: [],
|
|
183
|
+
conditionFilterFields: [
|
|
184
|
+
{ value: "template_id", label: "setting.gridFields.templateId" },
|
|
185
|
+
{ value: "code", label: "setting.gridFields.code" },
|
|
186
|
+
{ value: "label_cn", label: "setting.gridFields.labelCn" },
|
|
187
|
+
{ value: "label_en", label: "setting.gridFields.labelEn" },
|
|
188
|
+
{ value: "category", label: "setting.gridFields.category" },
|
|
189
|
+
{ value: "object_id", label: "setting.gridFields.objectId" },
|
|
190
|
+
{ value: "object_name", label: "setting.gridFields.objectName" },
|
|
191
|
+
{ value: "object_alias", label: "setting.gridFields.objectAlias" },
|
|
192
|
+
{ value: "model", label: "setting.gridFields.model" },
|
|
193
|
+
{ value: "customer_name", label: "setting.gridFields.customerName" },
|
|
194
|
+
{ value: "opened_at", label: "setting.gridFields.openedAt" }
|
|
195
|
+
]
|
|
196
|
+
}, Jl = { DEFAULT: Nl, OPTIONS: Kl, DATA: Ie, PARAMS: Il, SOURCE: $l, COMMON: Hl }, Wl = /* @__PURE__ */ tl(se(ne({}, Jl), {
|
|
197
|
+
__name: "retainerRecordListAPP",
|
|
198
|
+
props: {
|
|
199
|
+
conf: { default: () => ({ data: [] }) },
|
|
200
|
+
uid: { default: "" },
|
|
201
|
+
mode: { default: "edit" },
|
|
202
|
+
theme: {},
|
|
203
|
+
code: { default: "" },
|
|
204
|
+
objectUid: {}
|
|
205
|
+
},
|
|
206
|
+
setup(w) {
|
|
207
|
+
const k = {
|
|
208
|
+
ALERT: "报警",
|
|
209
|
+
FAULT: "故障",
|
|
210
|
+
OTHER: "其他"
|
|
211
|
+
}, f = "YYYY-MM-DD HH:mm:ss", V = w;
|
|
212
|
+
class ee extends rl {
|
|
213
|
+
getDataBool(e, l) {
|
|
214
|
+
var o, r;
|
|
215
|
+
const a = (r = (o = this.props.conf) == null ? void 0 : o.data) == null ? void 0 : r[0];
|
|
216
|
+
return a && Object.prototype.hasOwnProperty.call(a, e) && a[e] !== void 0 ? !!a[e] : this.getOptionValue(e, l);
|
|
217
|
+
}
|
|
218
|
+
extractStyles() {
|
|
219
|
+
return {
|
|
220
|
+
panelBgTone: this.getOptionValue("panelBgTone", "light"),
|
|
221
|
+
bgColor: this.getOptionValue("bgColor", "#fff"),
|
|
222
|
+
nameColor: this.getOptionValue("nameColor", "#999"),
|
|
223
|
+
valueColor: this.getOptionValue("valueColor", "#333"),
|
|
224
|
+
titleColor: this.getOptionValue("titleColor", "#111"),
|
|
225
|
+
titleSize: this.getOptionValue("titleSize", 14),
|
|
226
|
+
nameSize: this.getOptionValue("nameSize", 12),
|
|
227
|
+
valueSize: this.getOptionValue("valueSize", 12),
|
|
228
|
+
radiusSize: this.getOptionValue("radiusSize", 8),
|
|
229
|
+
isHideTitle: this.getOptionValue("isHideTitle", !1),
|
|
230
|
+
showViewBtn: this.getDataBool("showViewBtn", !0),
|
|
231
|
+
showExportBtn: this.getDataBool("showExportBtn", !0)
|
|
232
|
+
};
|
|
233
|
+
}
|
|
234
|
+
init() {
|
|
235
|
+
var e;
|
|
236
|
+
if (this.Style.value = this.extractStyles(), this.applyTheme(), !((e = this.props.conf.data) != null && e.length))
|
|
237
|
+
this.props.conf.data = JSON.parse(JSON.stringify(Ie));
|
|
238
|
+
else {
|
|
239
|
+
const l = this.props.conf.data[0];
|
|
240
|
+
l.showViewBtn === void 0 && (l.showViewBtn = !0), l.showExportBtn === void 0 && (l.showExportBtn = !0);
|
|
241
|
+
for (const a of [
|
|
242
|
+
"template_id_visible",
|
|
243
|
+
"label_cn_visible",
|
|
244
|
+
"label_en_visible",
|
|
245
|
+
"code_visible",
|
|
246
|
+
"category_visible",
|
|
247
|
+
"object_id_visible",
|
|
248
|
+
"object_name_visible",
|
|
249
|
+
"object_alias_visible",
|
|
250
|
+
"model_visible",
|
|
251
|
+
"retained_visible",
|
|
252
|
+
"opened_at_visible",
|
|
253
|
+
"elapsed_visible",
|
|
254
|
+
"statis_result_visible",
|
|
255
|
+
"close_at_visible"
|
|
256
|
+
])
|
|
257
|
+
l[a] === void 0 && (l[a] = !0);
|
|
258
|
+
(l.appCardDefaultLines === void 0 || l.appCardDefaultLines === null || l.appCardDefaultLines === "") && (l.appCardDefaultLines = 3);
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
const te = new ee(V, "retainerRecordListAPP");
|
|
263
|
+
te.setupLifecycle();
|
|
264
|
+
const R = te.getStyle(), { mixiotPanelClass: I, mixiotPanelRootStyle: D } = sl(R), $ = P(() => dl(V.conf.options)), je = P(() => {
|
|
265
|
+
var l, a, o, r;
|
|
266
|
+
const t = ((a = (l = V.conf) == null ? void 0 : l.options) == null ? void 0 : a.columns) || [], e = ((r = (o = V.conf) == null ? void 0 : o.data) == null ? void 0 : r[0]) || {};
|
|
267
|
+
return (Array.isArray(t) ? t : []).map((c) => {
|
|
268
|
+
const d = e[c.key], p = e[`${c.key}_visible`];
|
|
269
|
+
return {
|
|
270
|
+
prop: c.key,
|
|
271
|
+
label: d !== void 0 && d !== "" ? String(d) : c.label,
|
|
272
|
+
width: c.width,
|
|
273
|
+
minWidth: c.minWidth,
|
|
274
|
+
visible: p !== void 0 ? !!p : c.visible !== !1
|
|
275
|
+
};
|
|
276
|
+
});
|
|
277
|
+
}), v = Se({ current: 1, pageSize: 20, total: 0 }), H = y("1"), J = y([
|
|
278
|
+
K().subtract(1, "day").format(f),
|
|
279
|
+
K().format(f)
|
|
280
|
+
]), W = y(""), U = y("label_cn"), de = y(null), ce = y(""), q = y([]), ue = y(!1), le = y({});
|
|
281
|
+
function $e() {
|
|
282
|
+
v.current = 1, Y();
|
|
283
|
+
}
|
|
284
|
+
function He() {
|
|
285
|
+
W.value = "", de.value = null, ce.value = "";
|
|
286
|
+
}
|
|
287
|
+
function Je(t) {
|
|
288
|
+
var l;
|
|
289
|
+
if (t == null || t === "") return "";
|
|
290
|
+
const e = String(t);
|
|
291
|
+
return (l = k[e]) != null ? l : e;
|
|
292
|
+
}
|
|
293
|
+
function ae(t) {
|
|
294
|
+
const e = t.retained;
|
|
295
|
+
return e === 1 || e === "1";
|
|
296
|
+
}
|
|
297
|
+
function We(t, e) {
|
|
298
|
+
const l = t[e];
|
|
299
|
+
return l == null ? "" : String(l);
|
|
300
|
+
}
|
|
301
|
+
const pe = ["template_id", "object_name", "opened_at"], qe = P(() => {
|
|
302
|
+
var t, e;
|
|
303
|
+
return ((e = (t = V.conf) == null ? void 0 : t.data) == null ? void 0 : e[0]) || {};
|
|
304
|
+
}), Ve = P(() => {
|
|
305
|
+
const t = qe.value, e = Number(t.appCardDefaultLines);
|
|
306
|
+
return Number.isFinite(e) && e >= 1 ? Math.min(Math.floor(e), 30) : 3;
|
|
307
|
+
}), me = Se({}), Ge = P(() => {
|
|
308
|
+
var t;
|
|
309
|
+
return {
|
|
310
|
+
backgroundColor: R.value.bgColor,
|
|
311
|
+
borderRadius: `${(t = R.value.radiusSize) != null ? t : 8}px`
|
|
312
|
+
};
|
|
313
|
+
});
|
|
314
|
+
function _e(t, e) {
|
|
315
|
+
var l;
|
|
316
|
+
return `${e}-${String((l = t.uid) != null ? l : "")}`;
|
|
317
|
+
}
|
|
318
|
+
function Re(t, e) {
|
|
319
|
+
return !!me[_e(t, e)];
|
|
320
|
+
}
|
|
321
|
+
function fe(t, e) {
|
|
322
|
+
const l = _e(t, e);
|
|
323
|
+
me[l] = !me[l];
|
|
324
|
+
}
|
|
325
|
+
function Qe(t) {
|
|
326
|
+
var e, l, a, o;
|
|
327
|
+
return String((o = (a = (l = (e = t.label_local) != null ? e : t.label_cn) != null ? l : t.code) != null ? a : t.uid) != null ? o : "—");
|
|
328
|
+
}
|
|
329
|
+
function De(t) {
|
|
330
|
+
var a, o;
|
|
331
|
+
const e = [], l = [];
|
|
332
|
+
for (const r of pe)
|
|
333
|
+
l.includes(r) || l.push(r);
|
|
334
|
+
for (const r of je.value)
|
|
335
|
+
r.visible && (l.includes(r.prop) || l.push(r.prop));
|
|
336
|
+
for (const r of l) {
|
|
337
|
+
const c = je.value.find((p) => p.prop === r && p.visible);
|
|
338
|
+
if (!c) continue;
|
|
339
|
+
let d = "";
|
|
340
|
+
r === "category" ? d = Je(t.category) : r === "label_cn" ? d = String((o = (a = t.label_local) != null ? a : t.label_cn) != null ? o : "") : r === "retained" ? d = "" : d = We(t, r), e.push({ prop: r, label: c.label, text: d });
|
|
341
|
+
}
|
|
342
|
+
return e;
|
|
343
|
+
}
|
|
344
|
+
function Xe(t, e) {
|
|
345
|
+
const l = De(t);
|
|
346
|
+
if (Re(t, e)) return l;
|
|
347
|
+
const a = Ve.value, o = [];
|
|
348
|
+
for (const c of pe) {
|
|
349
|
+
const d = l.find((p) => p.prop === c);
|
|
350
|
+
d && o.push(d);
|
|
351
|
+
}
|
|
352
|
+
if (o.length >= a) return o.slice(0, a);
|
|
353
|
+
const r = l.filter((c) => !pe.includes(c.prop));
|
|
354
|
+
return [...o, ...r].slice(0, a);
|
|
355
|
+
}
|
|
356
|
+
function be(t, e) {
|
|
357
|
+
return De(t).length > Ve.value;
|
|
358
|
+
}
|
|
359
|
+
function Ze(t, e, l) {
|
|
360
|
+
const a = l.target;
|
|
361
|
+
!a || !(a instanceof Element) || a.closest(
|
|
362
|
+
".app-more-trigger,.el-dropdown,.el-popper,.app-field-expand,.app-mini-more,button,a,input,textarea,select,.el-select,.el-input,.el-tag"
|
|
363
|
+
) || (R.value.showViewBtn ? ye(t) : be(t) && fe(t, e));
|
|
364
|
+
}
|
|
365
|
+
function ze(t, e) {
|
|
366
|
+
R.value.showViewBtn ? ye(t) : be(t) && fe(t, e);
|
|
367
|
+
}
|
|
368
|
+
function Ae() {
|
|
369
|
+
return A(this, null, function* () {
|
|
370
|
+
var t;
|
|
371
|
+
if (!(Object.keys(le.value).length > 0))
|
|
372
|
+
try {
|
|
373
|
+
let e = 1;
|
|
374
|
+
const l = 2e3;
|
|
375
|
+
for (; ; ) {
|
|
376
|
+
const a = yield T.post(
|
|
377
|
+
"get_object_list",
|
|
378
|
+
{ page_index: e, page_size: l },
|
|
379
|
+
!1
|
|
380
|
+
), o = (t = a == null ? void 0 : a.result) != null ? t : a, r = Array.isArray(o == null ? void 0 : o.data) ? o.data : [];
|
|
381
|
+
for (const d of r) {
|
|
382
|
+
const p = d.uid;
|
|
383
|
+
p && (le.value[p] = {
|
|
384
|
+
name: d.name,
|
|
385
|
+
alias: d.alias,
|
|
386
|
+
model: d.model
|
|
387
|
+
});
|
|
388
|
+
}
|
|
389
|
+
const c = typeof (o == null ? void 0 : o.total_records) == "number" ? o.total_records : r.length;
|
|
390
|
+
if (!r.length || e * l >= c) break;
|
|
391
|
+
e++;
|
|
392
|
+
}
|
|
393
|
+
} catch (e) {
|
|
394
|
+
}
|
|
395
|
+
});
|
|
396
|
+
}
|
|
397
|
+
function et() {
|
|
398
|
+
const t = [];
|
|
399
|
+
V.objectUid && t.push(["object_id", "=", V.objectUid]), H.value !== "2" && t.push(["retained", "=", H.value]);
|
|
400
|
+
const e = J.value;
|
|
401
|
+
if (e && e.length === 2 && e[0] && e[1]) {
|
|
402
|
+
const [a, o] = e[0] <= e[1] ? e : [e[1], e[0]];
|
|
403
|
+
t.push(["created", ">=", a]), t.push(["created", "<=", o]);
|
|
404
|
+
}
|
|
405
|
+
if (U.value === "opened_at") {
|
|
406
|
+
const a = de.value;
|
|
407
|
+
if (a && a.length === 2 && a[0] && a[1]) {
|
|
408
|
+
const [o, r] = a[0] <= a[1] ? a : [a[1], a[0]];
|
|
409
|
+
t.push(["opened_at", ">=", o]), t.push(["opened_at", "<=", r]);
|
|
410
|
+
}
|
|
411
|
+
} else if (U.value === "category") {
|
|
412
|
+
const a = ce.value.trim();
|
|
413
|
+
a && t.push(["category", "=", a]);
|
|
414
|
+
} else {
|
|
415
|
+
const a = W.value.trim();
|
|
416
|
+
a && t.push([U.value, "like", `%${a}%`]);
|
|
417
|
+
}
|
|
418
|
+
_l(V.conf.common, t);
|
|
419
|
+
const l = {
|
|
420
|
+
page_index: v.current,
|
|
421
|
+
page_size: v.pageSize
|
|
422
|
+
};
|
|
423
|
+
return t.length && (l.where_and = JSON.stringify(t)), l;
|
|
424
|
+
}
|
|
425
|
+
function Y() {
|
|
426
|
+
return A(this, null, function* () {
|
|
427
|
+
var t;
|
|
428
|
+
ue.value = !0;
|
|
429
|
+
try {
|
|
430
|
+
yield Ae();
|
|
431
|
+
const e = yield T.post("get_retainer_result_list", et(), !0), l = (t = e == null ? void 0 : e.result) != null ? t : e, a = Array.isArray(l == null ? void 0 : l.data) ? l.data : [];
|
|
432
|
+
q.value = a.map((r) => {
|
|
433
|
+
var p, O, E;
|
|
434
|
+
const c = r.object_id ? String(r.object_id) : "", d = c ? le.value[c] : void 0;
|
|
435
|
+
return se(ne({}, r), {
|
|
436
|
+
object_name: (p = r.object_name) != null ? p : d == null ? void 0 : d.name,
|
|
437
|
+
object_alias: (O = r.object_alias) != null ? O : d == null ? void 0 : d.alias,
|
|
438
|
+
model: (E = r.model) != null ? E : d == null ? void 0 : d.model
|
|
439
|
+
});
|
|
440
|
+
});
|
|
441
|
+
const o = l == null ? void 0 : l.total_records;
|
|
442
|
+
v.total = typeof o == "number" ? o : a.length, e && e.code !== void 0 && e.code !== 200 && console.warn("[retainerRecordList] 列表接口非成功", e.msg || e.info, e);
|
|
443
|
+
} catch (e) {
|
|
444
|
+
console.error(e), q.value = [], v.total = 0;
|
|
445
|
+
} finally {
|
|
446
|
+
ue.value = !1;
|
|
447
|
+
}
|
|
448
|
+
});
|
|
449
|
+
}
|
|
450
|
+
const tt = P(() => q.value);
|
|
451
|
+
function ve() {
|
|
452
|
+
v.current = 1, Y();
|
|
453
|
+
}
|
|
454
|
+
function lt() {
|
|
455
|
+
W.value = "", de.value = null, ce.value = "", U.value = "label_cn", H.value = "1", J.value = [
|
|
456
|
+
K().subtract(1, "day").format(f),
|
|
457
|
+
K().format(f)
|
|
458
|
+
], v.current = 1, Y();
|
|
459
|
+
}
|
|
460
|
+
function at() {
|
|
461
|
+
v.current = 1, Y();
|
|
462
|
+
}
|
|
463
|
+
function ot() {
|
|
464
|
+
Y();
|
|
465
|
+
}
|
|
466
|
+
const oe = y(!1), ge = y(!1), G = y(""), g = y(null), M = y([]), it = P(() => {
|
|
467
|
+
var e;
|
|
468
|
+
const t = g.value;
|
|
469
|
+
return t ? String((e = t.object_name) != null ? e : "") : "";
|
|
470
|
+
});
|
|
471
|
+
function ye(t) {
|
|
472
|
+
return A(this, null, function* () {
|
|
473
|
+
var l, a, o, r;
|
|
474
|
+
const e = t.uid;
|
|
475
|
+
if (!e) {
|
|
476
|
+
x.warning("当前行缺少历程编号,无法拉取详情");
|
|
477
|
+
return;
|
|
478
|
+
}
|
|
479
|
+
oe.value = !0, ge.value = !0, G.value = "", g.value = null, M.value = [];
|
|
480
|
+
try {
|
|
481
|
+
yield Ae();
|
|
482
|
+
const c = yield T.post("get_retainer_with_events", { retainer_id: e }, !0), d = (l = c == null ? void 0 : c.result) != null ? l : c;
|
|
483
|
+
if (c && c.code !== void 0 && c.code !== 200) {
|
|
484
|
+
G.value = String(c.msg || c.info || "详情接口失败");
|
|
485
|
+
return;
|
|
486
|
+
}
|
|
487
|
+
const p = d != null ? d : {}, O = p.object_id ? String(p.object_id) : t.object_id ? String(t.object_id) : "", E = O ? le.value[O] : void 0;
|
|
488
|
+
g.value = se(ne({}, p), {
|
|
489
|
+
object_name: (r = (o = (a = p.object_name) != null ? a : t.object_name) != null ? o : E == null ? void 0 : E.name) != null ? r : ""
|
|
490
|
+
}), M.value = Be(d), yield Oe(e);
|
|
491
|
+
} catch (c) {
|
|
492
|
+
G.value = "加载历程详情失败";
|
|
493
|
+
} finally {
|
|
494
|
+
ge.value = !1;
|
|
495
|
+
}
|
|
496
|
+
});
|
|
497
|
+
}
|
|
498
|
+
function nt(t, e) {
|
|
499
|
+
t === "detail" && ye(e);
|
|
500
|
+
}
|
|
501
|
+
function st(t) {
|
|
502
|
+
const e = (l) => String(l).padStart(2, "0");
|
|
503
|
+
return `${t.getFullYear()}-${e(t.getMonth() + 1)}-${e(t.getDate())} ${e(t.getHours())}:${e(t.getMinutes())}:${e(t.getSeconds())}`;
|
|
504
|
+
}
|
|
505
|
+
function rt() {
|
|
506
|
+
return A(this, null, function* () {
|
|
507
|
+
const t = J.value;
|
|
508
|
+
if (!t || t.length < 2 || !t[0] || !t[1]) {
|
|
509
|
+
x.warning("请先选择创建时间范围后再导出");
|
|
510
|
+
return;
|
|
511
|
+
}
|
|
512
|
+
const e = [...new Set(q.value.map((a) => {
|
|
513
|
+
var o;
|
|
514
|
+
return String((o = a.object_id) != null ? o : "").trim();
|
|
515
|
+
}).filter(Boolean))], l = [...new Set(q.value.map((a) => {
|
|
516
|
+
var o;
|
|
517
|
+
return String((o = a.template_id) != null ? o : "").trim();
|
|
518
|
+
}).filter(Boolean))];
|
|
519
|
+
if (!e.length && !l.length) {
|
|
520
|
+
x.warning("当前页列表无项目编号或对象编号,请加载数据后再导出");
|
|
521
|
+
return;
|
|
522
|
+
}
|
|
523
|
+
try {
|
|
524
|
+
yield cl.confirm(
|
|
525
|
+
"将按当前列表中的项目/对象编号及所选创建时间范围提交导出任务(与 mixui 历程导出一致),是否继续?",
|
|
526
|
+
"导出历程数据",
|
|
527
|
+
{ type: "info" }
|
|
528
|
+
);
|
|
529
|
+
} catch (a) {
|
|
530
|
+
return;
|
|
531
|
+
}
|
|
532
|
+
try {
|
|
533
|
+
const a = yield T.post(
|
|
534
|
+
"export_retainer_data",
|
|
535
|
+
{
|
|
536
|
+
file_name: `retainer_export_${st(/* @__PURE__ */ new Date()).replace(/[: ]/g, "_")}`,
|
|
537
|
+
open_at: t[0] <= t[1] ? t[0] : t[1],
|
|
538
|
+
close_at: t[0] <= t[1] ? t[1] : t[0],
|
|
539
|
+
template_ids: l,
|
|
540
|
+
object_ids: e,
|
|
541
|
+
character: "utf-8"
|
|
542
|
+
},
|
|
543
|
+
!0
|
|
544
|
+
);
|
|
545
|
+
if (a.code !== void 0 && a.code !== 200) {
|
|
546
|
+
x.warning(a.msg || a.info || "导出请求未成功");
|
|
547
|
+
return;
|
|
548
|
+
}
|
|
549
|
+
x.success("导出任务已提交");
|
|
550
|
+
} catch (a) {
|
|
551
|
+
x.error("导出请求失败");
|
|
552
|
+
}
|
|
553
|
+
});
|
|
554
|
+
}
|
|
555
|
+
const Q = y(!1), he = y(!1), z = Se({ service_at: "", description: "" }), N = y([]);
|
|
556
|
+
function Be(t) {
|
|
557
|
+
const e = t == null ? void 0 : t.events;
|
|
558
|
+
return Array.isArray(e) ? e : [];
|
|
559
|
+
}
|
|
560
|
+
function Oe(t) {
|
|
561
|
+
return A(this, null, function* () {
|
|
562
|
+
var e;
|
|
563
|
+
try {
|
|
564
|
+
const l = yield T.post("retainer_record_list", {
|
|
565
|
+
where_and: JSON.stringify([["source_id", "=", t]])
|
|
566
|
+
}), a = (e = l == null ? void 0 : l.result) != null ? e : {};
|
|
567
|
+
if ((l == null ? void 0 : l.code) !== void 0 && l.code !== 200) {
|
|
568
|
+
console.warn("[retainerRecordList] 处理记录列表失败", l.msg || l.info);
|
|
569
|
+
return;
|
|
570
|
+
}
|
|
571
|
+
const r = (Array.isArray(a.data) ? a.data : []).map((d) => ({
|
|
572
|
+
datetime: d.service_at,
|
|
573
|
+
type: "record",
|
|
574
|
+
desc: d.description,
|
|
575
|
+
staff_name: d.staff_name || d.staff_id,
|
|
576
|
+
file: d.file ? ct(String(d.file)) : []
|
|
577
|
+
})), c = M.value.filter((d) => d.type !== "record");
|
|
578
|
+
M.value = [...c, ...r].sort(
|
|
579
|
+
(d, p) => new Date(String(d.datetime || "")).getTime() - new Date(String(p.datetime || "")).getTime()
|
|
580
|
+
);
|
|
581
|
+
} catch (l) {
|
|
582
|
+
console.error(l);
|
|
583
|
+
}
|
|
584
|
+
});
|
|
585
|
+
}
|
|
586
|
+
function dt() {
|
|
587
|
+
return A(this, null, function* () {
|
|
588
|
+
var l, a;
|
|
589
|
+
const t = (l = g.value) == null ? void 0 : l.uid;
|
|
590
|
+
if (!t) return;
|
|
591
|
+
const e = String(t);
|
|
592
|
+
try {
|
|
593
|
+
const o = yield T.post("get_retainer_with_events", { retainer_id: e }, !0), r = (a = o == null ? void 0 : o.result) != null ? a : o;
|
|
594
|
+
if (o && o.code !== void 0 && o.code !== 200) return;
|
|
595
|
+
M.value = Be(r), yield Oe(e);
|
|
596
|
+
} catch (o) {
|
|
597
|
+
console.error(o);
|
|
598
|
+
}
|
|
599
|
+
});
|
|
600
|
+
}
|
|
601
|
+
function ct(t) {
|
|
602
|
+
return t.split(",").map((e) => {
|
|
603
|
+
const l = e.trim();
|
|
604
|
+
return l ? l.startsWith("http") ? l : ol + l : "";
|
|
605
|
+
}).filter(Boolean);
|
|
606
|
+
}
|
|
607
|
+
function ut() {
|
|
608
|
+
var t;
|
|
609
|
+
if (!((t = g.value) != null && t.uid)) {
|
|
610
|
+
x.warning("当前历程缺少编号,无法添加处理记录");
|
|
611
|
+
return;
|
|
612
|
+
}
|
|
613
|
+
z.service_at = K().format("YYYY-MM-DD HH:mm:ss"), z.description = "", N.value = [], Q.value = !0;
|
|
614
|
+
}
|
|
615
|
+
function pt(t) {
|
|
616
|
+
N.value = N.value.filter((e) => e.uid !== t.uid);
|
|
617
|
+
}
|
|
618
|
+
function mt(t) {
|
|
619
|
+
return A(this, null, function* () {
|
|
620
|
+
var l, a;
|
|
621
|
+
const e = new FormData();
|
|
622
|
+
if (e.append("file", t.file), t.file.size > 15728640) {
|
|
623
|
+
x.error("图片大小不能超过15M");
|
|
624
|
+
return;
|
|
625
|
+
}
|
|
626
|
+
try {
|
|
627
|
+
const o = yield T.upload("upload", e);
|
|
628
|
+
(o == null ? void 0 : o.code) === 200 ? N.value.push({
|
|
629
|
+
name: ((l = o.result) == null ? void 0 : l.name) || t.file.name,
|
|
630
|
+
url: ((a = o.result) == null ? void 0 : a.url) || "",
|
|
631
|
+
uid: String(Date.now())
|
|
632
|
+
}) : x.error((o == null ? void 0 : o.msg) || "上传失败");
|
|
633
|
+
} catch (o) {
|
|
634
|
+
x.error("上传失败");
|
|
635
|
+
}
|
|
636
|
+
});
|
|
637
|
+
}
|
|
638
|
+
function _t() {
|
|
639
|
+
return A(this, null, function* () {
|
|
640
|
+
var t, e;
|
|
641
|
+
if ((t = g.value) != null && t.uid) {
|
|
642
|
+
he.value = !0;
|
|
643
|
+
try {
|
|
644
|
+
const l = il.getUser(), a = N.value.map((c) => c.url), o = yield T.post("retainer_record_create", {
|
|
645
|
+
staff_id: l == null ? void 0 : l.id,
|
|
646
|
+
staff_name: (e = l == null ? void 0 : l.username) != null ? e : l == null ? void 0 : l.name,
|
|
647
|
+
service_at: z.service_at || K().format("YYYY-MM-DD HH:mm:ss"),
|
|
648
|
+
description: z.description,
|
|
649
|
+
file: a.join(","),
|
|
650
|
+
object_id: g.value.object_id,
|
|
651
|
+
source_id: g.value.uid,
|
|
652
|
+
category: g.value.category
|
|
653
|
+
}), r = o == null ? void 0 : o.code;
|
|
654
|
+
if (r !== void 0 && r !== 200) {
|
|
655
|
+
x.error(String(o.info || o.msg || "添加处理记录失败"));
|
|
656
|
+
return;
|
|
657
|
+
}
|
|
658
|
+
x.success("添加处理记录成功"), Q.value = !1, yield dt();
|
|
659
|
+
} catch (l) {
|
|
660
|
+
x.error("添加处理记录失败");
|
|
661
|
+
} finally {
|
|
662
|
+
he.value = !1;
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
});
|
|
666
|
+
}
|
|
667
|
+
function ft(t) {
|
|
668
|
+
t === "reset" ? lt() : t === "export" && rt();
|
|
669
|
+
}
|
|
670
|
+
return ll(() => {
|
|
671
|
+
Y();
|
|
672
|
+
}), (t, e) => {
|
|
673
|
+
const l = At, a = zt, o = Ot, r = Bt, c = Dt, d = Lt, p = Ft, O = Tt, E = Pt, bt = Mt, Fe = Ut, Le = Yt, Te = Nt, vt = $t, X = Jt, gt = Ht, yt = Gt, ht = qt, kt = Wt, wt = Qt, Me = It, ke = Zt, St = el, xt = Xt, Pe = Kt;
|
|
674
|
+
return u(), m("div", {
|
|
675
|
+
class: Ne(["retainer-record-list-app mixiot-list-app mix-component", j(I)]),
|
|
676
|
+
style: xe(j(D))
|
|
677
|
+
}, [
|
|
678
|
+
j(R).isHideTitle ? B("", !0) : (u(), m("div", vl, [
|
|
679
|
+
_("div", {
|
|
680
|
+
class: "app-title-text",
|
|
681
|
+
style: xe($.value)
|
|
682
|
+
}, h(w.conf.caption || w.conf.name), 5),
|
|
683
|
+
n(c, {
|
|
684
|
+
trigger: "click",
|
|
685
|
+
onCommand: ft
|
|
686
|
+
}, {
|
|
687
|
+
dropdown: s(() => [
|
|
688
|
+
n(r, null, {
|
|
689
|
+
default: s(() => [
|
|
690
|
+
n(o, { command: "reset" }, {
|
|
691
|
+
default: s(() => [...e[16] || (e[16] = [
|
|
692
|
+
b("重置", -1)
|
|
693
|
+
])]),
|
|
694
|
+
_: 1
|
|
695
|
+
}),
|
|
696
|
+
j(R).showExportBtn ? (u(), F(o, {
|
|
697
|
+
key: 0,
|
|
698
|
+
command: "export"
|
|
699
|
+
}, {
|
|
700
|
+
default: s(() => [...e[17] || (e[17] = [
|
|
701
|
+
b("导出", -1)
|
|
702
|
+
])]),
|
|
703
|
+
_: 1
|
|
704
|
+
})) : B("", !0)
|
|
705
|
+
]),
|
|
706
|
+
_: 1
|
|
707
|
+
})
|
|
708
|
+
]),
|
|
709
|
+
default: s(() => [
|
|
710
|
+
n(a, {
|
|
711
|
+
size: "small",
|
|
712
|
+
circle: ""
|
|
713
|
+
}, {
|
|
714
|
+
default: s(() => [
|
|
715
|
+
n(l, null, {
|
|
716
|
+
default: s(() => [
|
|
717
|
+
n(j(Ee))
|
|
718
|
+
]),
|
|
719
|
+
_: 1
|
|
720
|
+
})
|
|
721
|
+
]),
|
|
722
|
+
_: 1
|
|
723
|
+
})
|
|
724
|
+
]),
|
|
725
|
+
_: 1
|
|
726
|
+
})
|
|
727
|
+
])),
|
|
728
|
+
Ke((u(), m("div", gl, [
|
|
729
|
+
_("div", yl, [
|
|
730
|
+
n(p, {
|
|
731
|
+
modelValue: H.value,
|
|
732
|
+
"onUpdate:modelValue": e[0] || (e[0] = (i) => H.value = i),
|
|
733
|
+
size: "small",
|
|
734
|
+
onChange: $e
|
|
735
|
+
}, {
|
|
736
|
+
default: s(() => [
|
|
737
|
+
n(d, { label: "1" }, {
|
|
738
|
+
default: s(() => [...e[18] || (e[18] = [
|
|
739
|
+
b("持续历程", -1)
|
|
740
|
+
])]),
|
|
741
|
+
_: 1
|
|
742
|
+
}),
|
|
743
|
+
n(d, { label: "0" }, {
|
|
744
|
+
default: s(() => [...e[19] || (e[19] = [
|
|
745
|
+
b("已完结历程", -1)
|
|
746
|
+
])]),
|
|
747
|
+
_: 1
|
|
748
|
+
}),
|
|
749
|
+
n(d, { label: "2" }, {
|
|
750
|
+
default: s(() => [...e[20] || (e[20] = [
|
|
751
|
+
b("全部记录", -1)
|
|
752
|
+
])]),
|
|
753
|
+
_: 1
|
|
754
|
+
})
|
|
755
|
+
]),
|
|
756
|
+
_: 1
|
|
757
|
+
}, 8, ["modelValue"]),
|
|
758
|
+
n(O, {
|
|
759
|
+
modelValue: J.value,
|
|
760
|
+
"onUpdate:modelValue": e[1] || (e[1] = (i) => J.value = i),
|
|
761
|
+
type: "datetimerange",
|
|
762
|
+
"range-separator": "至",
|
|
763
|
+
"start-placeholder": "创建开始",
|
|
764
|
+
"end-placeholder": "创建结束",
|
|
765
|
+
"value-format": "YYYY-MM-DD HH:mm:ss",
|
|
766
|
+
size: "small",
|
|
767
|
+
class: "app-status-time-range",
|
|
768
|
+
onChange: ve
|
|
769
|
+
}, null, 8, ["modelValue"])
|
|
770
|
+
]),
|
|
771
|
+
_("div", hl, [
|
|
772
|
+
n(bt, {
|
|
773
|
+
modelValue: U.value,
|
|
774
|
+
"onUpdate:modelValue": e[2] || (e[2] = (i) => U.value = i),
|
|
775
|
+
class: "app-field-select",
|
|
776
|
+
onChange: He
|
|
777
|
+
}, {
|
|
778
|
+
default: s(() => [
|
|
779
|
+
n(E, {
|
|
780
|
+
label: "历程项名称",
|
|
781
|
+
value: "label_cn"
|
|
782
|
+
}),
|
|
783
|
+
n(E, {
|
|
784
|
+
label: "项目编号",
|
|
785
|
+
value: "template_id"
|
|
786
|
+
}),
|
|
787
|
+
n(E, {
|
|
788
|
+
label: "历程项编码",
|
|
789
|
+
value: "code"
|
|
790
|
+
}),
|
|
791
|
+
n(E, {
|
|
792
|
+
label: "对象编号",
|
|
793
|
+
value: "object_id"
|
|
794
|
+
})
|
|
795
|
+
]),
|
|
796
|
+
_: 1
|
|
797
|
+
}, 8, ["modelValue"]),
|
|
798
|
+
n(Fe, {
|
|
799
|
+
modelValue: W.value,
|
|
800
|
+
"onUpdate:modelValue": e[3] || (e[3] = (i) => W.value = i),
|
|
801
|
+
placeholder: "输入关键词搜索",
|
|
802
|
+
clearable: "",
|
|
803
|
+
class: "app-search-input",
|
|
804
|
+
onKeyup: Ce(ve, ["enter"])
|
|
805
|
+
}, {
|
|
806
|
+
prefix: s(() => [
|
|
807
|
+
n(l, null, {
|
|
808
|
+
default: s(() => [
|
|
809
|
+
n(j(ul))
|
|
810
|
+
]),
|
|
811
|
+
_: 1
|
|
812
|
+
})
|
|
813
|
+
]),
|
|
814
|
+
append: s(() => [
|
|
815
|
+
n(a, {
|
|
816
|
+
type: "primary",
|
|
817
|
+
class: "app-toolbar-search-btn",
|
|
818
|
+
onClick: ve
|
|
819
|
+
}, {
|
|
820
|
+
default: s(() => [...e[21] || (e[21] = [
|
|
821
|
+
b("搜索", -1)
|
|
822
|
+
])]),
|
|
823
|
+
_: 1
|
|
824
|
+
})
|
|
825
|
+
]),
|
|
826
|
+
_: 1
|
|
827
|
+
}, 8, ["modelValue"])
|
|
828
|
+
]),
|
|
829
|
+
_("div", kl, [
|
|
830
|
+
(u(!0), m(L, null, Z(tt.value, (i, C) => (u(), m("div", {
|
|
831
|
+
key: _e(i, C),
|
|
832
|
+
class: "app-object-card",
|
|
833
|
+
style: xe(Ge.value),
|
|
834
|
+
role: "button",
|
|
835
|
+
tabindex: "0",
|
|
836
|
+
onClick: (S) => Ze(i, C, S),
|
|
837
|
+
onKeydown: [
|
|
838
|
+
Ce(re((S) => ze(i, C), ["prevent"]), ["enter"]),
|
|
839
|
+
Ce(re((S) => ze(i, C), ["prevent"]), ["space"])
|
|
840
|
+
]
|
|
841
|
+
}, [
|
|
842
|
+
_("div", Sl, [
|
|
843
|
+
_("div", xl, [
|
|
844
|
+
_("div", Cl, h(Qe(i)), 1)
|
|
845
|
+
]),
|
|
846
|
+
_("div", El, [
|
|
847
|
+
n(Le, {
|
|
848
|
+
type: ae(i) ? "danger" : "info",
|
|
849
|
+
size: "small"
|
|
850
|
+
}, {
|
|
851
|
+
default: s(() => [
|
|
852
|
+
b(h(ae(i) ? "持续" : "已完结"), 1)
|
|
853
|
+
]),
|
|
854
|
+
_: 2
|
|
855
|
+
}, 1032, ["type"]),
|
|
856
|
+
j(R).showViewBtn ? (u(), F(c, {
|
|
857
|
+
key: 0,
|
|
858
|
+
trigger: "click",
|
|
859
|
+
onCommand: (S) => nt(S, i)
|
|
860
|
+
}, {
|
|
861
|
+
dropdown: s(() => [
|
|
862
|
+
n(r, null, {
|
|
863
|
+
default: s(() => [
|
|
864
|
+
n(o, { command: "detail" }, {
|
|
865
|
+
default: s(() => [...e[22] || (e[22] = [
|
|
866
|
+
b("详情", -1)
|
|
867
|
+
])]),
|
|
868
|
+
_: 1
|
|
869
|
+
})
|
|
870
|
+
]),
|
|
871
|
+
_: 1
|
|
872
|
+
})
|
|
873
|
+
]),
|
|
874
|
+
default: s(() => [
|
|
875
|
+
_("span", {
|
|
876
|
+
class: "app-more-trigger",
|
|
877
|
+
onClick: e[4] || (e[4] = re(() => {
|
|
878
|
+
}, ["stop"]))
|
|
879
|
+
}, [
|
|
880
|
+
n(l, null, {
|
|
881
|
+
default: s(() => [
|
|
882
|
+
n(j(pl))
|
|
883
|
+
]),
|
|
884
|
+
_: 1
|
|
885
|
+
})
|
|
886
|
+
])
|
|
887
|
+
]),
|
|
888
|
+
_: 1
|
|
889
|
+
}, 8, ["onCommand"])) : B("", !0)
|
|
890
|
+
])
|
|
891
|
+
]),
|
|
892
|
+
_("div", jl, [
|
|
893
|
+
(u(!0), m(L, null, Z(Xe(i, C), (S) => (u(), m("div", {
|
|
894
|
+
key: S.prop,
|
|
895
|
+
class: "app-field-line"
|
|
896
|
+
}, [
|
|
897
|
+
_("span", Vl, h(S.label), 1),
|
|
898
|
+
S.prop === "retained" ? (u(), m("span", Rl, [
|
|
899
|
+
n(Le, {
|
|
900
|
+
type: ae(i) ? "success" : "info",
|
|
901
|
+
size: "small"
|
|
902
|
+
}, {
|
|
903
|
+
default: s(() => [
|
|
904
|
+
b(h(ae(i) ? "持续" : "已完结"), 1)
|
|
905
|
+
]),
|
|
906
|
+
_: 2
|
|
907
|
+
}, 1032, ["type"])
|
|
908
|
+
])) : (u(), m("span", Dl, h(S.text), 1))
|
|
909
|
+
]))), 128)),
|
|
910
|
+
be(i) ? (u(), m("button", {
|
|
911
|
+
key: 0,
|
|
912
|
+
type: "button",
|
|
913
|
+
class: Ne(["app-field-expand", { open: Re(i, C) }]),
|
|
914
|
+
onClick: re((S) => fe(i, C), ["stop"])
|
|
915
|
+
}, [
|
|
916
|
+
n(l, null, {
|
|
917
|
+
default: s(() => [
|
|
918
|
+
n(j(ml))
|
|
919
|
+
]),
|
|
920
|
+
_: 1
|
|
921
|
+
})
|
|
922
|
+
], 10, zl)) : B("", !0)
|
|
923
|
+
])
|
|
924
|
+
], 44, wl))), 128))
|
|
925
|
+
]),
|
|
926
|
+
_("div", Al, [
|
|
927
|
+
_("div", Bl, [
|
|
928
|
+
n(Te, {
|
|
929
|
+
"current-page": v.current,
|
|
930
|
+
"onUpdate:currentPage": e[5] || (e[5] = (i) => v.current = i),
|
|
931
|
+
"page-size": v.pageSize,
|
|
932
|
+
"onUpdate:pageSize": e[6] || (e[6] = (i) => v.pageSize = i),
|
|
933
|
+
"page-sizes": [20, 50, 100, 200],
|
|
934
|
+
layout: "total, sizes",
|
|
935
|
+
total: v.total,
|
|
936
|
+
onSizeChange: at
|
|
937
|
+
}, null, 8, ["current-page", "page-size", "total"])
|
|
938
|
+
]),
|
|
939
|
+
_("div", Ol, [
|
|
940
|
+
n(Te, {
|
|
941
|
+
"current-page": v.current,
|
|
942
|
+
"onUpdate:currentPage": e[7] || (e[7] = (i) => v.current = i),
|
|
943
|
+
"page-size": v.pageSize,
|
|
944
|
+
"onUpdate:pageSize": e[8] || (e[8] = (i) => v.pageSize = i),
|
|
945
|
+
"page-sizes": [20, 50, 100, 200],
|
|
946
|
+
layout: "prev, pager, next, jumper",
|
|
947
|
+
total: v.total,
|
|
948
|
+
onCurrentChange: ot
|
|
949
|
+
}, null, 8, ["current-page", "page-size", "total"])
|
|
950
|
+
])
|
|
951
|
+
])
|
|
952
|
+
])), [
|
|
953
|
+
[Pe, ue.value]
|
|
954
|
+
]),
|
|
955
|
+
n(Me, {
|
|
956
|
+
modelValue: oe.value,
|
|
957
|
+
"onUpdate:modelValue": e[10] || (e[10] = (i) => oe.value = i),
|
|
958
|
+
class: "mixiot-app-dialog",
|
|
959
|
+
"append-to-body": !1,
|
|
960
|
+
"align-center": "",
|
|
961
|
+
"modal-class": "mixiot-app-dialog-mask",
|
|
962
|
+
"lock-scroll": !1,
|
|
963
|
+
style: { "--mixiot-app-dialog-max": "520px" },
|
|
964
|
+
"destroy-on-close": "",
|
|
965
|
+
onClosed: e[11] || (e[11] = (i) => g.value = null)
|
|
966
|
+
}, {
|
|
967
|
+
header: s(() => [
|
|
968
|
+
_("div", Fl, [
|
|
969
|
+
e[24] || (e[24] = _("span", null, "历程记录详情", -1)),
|
|
970
|
+
g.value ? (u(), F(a, {
|
|
971
|
+
key: 0,
|
|
972
|
+
link: "",
|
|
973
|
+
type: "primary",
|
|
974
|
+
size: "small",
|
|
975
|
+
class: "detail-add-record-btn",
|
|
976
|
+
onClick: ut
|
|
977
|
+
}, {
|
|
978
|
+
default: s(() => [
|
|
979
|
+
n(l, { class: "mr-1" }, {
|
|
980
|
+
default: s(() => [
|
|
981
|
+
n(j(Ee))
|
|
982
|
+
]),
|
|
983
|
+
_: 1
|
|
984
|
+
}),
|
|
985
|
+
e[23] || (e[23] = b(" 添加处理记录 ", -1))
|
|
986
|
+
]),
|
|
987
|
+
_: 1
|
|
988
|
+
})) : B("", !0)
|
|
989
|
+
])
|
|
990
|
+
]),
|
|
991
|
+
footer: s(() => [
|
|
992
|
+
n(a, {
|
|
993
|
+
type: "primary",
|
|
994
|
+
onClick: e[9] || (e[9] = (i) => oe.value = !1)
|
|
995
|
+
}, {
|
|
996
|
+
default: s(() => [...e[27] || (e[27] = [
|
|
997
|
+
b("关闭", -1)
|
|
998
|
+
])]),
|
|
999
|
+
_: 1
|
|
1000
|
+
})
|
|
1001
|
+
]),
|
|
1002
|
+
default: s(() => [
|
|
1003
|
+
Ke((u(), m("div", Ll, [
|
|
1004
|
+
G.value ? (u(), F(vt, {
|
|
1005
|
+
key: 0,
|
|
1006
|
+
type: "error",
|
|
1007
|
+
title: G.value,
|
|
1008
|
+
"show-icon": "",
|
|
1009
|
+
closable: !1,
|
|
1010
|
+
class: "mb-3"
|
|
1011
|
+
}, null, 8, ["title"])) : g.value ? (u(), m(L, { key: 1 }, [
|
|
1012
|
+
n(gt, {
|
|
1013
|
+
column: 1,
|
|
1014
|
+
border: "",
|
|
1015
|
+
size: "small"
|
|
1016
|
+
}, {
|
|
1017
|
+
default: s(() => [
|
|
1018
|
+
n(X, { label: "历程项中文" }, {
|
|
1019
|
+
default: s(() => {
|
|
1020
|
+
var i, C;
|
|
1021
|
+
return [
|
|
1022
|
+
b(h((C = (i = g.value.label_local) != null ? i : g.value.label_cn) != null ? C : ""), 1)
|
|
1023
|
+
];
|
|
1024
|
+
}),
|
|
1025
|
+
_: 1
|
|
1026
|
+
}),
|
|
1027
|
+
n(X, { label: "对象名称" }, {
|
|
1028
|
+
default: s(() => [
|
|
1029
|
+
b(h(it.value), 1)
|
|
1030
|
+
]),
|
|
1031
|
+
_: 1
|
|
1032
|
+
}),
|
|
1033
|
+
n(X, { label: "故障编码" }, {
|
|
1034
|
+
default: s(() => {
|
|
1035
|
+
var i;
|
|
1036
|
+
return [
|
|
1037
|
+
b(h((i = g.value.code) != null ? i : ""), 1)
|
|
1038
|
+
];
|
|
1039
|
+
}),
|
|
1040
|
+
_: 1
|
|
1041
|
+
}),
|
|
1042
|
+
n(X, { label: "持续时间" }, {
|
|
1043
|
+
default: s(() => {
|
|
1044
|
+
var i;
|
|
1045
|
+
return [
|
|
1046
|
+
b(h((i = g.value.elapsed) != null ? i : ""), 1)
|
|
1047
|
+
];
|
|
1048
|
+
}),
|
|
1049
|
+
_: 1
|
|
1050
|
+
}),
|
|
1051
|
+
n(X, {
|
|
1052
|
+
label: "描述",
|
|
1053
|
+
span: 2
|
|
1054
|
+
}, {
|
|
1055
|
+
default: s(() => {
|
|
1056
|
+
var i;
|
|
1057
|
+
return [
|
|
1058
|
+
b(h((i = g.value.description) != null ? i : ""), 1)
|
|
1059
|
+
];
|
|
1060
|
+
}),
|
|
1061
|
+
_: 1
|
|
1062
|
+
})
|
|
1063
|
+
]),
|
|
1064
|
+
_: 1
|
|
1065
|
+
}),
|
|
1066
|
+
e[26] || (e[26] = _("div", { class: "detail-events-title" }, "历程事件 / 处理记录", -1)),
|
|
1067
|
+
M.value.length ? (u(), F(kt, { key: 0 }, {
|
|
1068
|
+
default: s(() => [
|
|
1069
|
+
(u(!0), m(L, null, Z(M.value, (i, C) => {
|
|
1070
|
+
var S;
|
|
1071
|
+
return u(), F(ht, {
|
|
1072
|
+
key: C,
|
|
1073
|
+
timestamp: String((S = i.datetime) != null ? S : ""),
|
|
1074
|
+
type: i.type === "record" ? "success" : "primary"
|
|
1075
|
+
}, {
|
|
1076
|
+
default: s(() => [
|
|
1077
|
+
i.type === "record" ? (u(), m(L, { key: 0 }, [
|
|
1078
|
+
e[25] || (e[25] = _("div", { class: "tl-title" }, "处理记录", -1)),
|
|
1079
|
+
_("div", Tl, "处理人: " + h(i.staff_name || "—"), 1),
|
|
1080
|
+
_("div", Ml, "处理时间: " + h(i.datetime || "—"), 1),
|
|
1081
|
+
i.desc ? (u(), m("div", Pl, "处理描述: " + h(i.desc), 1)) : B("", !0),
|
|
1082
|
+
i.file && i.file.length ? (u(), m("div", Ul, [
|
|
1083
|
+
(u(!0), m(L, null, Z(i.file, (we, ie) => (u(), F(yt, {
|
|
1084
|
+
key: ie,
|
|
1085
|
+
src: we,
|
|
1086
|
+
"preview-src-list": i.file,
|
|
1087
|
+
style: { width: "80px", height: "48px", "margin-right": "4px", "border-radius": "4px" },
|
|
1088
|
+
fit: "cover"
|
|
1089
|
+
}, null, 8, ["src", "preview-src-list"]))), 128))
|
|
1090
|
+
])) : B("", !0)
|
|
1091
|
+
], 64)) : (u(), m(L, { key: 1 }, [
|
|
1092
|
+
_("div", null, "状态:" + h(i.status === 1 || i.status === "1" ? "开启" : "关闭"), 1),
|
|
1093
|
+
i.value && Object.keys(i.value).length ? (u(), m("div", Yl, [
|
|
1094
|
+
(u(!0), m(L, null, Z(i.value, (we, ie) => (u(), m("span", {
|
|
1095
|
+
key: String(ie),
|
|
1096
|
+
class: "tl-value-tag"
|
|
1097
|
+
}, h(ie) + ": " + h(we), 1))), 128))
|
|
1098
|
+
])) : B("", !0)
|
|
1099
|
+
], 64))
|
|
1100
|
+
]),
|
|
1101
|
+
_: 2
|
|
1102
|
+
}, 1032, ["timestamp", "type"]);
|
|
1103
|
+
}), 128))
|
|
1104
|
+
]),
|
|
1105
|
+
_: 1
|
|
1106
|
+
})) : (u(), F(wt, {
|
|
1107
|
+
key: 1,
|
|
1108
|
+
description: "暂无历程事件或处理记录",
|
|
1109
|
+
"image-size": 64
|
|
1110
|
+
}))
|
|
1111
|
+
], 64)) : B("", !0)
|
|
1112
|
+
])), [
|
|
1113
|
+
[Pe, ge.value]
|
|
1114
|
+
])
|
|
1115
|
+
]),
|
|
1116
|
+
_: 1
|
|
1117
|
+
}, 8, ["modelValue"]),
|
|
1118
|
+
n(Me, {
|
|
1119
|
+
modelValue: Q.value,
|
|
1120
|
+
"onUpdate:modelValue": e[15] || (e[15] = (i) => Q.value = i),
|
|
1121
|
+
title: "添加处理记录",
|
|
1122
|
+
class: "mixiot-app-dialog retainer-add-record-dialog",
|
|
1123
|
+
"append-to-body": !0,
|
|
1124
|
+
"close-on-click-modal": !1,
|
|
1125
|
+
style: { "--mixiot-app-dialog-max": "440px" },
|
|
1126
|
+
"destroy-on-close": ""
|
|
1127
|
+
}, {
|
|
1128
|
+
footer: s(() => [
|
|
1129
|
+
n(a, {
|
|
1130
|
+
onClick: e[14] || (e[14] = (i) => Q.value = !1)
|
|
1131
|
+
}, {
|
|
1132
|
+
default: s(() => [...e[29] || (e[29] = [
|
|
1133
|
+
b("取消", -1)
|
|
1134
|
+
])]),
|
|
1135
|
+
_: 1
|
|
1136
|
+
}),
|
|
1137
|
+
n(a, {
|
|
1138
|
+
type: "primary",
|
|
1139
|
+
loading: he.value,
|
|
1140
|
+
onClick: _t
|
|
1141
|
+
}, {
|
|
1142
|
+
default: s(() => [...e[30] || (e[30] = [
|
|
1143
|
+
b("确认", -1)
|
|
1144
|
+
])]),
|
|
1145
|
+
_: 1
|
|
1146
|
+
}, 8, ["loading"])
|
|
1147
|
+
]),
|
|
1148
|
+
default: s(() => [
|
|
1149
|
+
n(xt, {
|
|
1150
|
+
model: z,
|
|
1151
|
+
"label-position": "top"
|
|
1152
|
+
}, {
|
|
1153
|
+
default: s(() => [
|
|
1154
|
+
n(ke, { label: "处理时间" }, {
|
|
1155
|
+
default: s(() => [
|
|
1156
|
+
n(O, {
|
|
1157
|
+
modelValue: z.service_at,
|
|
1158
|
+
"onUpdate:modelValue": e[12] || (e[12] = (i) => z.service_at = i),
|
|
1159
|
+
type: "datetime",
|
|
1160
|
+
"value-format": "YYYY-MM-DD HH:mm:ss",
|
|
1161
|
+
placeholder: "选择时间",
|
|
1162
|
+
style: { width: "100%" }
|
|
1163
|
+
}, null, 8, ["modelValue"])
|
|
1164
|
+
]),
|
|
1165
|
+
_: 1
|
|
1166
|
+
}),
|
|
1167
|
+
n(ke, { label: "处理描述" }, {
|
|
1168
|
+
default: s(() => [
|
|
1169
|
+
n(Fe, {
|
|
1170
|
+
modelValue: z.description,
|
|
1171
|
+
"onUpdate:modelValue": e[13] || (e[13] = (i) => z.description = i),
|
|
1172
|
+
type: "textarea",
|
|
1173
|
+
rows: 3,
|
|
1174
|
+
placeholder: "请输入处理描述"
|
|
1175
|
+
}, null, 8, ["modelValue"])
|
|
1176
|
+
]),
|
|
1177
|
+
_: 1
|
|
1178
|
+
}),
|
|
1179
|
+
n(ke, { label: "现场图片" }, {
|
|
1180
|
+
default: s(() => [
|
|
1181
|
+
n(St, {
|
|
1182
|
+
"list-type": "picture-card",
|
|
1183
|
+
"file-list": N.value,
|
|
1184
|
+
"http-request": mt,
|
|
1185
|
+
"on-remove": pt
|
|
1186
|
+
}, {
|
|
1187
|
+
default: s(() => [
|
|
1188
|
+
n(a, { link: "" }, {
|
|
1189
|
+
default: s(() => [
|
|
1190
|
+
n(l, null, {
|
|
1191
|
+
default: s(() => [
|
|
1192
|
+
n(j(Ee))
|
|
1193
|
+
]),
|
|
1194
|
+
_: 1
|
|
1195
|
+
}),
|
|
1196
|
+
e[28] || (e[28] = b(" 上传图片 ", -1))
|
|
1197
|
+
]),
|
|
1198
|
+
_: 1
|
|
1199
|
+
})
|
|
1200
|
+
]),
|
|
1201
|
+
_: 1
|
|
1202
|
+
}, 8, ["file-list"])
|
|
1203
|
+
]),
|
|
1204
|
+
_: 1
|
|
1205
|
+
})
|
|
1206
|
+
]),
|
|
1207
|
+
_: 1
|
|
1208
|
+
}, 8, ["model"])
|
|
1209
|
+
]),
|
|
1210
|
+
_: 1
|
|
1211
|
+
}, 8, ["modelValue"]),
|
|
1212
|
+
al(t.$slots, "default", {}, void 0, !0)
|
|
1213
|
+
], 6);
|
|
1214
|
+
};
|
|
1215
|
+
}
|
|
1216
|
+
})), Aa = /* @__PURE__ */ nl(Wl, [["__scopeId", "data-v-88774d3c"]]);
|
|
1217
|
+
export {
|
|
1218
|
+
Aa as default
|
|
1219
|
+
};
|