@vtx/modals2 2.14.21 → 2.14.23
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/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/style/css.js.map +1 -1
- package/lib/style/index.js.map +1 -1
- package/lib/util/index.js +2 -4
- package/lib/util/index.js.map +1 -1
- package/lib/vm-alarm-info/Components/AlarmRecord.js +12 -11
- package/lib/vm-alarm-info/Components/AlarmRecord.js.map +1 -1
- package/lib/vm-alarm-info/Components/AlarmStatistics.js +16 -15
- package/lib/vm-alarm-info/Components/AlarmStatistics.js.map +1 -1
- package/lib/vm-alarm-info/Components/AlarmTrend.js +12 -11
- package/lib/vm-alarm-info/Components/AlarmTrend.js.map +1 -1
- package/lib/vm-alarm-info/Components/CurrentAlarm.js +12 -11
- package/lib/vm-alarm-info/Components/CurrentAlarm.js.map +1 -1
- package/lib/vm-alarm-info/Components/CurrentAlarmNew.js +15 -14
- package/lib/vm-alarm-info/Components/CurrentAlarmNew.js.map +1 -1
- package/lib/vm-alarm-info/api.js +1 -2
- package/lib/vm-alarm-info/api.js.map +1 -1
- package/lib/vm-alarm-info/index.js +16 -16
- package/lib/vm-alarm-info/index.js.map +1 -1
- package/lib/vm-alarm-info/style/css.js.map +1 -1
- package/lib/vm-alarm-info/style/index.js.map +1 -1
- package/lib/vm-alarm-situation/api.js +2 -3
- package/lib/vm-alarm-situation/api.js.map +1 -1
- package/lib/vm-alarm-situation/index.js +19 -19
- package/lib/vm-alarm-situation/index.js.map +1 -1
- package/lib/vm-alarm-situation/style/css.js.map +1 -1
- package/lib/vm-alarm-situation/style/index.js.map +1 -1
- package/lib/vm-alarm-situation-pt/api.js +1 -3
- package/lib/vm-alarm-situation-pt/api.js.map +1 -1
- package/lib/vm-alarm-situation-pt/index.js +13 -14
- package/lib/vm-alarm-situation-pt/index.js.map +1 -1
- package/lib/vm-alarm-situation-pt/style/css.js.map +1 -1
- package/lib/vm-alarm-situation-pt/style/index.js.map +1 -1
- package/lib/vm-analysis-comparison/api.js +2 -3
- package/lib/vm-analysis-comparison/api.js.map +1 -1
- package/lib/vm-analysis-comparison/index.js +17 -17
- package/lib/vm-analysis-comparison/index.js.map +1 -1
- package/lib/vm-analysis-comparison/style/css.js.map +1 -1
- package/lib/vm-analysis-comparison/style/index.js.map +1 -1
- package/lib/vm-appraisal-info/AppraisalBase.js +2 -3
- package/lib/vm-appraisal-info/AppraisalBase.js.map +1 -1
- package/lib/vm-appraisal-info/AppraisalTop5.js +4 -5
- package/lib/vm-appraisal-info/AppraisalTop5.js.map +1 -1
- package/lib/vm-appraisal-info/List.js +9 -8
- package/lib/vm-appraisal-info/List.js.map +1 -1
- package/lib/vm-appraisal-info/ListKh.js +11 -10
- package/lib/vm-appraisal-info/ListKh.js.map +1 -1
- package/lib/vm-appraisal-info/ListZg.js +11 -10
- package/lib/vm-appraisal-info/ListZg.js.map +1 -1
- package/lib/vm-appraisal-info/Wtlx.js +5 -6
- package/lib/vm-appraisal-info/Wtlx.js.map +1 -1
- package/lib/vm-appraisal-info/Zgxxhz.js +2 -3
- package/lib/vm-appraisal-info/Zgxxhz.js.map +1 -1
- package/lib/vm-appraisal-info/api.js +1 -2
- package/lib/vm-appraisal-info/api.js.map +1 -1
- package/lib/vm-appraisal-info/index.js +19 -18
- package/lib/vm-appraisal-info/index.js.map +1 -1
- package/lib/vm-appraisal-info/style/css.js.map +1 -1
- package/lib/vm-appraisal-info/style/index.js.map +1 -1
- package/lib/vm-base-list/OpenArrow.js +5 -6
- package/lib/vm-base-list/OpenArrow.js.map +1 -1
- package/lib/vm-base-list/index.js +15 -16
- package/lib/vm-base-list/index.js.map +1 -1
- package/lib/vm-base-list/style/css.js.map +1 -1
- package/lib/vm-base-list/style/index.js.map +1 -1
- package/lib/vm-button/index.js +2 -3
- package/lib/vm-button/index.js.map +1 -1
- package/lib/vm-button/style/css.js.map +1 -1
- package/lib/vm-button/style/index.js.map +1 -1
- package/lib/vm-charts/Distribute1.js +7 -8
- package/lib/vm-charts/Distribute1.js.map +1 -1
- package/lib/vm-charts/Gauge1.js +2 -3
- package/lib/vm-charts/Gauge1.js.map +1 -1
- package/lib/vm-charts/Line.js +12 -14
- package/lib/vm-charts/Line.js.map +1 -1
- package/lib/vm-charts/Line1.js +2 -3
- package/lib/vm-charts/Line1.js.map +1 -1
- package/lib/vm-charts/Pie.js +7 -9
- package/lib/vm-charts/Pie.js.map +1 -1
- package/lib/vm-charts/index.js +1 -1
- package/lib/vm-charts/index.js.map +1 -1
- package/lib/vm-checkbox/index.js +3 -5
- package/lib/vm-checkbox/index.js.map +1 -1
- package/lib/vm-checkbox/style/css.js.map +1 -1
- package/lib/vm-checkbox/style/index.js.map +1 -1
- package/lib/vm-container/index.js +5 -7
- package/lib/vm-container/index.js.map +1 -1
- package/lib/vm-container/style/css.js.map +1 -1
- package/lib/vm-container/style/index.js.map +1 -1
- package/lib/vm-correlation-comparison/api.js +2 -3
- package/lib/vm-correlation-comparison/api.js.map +1 -1
- package/lib/vm-correlation-comparison/index.js +17 -18
- package/lib/vm-correlation-comparison/index.js.map +1 -1
- package/lib/vm-correlation-comparison/style/css.js.map +1 -1
- package/lib/vm-correlation-comparison/style/index.js.map +1 -1
- package/lib/vm-empty/index.js +2 -3
- package/lib/vm-empty/index.js.map +1 -1
- package/lib/vm-empty/style/css.js.map +1 -1
- package/lib/vm-empty/style/index.js.map +1 -1
- package/lib/vm-filter/index.js +16 -23
- package/lib/vm-filter/index.js.map +1 -1
- package/lib/vm-filter/style/css.js.map +1 -1
- package/lib/vm-filter/style/index.js.map +1 -1
- package/lib/vm-hooks/useSettings.js +1 -2
- package/lib/vm-hooks/useSettings.js.map +1 -1
- package/lib/vm-iframe-modal/index.js +4 -5
- package/lib/vm-iframe-modal/index.js.map +1 -1
- package/lib/vm-iframe-modal/style/css.js.map +1 -1
- package/lib/vm-iframe-modal/style/index.js.map +1 -1
- package/lib/vm-image-text/index.js +4 -5
- package/lib/vm-image-text/index.js.map +1 -1
- package/lib/vm-image-text/style/css.js.map +1 -1
- package/lib/vm-image-text/style/index.js.map +1 -1
- package/lib/vm-info-collection/index.js +10 -11
- package/lib/vm-info-collection/index.js.map +1 -1
- package/lib/vm-info-collection/style/css.js.map +1 -1
- package/lib/vm-info-collection/style/index.js.map +1 -1
- package/lib/vm-map/index.js +34 -23
- package/lib/vm-map/index.js.map +1 -1
- package/lib/vm-map/mapStyle.js +7 -14
- package/lib/vm-map/mapStyle.js.map +1 -1
- package/lib/vm-modal-table/index.js +4 -5
- package/lib/vm-modal-table/index.js.map +1 -1
- package/lib/vm-modal-table/style/css.js.map +1 -1
- package/lib/vm-modal-table/style/index.js.map +1 -1
- package/lib/vm-nodata/index.js +1 -1
- package/lib/vm-nodata/index.js.map +1 -1
- package/lib/vm-radio/index.js +3 -5
- package/lib/vm-radio/index.js.map +1 -1
- package/lib/vm-radio/style/css.js.map +1 -1
- package/lib/vm-radio/style/index.js.map +1 -1
- package/lib/vm-real-time-monitor/api.js +2 -3
- package/lib/vm-real-time-monitor/api.js.map +1 -1
- package/lib/vm-real-time-monitor/index.js +17 -16
- package/lib/vm-real-time-monitor/index.js.map +1 -1
- package/lib/vm-real-time-monitor/style/css.js.map +1 -1
- package/lib/vm-real-time-monitor/style/index.js.map +1 -1
- package/lib/vm-repair-maintain/RmInfoSummary.js +6 -7
- package/lib/vm-repair-maintain/RmInfoSummary.js.map +1 -1
- package/lib/vm-repair-maintain/RmMonthTrend.js +5 -5
- package/lib/vm-repair-maintain/RmMonthTrend.js.map +1 -1
- package/lib/vm-repair-maintain/RmRecord.js +8 -6
- package/lib/vm-repair-maintain/RmRecord.js.map +1 -1
- package/lib/vm-repair-maintain/RmType.js +5 -6
- package/lib/vm-repair-maintain/RmType.js.map +1 -1
- package/lib/vm-repair-maintain/api.js +1 -2
- package/lib/vm-repair-maintain/api.js.map +1 -1
- package/lib/vm-repair-maintain/index.js +2 -3
- package/lib/vm-repair-maintain/index.js.map +1 -1
- package/lib/vm-repair-maintain/style/css.js.map +1 -1
- package/lib/vm-repair-maintain/style/index.js.map +1 -1
- package/lib/vm-round-content/index.js +15 -15
- package/lib/vm-round-content/index.js.map +1 -1
- package/lib/vm-round-content/style/css.js.map +1 -1
- package/lib/vm-round-content/style/index.js.map +1 -1
- package/lib/vm-row-col/index.js +3 -5
- package/lib/vm-row-col/index.js.map +1 -1
- package/lib/vm-row-col/style/css.js.map +1 -1
- package/lib/vm-row-col/style/index.js.map +1 -1
- package/lib/vm-select-device/index.js +8 -8
- package/lib/vm-select-device/index.js.map +1 -1
- package/lib/vm-select-device/style/css.js.map +1 -1
- package/lib/vm-select-device/style/index.js.map +1 -1
- package/lib/vm-sub-tabs/index.js +4 -7
- package/lib/vm-sub-tabs/index.js.map +1 -1
- package/lib/vm-sub-tabs/style/css.js.map +1 -1
- package/lib/vm-sub-tabs/style/index.js.map +1 -1
- package/lib/vm-sub-title/index.js +6 -7
- package/lib/vm-sub-title/index.js.map +1 -1
- package/lib/vm-sub-title/style/css.js.map +1 -1
- package/lib/vm-sub-title/style/index.js.map +1 -1
- package/lib/vm-table/index.js +18 -24
- package/lib/vm-table/index.js.map +1 -1
- package/lib/vm-table/style/css.js.map +1 -1
- package/lib/vm-table/style/index.js.map +1 -1
- package/lib/vm-time-line/index.js +3 -3
- package/lib/vm-time-line/index.js.map +1 -1
- package/lib/vm-time-line/style/css.js.map +1 -1
- package/lib/vm-time-line/style/index.js.map +1 -1
- package/lib/vm-video/api.js +1 -2
- package/lib/vm-video/api.js.map +1 -1
- package/lib/vm-video/index.js +5 -6
- package/lib/vm-video/index.js.map +1 -1
- package/lib/vtx-base-info/index.js +15 -16
- package/lib/vtx-base-info/index.js.map +1 -1
- package/lib/vtx-base-info/style/css.js.map +1 -1
- package/lib/vtx-base-info/style/index.js.map +1 -1
- package/lib/vtx-base-modal/api.js +4 -8
- package/lib/vtx-base-modal/api.js.map +1 -1
- package/lib/vtx-base-modal/index.js +32 -28
- package/lib/vtx-base-modal/index.js.map +1 -1
- package/lib/vtx-base-modal/style/css.js.map +1 -1
- package/lib/vtx-base-modal/style/index.js.map +1 -1
- package/lib/vtx-car-modal/api.js +47 -59
- package/lib/vtx-car-modal/api.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/Charts.js +23 -9
- package/lib/vtx-car-modal/components/AlarmInfo/Charts.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/List.js +14 -13
- package/lib/vtx-car-modal/components/AlarmInfo/List.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/index.js +19 -18
- package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/Charts.js +6 -5
- package/lib/vtx-car-modal/components/BaseInfo/Charts.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js +2 -2
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js +3 -3
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js +4 -5
- package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js +7 -8
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js +10 -12
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js +7 -10
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/index.css +1 -0
- package/lib/vtx-car-modal/components/BaseInfo/index.js +17 -18
- package/lib/vtx-car-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/index.less +1 -0
- package/lib/vtx-car-modal/components/Collection/index.js +15 -14
- package/lib/vtx-car-modal/components/Collection/index.js.map +1 -1
- package/lib/vtx-car-modal/components/Maintenance/index.js +6 -7
- package/lib/vtx-car-modal/components/Maintenance/index.js.map +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/List.js +9 -8
- package/lib/vtx-car-modal/components/OilConsumption/List.js.map +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js +4 -4
- package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js.map +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/index.js +9 -8
- package/lib/vtx-car-modal/components/OilConsumption/index.js.map +1 -1
- package/lib/vtx-car-modal/components/StaticInfo/Charts.js +8 -8
- package/lib/vtx-car-modal/components/StaticInfo/Charts.js.map +1 -1
- package/lib/vtx-car-modal/components/StaticInfo/List.js +2 -3
- package/lib/vtx-car-modal/components/StaticInfo/List.js.map +1 -1
- package/lib/vtx-car-modal/components/StaticInfo/index.js +20 -18
- package/lib/vtx-car-modal/components/StaticInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/WaterConsumption/index.js +9 -8
- package/lib/vtx-car-modal/components/WaterConsumption/index.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/Wcl.js +8 -10
- package/lib/vtx-car-modal/components/WorkInfo/Wcl.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js +21 -20
- package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js +11 -11
- package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/index.js +2 -3
- package/lib/vtx-car-modal/components/WorkInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/index.js +1 -1
- package/lib/vtx-car-modal/components/index.js.map +1 -1
- package/lib/vtx-car-modal/index.js +27 -29
- package/lib/vtx-car-modal/index.js.map +1 -1
- package/lib/vtx-car-modal/style/css.js.map +1 -1
- package/lib/vtx-car-modal/style/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/api.js +18 -23
- package/lib/vtx-cc-cp-modal/api.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +10 -11
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js +5 -6
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js +11 -12
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js +2 -3
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +5 -6
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +5 -6
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +5 -6
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +10 -11
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js +2 -3
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js +10 -11
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js +7 -7
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js +11 -12
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js +2 -3
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +10 -11
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +8 -9
- package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +5 -6
- package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +7 -8
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/index.js +1 -1
- package/lib/vtx-cc-cp-modal/components/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/index.js +8 -11
- package/lib/vtx-cc-cp-modal/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/style/css.js.map +1 -1
- package/lib/vtx-cc-cp-modal/style/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/type.js.map +1 -1
- package/lib/vtx-cp-modal/api.js +4 -8
- package/lib/vtx-cp-modal/api.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +11 -9
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js +2 -3
- package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +18 -17
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/index.js +2 -3
- package/lib/vtx-cp-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/Rules.js +2 -2
- package/lib/vtx-cp-modal/components/BaseInfo/Rules.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +2 -4
- package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/index.js +2 -3
- package/lib/vtx-cp-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js +11 -9
- package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js +2 -3
- package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +18 -17
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js +2 -3
- package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +8 -9
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/index.js +15 -14
- package/lib/vtx-cp-modal/components/SyInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/index.js +1 -1
- package/lib/vtx-cp-modal/components/index.js.map +1 -1
- package/lib/vtx-cp-modal/index.js +16 -18
- package/lib/vtx-cp-modal/index.js.map +1 -1
- package/lib/vtx-cp-modal/style/css.js.map +1 -1
- package/lib/vtx-cp-modal/style/index.js.map +1 -1
- package/lib/vtx-default-modal/api.js +1 -2
- package/lib/vtx-default-modal/api.js.map +1 -1
- package/lib/vtx-default-modal/components/BaseInfo/index.js +8 -7
- package/lib/vtx-default-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-default-modal/components/index.js +1 -1
- package/lib/vtx-default-modal/components/index.js.map +1 -1
- package/lib/vtx-default-modal/index.js +15 -15
- package/lib/vtx-default-modal/index.js.map +1 -1
- package/lib/vtx-default-modal/style/css.js.map +1 -1
- package/lib/vtx-default-modal/style/index.js.map +1 -1
- package/lib/vtx-device-modal/api.js +1 -2
- package/lib/vtx-device-modal/api.js.map +1 -1
- package/lib/vtx-device-modal/components/BaseInfo/index.js +4 -5
- package/lib/vtx-device-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-device-modal/components/DataAnalysis/index.js +14 -13
- package/lib/vtx-device-modal/components/DataAnalysis/index.js.map +1 -1
- package/lib/vtx-device-modal/components/FacilityFile/index.js +4 -5
- package/lib/vtx-device-modal/components/FacilityFile/index.js.map +1 -1
- package/lib/vtx-device-modal/components/LiftInfo/index.js +2 -3
- package/lib/vtx-device-modal/components/LiftInfo/index.js.map +1 -1
- package/lib/vtx-device-modal/components/OverViewInfo/Left.js +2 -3
- package/lib/vtx-device-modal/components/OverViewInfo/Left.js.map +1 -1
- package/lib/vtx-device-modal/components/OverViewInfo/index.js +17 -18
- package/lib/vtx-device-modal/components/OverViewInfo/index.js.map +1 -1
- package/lib/vtx-device-modal/components/VideoInfo/index.js +2 -3
- package/lib/vtx-device-modal/components/VideoInfo/index.js.map +1 -1
- package/lib/vtx-device-modal/config.js +2 -4
- package/lib/vtx-device-modal/config.js.map +1 -1
- package/lib/vtx-device-modal/index.js +11 -13
- package/lib/vtx-device-modal/index.js.map +1 -1
- package/lib/vtx-device-modal/style/css.js.map +1 -1
- package/lib/vtx-device-modal/style/index.js.map +1 -1
- package/lib/vtx-device-modal/types.js.map +1 -1
- package/lib/vtx-df-modal/api.js +4 -8
- package/lib/vtx-df-modal/api.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js +22 -10
- package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +9 -9
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +13 -11
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/Situation.js +3 -3
- package/lib/vtx-df-modal/components/BaseInfo/Situation.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/index.js +25 -23
- package/lib/vtx-df-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js +8 -9
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +7 -8
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/List.js +9 -8
- package/lib/vtx-df-modal/components/Metering/List.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/index.js +19 -19
- package/lib/vtx-df-modal/components/Metering/index.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +13 -11
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js +14 -12
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/index.js +15 -14
- package/lib/vtx-df-modal/components/WorkCondition/index.js.map +1 -1
- package/lib/vtx-df-modal/components/index.js +1 -1
- package/lib/vtx-df-modal/components/index.js.map +1 -1
- package/lib/vtx-df-modal/index.js +16 -18
- package/lib/vtx-df-modal/index.js.map +1 -1
- package/lib/vtx-df-modal/style/css.js.map +1 -1
- package/lib/vtx-df-modal/style/index.js.map +1 -1
- package/lib/vtx-facility-modal/api.js +31 -37
- package/lib/vtx-facility-modal/api.js.map +1 -1
- package/lib/vtx-facility-modal/components/OverView/Left.js +2 -3
- package/lib/vtx-facility-modal/components/OverView/Left.js.map +1 -1
- package/lib/vtx-facility-modal/components/OverView/index.js +18 -19
- package/lib/vtx-facility-modal/components/OverView/index.js.map +1 -1
- package/lib/vtx-facility-modal/components/index.js +1 -1
- package/lib/vtx-facility-modal/components/index.js.map +1 -1
- package/lib/vtx-facility-modal/config.js +3 -6
- package/lib/vtx-facility-modal/config.js.map +1 -1
- package/lib/vtx-facility-modal/index.js +2 -3
- package/lib/vtx-facility-modal/index.js.map +1 -1
- package/lib/vtx-facility-modal/style/css.js.map +1 -1
- package/lib/vtx-facility-modal/style/index.js.map +1 -1
- package/lib/vtx-facility-modal/types.js.map +1 -1
- package/lib/vtx-housing-estate-modal/api.js +38 -51
- package/lib/vtx-housing-estate-modal/api.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js +13 -15
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js +14 -15
- package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/MY.js +17 -18
- package/lib/vtx-housing-estate-modal/components/Alarm/MY.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js +2 -3
- package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js +15 -17
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +12 -13
- package/lib/vtx-housing-estate-modal/components/OverView/Hot.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Left.js +2 -3
- package/lib/vtx-housing-estate-modal/components/OverView/Left.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +11 -13
- package/lib/vtx-housing-estate-modal/components/OverView/Manage.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +11 -13
- package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Trend.js +2 -3
- package/lib/vtx-housing-estate-modal/components/OverView/Trend.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/index.js +4 -5
- package/lib/vtx-housing-estate-modal/components/OverView/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/SPJK/index.js +9 -10
- package/lib/vtx-housing-estate-modal/components/SPJK/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/TFRD/index.js +13 -14
- package/lib/vtx-housing-estate-modal/components/TFRD/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGGS/Content.js +5 -6
- package/lib/vtx-housing-estate-modal/components/WGGS/Content.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js +10 -11
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGXW/Content.js +5 -6
- package/lib/vtx-housing-estate-modal/components/WGXW/Content.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js +13 -14
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/index.js +1 -1
- package/lib/vtx-housing-estate-modal/components/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/config.js +8 -11
- package/lib/vtx-housing-estate-modal/config.js.map +1 -1
- package/lib/vtx-housing-estate-modal/index.js +13 -15
- package/lib/vtx-housing-estate-modal/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/style/css.js.map +1 -1
- package/lib/vtx-housing-estate-modal/style/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/types.js.map +1 -1
- package/lib/vtx-kh-modal/api.js +1 -2
- package/lib/vtx-kh-modal/api.js.map +1 -1
- package/lib/vtx-kh-modal/components/BaseInfo/index.js +3 -4
- package/lib/vtx-kh-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-kh-modal/components/index.js +1 -1
- package/lib/vtx-kh-modal/components/index.js.map +1 -1
- package/lib/vtx-kh-modal/index.js +10 -9
- package/lib/vtx-kh-modal/index.js.map +1 -1
- package/lib/vtx-kh-modal/style/css.js.map +1 -1
- package/lib/vtx-kh-modal/style/index.js.map +1 -1
- package/lib/vtx-pump-modal/api.js +30 -29
- package/lib/vtx-pump-modal/api.js.map +1 -1
- package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTotal.js +9 -9
- package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTotal.js.map +1 -1
- package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTrend.js +12 -12
- package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTrend.js.map +1 -1
- package/lib/vtx-pump-modal/components/AlarmRecord/index.js +15 -15
- package/lib/vtx-pump-modal/components/AlarmRecord/index.js.map +1 -1
- package/lib/vtx-pump-modal/components/Basic/JyqInfo.js +12 -10
- package/lib/vtx-pump-modal/components/Basic/JyqInfo.js.map +1 -1
- package/lib/vtx-pump-modal/components/Basic/PumpInfo.js +10 -11
- package/lib/vtx-pump-modal/components/Basic/PumpInfo.js.map +1 -1
- package/lib/vtx-pump-modal/components/Basic/SxInfo.js +10 -11
- package/lib/vtx-pump-modal/components/Basic/SxInfo.js.map +1 -1
- package/lib/vtx-pump-modal/components/Basic/XqInfo.js +10 -11
- package/lib/vtx-pump-modal/components/Basic/XqInfo.js.map +1 -1
- package/lib/vtx-pump-modal/components/Basic/index.js +17 -19
- package/lib/vtx-pump-modal/components/Basic/index.js.map +1 -1
- package/lib/vtx-pump-modal/components/Sbxl/SBXLFX.js +9 -9
- package/lib/vtx-pump-modal/components/Sbxl/SBXLFX.js.map +1 -1
- package/lib/vtx-pump-modal/components/Sbxl/SBYXQK.js +15 -15
- package/lib/vtx-pump-modal/components/Sbxl/SBYXQK.js.map +1 -1
- package/lib/vtx-pump-modal/components/Sbxl/index.js +9 -9
- package/lib/vtx-pump-modal/components/Sbxl/index.js.map +1 -1
- package/lib/vtx-pump-modal/components/Sjfx/index.js +28 -29
- package/lib/vtx-pump-modal/components/Sjfx/index.js.map +1 -1
- package/lib/vtx-pump-modal/components/Sxyx/index.js +13 -14
- package/lib/vtx-pump-modal/components/Sxyx/index.js.map +1 -1
- package/lib/vtx-pump-modal/components/index.js +1 -1
- package/lib/vtx-pump-modal/components/index.js.map +1 -1
- package/lib/vtx-pump-modal/config.js +6 -9
- package/lib/vtx-pump-modal/config.js.map +1 -1
- package/lib/vtx-pump-modal/index.js +15 -17
- package/lib/vtx-pump-modal/index.js.map +1 -1
- package/lib/vtx-pump-modal/style/css.js.map +1 -1
- package/lib/vtx-pump-modal/style/index.js.map +1 -1
- package/lib/vtx-pump-modal/type.js.map +1 -1
- package/lib/vtx-restaurant-modal/api.js +17 -21
- package/lib/vtx-restaurant-modal/api.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +5 -6
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +5 -6
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +5 -6
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/index.js +10 -11
- package/lib/vtx-restaurant-modal/components/Alarm/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +5 -6
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Info.js +5 -6
- package/lib/vtx-restaurant-modal/components/Basic/Info.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Summary.js +4 -5
- package/lib/vtx-restaurant-modal/components/Basic/Summary.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/index.js +5 -6
- package/lib/vtx-restaurant-modal/components/Basic/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Collection/Charts.js +10 -11
- package/lib/vtx-restaurant-modal/components/Collection/Charts.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Collection/List.js +5 -6
- package/lib/vtx-restaurant-modal/components/Collection/List.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Collection/index.js +16 -17
- package/lib/vtx-restaurant-modal/components/Collection/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/index.js +1 -1
- package/lib/vtx-restaurant-modal/components/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/config.js +2 -4
- package/lib/vtx-restaurant-modal/config.js.map +1 -1
- package/lib/vtx-restaurant-modal/index.js +8 -11
- package/lib/vtx-restaurant-modal/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/style/css.js.map +1 -1
- package/lib/vtx-restaurant-modal/style/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/type.js.map +1 -1
- package/lib/vtx-road-modal/api.js +3 -6
- package/lib/vtx-road-modal/api.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/Rules.js +2 -2
- package/lib/vtx-road-modal/components/BaseInfo/Rules.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js +2 -2
- package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/index.js +19 -17
- package/lib/vtx-road-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/Zylc.js +11 -13
- package/lib/vtx-road-modal/components/Statistical/Zylc.js.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/Zywcl.js +7 -9
- package/lib/vtx-road-modal/components/Statistical/Zywcl.js.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/index.js +9 -8
- package/lib/vtx-road-modal/components/Statistical/index.js.map +1 -1
- package/lib/vtx-road-modal/components/index.js +1 -1
- package/lib/vtx-road-modal/components/index.js.map +1 -1
- package/lib/vtx-road-modal/index.js +20 -22
- package/lib/vtx-road-modal/index.js.map +1 -1
- package/lib/vtx-road-modal/style/css.js.map +1 -1
- package/lib/vtx-road-modal/style/index.js.map +1 -1
- package/lib/vtx-staff-modal/api.js +4 -8
- package/lib/vtx-staff-modal/api.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js +7 -10
- package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js +11 -10
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js +18 -17
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/Exeception.js +3 -4
- package/lib/vtx-staff-modal/components/Attendance/Exeception.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/Record.js +8 -6
- package/lib/vtx-staff-modal/components/Attendance/Record.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js +3 -3
- package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/index.js +2 -3
- package/lib/vtx-staff-modal/components/Attendance/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js +8 -10
- package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js +3 -3
- package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js +3 -4
- package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/index.js +10 -11
- package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/Equipment/index.js +2 -3
- package/lib/vtx-staff-modal/components/Equipment/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/index.js +1 -1
- package/lib/vtx-staff-modal/components/index.js.map +1 -1
- package/lib/vtx-staff-modal/index.js +14 -17
- package/lib/vtx-staff-modal/index.js.map +1 -1
- package/lib/vtx-staff-modal/style/css.js.map +1 -1
- package/lib/vtx-staff-modal/style/index.js.map +1 -1
- package/lib/vtx-theme-provider/index.js +3 -5
- package/lib/vtx-theme-provider/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/api.js +39 -53
- package/lib/vtx-throw-point-modal/api.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js +13 -15
- package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/LDB.js +14 -15
- package/lib/vtx-throw-point-modal/components/Alarm/LDB.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/MY.js +17 -18
- package/lib/vtx-throw-point-modal/components/Alarm/MY.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/Rank.js +2 -3
- package/lib/vtx-throw-point-modal/components/Alarm/Rank.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/index.js +15 -17
- package/lib/vtx-throw-point-modal/components/Alarm/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Hot.js +12 -13
- package/lib/vtx-throw-point-modal/components/OverView/Hot.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Left.js +5 -6
- package/lib/vtx-throw-point-modal/components/OverView/Left.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Manage.js +11 -13
- package/lib/vtx-throw-point-modal/components/OverView/Manage.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js +11 -13
- package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Trend.js +2 -3
- package/lib/vtx-throw-point-modal/components/OverView/Trend.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/index.js +4 -5
- package/lib/vtx-throw-point-modal/components/OverView/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/SBZJ/Content.js +2 -3
- package/lib/vtx-throw-point-modal/components/SBZJ/Content.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/SBZJ/index.js +18 -20
- package/lib/vtx-throw-point-modal/components/SBZJ/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/TFRD/index.js +13 -14
- package/lib/vtx-throw-point-modal/components/TFRD/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGGS/Content.js +5 -6
- package/lib/vtx-throw-point-modal/components/WGGS/Content.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGGS/index.js +12 -13
- package/lib/vtx-throw-point-modal/components/WGGS/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGXW/Content.js +5 -6
- package/lib/vtx-throw-point-modal/components/WGXW/Content.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGXW/index.js +15 -16
- package/lib/vtx-throw-point-modal/components/WGXW/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/index.js +1 -1
- package/lib/vtx-throw-point-modal/components/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/config.js +8 -11
- package/lib/vtx-throw-point-modal/config.js.map +1 -1
- package/lib/vtx-throw-point-modal/index.js +13 -14
- package/lib/vtx-throw-point-modal/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/style/css.js.map +1 -1
- package/lib/vtx-throw-point-modal/style/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/types.js.map +1 -1
- package/lib/vtx-wr-modal/api.js +5 -10
- package/lib/vtx-wr-modal/api.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js +11 -9
- package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js +5 -6
- package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js +18 -17
- package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/index.js +2 -3
- package/lib/vtx-wr-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js +2 -3
- package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js +3 -3
- package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/Situation.js +2 -3
- package/lib/vtx-wr-modal/components/BaseInfo/Situation.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/index.js +10 -11
- package/lib/vtx-wr-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Img.js +14 -15
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Img.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Jbxx.js +7 -8
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Jbxx.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Monitor.js +10 -11
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Monitor.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Num.js +2 -3
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Num.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Other.js +2 -3
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Other.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ptss.js +2 -3
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ptss.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ssjk.js +12 -13
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ssjk.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/index.js +16 -14
- package/lib/vtx-wr-modal/components/BaseInfoNew/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Alarm.js +10 -11
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Alarm.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jbxx.js +10 -11
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jbxx.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jcbj.js +7 -8
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jcbj.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Monitor.js +10 -11
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Monitor.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Ptss.js +2 -3
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Ptss.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Sjjg.js +10 -11
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Sjjg.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/index.js +14 -13
- package/lib/vtx-wr-modal/components/BaseInfoNew2/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js +8 -6
- package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/Radar.js +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/Radar.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/Summary.js +11 -9
- package/lib/vtx-wr-modal/components/Evaluate/Summary.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/index.js +9 -8
- package/lib/vtx-wr-modal/components/Evaluate/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js +12 -11
- package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js.map +1 -1
- package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js +6 -7
- package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js.map +1 -1
- package/lib/vtx-wr-modal/components/Monitor/index.js +2 -3
- package/lib/vtx-wr-modal/components/Monitor/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/Score/index.js +10 -12
- package/lib/vtx-wr-modal/components/Score/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/Ztt/index.js +1 -1
- package/lib/vtx-wr-modal/components/Ztt/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/index.js +1 -1
- package/lib/vtx-wr-modal/components/index.js.map +1 -1
- package/lib/vtx-wr-modal/index.js +21 -22
- package/lib/vtx-wr-modal/index.js.map +1 -1
- package/lib/vtx-wr-modal/style/css.js.map +1 -1
- package/lib/vtx-wr-modal/style/index.js.map +1 -1
- package/lib/vtx-zg-modal/api.js +1 -2
- package/lib/vtx-zg-modal/api.js.map +1 -1
- package/lib/vtx-zg-modal/components/BaseInfo/index.js +13 -14
- package/lib/vtx-zg-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-zg-modal/components/index.js +1 -1
- package/lib/vtx-zg-modal/components/index.js.map +1 -1
- package/lib/vtx-zg-modal/index.js +10 -9
- package/lib/vtx-zg-modal/index.js.map +1 -1
- package/lib/vtx-zg-modal/style/css.js.map +1 -1
- package/lib/vtx-zg-modal/style/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkSummaryJxh.js","names":["WorkSummaryJxh","id","date","useSettings","isDark","BaseService","useWorkSummaryJxh","moment","format","workSummaryJxhRes","getSrc","code","obj","zylc","xslc","zyl","zysc","zycs","zycssc","zylcLight","xslcLight","zylLight","zyscLight","zycsLight","zycsscLight","data","src","name","value","workMileage","unit","driveMileage","workRate","specialCase","secondToFormatTime","workDuration","overSpeedRate","overSpeedDuration","React","createElement","className","map","ele","index","ImageText","Object","assign","key","style","margin","width"],"sources":["vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js"],"sourcesContent":["/**\n * 作业统计- 机械化\n */\nimport React from 'react';\nimport moment from 'moment';\nimport ImageText from '../../../vm-image-text';\nimport { secondToFormatTime } from '../../../util';\nimport useSettings from '../../../vm-hooks/useSettings';\nimport { BaseService } from '../../api';\nimport zylc from '../../imgs/zylc.png';\nimport xslc from '../../imgs/xslc.png';\nimport zyl from '../../imgs/zyl.png';\nimport zysc from '../../imgs/zysc.png';\nimport zycs from '../../imgs/zycs.png';\nimport zycssc from '../../imgs/zycssc.png';\nimport zylcLight from '../../imgs/zylc_light.png';\nimport xslcLight from '../../imgs/xslc_light.png';\nimport zylLight from '../../imgs/zyl_light.png';\nimport zyscLight from '../../imgs/zysc_light.png';\nimport zycsLight from '../../imgs/zycs_light.png';\nimport zycsscLight from '../../imgs/zycssc_light.png';\nexport default function WorkSummaryJxh({ id, date }) {\n const { isDark } = useSettings();\n const { workSummaryJxhRes } = BaseService.useWorkSummaryJxh(id, moment(date).format('YYYY-MM-DD'), moment(date).format('YYYY-MM-DD'));\n const getSrc = (code) => {\n let obj = {};\n if (isDark) {\n obj = {\n zylc: zylc,\n xslc: xslc,\n zyl: zyl,\n zysc: zysc,\n zycs: zycs,\n zycssc: zycssc,\n };\n }\n else {\n obj = {\n zylc: zylcLight,\n xslc: xslcLight,\n zyl: zylLight,\n zysc: zyscLight,\n zycs: zycsLight,\n zycssc: zycsscLight,\n };\n }\n return obj[code];\n };\n const data = [\n {\n src: getSrc('zylc'),\n name: '作业里程',\n value: (workSummaryJxhRes === null || workSummaryJxhRes === void 0 ? void 0 : workSummaryJxhRes.workMileage) || 0,\n unit: 'km',\n },\n {\n src: getSrc('xslc'),\n name: '行驶里程',\n value: (workSummaryJxhRes === null || workSummaryJxhRes === void 0 ? void 0 : workSummaryJxhRes.driveMileage) || 0,\n unit: 'km',\n },\n {\n src: getSrc('zyl'),\n name: '有效作业率',\n value: (workSummaryJxhRes === null || workSummaryJxhRes === void 0 ? void 0 : workSummaryJxhRes.workRate) || 0,\n unit: '%',\n },\n {\n src: getSrc('zysc'),\n name: '作业时长',\n specialCase: `${secondToFormatTime((workSummaryJxhRes === null || workSummaryJxhRes === void 0 ? void 0 : workSummaryJxhRes.workDuration) || 0)}`,\n },\n {\n src: getSrc('zycs'),\n name: '作业超速',\n value: (workSummaryJxhRes === null || workSummaryJxhRes === void 0 ? void 0 : workSummaryJxhRes.overSpeedRate) || 0,\n unit: '%',\n },\n {\n src: getSrc('zycssc'),\n name: '作业超速时长',\n specialCase: `${secondToFormatTime((workSummaryJxhRes === null || workSummaryJxhRes === void 0 ? void 0 : workSummaryJxhRes.overSpeedDuration) || 0)}`,\n },\n ];\n return (React.createElement(\"div\", { className: \"work-summary\" }, data === null || data === void 0 ? void 0 : data.map((ele, index) => (React.createElement(ImageText, Object.assign({ key: index }, ele, { style: { margin: '0 0 36px 0', width: '50%' } }))))));\n}\n"],"mappings":";;;;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAsD;AApBtD;AACA;AACA;;AAmBe,
|
|
1
|
+
{"version":3,"file":"WorkSummaryJxh.js","names":["_react","_interopRequireDefault","require","_moment","_vmImageText","_util","_useSettings2","_api","_zylc","_xslc","_zyl","_zysc","_zycs","_zycssc","_zylc_light","_xslc_light","_zyl_light","_zysc_light","_zycs_light","_zycssc_light","e","__esModule","WorkSummaryJxh","_ref","id","date","_useSettings","useSettings","isDark","_BaseService$useWorkS","BaseService","useWorkSummaryJxh","moment","format","workSummaryJxhRes","getSrc","code","obj","zylc","xslc","zyl","zysc","zycs","zycssc","zylcLight","xslcLight","zylLight","zyscLight","zycsLight","zycsscLight","data","src","name","value","workMileage","unit","driveMileage","workRate","specialCase","concat","secondToFormatTime","workDuration","overSpeedRate","overSpeedDuration","React","createElement","className","map","ele","index","ImageText","Object","assign","key","style","margin","width"],"sources":["vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js"],"sourcesContent":["/**\n * 作业统计- 机械化\n */\nimport React from 'react';\nimport moment from 'moment';\nimport ImageText from '../../../vm-image-text';\nimport { secondToFormatTime } from '../../../util';\nimport useSettings from '../../../vm-hooks/useSettings';\nimport { BaseService } from '../../api';\nimport zylc from '../../imgs/zylc.png';\nimport xslc from '../../imgs/xslc.png';\nimport zyl from '../../imgs/zyl.png';\nimport zysc from '../../imgs/zysc.png';\nimport zycs from '../../imgs/zycs.png';\nimport zycssc from '../../imgs/zycssc.png';\nimport zylcLight from '../../imgs/zylc_light.png';\nimport xslcLight from '../../imgs/xslc_light.png';\nimport zylLight from '../../imgs/zyl_light.png';\nimport zyscLight from '../../imgs/zysc_light.png';\nimport zycsLight from '../../imgs/zycs_light.png';\nimport zycsscLight from '../../imgs/zycssc_light.png';\nexport default function WorkSummaryJxh({ id, date }) {\n const { isDark } = useSettings();\n const { workSummaryJxhRes } = BaseService.useWorkSummaryJxh(id, moment(date).format('YYYY-MM-DD'), moment(date).format('YYYY-MM-DD'));\n const getSrc = (code) => {\n let obj = {};\n if (isDark) {\n obj = {\n zylc: zylc,\n xslc: xslc,\n zyl: zyl,\n zysc: zysc,\n zycs: zycs,\n zycssc: zycssc,\n };\n }\n else {\n obj = {\n zylc: zylcLight,\n xslc: xslcLight,\n zyl: zylLight,\n zysc: zyscLight,\n zycs: zycsLight,\n zycssc: zycsscLight,\n };\n }\n return obj[code];\n };\n const data = [\n {\n src: getSrc('zylc'),\n name: '作业里程',\n value: (workSummaryJxhRes === null || workSummaryJxhRes === void 0 ? void 0 : workSummaryJxhRes.workMileage) || 0,\n unit: 'km',\n },\n {\n src: getSrc('xslc'),\n name: '行驶里程',\n value: (workSummaryJxhRes === null || workSummaryJxhRes === void 0 ? void 0 : workSummaryJxhRes.driveMileage) || 0,\n unit: 'km',\n },\n {\n src: getSrc('zyl'),\n name: '有效作业率',\n value: (workSummaryJxhRes === null || workSummaryJxhRes === void 0 ? void 0 : workSummaryJxhRes.workRate) || 0,\n unit: '%',\n },\n {\n src: getSrc('zysc'),\n name: '作业时长',\n specialCase: `${secondToFormatTime((workSummaryJxhRes === null || workSummaryJxhRes === void 0 ? void 0 : workSummaryJxhRes.workDuration) || 0)}`,\n },\n {\n src: getSrc('zycs'),\n name: '作业超速',\n value: (workSummaryJxhRes === null || workSummaryJxhRes === void 0 ? void 0 : workSummaryJxhRes.overSpeedRate) || 0,\n unit: '%',\n },\n {\n src: getSrc('zycssc'),\n name: '作业超速时长',\n specialCase: `${secondToFormatTime((workSummaryJxhRes === null || workSummaryJxhRes === void 0 ? void 0 : workSummaryJxhRes.overSpeedDuration) || 0)}`,\n },\n ];\n return (React.createElement(\"div\", { className: \"work-summary\" }, data === null || data === void 0 ? void 0 : data.map((ele, index) => (React.createElement(ImageText, Object.assign({ key: index }, ele, { style: { margin: '0 0 36px 0', width: '50%' } }))))));\n}\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sB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IAAA,oBAAML,iBAAK,CAACC,aAAa,CAACK,uBAAS,EAAEC,MAAM,CAACC,MAAM,CAAC;MAAEC,GAAG,EAAEJ;IAAM,CAAC,EAAED,GAAG,EAAE;MAAEM,KAAK,EAAE;QAAEC,MAAM,EAAE,YAAY;QAAEC,KAAK,EAAE;MAAM;IAAE,CAAC,CAAC,CAAC;EAAA,CAAC,CAAC,CAAC;AACpQ","ignoreList":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -13,9 +13,9 @@ var _vmNodata = _interopRequireDefault(require("../../../vm-nodata"));
|
|
|
13
13
|
var _useSettings2 = _interopRequireDefault(require("../../../vm-hooks/useSettings"));
|
|
14
14
|
var _api = require("../../api");
|
|
15
15
|
var _lodash = _interopRequireDefault(require("lodash"));
|
|
16
|
-
function _getRequireWildcardCache(
|
|
17
|
-
function _interopRequireWildcard(
|
|
18
|
-
function _interopRequireDefault(
|
|
16
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
17
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
18
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
19
19
|
var ZyfxCC = function ZyfxCC(props) {
|
|
20
20
|
var id = props.id;
|
|
21
21
|
var _useSettings = (0, _useSettings2["default"])(),
|
|
@@ -123,7 +123,7 @@ var ZyfxCC = function ZyfxCC(props) {
|
|
|
123
123
|
}
|
|
124
124
|
}]
|
|
125
125
|
};
|
|
126
|
-
return (workAnaLjsyRes === null || workAnaLjsyRes === void 0 ? void 0 : workAnaLjsyRes.length) > 0 ? /*#__PURE__*/_react["default"].createElement(_echartsForReact["default"], {
|
|
126
|
+
return (workAnaLjsyRes === null || workAnaLjsyRes === void 0 ? void 0 : workAnaLjsyRes.length) > 0 ? ( /*#__PURE__*/_react["default"].createElement(_echartsForReact["default"], {
|
|
127
127
|
option: option,
|
|
128
128
|
notMerge: true,
|
|
129
129
|
lazyUpdate: true,
|
|
@@ -131,8 +131,7 @@ var ZyfxCC = function ZyfxCC(props) {
|
|
|
131
131
|
height: '250px',
|
|
132
132
|
width: '100%'
|
|
133
133
|
}
|
|
134
|
-
}) : /*#__PURE__*/_react["default"].createElement(_vmNodata["default"], null);
|
|
134
|
+
})) : ( /*#__PURE__*/_react["default"].createElement(_vmNodata["default"], null));
|
|
135
135
|
};
|
|
136
|
-
var _default = ZyfxCC;
|
|
137
|
-
exports["default"] = _default;
|
|
136
|
+
var _default = exports["default"] = ZyfxCC;
|
|
138
137
|
//# sourceMappingURL=ZyfxCC.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ZyfxCC.js","names":["ZyfxCC","props","id","useSettings","chartFontColor","sDate","startDate","eDate","endDate","BaseService","useWorkAnaCC","moment","subtract","format","workAnaLjsyRes","option","tooltip","grid","left","right","bottom","containLabel","legend","align","itemGap","itemWidth","itemHeight","textStyle","color","data","xAxis","type","_","map","axisPointer","axisTick","show","axisLabel","yAxis","name","min","interval","nameTextStyle","splitNumber","splitLine","lineStyle","series","barWidth","length","item","labelName","value","labelValue","itemStyle","echarts","graphic","LinearGradient","offset","React","createElement","ReactEcharts","notMerge","lazyUpdate","style","height","width","NoData"],"sources":["vtx-car-modal/components/BaseInfo/ZyfxCC.js"],"sourcesContent":["import React from 'react';\nimport moment from 'moment';\nimport * as echarts from 'echarts';\nimport ReactEcharts from 'echarts-for-react';\nimport NoData from '../../../vm-nodata';\nimport useSettings from '../../../vm-hooks/useSettings';\nimport { BaseService } from '../../api';\nimport _ from 'lodash';\nconst ZyfxCC = (props) => {\n const { id } = props;\n const { chartFontColor, startDate: sDate, endDate: eDate } = useSettings();\n const { workAnaLjsyRes } = BaseService.useWorkAnaCC(id, sDate\n ? sDate\n : moment()\n .subtract(1, 'M')\n .format('YYYY-MM-DD'), eDate ? eDate : moment().format('YYYY-MM-DD'), true);\n let option = {\n tooltip: {\n // trigger: 'axis',\n },\n grid: {\n left: '5%',\n right: '5%',\n bottom: 20,\n containLabel: true,\n },\n legend: {\n align: 'left',\n itemGap: 8,\n itemWidth: 10,\n itemHeight: 10,\n textStyle: {\n color: chartFontColor,\n },\n data: ['实际收集次数', '计划收集次数'],\n },\n xAxis: [\n {\n type: 'category',\n data: _.map(workAnaLjsyRes[0] || [], 'labelName'),\n axisPointer: {\n type: 'shadow',\n },\n axisTick: {\n show: false,\n },\n axisLabel: {\n color: chartFontColor,\n },\n },\n ],\n yAxis: [\n {\n type: 'value',\n name: '(次)',\n min: 0,\n interval: 100,\n nameTextStyle: {\n color: chartFontColor,\n },\n splitNumber: 5,\n axisTick: {\n show: false,\n },\n axisLabel: {\n color: chartFontColor,\n },\n splitLine: {\n lineStyle: {\n type: 'dashed',\n color: 'rgba(151,151,151,0.28)',\n },\n },\n },\n {\n show: false,\n type: 'value',\n name: '%',\n },\n ],\n series: [\n {\n name: '实际收集次数',\n type: 'bar',\n barWidth: 18,\n data: (workAnaLjsyRes === null || workAnaLjsyRes === void 0 ? void 0 : workAnaLjsyRes.length) > 0\n ? (workAnaLjsyRes[0] || []).map((item) => ({\n name: item.labelName,\n value: item.labelValue,\n }))\n : [],\n itemStyle: {\n color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [\n {\n offset: 0,\n color: '#F5803C ',\n },\n {\n offset: 1,\n color: '#FFE290',\n },\n ]),\n },\n },\n {\n name: '计划收集次数',\n type: 'bar',\n barWidth: 18,\n data: (workAnaLjsyRes === null || workAnaLjsyRes === void 0 ? void 0 : workAnaLjsyRes.length) > 0\n ? (workAnaLjsyRes[1] || []).map((item) => ({\n name: item.labelName,\n value: item.labelValue,\n }))\n : [],\n itemStyle: {\n color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [\n {\n offset: 0,\n color: '#1677FF',\n },\n {\n offset: 1,\n color: '#62FDF3',\n },\n ]),\n },\n },\n ],\n };\n return (workAnaLjsyRes === null || workAnaLjsyRes === void 0 ? void 0 : workAnaLjsyRes.length) > 0 ? (React.createElement(ReactEcharts, { option: option, notMerge: true, lazyUpdate: true, style: { height: '250px', width: '100%' } })) : (React.createElement(NoData, null));\n};\nexport default ZyfxCC;\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAuB;AAAA;AAAA;AACvB,IAAMA,MAAM,GAAG,SAATA,MAAM,CAAIC,KAAK,EAAK;EACtB,IAAQC,EAAE,GAAKD,KAAK,CAAZC,EAAE;EACV,mBAA6D,IAAAC,wBAAW,GAAE;IAAlEC,cAAc,gBAAdA,cAAc;IAAaC,KAAK,gBAAhBC,SAAS;IAAkBC,KAAK,gBAAdC,OAAO;EACjD,4BAA2BC,gBAAW,CAACC,YAAY,CAACR,EAAE,EAAEG,KAAK,GACvDA,KAAK,GACL,IAAAM,kBAAM,GAAE,CACLC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAChBC,MAAM,CAAC,YAAY,CAAC,EAAEN,KA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;QACPzB,KAAK,EAAE,IAAI0B,OAAO,CAACC,OAAO,CAACC,cAAc,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAClD;UACIC,MAAM,EAAE,CAAC;UACT7B,KAAK,EAAE;QACX,CAAC,EACD;UACI6B,MAAM,EAAE,CAAC;UACT7B,KAAK,EAAE;QACX,CAAC,CACJ;MACL;IACJ,CAAC;EAET,CAAC;EACD,OAAO,CAACd,cAAc,KAAK,IAAI,IAAIA,cAAc,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,cAAc,CAACkC,MAAM,IAAI,CAAC,gBAAIU,iBAAK,CAACC,aAAa,CAACC,2BAAY,EAAE;IAAE7C,MAAM,EAAEA,MAAM;IAAE8C,QAAQ,EAAE,IAAI;IAAEC,UAAU,EAAE,IAAI;IAAEC,KAAK,EAAE;MAAEC,MAAM,EAAE,OAAO;MAAEC,KAAK,EAAE;IAAO;EAAE,CAAC,CAAC,gBAAKP,iBAAK,CAACC,aAAa,CAACO,oBAAM,EAAE,IAAI,CAAE;AACnR,CAAC;AAAC,eACalE,MAAM;AAAA"}
|
|
1
|
+
{"version":3,"file":"ZyfxCC.js","names":["_react","_interopRequireDefault","require","_moment","echarts","_interopRequireWildcard","_echartsForReact","_vmNodata","_useSettings2","_api","_lodash","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","ZyfxCC","props","id","_useSettings","useSettings","chartFontColor","sDate","startDate","eDate","endDate","_BaseService$useWorkA","BaseService","useWorkAnaCC","moment","subtract","format","workAnaLjsyRes","option","tooltip","grid","left","right","bottom","containLabel","legend","align","itemGap","itemWidth","itemHeight","textStyle","color","data","xAxis","type","_","map","axisPointer","axisTick","show","axisLabel","yAxis","name","min","interval","nameTextStyle","splitNumber","splitLine","lineStyle","series","barWidth","length","item","labelName","value","labelValue","itemStyle","graphic","LinearGradient","offset","React","createElement","ReactEcharts","notMerge","lazyUpdate","style","height","width","NoData","_default","exports"],"sources":["vtx-car-modal/components/BaseInfo/ZyfxCC.js"],"sourcesContent":["import React from 'react';\nimport moment from 'moment';\nimport * as echarts from 'echarts';\nimport ReactEcharts from 'echarts-for-react';\nimport NoData from '../../../vm-nodata';\nimport useSettings from '../../../vm-hooks/useSettings';\nimport { BaseService } from '../../api';\nimport _ from 'lodash';\nconst ZyfxCC = (props) => {\n const { id } = props;\n const { chartFontColor, startDate: sDate, endDate: eDate } = useSettings();\n const { workAnaLjsyRes } = BaseService.useWorkAnaCC(id, sDate\n ? sDate\n : moment()\n .subtract(1, 'M')\n .format('YYYY-MM-DD'), eDate ? eDate : moment().format('YYYY-MM-DD'), true);\n let option = {\n tooltip: {\n // trigger: 'axis',\n },\n grid: {\n left: '5%',\n right: '5%',\n bottom: 20,\n containLabel: true,\n },\n legend: {\n align: 'left',\n itemGap: 8,\n itemWidth: 10,\n itemHeight: 10,\n textStyle: {\n color: chartFontColor,\n },\n data: ['实际收集次数', '计划收集次数'],\n },\n xAxis: [\n {\n type: 'category',\n data: _.map(workAnaLjsyRes[0] || [], 'labelName'),\n axisPointer: {\n type: 'shadow',\n },\n axisTick: {\n show: false,\n },\n axisLabel: {\n color: chartFontColor,\n },\n },\n ],\n yAxis: [\n {\n type: 'value',\n name: '(次)',\n min: 0,\n interval: 100,\n nameTextStyle: {\n color: chartFontColor,\n },\n splitNumber: 5,\n axisTick: {\n show: false,\n },\n axisLabel: {\n color: chartFontColor,\n },\n splitLine: {\n lineStyle: {\n type: 'dashed',\n color: 'rgba(151,151,151,0.28)',\n },\n },\n },\n {\n show: false,\n type: 'value',\n name: '%',\n },\n ],\n series: [\n {\n name: '实际收集次数',\n type: 'bar',\n barWidth: 18,\n data: (workAnaLjsyRes === null || workAnaLjsyRes === void 0 ? void 0 : workAnaLjsyRes.length) > 0\n ? (workAnaLjsyRes[0] || []).map((item) => ({\n name: item.labelName,\n value: item.labelValue,\n }))\n : [],\n itemStyle: {\n color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [\n {\n offset: 0,\n color: '#F5803C ',\n },\n {\n offset: 1,\n color: '#FFE290',\n },\n ]),\n },\n },\n {\n name: '计划收集次数',\n type: 'bar',\n barWidth: 18,\n data: (workAnaLjsyRes === null || workAnaLjsyRes === void 0 ? void 0 : workAnaLjsyRes.length) > 0\n ? (workAnaLjsyRes[1] || []).map((item) => ({\n name: item.labelName,\n value: item.labelValue,\n }))\n : [],\n itemStyle: {\n color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [\n {\n offset: 0,\n color: '#1677FF',\n },\n {\n offset: 1,\n color: '#62FDF3',\n },\n ]),\n },\n },\n ],\n };\n return (workAnaLjsyRes === null || workAnaLjsyRes === void 0 ? void 0 : workAnaLjsyRes.length) > 0 ? (React.createElement(ReactEcharts, { option: option, notMerge: true, lazyUpdate: true, style: { height: '250px', width: '100%' } })) : (React.createElement(NoData, null));\n};\nexport default ZyfxCC;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,OAAA,GAAAC,uBAAA,CAAAH,OAAA;AACA,IAAAI,gBAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,SAAA,GAAAN,sBAAA,CAAAC,OAAA;AACA,IAAAM,aAAA,GAAAP,sBAAA,CAAAC,OAAA;AACA,IAAAO,IAAA,GAAAP,OAAA;AACA,IAAAQ,OAAA,GAAAT,sBAAA,CAAAC,OAAA;AAAuB,SAAAS,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAP,wBAAAO,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,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C,IAAI,EAAE,EAAEmB,GAAG,CAAC,UAACgB,IAAI;QAAA,OAAM;UACvCV,IAAI,EAAEU,IAAI,CAACC,SAAS;UACpBC,KAAK,EAAEF,IAAI,CAACG;QAChB,CAAC;MAAA,CAAC,CAAC,GACD,EAAE;MACRC,SAAS,EAAE;QACPzB,KAAK,EAAE,IAAIzD,OAAO,CAACmF,OAAO,CAACC,cAAc,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAClD;UACIC,MAAM,EAAE,CAAC;UACT5B,KAAK,EAAE;QACX,CAAC,EACD;UACI4B,MAAM,EAAE,CAAC;UACT5B,KAAK,EAAE;QACX,CAAC,CACJ;MACL;IACJ,CAAC;EAET,CAAC;EACD,OAAO,CAACd,cAAc,KAAK,IAAI,IAAIA,cAAc,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,cAAc,CAACkC,MAAM,IAAI,CAAC,kBAAIS,iBAAK,CAACC,aAAa,CAACC,2BAAY,EAAE;IAAE5C,MAAM,EAAEA,MAAM;IAAE6C,QAAQ,EAAE,IAAI;IAAEC,UAAU,EAAE,IAAI;IAAEC,KAAK,EAAE;MAAEC,MAAM,EAAE,OAAO;MAAEC,KAAK,EAAE;IAAO;EAAE,CAAC,CAAC,mBAAKP,iBAAK,CAACC,aAAa,CAACO,oBAAM,EAAE,IAAI,CAAC,CAAC;AACnR,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cACarE,MAAM","ignoreList":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -12,9 +12,9 @@ var _echartsForReact = _interopRequireDefault(require("echarts-for-react"));
|
|
|
12
12
|
var _vmNodata = _interopRequireDefault(require("../../../vm-nodata"));
|
|
13
13
|
var _useSettings2 = _interopRequireDefault(require("../../../vm-hooks/useSettings"));
|
|
14
14
|
var _api = require("../../api");
|
|
15
|
-
function _getRequireWildcardCache(
|
|
16
|
-
function _interopRequireWildcard(
|
|
17
|
-
function _interopRequireDefault(
|
|
15
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
16
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
17
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
18
18
|
var ZyfxJXH = function ZyfxJXH(props) {
|
|
19
19
|
var _a;
|
|
20
20
|
var _useSettings = (0, _useSettings2["default"])(),
|
|
@@ -34,12 +34,11 @@ var ZyfxJXH = function ZyfxJXH(props) {
|
|
|
34
34
|
var color = (_b = params[0].color) === null || _b === void 0 ? void 0 : _b.colorStops; // 获取系列的颜色
|
|
35
35
|
params.map(function (item, index) {
|
|
36
36
|
var _a;
|
|
37
|
-
str += "<span ><span style=\"color:".concat((_a = color[index]) === null || _a === void 0 ? void 0 : _a.color, " \">\u2022</span> ").concat(item.seriesName, " ").concat(item.data, "km</span>");
|
|
37
|
+
str += "<span ><span style=\"color:".concat((_a = color[index]) === null || _a === void 0 ? void 0 : _a.color, ";font-size:24px \">\u2022</span> ").concat(item.seriesName, " ").concat(item.data, "km</span>");
|
|
38
38
|
});
|
|
39
39
|
return str; // 返回带点的字符串
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
|
-
|
|
43
42
|
grid: {
|
|
44
43
|
left: '6%',
|
|
45
44
|
right: '5%',
|
|
@@ -103,7 +102,7 @@ var ZyfxJXH = function ZyfxJXH(props) {
|
|
|
103
102
|
offset: 0,
|
|
104
103
|
color: '#45aeff'
|
|
105
104
|
}, {
|
|
106
|
-
offset:
|
|
105
|
+
offset: 0.9,
|
|
107
106
|
color: '#168fff'
|
|
108
107
|
}])
|
|
109
108
|
}
|
|
@@ -117,7 +116,7 @@ var ZyfxJXH = function ZyfxJXH(props) {
|
|
|
117
116
|
}
|
|
118
117
|
}]
|
|
119
118
|
};
|
|
120
|
-
return ((_a = workAnaJxhRes === null || workAnaJxhRes === void 0 ? void 0 : workAnaJxhRes.names) === null || _a === void 0 ? void 0 : _a.length) > 0 ? /*#__PURE__*/_react["default"].createElement(_echartsForReact["default"], {
|
|
119
|
+
return ((_a = workAnaJxhRes === null || workAnaJxhRes === void 0 ? void 0 : workAnaJxhRes.names) === null || _a === void 0 ? void 0 : _a.length) > 0 ? ( /*#__PURE__*/_react["default"].createElement(_echartsForReact["default"], {
|
|
121
120
|
option: option,
|
|
122
121
|
notMerge: true,
|
|
123
122
|
lazyUpdate: true,
|
|
@@ -125,13 +124,12 @@ var ZyfxJXH = function ZyfxJXH(props) {
|
|
|
125
124
|
height: '250px',
|
|
126
125
|
width: '100%'
|
|
127
126
|
}
|
|
128
|
-
}) : /*#__PURE__*/_react["default"].createElement(_vmNodata["default"], {
|
|
127
|
+
})) : ( /*#__PURE__*/_react["default"].createElement(_vmNodata["default"], {
|
|
129
128
|
style: {
|
|
130
129
|
height: '250px',
|
|
131
130
|
width: '100%'
|
|
132
131
|
}
|
|
133
|
-
});
|
|
132
|
+
}));
|
|
134
133
|
};
|
|
135
|
-
var _default = ZyfxJXH;
|
|
136
|
-
exports["default"] = _default;
|
|
134
|
+
var _default = exports["default"] = ZyfxJXH;
|
|
137
135
|
//# sourceMappingURL=ZyfxJXH.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ZyfxJXH.js","names":["ZyfxJXH","props","_a","useSettings","chartFontColor","sDate","startDate","eDate","endDate","id","service","BaseService","useWorkAnaJxh","moment","subtract","format","workAnaJxhRes","option","tooltip","trigger","formatter","params","_b","str","axisValue","color","colorStops","map","item","index","seriesName","data","grid","left","right","bottom","legend","align","itemGap","itemHeight","textStyle","legends","xAxis","type","names","axisPointer","axisTick","show","axisLabel","yAxis","name","min","interval","nameTextStyle","splitNumber","splitLine","lineStyle","series","barWidth","values","length","itemStyle","echarts","graphic","LinearGradient","offset","yAxisIndex","React","createElement","ReactEcharts","notMerge","lazyUpdate","style","height","width","NoData"],"sources":["vtx-car-modal/components/BaseInfo/ZyfxJXH.js"],"sourcesContent":["import React from 'react';\nimport moment from 'moment';\nimport * as echarts from 'echarts';\nimport ReactEcharts from 'echarts-for-react';\nimport NoData from '../../../vm-nodata';\nimport useSettings from '../../../vm-hooks/useSettings';\nimport { BaseService } from '../../api';\nconst ZyfxJXH = (props) => {\n var _a;\n const { chartFontColor, startDate: sDate, endDate: eDate } = useSettings();\n const { id, service } = props;\n const { workAnaJxhRes } = BaseService.useWorkAnaJxh(id, sDate\n ? sDate\n : moment()\n .subtract(1, 'M')\n .format('YYYY-MM-DD'), eDate ? eDate : moment().format('YYYY-MM-DD'), service);\n let option = {\n tooltip: {\n trigger: 'axis',\n formatter: function (params) {\n var _a, _b;\n let str = `<div style=\"text-align:left\">${(_a = params === null || params === void 0 ? void 0 : params[0]) === null || _a === void 0 ? void 0 : _a.axisValue}</div >`;\n let color = (_b = params[0].color) === null || _b === void 0 ? void 0 : _b.colorStops; // 获取系列的颜色\n params.map((item, index) => {\n var _a;\n str += `<span ><span style=\"color:${(_a = color[index]) === null || _a === void 0 ? void 0 : _a.color} \">•</span> ${item.seriesName} ${item.data}km</span>`;\n });\n return str; // 返回带点的字符串\n },\n },\n grid: {\n left: '6%',\n right: '5%',\n bottom: 20,\n },\n legend: {\n align: 'left',\n itemGap: 8,\n itemHeight: 10,\n textStyle: {\n color: chartFontColor,\n },\n data: (workAnaJxhRes === null || workAnaJxhRes === void 0 ? void 0 : workAnaJxhRes.legends) || [],\n },\n xAxis: [\n {\n type: 'category',\n data: (workAnaJxhRes === null || workAnaJxhRes === void 0 ? void 0 : workAnaJxhRes.names) || [],\n axisPointer: {\n type: 'shadow',\n },\n axisTick: {\n show: false,\n },\n axisLabel: {\n color: chartFontColor,\n },\n },\n ],\n yAxis: [\n {\n type: 'value',\n name: '(km)',\n min: 0,\n interval: 100,\n nameTextStyle: {\n color: chartFontColor,\n },\n splitNumber: 5,\n axisTick: {\n show: false,\n },\n axisLabel: {\n color: chartFontColor,\n },\n splitLine: {\n lineStyle: {\n type: 'dashed',\n color: 'rgba(151,151,151,0.28)',\n },\n },\n },\n {\n show: false,\n type: 'value',\n name: '%',\n },\n ],\n series: [\n {\n name: '作业里程',\n type: 'bar',\n barWidth: 18,\n data: (workAnaJxhRes === null || workAnaJxhRes === void 0 ? void 0 : workAnaJxhRes.values.length) > 0 ? workAnaJxhRes === null || workAnaJxhRes === void 0 ? void 0 : workAnaJxhRes.values[0] : [],\n itemStyle: {\n color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [\n {\n offset: 0,\n color: '#45aeff',\n },\n {\n offset: 1,\n color: '#168fff',\n },\n ]),\n },\n },\n {\n name: '完成率',\n type: 'line',\n yAxisIndex: 1,\n data: (workAnaJxhRes === null || workAnaJxhRes === void 0 ? void 0 : workAnaJxhRes.values.length) > 1 ? workAnaJxhRes === null || workAnaJxhRes === void 0 ? void 0 : workAnaJxhRes.values[1] : [],\n itemStyle: {\n color: '#1AC47C',\n },\n },\n ],\n };\n return ((_a = workAnaJxhRes === null || workAnaJxhRes === void 0 ? void 0 : workAnaJxhRes.names) === null || _a === void 0 ? void 0 : _a.length) > 0 ? (React.createElement(ReactEcharts, { option: option, notMerge: true, lazyUpdate: true, style: { height: '250px', width: '100%' } })) : (React.createElement(NoData, { style: { height: '250px', width: '100%' } }));\n};\nexport default ZyfxJXH;\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AAAwC;AAAA;AAAA;AACxC,IAAMA,OAAO,GAAG,SAAVA,OAAO,CAAIC,KAAK,EAAK;EACvB,IAAIC,EAAE;EACN,mBAA6D,IAAAC,wBAAW,GAAE;IAAlEC,cAAc,gBAAdA,cAAc;IAAaC,KAAK,gBAAhBC,SAAS;IAAkBC,KAAK,gBAAdC,OAAO;EACjD,IAAQC,EAAE,GAAcR,KAAK,CAArBQ,EAAE;IAAEC,OAAO,GAAKT,KAAK,CAAjBS,OAAO;EACnB,4BAA0BC,gBAAW,CAACC,aAAa,CAACH,EAAE,EAAEJ,KAAK,GACvDA,KAAK,GACL,IAAAQ,kBAAM,GAAE,CACLC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAChBC,MAAM,CAAC,YAAY,CAAC,EAAER,KAAK,GAAGA,KAAK,GAAG,IAAAM,kBAAM,GAAE,CAACE,MAAM,CAAC,YAAY,CAAC,EAAEL,OAAO,CAAC;IAJ9EM,aAAa,yBAAbA,aAAa;EAKrB,IAAIC,MAAM,GAAG;IACTC,OAAO,EAAE;MACLC,OAAO,EAAE,MAAM;MACfC,SAAS,EAAE,mBAAUC,MAAM,EAAE;QACzB,IAAInB,EAAE,EAAEoB,EAAE;QACV,IAAIC,GAAG,4CAAmC,CAACrB,EAAE,GAAGmB,MAAM,KAAK,IAAI,IAAIA,MAAM,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,MAAM,CAAC,CAAC,CAAC,MAAM,IAAI,IAAInB,EAAE,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,EAAE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MAAM;MACZuB,UAAU,EAAE,CAAC;MACbnC,IAAI,EAAE,CAACf,aAAa,KAAK,IAAI,IAAIA,aAAa,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,aAAa,CAAC2C,MAAM,CAACC,MAAM,IAAI,CAAC,GAAG5C,aAAa,KAAK,IAAI,IAAIA,aAAa,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,aAAa,CAAC2C,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE;MAClME,SAAS,EAAE;QACPpC,KAAK,EAAE;MACX;IACJ,CAAC;EAET,CAAC;EACD,OAAO,CAAC,CAACvB,EAAE,GAAGc,aAAa,KAAK,IAAI,IAAIA,aAAa,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,aAAa,CAAC4B,KAAK,MAAM,IAAI,IAAI1C,EAAE,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,EAAE,CAAC0D,MAAM,IAAI,CAAC,gBAAIO,iBAAK,CAACC,aAAa,CAACC,2BAAY,EAAE;IAAEpD,MAAM,EAAEA,MAAM;IAAEqD,QAAQ,EAAE,IAAI;IAAEC,UAAU,EAAE,IAAI;IAAEC,KAAK,EAAE;MAAEC,MAAM,EAAE,OAAO;MAAEC,KAAK,EAAE;IAAO;EAAE,CAAC,CAAC,gBAAKP,iBAAK,CAACC,aAAa,CAACO,oBAAM,EAAE;IAAEH,KAAK,EAAE;MAAEC,MAAM,EAAE,OAAO;MAAEC,KAAK,EAAE;IAAO;EAAE,CAAC,CAAE;AAC9W,CAAC;AAAC,eACa1E,OAAO;AAAA"}
|
|
1
|
+
{"version":3,"file":"ZyfxJXH.js","names":["_react","_interopRequireDefault","require","_moment","echarts","_interopRequireWildcard","_echartsForReact","_vmNodata","_useSettings2","_api","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","ZyfxJXH","props","_a","_useSettings","useSettings","chartFontColor","sDate","startDate","eDate","endDate","id","service","_BaseService$useWorkA","BaseService","useWorkAnaJxh","moment","subtract","format","workAnaJxhRes","option","tooltip","trigger","formatter","params","_b","str","concat","axisValue","color","colorStops","map","item","index","seriesName","data","grid","left","right","bottom","legend","align","itemGap","itemHeight","textStyle","legends","xAxis","type","names","axisPointer","axisTick","show","axisLabel","yAxis","name","min","interval","nameTextStyle","splitNumber","splitLine","lineStyle","series","barWidth","values","length","itemStyle","graphic","LinearGradient","offset","yAxisIndex","React","createElement","ReactEcharts","notMerge","lazyUpdate","style","height","width","NoData","_default","exports"],"sources":["vtx-car-modal/components/BaseInfo/ZyfxJXH.js"],"sourcesContent":["import React from 'react';\nimport moment from 'moment';\nimport * as echarts from 'echarts';\nimport ReactEcharts from 'echarts-for-react';\nimport NoData from '../../../vm-nodata';\nimport useSettings from '../../../vm-hooks/useSettings';\nimport { BaseService } from '../../api';\nconst ZyfxJXH = (props) => {\n var _a;\n const { chartFontColor, startDate: sDate, endDate: eDate } = useSettings();\n const { id, service } = props;\n const { workAnaJxhRes } = BaseService.useWorkAnaJxh(id, sDate\n ? sDate\n : moment()\n .subtract(1, 'M')\n .format('YYYY-MM-DD'), eDate ? eDate : moment().format('YYYY-MM-DD'), service);\n let option = {\n tooltip: {\n trigger: 'axis',\n formatter: function (params) {\n var _a, _b;\n let str = `<div style=\"text-align:left\">${(_a = params === null || params === void 0 ? void 0 : params[0]) === null || _a === void 0 ? void 0 : _a.axisValue}</div >`;\n let color = (_b = params[0].color) === null || _b === void 0 ? void 0 : _b.colorStops; // 获取系列的颜色\n params.map((item, index) => {\n var _a;\n str += `<span ><span style=\"color:${(_a = color[index]) === null || _a === void 0 ? void 0 : _a.color};font-size:24px \">•</span> ${item.seriesName} ${item.data}km</span>`;\n });\n return str; // 返回带点的字符串\n },\n },\n grid: {\n left: '6%',\n right: '5%',\n bottom: 20,\n },\n legend: {\n align: 'left',\n itemGap: 8,\n itemHeight: 10,\n textStyle: {\n color: chartFontColor,\n },\n data: (workAnaJxhRes === null || workAnaJxhRes === void 0 ? void 0 : workAnaJxhRes.legends) || [],\n },\n xAxis: [\n {\n type: 'category',\n data: (workAnaJxhRes === null || workAnaJxhRes === void 0 ? void 0 : workAnaJxhRes.names) || [],\n axisPointer: {\n type: 'shadow',\n },\n axisTick: {\n show: false,\n },\n axisLabel: {\n color: chartFontColor,\n },\n },\n ],\n yAxis: [\n {\n type: 'value',\n name: '(km)',\n min: 0,\n interval: 100,\n nameTextStyle: {\n color: chartFontColor,\n },\n splitNumber: 5,\n axisTick: {\n show: false,\n },\n axisLabel: {\n color: chartFontColor,\n },\n splitLine: {\n lineStyle: {\n type: 'dashed',\n color: 'rgba(151,151,151,0.28)',\n },\n },\n },\n {\n show: false,\n type: 'value',\n name: '%',\n },\n ],\n series: [\n {\n name: '作业里程',\n type: 'bar',\n barWidth: 18,\n data: (workAnaJxhRes === null || workAnaJxhRes === void 0 ? void 0 : workAnaJxhRes.values.length) > 0 ? workAnaJxhRes === null || workAnaJxhRes === void 0 ? void 0 : workAnaJxhRes.values[0] : [],\n itemStyle: {\n color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [\n {\n offset: 0,\n color: '#45aeff',\n },\n {\n offset: 0.9,\n color: '#168fff',\n },\n ]),\n },\n },\n {\n name: '完成率',\n type: 'line',\n yAxisIndex: 1,\n data: (workAnaJxhRes === null || workAnaJxhRes === void 0 ? void 0 : workAnaJxhRes.values.length) > 1 ? workAnaJxhRes === null || workAnaJxhRes === void 0 ? void 0 : workAnaJxhRes.values[1] : [],\n itemStyle: {\n color: '#1AC47C',\n },\n },\n ],\n };\n return ((_a = workAnaJxhRes === null || workAnaJxhRes === void 0 ? void 0 : workAnaJxhRes.names) === null || _a === void 0 ? void 0 : _a.length) > 0 ? (React.createElement(ReactEcharts, { option: option, notMerge: true, lazyUpdate: true, style: { height: '250px', width: '100%' } })) : (React.createElement(NoData, { style: { height: '250px', width: '100%' } }));\n};\nexport default Zyfx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
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -12,9 +12,9 @@ var _echartsForReact = _interopRequireDefault(require("echarts-for-react"));
|
|
|
12
12
|
var _vmNodata = _interopRequireDefault(require("../../../vm-nodata"));
|
|
13
13
|
var _useSettings2 = _interopRequireDefault(require("../../../vm-hooks/useSettings"));
|
|
14
14
|
var _api = require("../../api");
|
|
15
|
-
function _getRequireWildcardCache(
|
|
16
|
-
function _interopRequireWildcard(
|
|
17
|
-
function _interopRequireDefault(
|
|
15
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
16
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
17
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
18
18
|
var ZyfxLJSY = function ZyfxLJSY(props) {
|
|
19
19
|
var id = props.id;
|
|
20
20
|
var _useSettings = (0, _useSettings2["default"])(),
|
|
@@ -39,7 +39,6 @@ var ZyfxLJSY = function ZyfxLJSY(props) {
|
|
|
39
39
|
return str; // 返回带点的字符串
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
|
-
|
|
43
42
|
grid: {
|
|
44
43
|
left: '5%',
|
|
45
44
|
right: '5%',
|
|
@@ -56,7 +55,6 @@ var ZyfxLJSY = function ZyfxLJSY(props) {
|
|
|
56
55
|
}
|
|
57
56
|
// data: legends,
|
|
58
57
|
},
|
|
59
|
-
|
|
60
58
|
xAxis: [{
|
|
61
59
|
type: 'category',
|
|
62
60
|
data: names,
|
|
@@ -134,7 +132,7 @@ var ZyfxLJSY = function ZyfxLJSY(props) {
|
|
|
134
132
|
}
|
|
135
133
|
}]
|
|
136
134
|
};
|
|
137
|
-
return (names === null || names === void 0 ? void 0 : names.length) > 0 ? /*#__PURE__*/_react["default"].createElement(_echartsForReact["default"], {
|
|
135
|
+
return (names === null || names === void 0 ? void 0 : names.length) > 0 ? ( /*#__PURE__*/_react["default"].createElement(_echartsForReact["default"], {
|
|
138
136
|
option: option,
|
|
139
137
|
notMerge: true,
|
|
140
138
|
lazyUpdate: true,
|
|
@@ -142,8 +140,7 @@ var ZyfxLJSY = function ZyfxLJSY(props) {
|
|
|
142
140
|
height: '250px',
|
|
143
141
|
width: '100%'
|
|
144
142
|
}
|
|
145
|
-
}) : /*#__PURE__*/_react["default"].createElement(_vmNodata["default"], null);
|
|
143
|
+
})) : ( /*#__PURE__*/_react["default"].createElement(_vmNodata["default"], null));
|
|
146
144
|
};
|
|
147
|
-
var _default = ZyfxLJSY;
|
|
148
|
-
exports["default"] = _default;
|
|
145
|
+
var _default = exports["default"] = ZyfxLJSY;
|
|
149
146
|
//# sourceMappingURL=ZyfxLJSY.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ZyfxLJSY.js","names":["ZyfxLJSY","props","id","useSettings","chartFontColor","sDate","startDate","eDate","endDate","BaseService","useWorkAnaLjsy","moment","subtract","format","workAnaLjsyRes","names","values","option","tooltip","trigger","formatter","params","_a","_b","str","axisValue","color","colorStops","map","item","index","seriesName","value","grid","left","right","bottom","containLabel","legend","align","itemGap","itemWidth","itemHeight","textStyle","xAxis","type","data","axisPointer","axisTick","show","axisLabel","yAxis","name","min","interval","nameTextStyle","splitNumber","splitLine","lineStyle","series","barWidth","length","itemStyle","echarts","graphic","LinearGradient","offset","yAxisIndex","React","createElement","ReactEcharts","notMerge","lazyUpdate","style","height","width","NoData"],"sources":["vtx-car-modal/components/BaseInfo/ZyfxLJSY.js"],"sourcesContent":["import React from 'react';\nimport moment from 'moment';\nimport * as echarts from 'echarts';\nimport ReactEcharts from 'echarts-for-react';\nimport NoData from '../../../vm-nodata';\nimport useSettings from '../../../vm-hooks/useSettings';\nimport { BaseService } from '../../api';\nconst ZyfxLJSY = (props) => {\n const { id } = props;\n const { chartFontColor, startDate: sDate, endDate: eDate } = useSettings();\n const { workAnaLjsyRes } = BaseService.useWorkAnaLjsy(id, sDate\n ? sDate\n : moment()\n .subtract(1, 'M')\n .format('YYYY-MM-DD'), eDate ? eDate : moment().format('YYYY-MM-DD'), true);\n const { names, values } = workAnaLjsyRes;\n let option = {\n tooltip: {\n trigger: 'axis',\n formatter: function (params) {\n var _a, _b;\n let str = `<div style=\"text-align:left\">${(_a = params === null || params === void 0 ? void 0 : params[0]) === null || _a === void 0 ? void 0 : _a.axisValue}<?div>`;\n let color = (_b = params[0].color) === null || _b === void 0 ? void 0 : _b.colorStops; // 获取系列的颜色\n params.map((item, index) => {\n var _a;\n str += `<div style=\"text-align:left\"><span style=\"color:${(_a = color[index]) === null || _a === void 0 ? void 0 : _a.color}\">•</span> ${item.seriesName} ${item.value}${item.seriesName == '作业率' ? '%' : '次'}</div>`;\n });\n return str; // 返回带点的字符串\n },\n },\n grid: {\n left: '5%',\n right: '5%',\n bottom: 20,\n containLabel: true,\n },\n legend: {\n align: 'left',\n itemGap: 10,\n itemWidth: 10,\n itemHeight: 10,\n textStyle: {\n color: chartFontColor,\n },\n // data: legends,\n },\n xAxis: [\n {\n type: 'category',\n data: names,\n axisPointer: {\n type: 'shadow',\n },\n axisTick: {\n show: false,\n },\n axisLabel: {\n color: chartFontColor,\n },\n },\n ],\n yAxis: [\n {\n type: 'value',\n name: '(次)',\n min: 0,\n interval: 100,\n nameTextStyle: {\n color: chartFontColor,\n },\n splitNumber: 5,\n axisTick: {\n show: false,\n },\n axisLabel: {\n color: chartFontColor,\n },\n splitLine: {\n lineStyle: {\n type: 'dashed',\n color: 'rgba(151,151,151,0.28)',\n },\n },\n },\n {\n show: false,\n type: 'value',\n name: '%',\n },\n ],\n series: [\n {\n name: '实际收集次数',\n type: 'bar',\n barWidth: 10,\n data: (values === null || values === void 0 ? void 0 : values.length) > 0 ? values[0] : [],\n itemStyle: {\n color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [\n {\n offset: 0,\n color: '#45aeff',\n },\n {\n offset: 1,\n color: '#168fff',\n },\n ]),\n },\n },\n {\n name: '计划收集次数',\n type: 'bar',\n barWidth: 10,\n data: (values === null || values === void 0 ? void 0 : values.length) > 1 ? values[1] : [],\n itemStyle: {\n color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [\n {\n offset: 0,\n color: '#58d2ff',\n },\n {\n offset: 1,\n color: '#03b3fd',\n },\n ]),\n },\n },\n {\n name: '作业率',\n type: 'line',\n yAxisIndex: 1,\n data: (values === null || values === void 0 ? void 0 : values.length) > 2 ? values[2] : [],\n itemStyle: {\n color: '#1AC47C',\n },\n },\n ],\n };\n return (names === null || names === void 0 ? void 0 : names.length) > 0 ? (React.createElement(ReactEcharts, { option: option, notMerge: true, lazyUpdate: true, style: { height: '250px', width: '100%' } })) : (React.createElement(NoData, null));\n};\nexport default ZyfxLJSY;\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AAAwC;AAAA;AAAA;AACxC,IAAMA,QAAQ,GAAG,SAAXA,QAAQ,CAAIC,KAAK,EAAK;EACxB,IAAQC,EAAE,GAAKD,KAAK,CAAZC,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,IAAI,EAAE,CAAC9B,MAAM,KAAK,IAAI,IAAIA,MAAM,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,MAAM,CAAC6C,MAAM,IAAI,CAAC,GAAG7C,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE;MAC1F8C,SAAS,EAAE;QACPpC,KAAK,EAAE;MACX;IACJ,CAAC;EAET,CAAC;EACD,OAAO,CAACX,KAAK,KAAK,IAAI,IAAIA,KAAK,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,KAAK,CAAC8C,MAAM,IAAI,CAAC,gBAAIO,iBAAK,CAACC,aAAa,CAACC,2BAAY,EAAE;IAAErD,MAAM,EAAEA,MAAM;IAAEsD,QAAQ,EAAE,IAAI;IAAEC,UAAU,EAAE,IAAI;IAAEC,KAAK,EAAE;MAAEC,MAAM,EAAE,OAAO;MAAEC,KAAK,EAAE;IAAO;EAAE,CAAC,CAAC,gBAAKP,iBAAK,CAACC,aAAa,CAACO,oBAAM,EAAE,IAAI,CAAE;AACxP,CAAC;AAAC,eACa5E,QAAQ;AAAA"}
|
|
1
|
+
{"version":3,"file":"ZyfxLJSY.js","names":["_react","_interopRequireDefault","require","_moment","echarts","_interopRequireWildcard","_echartsForReact","_vmNodata","_useSettings2","_api","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","ZyfxLJSY","props","id","_useSettings","useSettings","chartFontColor","sDate","startDate","eDate","endDate","_BaseService$useWorkA","BaseService","useWorkAnaLjsy","moment","subtract","format","workAnaLjsyRes","names","values","option","tooltip","trigger","formatter","params","_a","_b","str","concat","axisValue","color","colorStops","map","item","index","seriesName","value","grid","left","right","bottom","containLabel","legend","align","itemGap","itemWidth","itemHeight","textStyle","xAxis","type","data","axisPointer","axisTick","show","axisLabel","yAxis","name","min","interval","nameTextStyle","splitNumber","splitLine","lineStyle","series","barWidth","length","itemStyle","graphic","LinearGradient","offset","yAxisIndex","React","createElement","ReactEcharts","notMerge","lazyUpdate","style","height","width","NoData","_default","exports"],"sources":["vtx-car-modal/components/BaseInfo/ZyfxLJSY.js"],"sourcesContent":["import React from 'react';\nimport moment from 'moment';\nimport * as echarts from 'echarts';\nimport ReactEcharts from 'echarts-for-react';\nimport NoData from '../../../vm-nodata';\nimport useSettings from '../../../vm-hooks/useSettings';\nimport { BaseService } from '../../api';\nconst ZyfxLJSY = (props) => {\n const { id } = props;\n const { chartFontColor, startDate: sDate, endDate: eDate } = useSettings();\n const { workAnaLjsyRes } = BaseService.useWorkAnaLjsy(id, sDate\n ? sDate\n : moment()\n .subtract(1, 'M')\n .format('YYYY-MM-DD'), eDate ? eDate : moment().format('YYYY-MM-DD'), true);\n const { names, values } = workAnaLjsyRes;\n let option = {\n tooltip: {\n trigger: 'axis',\n formatter: function (params) {\n var _a, _b;\n let str = `<div style=\"text-align:left\">${(_a = params === null || params === void 0 ? void 0 : params[0]) === null || _a === void 0 ? void 0 : _a.axisValue}<?div>`;\n let color = (_b = params[0].color) === null || _b === void 0 ? void 0 : _b.colorStops; // 获取系列的颜色\n params.map((item, index) => {\n var _a;\n str += `<div style=\"text-align:left\"><span style=\"color:${(_a = color[index]) === null || _a === void 0 ? void 0 : _a.color}\">•</span> ${item.seriesName} ${item.value}${item.seriesName == '作业率' ? '%' : '次'}</div>`;\n });\n return str; // 返回带点的字符串\n },\n },\n grid: {\n left: '5%',\n right: '5%',\n bottom: 20,\n containLabel: true,\n },\n legend: {\n align: 'left',\n itemGap: 10,\n itemWidth: 10,\n itemHeight: 10,\n textStyle: {\n color: chartFontColor,\n },\n // data: legends,\n },\n xAxis: [\n {\n type: 'category',\n data: names,\n axisPointer: {\n type: 'shadow',\n },\n axisTick: {\n show: false,\n },\n axisLabel: {\n color: chartFontColor,\n },\n },\n ],\n yAxis: [\n {\n type: 'value',\n name: '(次)',\n min: 0,\n interval: 100,\n nameTextStyle: {\n color: chartFontColor,\n },\n splitNumber: 5,\n axisTick: {\n show: false,\n },\n axisLabel: {\n color: chartFontColor,\n },\n splitLine: {\n lineStyle: {\n type: 'dashed',\n color: 'rgba(151,151,151,0.28)',\n },\n },\n },\n {\n show: false,\n type: 'value',\n name: '%',\n },\n ],\n series: [\n {\n name: '实际收集次数',\n type: 'bar',\n barWidth: 10,\n data: (values === null || values === void 0 ? void 0 : values.length) > 0 ? values[0] : [],\n itemStyle: {\n color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [\n {\n offset: 0,\n color: '#45aeff',\n },\n {\n offset: 1,\n color: '#168fff',\n },\n ]),\n },\n },\n {\n name: '计划收集次数',\n type: 'bar',\n barWidth: 10,\n data: (values === null || values === void 0 ? void 0 : values.length) > 1 ? values[1] : [],\n itemStyle: {\n color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [\n {\n offset: 0,\n color: '#58d2ff',\n },\n {\n offset: 1,\n color: '#03b3fd',\n },\n ]),\n },\n },\n {\n name: '作业率',\n type: 'line',\n yAxisIndex: 1,\n data: (values === null || values === void 0 ? void 0 : values.length) > 2 ? values[2] : [],\n itemStyle: {\n color: '#1AC47C',\n },\n },\n ],\n };\n return (names === null || names === void 0 ? void 0 : names.length) > 0 ? (React.createElement(ReactEcharts, { option: option, notMerge: true, lazyUpdate: true, style: { height: '250px', width: '100%' } })) : (React.createElement(NoData, null));\n};\nexport default ZyfxLJSY;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,OAAA,GAAAC,uBAAA,CAAAH,OAAA;AACA,IAAAI,gBAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,SAAA,GAAAN,sBAAA,CAAAC,OAAA;AACA,IAAAM,aAAA,GAAAP,sBAAA,CAAAC,OAAA;AACA,IAAAO,IAAA,GAAAP,OAAA;AAAwC,SAAAQ,yBAAAC,CAAA,6BAAAC,OAA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ACIuC,MAAM,EAAE,CAAC;UACTvC,KAAK,EAAE;QACX,CAAC,CACJ;MACL;IACJ,CAAC,EACD;MACI0B,IAAI,EAAE,KAAK;MACXP,IAAI,EAAE,MAAM;MACZqB,UAAU,EAAE,CAAC;MACbpB,IAAI,EAAE,CAAC/B,MAAM,KAAK,IAAI,IAAIA,MAAM,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,MAAM,CAAC8C,MAAM,IAAI,CAAC,GAAG9C,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE;MAC1F+C,SAAS,EAAE;QACPpC,KAAK,EAAE;MACX;IACJ,CAAC;EAET,CAAC;EACD,OAAO,CAACZ,KAAK,KAAK,IAAI,IAAIA,KAAK,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,KAAK,CAAC+C,MAAM,IAAI,CAAC,kBAAIM,iBAAK,CAACC,aAAa,CAACC,2BAAY,EAAE;IAAErD,MAAM,EAAEA,MAAM;IAAEsD,QAAQ,EAAE,IAAI;IAAEC,UAAU,EAAE,IAAI;IAAEC,KAAK,EAAE;MAAEC,MAAM,EAAE,OAAO;MAAEC,KAAK,EAAE;IAAO;EAAE,CAAC,CAAC,mBAAKP,iBAAK,CAACC,aAAa,CAACO,oBAAM,EAAE,IAAI,CAAC,CAAC;AACxP,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cACahF,QAAQ","ignoreList":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -32,15 +32,15 @@ var _position_light = _interopRequireDefault(require("../../imgs/position_light.
|
|
|
32
32
|
var _TodayWorkCC = _interopRequireDefault(require("./TodayWorkCC"));
|
|
33
33
|
var _ZyfxCC = _interopRequireDefault(require("./ZyfxCC"));
|
|
34
34
|
var _utils = require("@vtx/utils");
|
|
35
|
-
function _getRequireWildcardCache(
|
|
36
|
-
function _interopRequireWildcard(
|
|
37
|
-
function _interopRequireDefault(
|
|
38
|
-
function _slicedToArray(
|
|
35
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
36
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
37
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
38
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
39
39
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
40
|
-
function _unsupportedIterableToArray(
|
|
41
|
-
function _arrayLikeToArray(
|
|
42
|
-
function _iterableToArrayLimit(
|
|
43
|
-
function _arrayWithHoles(
|
|
40
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
41
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
42
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
43
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
44
44
|
var BaseInfo = function BaseInfo(props) {
|
|
45
45
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
|
|
46
46
|
var id = props.id,
|
|
@@ -190,14 +190,14 @@ var BaseInfo = function BaseInfo(props) {
|
|
|
190
190
|
activeKey: key
|
|
191
191
|
});
|
|
192
192
|
},
|
|
193
|
-
tabBarExtraContent: ((_k = info === null || info === void 0 ? void 0 : info.actionType) === null || _k === void 0 ? void 0 : _k.indexOf('ACTION_JXH')) > -1 && activeKey === '2' ? /*#__PURE__*/_react["default"].createElement(_vmFilter.VMDatePicker, {
|
|
193
|
+
tabBarExtraContent: ((_k = info === null || info === void 0 ? void 0 : info.actionType) === null || _k === void 0 ? void 0 : _k.indexOf('ACTION_JXH')) > -1 && activeKey === '2' ? ( /*#__PURE__*/_react["default"].createElement(_vmFilter.VMDatePicker, {
|
|
194
194
|
value: date,
|
|
195
195
|
onChange: function onChange(date) {
|
|
196
196
|
setState({
|
|
197
197
|
date: date
|
|
198
198
|
});
|
|
199
199
|
}
|
|
200
|
-
}) : null,
|
|
200
|
+
})) : null,
|
|
201
201
|
activeKey: activeKey
|
|
202
202
|
}, subTabPanes.map(function (ele) {
|
|
203
203
|
return /*#__PURE__*/_react["default"].createElement(_vmSubTabs.SubTabPane, {
|
|
@@ -229,16 +229,16 @@ var BaseInfo = function BaseInfo(props) {
|
|
|
229
229
|
className: "car-base-left--text"
|
|
230
230
|
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
231
231
|
src: isDark ? _position["default"] : _position_light["default"]
|
|
232
|
-
}), (info === null || info === void 0 ? void 0 : info.address) || '-'), noCarModalBaseLeftGif || ((_m = info === null || info === void 0 ? void 0 : info.actionType) === null || _m === void 0 ? void 0 : _m.indexOf('ACTION_LJSY')) === -1 ? null : /*#__PURE__*/_react["default"].createElement("div", {
|
|
232
|
+
}), (info === null || info === void 0 ? void 0 : info.address) || '-'), noCarModalBaseLeftGif || ((_m = info === null || info === void 0 ? void 0 : info.actionType) === null || _m === void 0 ? void 0 : _m.indexOf('ACTION_LJSY')) === -1 ? null : ( /*#__PURE__*/_react["default"].createElement("div", {
|
|
233
233
|
className: "car-base-left--online"
|
|
234
|
-
}, info === null || info === void 0 ? void 0 : info.carStatusStr), noCarModalBaseLeftGif || ((_o = info === null || info === void 0 ? void 0 : info.actionType) === null || _o === void 0 ? void 0 : _o.indexOf('ACTION_LJSY')) === -1 ? null : /*#__PURE__*/_react["default"].createElement("div", {
|
|
234
|
+
}, info === null || info === void 0 ? void 0 : info.carStatusStr)), noCarModalBaseLeftGif || ((_o = info === null || info === void 0 ? void 0 : info.actionType) === null || _o === void 0 ? void 0 : _o.indexOf('ACTION_LJSY')) === -1 ? null : ( /*#__PURE__*/_react["default"].createElement("div", {
|
|
235
235
|
className: "car-base-left--gif"
|
|
236
|
-
}), /*#__PURE__*/_react["default"].createElement(_Charts["default"], Object.assign({}, info, {
|
|
236
|
+
})), /*#__PURE__*/_react["default"].createElement(_Charts["default"], Object.assign({}, info, {
|
|
237
237
|
date: (0, _moment["default"])(date).format('YYYY-MM-DD'),
|
|
238
238
|
isRow: ((_p = info === null || info === void 0 ? void 0 : info.actionType) === null || _p === void 0 ? void 0 : _p.indexOf('ACTION_LJSY')) === -1
|
|
239
|
-
})))), noCarModalBaseLeftGif || ((_q = info === null || info === void 0 ? void 0 : info.actionType) === null || _q === void 0 ? void 0 : _q.indexOf('ACTION_LJSY')) === -1 ? /*#__PURE__*/_react["default"].createElement(_antd.Col, {
|
|
239
|
+
})))), noCarModalBaseLeftGif || ((_q = info === null || info === void 0 ? void 0 : info.actionType) === null || _q === void 0 ? void 0 : _q.indexOf('ACTION_LJSY')) === -1 ? ( /*#__PURE__*/_react["default"].createElement(_antd.Col, {
|
|
240
240
|
span: 24
|
|
241
|
-
}, jryxZytj) : null), /*#__PURE__*/_react["default"].createElement("div", {
|
|
241
|
+
}, jryxZytj)) : null), /*#__PURE__*/_react["default"].createElement("div", {
|
|
242
242
|
className: "car-base-right"
|
|
243
243
|
}, /*#__PURE__*/_react["default"].createElement(_antd.Row, {
|
|
244
244
|
gutter: [10, 10]
|
|
@@ -255,6 +255,5 @@ var BaseInfo = function BaseInfo(props) {
|
|
|
255
255
|
className: "car-wgfx-content"
|
|
256
256
|
}, wgfx))))));
|
|
257
257
|
};
|
|
258
|
-
var _default = BaseInfo;
|
|
259
|
-
exports["default"] = _default;
|
|
258
|
+
var _default = exports["default"] = BaseInfo;
|
|
260
259
|
//# sourceMappingURL=index.js.map
|