@vtx/modals2 2.13.2 → 2.13.4
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/README.md +33 -33
- 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/style/index.less +8 -8
- package/lib/style/themes/dark.less +69 -69
- package/lib/style/themes/default.less +34 -34
- package/lib/style/themes/index.less +1 -1
- package/lib/typings.d.ts +15 -15
- package/lib/util/index.js.map +1 -1
- package/lib/vm-alarm-info/Components/AlarmRecord.js +3 -5
- package/lib/vm-alarm-info/Components/AlarmRecord.js.map +1 -1
- package/lib/vm-alarm-info/Components/AlarmStatistics.js +3 -5
- package/lib/vm-alarm-info/Components/AlarmStatistics.js.map +1 -1
- package/lib/vm-alarm-info/Components/AlarmTrend.js +3 -5
- package/lib/vm-alarm-info/Components/AlarmTrend.js.map +1 -1
- package/lib/vm-alarm-info/Components/CurrentAlarm.js +3 -5
- package/lib/vm-alarm-info/Components/CurrentAlarm.js.map +1 -1
- package/lib/vm-alarm-info/Components/CurrentAlarmNew.js +3 -5
- package/lib/vm-alarm-info/Components/CurrentAlarmNew.js.map +1 -1
- package/lib/vm-alarm-info/Components/index.less +40 -40
- package/lib/vm-alarm-info/api.js.map +1 -1
- package/lib/vm-alarm-info/index.js +3 -5
- 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-info/style/index.less +16 -16
- package/lib/vm-alarm-situation/api.js.map +1 -1
- package/lib/vm-alarm-situation/index.js +3 -5
- 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/style/index.less +67 -67
- package/lib/vm-alarm-situation-pt/api.js.map +1 -1
- package/lib/vm-alarm-situation-pt/index.js +2 -2
- 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-alarm-situation-pt/style/index.less +65 -65
- package/lib/vm-analysis-comparison/api.js.map +1 -1
- package/lib/vm-analysis-comparison/index.js +3 -5
- 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-analysis-comparison/style/index.less +12 -12
- package/lib/vm-appraisal-info/AppraisalBase.js.map +1 -1
- package/lib/vm-appraisal-info/AppraisalTop5.js.map +1 -1
- package/lib/vm-appraisal-info/List.js +3 -5
- package/lib/vm-appraisal-info/List.js.map +1 -1
- package/lib/vm-appraisal-info/ListKh.js +3 -5
- package/lib/vm-appraisal-info/ListKh.js.map +1 -1
- package/lib/vm-appraisal-info/ListZg.js +3 -5
- package/lib/vm-appraisal-info/ListZg.js.map +1 -1
- package/lib/vm-appraisal-info/Wtlx.js.map +1 -1
- package/lib/vm-appraisal-info/Zgxxhz.js.map +1 -1
- package/lib/vm-appraisal-info/api.js.map +1 -1
- package/lib/vm-appraisal-info/index.js +3 -5
- 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-appraisal-info/style/index.less +122 -122
- package/lib/vm-base-list/OpenArrow.js.map +1 -1
- package/lib/vm-base-list/index.js +2 -2
- 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-base-list/style/index.less +39 -39
- 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-button/style/index.less +20 -20
- package/lib/vm-charts/Distribute1.js +1 -1
- package/lib/vm-charts/Distribute1.js.map +1 -1
- package/lib/vm-charts/Gauge1.js.map +1 -1
- package/lib/vm-charts/Line.js +1 -1
- package/lib/vm-charts/Line.js.map +1 -1
- package/lib/vm-charts/Line1.js.map +1 -1
- package/lib/vm-charts/Pie.js.map +1 -1
- package/lib/vm-charts/index.js.map +1 -1
- package/lib/vm-charts/index.less +30 -30
- 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-checkbox/style/index.less +25 -25
- 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-container/style/index.less +29 -29
- package/lib/vm-correlation-comparison/api.js.map +1 -1
- package/lib/vm-correlation-comparison/index.js +2 -2
- 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-correlation-comparison/style/index.less +13 -13
- 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-empty/style/index.less +23 -23
- package/lib/vm-filter/index.js +2 -2
- 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-filter/style/index.less +165 -165
- package/lib/vm-hooks/useSettings.js.map +1 -1
- 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-iframe-modal/style/index.less +8 -8
- 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-image-text/style/index.less +30 -30
- 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-info-collection/style/index.less +38 -38
- package/lib/vm-map/index.js +3 -3
- package/lib/vm-map/index.js.map +1 -1
- package/lib/vm-map/mapStyle.js.map +1 -1
- 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-modal-table/style/index.less +23 -23
- package/lib/vm-nodata/index.js.map +1 -1
- 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-radio/style/index.less +26 -26
- package/lib/vm-real-time-monitor/api.js.map +1 -1
- package/lib/vm-real-time-monitor/index.js +3 -5
- 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-real-time-monitor/style/index.less +11 -11
- package/lib/vm-repair-maintain/RmInfoSummary.js.map +1 -1
- package/lib/vm-repair-maintain/RmMonthTrend.js.map +1 -1
- package/lib/vm-repair-maintain/RmRecord.js +3 -5
- package/lib/vm-repair-maintain/RmRecord.js.map +1 -1
- package/lib/vm-repair-maintain/RmType.js.map +1 -1
- package/lib/vm-repair-maintain/api.js.map +1 -1
- 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-repair-maintain/style/index.less +108 -108
- package/lib/vm-round-content/index.js +3 -5
- 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-round-content/style/index.less +34 -34
- 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 +2 -2
- 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-select-device/style/index.less +16 -16
- 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-tabs/style/index.less +119 -119
- 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-sub-title/style/index.less +23 -23
- package/lib/vm-table/index.js +2 -2
- 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-table/style/index.less +224 -224
- 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.map +1 -1
- package/lib/vm-video/index.js.map +1 -1
- package/lib/vm-video/index.less +10 -10
- package/lib/vtx-base-info/index.js +2 -2
- 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-info/style/index.less +62 -62
- package/lib/vtx-base-modal/api.js.map +1 -1
- package/lib/vtx-base-modal/index.js +5 -2
- 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.css +2 -2
- package/lib/vtx-base-modal/style/index.js.map +1 -1
- package/lib/vtx-base-modal/style/index.less +2 -2
- package/lib/vtx-car-modal/api.js +73 -56
- package/lib/vtx-car-modal/api.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/Charts.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/List.js +3 -5
- package/lib/vtx-car-modal/components/AlarmInfo/List.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/index.js +3 -5
- package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/index.less +38 -38
- package/lib/vtx-car-modal/components/BaseInfo/Charts.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/index.js +2 -2
- package/lib/vtx-car-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/index.less +239 -239
- package/lib/vtx-car-modal/components/Maintenance/index.js.map +1 -1
- package/lib/vtx-car-modal/components/Maintenance/index.less +34 -34
- package/lib/vtx-car-modal/components/OilConsumption/List.js +3 -5
- package/lib/vtx-car-modal/components/OilConsumption/List.js.map +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js.map +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/index.js +3 -5
- package/lib/vtx-car-modal/components/OilConsumption/index.js.map +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/index.less +36 -36
- package/lib/vtx-car-modal/components/StaticInfo/Charts.js.map +1 -1
- package/lib/vtx-car-modal/components/StaticInfo/List.js.map +1 -1
- package/lib/vtx-car-modal/components/StaticInfo/index.js +3 -5
- package/lib/vtx-car-modal/components/StaticInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/StaticInfo/index.less +72 -72
- package/lib/vtx-car-modal/components/WaterConsumption/index.js +3 -5
- package/lib/vtx-car-modal/components/WaterConsumption/index.js.map +1 -1
- package/lib/vtx-car-modal/components/WaterConsumption/index.less +22 -22
- package/lib/vtx-car-modal/components/WorkInfo/Wcl.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js +2 -2
- package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js +2 -2
- package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/index.less +62 -62
- package/lib/vtx-car-modal/components/index.js.map +1 -1
- package/lib/vtx-car-modal/index.js +9 -1
- 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-car-modal/style/index.less +6 -6
- package/lib/vtx-cc-cp-modal/api.js +15 -13
- package/lib/vtx-cc-cp-modal/api.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +2 -2
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.less +104 -104
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +2 -2
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.less +89 -89
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js +2 -2
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.less +104 -104
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +2 -2
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.less +7 -7
- package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +2 -2
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.less +40 -40
- package/lib/vtx-cc-cp-modal/components/index.js.map +1 -1
- 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/style/index.less +1 -1
- package/lib/vtx-cp-modal/api.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +3 -5
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +3 -5
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/index.less +105 -105
- package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/Rules.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +1 -0
- package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/index.less +135 -135
- package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js +3 -5
- package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +3 -5
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/index.less +105 -105
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/index.js +3 -5
- package/lib/vtx-cp-modal/components/SyInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/index.less +38 -38
- package/lib/vtx-cp-modal/components/index.js.map +1 -1
- 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-cp-modal/style/index.less +1 -1
- package/lib/vtx-default-modal/api.js.map +1 -1
- package/lib/vtx-default-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-default-modal/components/BaseInfo/index.less +24 -24
- package/lib/vtx-default-modal/components/index.js.map +1 -1
- package/lib/vtx-default-modal/index.js +1 -3
- 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-default-modal/style/index.less +1 -1
- package/lib/vtx-device-modal/api.js.map +1 -1
- package/lib/vtx-device-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-device-modal/components/DataAnalysis/index.js +3 -5
- package/lib/vtx-device-modal/components/DataAnalysis/index.js.map +1 -1
- package/lib/vtx-device-modal/components/FacilityFile/index.js.map +1 -1
- package/lib/vtx-device-modal/components/LiftInfo/index.js.map +1 -1
- package/lib/vtx-device-modal/components/OverViewInfo/Left.js.map +1 -1
- package/lib/vtx-device-modal/components/OverViewInfo/index.js +2 -2
- package/lib/vtx-device-modal/components/OverViewInfo/index.js.map +1 -1
- package/lib/vtx-device-modal/components/VideoInfo/index.js.map +1 -1
- package/lib/vtx-device-modal/config.js.map +1 -1
- 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/style/index.less +7 -7
- package/lib/vtx-df-modal/api.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +2 -2
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +3 -5
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/Situation.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/index.js +2 -2
- package/lib/vtx-df-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/index.less +191 -191
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/List.js +3 -5
- package/lib/vtx-df-modal/components/Metering/List.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/index.js +3 -5
- package/lib/vtx-df-modal/components/Metering/index.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/index.less +75 -75
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +3 -5
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js +3 -5
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/index.js +3 -5
- package/lib/vtx-df-modal/components/WorkCondition/index.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/index.less +113 -113
- package/lib/vtx-df-modal/components/index.js.map +1 -1
- 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-df-modal/style/index.less +1 -1
- package/lib/vtx-facility-modal/api.js +32 -28
- package/lib/vtx-facility-modal/api.js.map +1 -1
- package/lib/vtx-facility-modal/components/OverView/Left.js.map +1 -1
- package/lib/vtx-facility-modal/components/OverView/index.js +2 -2
- package/lib/vtx-facility-modal/components/OverView/index.js.map +1 -1
- package/lib/vtx-facility-modal/components/OverView/index.less +116 -116
- package/lib/vtx-facility-modal/components/index.js.map +1 -1
- package/lib/vtx-facility-modal/config.js.map +1 -1
- 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/style/index.less +1 -1
- package/lib/vtx-housing-estate-modal/api.js +32 -28
- package/lib/vtx-housing-estate-modal/api.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js +2 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js +2 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/MY.js +2 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/MY.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js +2 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/index.less +66 -66
- package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +2 -2
- package/lib/vtx-housing-estate-modal/components/OverView/Hot.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Left.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Manage.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +2 -2
- package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Trend.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/index.less +246 -246
- package/lib/vtx-housing-estate-modal/components/SPJK/index.js +2 -2
- package/lib/vtx-housing-estate-modal/components/SPJK/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/SPJK/index.less +6 -6
- package/lib/vtx-housing-estate-modal/components/TFRD/index.js +2 -2
- package/lib/vtx-housing-estate-modal/components/TFRD/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/TFRD/index.less +15 -15
- package/lib/vtx-housing-estate-modal/components/WGGS/Content.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js +2 -2
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGGS/index.less +38 -38
- package/lib/vtx-housing-estate-modal/components/WGXW/Content.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js +2 -2
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGXW/index.less +76 -76
- package/lib/vtx-housing-estate-modal/components/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/config.js +1 -1
- package/lib/vtx-housing-estate-modal/config.js.map +1 -1
- package/lib/vtx-housing-estate-modal/index.js +1 -1
- 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/style/index.less +1 -1
- package/lib/vtx-kh-modal/api.js.map +1 -1
- package/lib/vtx-kh-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-kh-modal/components/BaseInfo/index.less +62 -62
- package/lib/vtx-kh-modal/components/index.js.map +1 -1
- package/lib/vtx-kh-modal/index.js +1 -3
- 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-kh-modal/style/index.less +1 -1
- package/lib/vtx-pump-modal/api.js +15 -13
- package/lib/vtx-pump-modal/api.js.map +1 -1
- package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTotal.js +2 -2
- package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTotal.js.map +1 -1
- package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTrend.js +2 -2
- package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTrend.js.map +1 -1
- package/lib/vtx-pump-modal/components/AlarmRecord/index.js +2 -2
- package/lib/vtx-pump-modal/components/AlarmRecord/index.js.map +1 -1
- package/lib/vtx-pump-modal/components/AlarmRecord/index.less +91 -91
- package/lib/vtx-pump-modal/components/Basic/JyqInfo.js.map +1 -1
- package/lib/vtx-pump-modal/components/Basic/PumpInfo.js +1 -1
- package/lib/vtx-pump-modal/components/Basic/PumpInfo.js.map +1 -1
- package/lib/vtx-pump-modal/components/Basic/SxInfo.js +1 -1
- package/lib/vtx-pump-modal/components/Basic/SxInfo.js.map +1 -1
- package/lib/vtx-pump-modal/components/Basic/XqInfo.js +1 -1
- package/lib/vtx-pump-modal/components/Basic/XqInfo.js.map +1 -1
- package/lib/vtx-pump-modal/components/Basic/index.js +2 -2
- package/lib/vtx-pump-modal/components/Basic/index.js.map +1 -1
- package/lib/vtx-pump-modal/components/Basic/index.less +69 -69
- package/lib/vtx-pump-modal/components/Sbxl/SBXLFX.js +2 -2
- package/lib/vtx-pump-modal/components/Sbxl/SBXLFX.js.map +1 -1
- package/lib/vtx-pump-modal/components/Sbxl/SBYXQK.js +2 -2
- package/lib/vtx-pump-modal/components/Sbxl/SBYXQK.js.map +1 -1
- package/lib/vtx-pump-modal/components/Sbxl/index.js +2 -2
- package/lib/vtx-pump-modal/components/Sbxl/index.js.map +1 -1
- package/lib/vtx-pump-modal/components/Sbxl/index.less +91 -91
- package/lib/vtx-pump-modal/components/Sjfx/index.js +2 -2
- package/lib/vtx-pump-modal/components/Sjfx/index.js.map +1 -1
- package/lib/vtx-pump-modal/components/Sjfx/index.less +58 -58
- package/lib/vtx-pump-modal/components/Sxyx/index.js +2 -2
- package/lib/vtx-pump-modal/components/Sxyx/index.js.map +1 -1
- package/lib/vtx-pump-modal/components/Sxyx/index.less +156 -156
- package/lib/vtx-pump-modal/components/index.js.map +1 -1
- package/lib/vtx-pump-modal/config.js.map +1 -1
- package/lib/vtx-pump-modal/index.js +2 -2
- 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/style/index.less +1 -1
- package/lib/vtx-restaurant-modal/api.js +15 -13
- package/lib/vtx-restaurant-modal/api.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/index.js +2 -2
- package/lib/vtx-restaurant-modal/components/Alarm/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/index.less +32 -32
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Info.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Summary.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/index.less +55 -55
- package/lib/vtx-restaurant-modal/components/Collection/index.js +2 -2
- package/lib/vtx-restaurant-modal/components/Collection/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Collection/index.less +23 -23
- package/lib/vtx-restaurant-modal/components/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/config.js.map +1 -1
- 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/style/index.less +1 -1
- package/lib/vtx-road-modal/api.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/Rules.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/index.less +134 -134
- package/lib/vtx-road-modal/components/Statistical/Zylc.js.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/Zywcl.js.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/index.js +3 -5
- package/lib/vtx-road-modal/components/Statistical/index.js.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/index.less +110 -110
- package/lib/vtx-road-modal/components/index.js.map +1 -1
- 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-road-modal/style/index.less +1 -1
- package/lib/vtx-staff-modal/api.js +50 -28
- package/lib/vtx-staff-modal/api.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js +3 -5
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js +3 -5
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/index.less +22 -22
- package/lib/vtx-staff-modal/components/Attendance/Exeception.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/Record.js +3 -5
- package/lib/vtx-staff-modal/components/Attendance/Record.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/index.less +19 -19
- package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/index.js +2 -2
- package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/index.less +144 -144
- package/lib/vtx-staff-modal/components/Equipment/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/Equipment/index.less +27 -27
- package/lib/vtx-staff-modal/components/index.js.map +1 -1
- package/lib/vtx-staff-modal/index.js +20 -13
- 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-staff-modal/style/index.less +1 -1
- package/lib/vtx-theme-provider/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/api.js +32 -28
- package/lib/vtx-throw-point-modal/api.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js +2 -2
- package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/LDB.js +2 -2
- package/lib/vtx-throw-point-modal/components/Alarm/LDB.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/MY.js +2 -2
- package/lib/vtx-throw-point-modal/components/Alarm/MY.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/Rank.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/index.js +2 -2
- package/lib/vtx-throw-point-modal/components/Alarm/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/index.less +66 -66
- package/lib/vtx-throw-point-modal/components/OverView/Hot.js +2 -2
- package/lib/vtx-throw-point-modal/components/OverView/Hot.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Left.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Manage.js +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Manage.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js +2 -2
- package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Trend.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/index.less +321 -321
- package/lib/vtx-throw-point-modal/components/SBZJ/Content.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/SBZJ/index.js +2 -2
- package/lib/vtx-throw-point-modal/components/SBZJ/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/SBZJ/index.less +92 -92
- package/lib/vtx-throw-point-modal/components/TFRD/index.js +2 -2
- package/lib/vtx-throw-point-modal/components/TFRD/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/TFRD/index.less +15 -15
- package/lib/vtx-throw-point-modal/components/WGGS/Content.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGGS/index.js +2 -2
- package/lib/vtx-throw-point-modal/components/WGGS/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGGS/index.less +38 -38
- package/lib/vtx-throw-point-modal/components/WGXW/Content.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGXW/index.js +2 -2
- package/lib/vtx-throw-point-modal/components/WGXW/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGXW/index.less +76 -76
- package/lib/vtx-throw-point-modal/components/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/config.js +1 -1
- package/lib/vtx-throw-point-modal/config.js.map +1 -1
- package/lib/vtx-throw-point-modal/index.js +1 -1
- 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/style/index.less +1 -1
- package/lib/vtx-wr-modal/api.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js +3 -5
- package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js +3 -5
- package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/index.less +103 -103
- package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/Situation.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/index.js +2 -2
- package/lib/vtx-wr-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/index.less +132 -132
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Img.js +2 -2
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Img.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Jbxx.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Monitor.js +2 -2
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Monitor.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Num.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Other.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ptss.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ssjk.js +3 -3
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ssjk.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/index.js +3 -6
- package/lib/vtx-wr-modal/components/BaseInfoNew/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/index.less +570 -570
- package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js +3 -5
- package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/Radar.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/Summary.js +3 -5
- package/lib/vtx-wr-modal/components/Evaluate/Summary.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/index.js +3 -5
- package/lib/vtx-wr-modal/components/Evaluate/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/index.less +121 -121
- package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js +3 -5
- package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js.map +1 -1
- package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js.map +1 -1
- package/lib/vtx-wr-modal/components/Monitor/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/Monitor/index.less +78 -78
- package/lib/vtx-wr-modal/components/Score/index.js +2 -2
- package/lib/vtx-wr-modal/components/Score/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/Score/index.less +117 -117
- package/lib/vtx-wr-modal/components/index.js.map +1 -1
- 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-wr-modal/style/index.less +1 -1
- package/lib/vtx-zg-modal/api.js.map +1 -1
- package/lib/vtx-zg-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-zg-modal/components/BaseInfo/index.less +82 -82
- package/lib/vtx-zg-modal/components/index.js.map +1 -1
- package/lib/vtx-zg-modal/index.js +1 -3
- 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/lib/vtx-zg-modal/style/index.less +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_ahooks","_Left","_interopRequireDefault","_vmTable","_config","_vmSubTabs","_vmInfoCollection","_vmSubTitle","_api","obj","__esModule","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","_typeof","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_toConsumableArray","arr","_arrayWithoutHoles","_iterableToArray","_unsupportedIterableToArray","_nonIterableSpread","TypeError","iter","Symbol","iterator","Array","from","isArray","_arrayLikeToArray","_slicedToArray","i","_arrayWithHoles","_iterableToArrayLimit","_nonIterableRest","o","minLen","n","toString","slice","constructor","name","test","len","length","arr2","_i","_s","_e","_x","_r","_arr","_n","_d","next","done","push","value","err","OverView","_ref","_ref$classPrefix","classPrefix","id","basicInfo","_a","_b","_useSetState","useSetState","tabKey","rows","mapLayers","currentLayer","layer","_useSetState2","state","setState","prefix","concat","common","linkedObject","overViewService","getChildWorkInfo","useEffect","count","result","layerData","forEach","item","apply","data","map","ele","assign","typeCode","rings","geometryInfo","lngLats","config","color","getColor","lineColor","lineWidth","_layer","_result","typeName","filter","JSON","stringify","fieldsData","OverViewTRFields","OverViewLHDorHDFields","dataJson","workObjectData","resourceInput","planNumOfCar","actualNumOfCar","planNumOfPeople","actualNumOfPeople","workObject","details","label","workTypeStr","unitStr","dataValue","reduce","pre","columns","title","dataIndex","tableProps","height","dataSource","isIndex","onRowCallBack","record","clickGraphic","React","createElement","className","Left","legend","VmSubTitle","VmInfoCollection","gap","horizontal","workTypeId","src","SubTabsLine","items","allNums","activeKey","onChange","VMTable","rowKey","_default","exports"],"sources":["vtx-facility-modal/components/OverView/index.js"],"sourcesContent":["import React, { useEffect } from 'react';\nimport { useSetState } from 'ahooks';\nimport Left from './Left';\nimport VMTable from '../../../vm-table';\nimport { getColor, OverViewLHDorHDFields, OverViewTRFields } from '../../config';\nimport { SubTabsLine } from '../../../vm-sub-tabs';\nimport VmInfoCollection from '../../../vm-info-collection';\nimport VmSubTitle from '../../../vm-sub-title';\nimport { overViewService } from '../../api';\nimport './index.less';\nconst OverView = ({ classPrefix = '', id, basicInfo }) => {\n var _a, _b;\n const [state, setState] = useSetState({\n tabKey: 'all',\n rows: [],\n mapLayers: [],\n currentLayer: {},\n layer: [], // 当前设施关联的图层类型\n });\n const { tabKey, rows } = state;\n const prefix = `${classPrefix}-overview`;\n const common = {\n classPrefix: prefix,\n id,\n };\n // 关联对象\n const linkedObject = overViewService.getChildWorkInfo({ id }) || {};\n useEffect(() => {\n var _a, _b;\n if (!(linkedObject === null || linkedObject === void 0 ? void 0 : linkedObject.count))\n return;\n let result = [];\n let layerData = [];\n // 获取所有图层数据\n linkedObject.count.forEach((item) => {\n var _a, _b;\n layerData.push(...(((_b = (_a = item === null || item === void 0 ? void 0 : item.data) === null || _a === void 0 ? void 0 : _a.rows) === null || _b === void 0 ? void 0 : _b.map((ele) => (Object.assign(Object.assign({}, ele), { typeCode: item.typeCode })))) || []));\n });\n setState({\n mapLayers: layerData.map((item) => {\n var _a;\n return (Object.assign(Object.assign({}, item), { rings: (_a = item === null || item === void 0 ? void 0 : item.geometryInfo) === null || _a === void 0 ? void 0 : _a.lngLats, config: {\n color: getColor((item === null || item === void 0 ? void 0 : item.typeCode) || ''),\n lineColor: '#fff',\n lineWidth: 1,\n } }));\n }),\n });\n // 区分页签\n if (tabKey === 'all') {\n let _layer = [];\n linkedObject.count.forEach((item) => {\n var _a;\n result.push(...(((_a = item === null || item === void 0 ? void 0 : item.data) === null || _a === void 0 ? void 0 : _a.rows) || []));\n _layer.push({ typeCode: item.typeCode, typeName: item.typeName });\n });\n setState({\n rows: result,\n layer: _layer,\n });\n }\n else {\n result = linkedObject.count.filter((item) => item.typeCode === tabKey);\n setState({\n rows: (_b = (_a = result[0]) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.rows,\n });\n }\n }, [JSON.stringify(linkedObject), tabKey]);\n // 若当前设施为主次干道(TR)或为绿化带/河道(LHDorHD)\n // 基本信息数据\n const fieldsData = [\n ...((basicInfo === null || basicInfo === void 0 ? void 0 : basicInfo.typeCode) === 'tr' ? OverViewTRFields : OverViewLHDorHDFields),\n ].map((item) => {\n var _a;\n return (Object.assign(Object.assign({}, item), { value: item.key === 'facilityLength' ||\n item.key === 'facilityWidth' ||\n item.key === 'facilityArea'\n ? (_a = basicInfo === null || basicInfo === void 0 ? void 0 : basicInfo.dataJson) === null || _a === void 0 ? void 0 : _a[item.key]\n : basicInfo === null || basicInfo === void 0 ? void 0 : basicInfo[item.key] }));\n });\n // 作业对象\n let workObjectData = [];\n // 资源投入\n let resourceInput = [];\n let planNumOfCar = 0;\n let actualNumOfCar = 0;\n let planNumOfPeople = 0;\n let actualNumOfPeople = 0;\n // 存在作业对象时,获取相关数据\n workObjectData =\n ((_a = overViewService\n .workObject({\n id,\n })) === null || _a === void 0 ? void 0 : _a.filter((item) => (item === null || item === void 0 ? void 0 : item.details) && item.details.length > 0).map((ele) => ({\n label: `${ele === null || ele === void 0 ? void 0 : ele.workTypeStr}(${ele.unitStr})`,\n value: ele === null || ele === void 0 ? void 0 : ele.dataValue,\n }))) || [];\n resourceInput = overViewService.resourceInput({ id }) || [];\n planNumOfCar = resourceInput === null || resourceInput === void 0 ? void 0 : resourceInput.reduce((pre, next) => pre + (next.planNumOfCar || 0), 0);\n actualNumOfCar = resourceInput === null || resourceInput === void 0 ? void 0 : resourceInput.reduce((pre, next) => pre + (next.actualNumOfCar || 0), 0);\n planNumOfPeople = resourceInput === null || resourceInput === void 0 ? void 0 : resourceInput.reduce((pre, next) => pre + (next.planNumOfPeople || 0), 0);\n actualNumOfPeople = resourceInput === null || resourceInput === void 0 ? void 0 : resourceInput.reduce((pre, next) => pre + (next.actualNumOfPeople || 0), 0);\n const columns = [\n {\n title: '名称',\n dataIndex: 'name',\n key: 'name',\n },\n {\n title: '长度(m)',\n dataIndex: 'facilityLength',\n key: 'facilityLength',\n },\n {\n title: '宽度(m)',\n dataIndex: 'facilityWidth',\n key: 'facilityWidth',\n },\n {\n title: '面积(k㎡)',\n dataIndex: 'facilityArea',\n key: 'facilityArea',\n },\n ];\n const tableProps = {\n height: 320,\n dataSource: rows || [],\n isIndex: false,\n currentLayer: state.currentLayer,\n onRowCallBack: (record) => {\n setState({\n currentLayer: record,\n });\n },\n };\n // 地图点击事件\n const clickGraphic = (obj) => {\n setState({\n currentLayer: obj.item,\n tabKey: obj.item.typeCode\n });\n };\n return (React.createElement(\"div\", { className: prefix },\n React.createElement(Left, Object.assign({}, common, { mapLayers: state.mapLayers, currentLayer: state.currentLayer, legend: state.layer, clickGraphic: clickGraphic })),\n React.createElement(\"div\", { className: `${prefix}-right` },\n React.createElement(\"div\", { className: `${prefix}-right-base` },\n React.createElement(VmSubTitle, { title: \"\\u57FA\\u672C\\u4FE1\\u606F\" }),\n React.createElement(\"div\", { className: `${prefix}-right-basic` },\n React.createElement(VmInfoCollection, { data: fieldsData, gap: 16, horizontal: true }))),\n (basicInfo === null || basicInfo === void 0 ? void 0 : basicInfo.workTypeId) && (React.createElement(\"div\", { className: `${prefix}-right-work` },\n React.createElement(VmSubTitle, { title: \"\\u4F5C\\u4E1A\\u91CF\" }),\n React.createElement(\"div\", { className: `${prefix}-right-item` },\n (workObjectData === null || workObjectData === void 0 ? void 0 : workObjectData.length) ? (React.createElement(VmInfoCollection, { data: workObjectData, gap: 16, horizontal: true })) : null,\n React.createElement(\"span\", { className: \"label\" }, \"\\u8D44\\u6E90\\u6295\\u5165\\uFF1A\"),\n React.createElement(\"div\", { className: `${prefix}-right-list` },\n React.createElement(\"div\", { className: `${prefix}-right-listItem` },\n React.createElement(\"div\", { className: `${prefix}-right-bottom` },\n React.createElement(\"div\", { className: `${prefix}-right-bottomItem` },\n React.createElement(\"div\", { className: `${prefix}-right-img` },\n React.createElement(\"img\", { src: require('../../imgs/car.png') })),\n React.createElement(\"span\", { className: `${prefix}-right-title` }, \"\\u5EFA\\u8BAE\\u914D\\u5907(\\u8F86)\\uFF1A\"),\n React.createElement(\"span\", { className: `${prefix}-right-num` }, planNumOfCar || '--')),\n React.createElement(\"div\", { className: `${prefix}-right-bottomItem` },\n React.createElement(\"span\", { className: `${prefix}-right-title` }, \"\\u5B9E\\u9645\\u6295\\u5165(\\u8F86)\\uFF1A\"),\n React.createElement(\"span\", { className: `${prefix}-right-num` }, actualNumOfCar || '--'))),\n React.createElement(\"div\", { className: `${prefix}-right-bottom` },\n React.createElement(\"div\", { className: `${prefix}-right-bottomItem` },\n React.createElement(\"div\", { className: `${prefix}-right-img` },\n React.createElement(\"img\", { src: require('../../imgs/user.png') })),\n React.createElement(\"span\", { className: `${prefix}-right-title` }, \"\\u5EFA\\u8BAE\\u914D\\u5907(\\u4EBA)\\uFF1A\"),\n React.createElement(\"span\", { className: `${prefix}-right-num` }, planNumOfPeople || '--')),\n React.createElement(\"div\", { className: `${prefix}-right-bottomItem` },\n React.createElement(\"span\", { className: `${prefix}-right-title` }, \"\\u5B9E\\u9645\\u6295\\u5165(\\u4EBA)\\uFF1A\"),\n React.createElement(\"span\", { className: `${prefix}-right-num` }, actualNumOfPeople || '--')))))))),\n ((_b = linkedObject === null || linkedObject === void 0 ? void 0 : linkedObject.count) === null || _b === void 0 ? void 0 : _b.length) ? (React.createElement(\"div\", { className: `${prefix}-right-table` },\n React.createElement(VmSubTitle, { title: \"\\u4F5C\\u4E1A\\u5BF9\\u8C61\" }),\n React.createElement(SubTabsLine, { items: [\n { key: 'all', label: `全部(${(linkedObject === null || linkedObject === void 0 ? void 0 : linkedObject.allNums) || 0})` },\n ...linkedObject.count.map((item) => ({\n key: item.typeCode,\n label: `${item.typeName}(${item.count})`,\n })),\n ], activeKey: tabKey, onChange: key => {\n setState({\n tabKey: key,\n });\n } }),\n React.createElement(\"div\", null,\n React.createElement(VMTable, Object.assign({ columns: columns, rowKey: \"id\" }, tableProps))))) : null)));\n};\nexport default OverView;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,KAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,QAAA,GAAAD,sBAAA,CAAAH,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;AACA,IAAAM,UAAA,GAAAN,OAAA;AACA,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AA,CAAC,CAAC,EACN;IAAEmE,SAAS,EAAElF,MAAM;IAAEmF,QAAQ,EAAE,SAAAA,SAAA9I,GAAG,EAAI;MACnCkE,QAAQ,CAAC;QACLP,MAAM,EAAE3D;MACZ,CAAC,CAAC;IACN;EAAE,CAAC,CAAC,eACR+H,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE,IAAI,eAC3BD,iBAAK,CAACC,aAAa,CAACe,mBAAO,EAAElJ,MAAM,CAACsF,MAAM,CAAC;IAAEkC,OAAO,EAAEA,OAAO;IAAE2B,MAAM,EAAE;EAAK,CAAC,EAAExB,UAAU,CAAC,CAAC,CAAC,CAAC,GAAI,IAAI,CAAC,CAAC;AAC3H,CAAC;AAAC,IAAAyB,QAAA,GACahG,QAAQ;AAAAiG,OAAA,cAAAD,QAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["OverView","classPrefix","id","basicInfo","_a","_b","useSetState","tabKey","rows","mapLayers","currentLayer","layer","state","setState","prefix","common","linkedObject","overViewService","getChildWorkInfo","useEffect","count","result","layerData","forEach","item","push","data","map","ele","Object","assign","typeCode","rings","geometryInfo","lngLats","config","color","getColor","lineColor","lineWidth","_layer","typeName","filter","JSON","stringify","fieldsData","OverViewTRFields","OverViewLHDorHDFields","value","key","dataJson","workObjectData","resourceInput","planNumOfCar","actualNumOfCar","planNumOfPeople","actualNumOfPeople","workObject","details","length","label","workTypeStr","unitStr","dataValue","reduce","pre","next","columns","title","dataIndex","tableProps","height","dataSource","isIndex","onRowCallBack","record","clickGraphic","obj","React","createElement","className","Left","legend","VmSubTitle","VmInfoCollection","gap","horizontal","workTypeId","src","require","SubTabsLine","items","allNums","activeKey","onChange","VMTable","rowKey"],"sources":["vtx-facility-modal/components/OverView/index.js"],"sourcesContent":["import React, { useEffect } from 'react';\nimport { useSetState } from 'ahooks';\nimport Left from './Left';\nimport VMTable from '../../../vm-table';\nimport { getColor, OverViewLHDorHDFields, OverViewTRFields } from '../../config';\nimport { SubTabsLine } from '../../../vm-sub-tabs';\nimport VmInfoCollection from '../../../vm-info-collection';\nimport VmSubTitle from '../../../vm-sub-title';\nimport { overViewService } from '../../api';\nimport './index.less';\nconst OverView = ({ classPrefix = '', id, basicInfo }) => {\n var _a, _b;\n const [state, setState] = useSetState({\n tabKey: 'all',\n rows: [],\n mapLayers: [],\n currentLayer: {},\n layer: [], // 当前设施关联的图层类型\n });\n const { tabKey, rows } = state;\n const prefix = `${classPrefix}-overview`;\n const common = {\n classPrefix: prefix,\n id,\n };\n // 关联对象\n const linkedObject = overViewService.getChildWorkInfo({ id }) || {};\n useEffect(() => {\n var _a, _b;\n if (!(linkedObject === null || linkedObject === void 0 ? void 0 : linkedObject.count))\n return;\n let result = [];\n let layerData = [];\n // 获取所有图层数据\n linkedObject.count.forEach((item) => {\n var _a, _b;\n layerData.push(...(((_b = (_a = item === null || item === void 0 ? void 0 : item.data) === null || _a === void 0 ? void 0 : _a.rows) === null || _b === void 0 ? void 0 : _b.map((ele) => (Object.assign(Object.assign({}, ele), { typeCode: item.typeCode })))) || []));\n });\n setState({\n mapLayers: layerData.map((item) => {\n var _a;\n return (Object.assign(Object.assign({}, item), { rings: (_a = item === null || item === void 0 ? void 0 : item.geometryInfo) === null || _a === void 0 ? void 0 : _a.lngLats, config: {\n color: getColor((item === null || item === void 0 ? void 0 : item.typeCode) || ''),\n lineColor: '#fff',\n lineWidth: 1,\n } }));\n }),\n });\n // 区分页签\n if (tabKey === 'all') {\n let _layer = [];\n linkedObject.count.forEach((item) => {\n var _a;\n result.push(...(((_a = item === null || item === void 0 ? void 0 : item.data) === null || _a === void 0 ? void 0 : _a.rows) || []));\n _layer.push({ typeCode: item.typeCode, typeName: item.typeName });\n });\n setState({\n rows: result,\n layer: _layer,\n });\n }\n else {\n result = linkedObject.count.filter((item) => item.typeCode === tabKey);\n setState({\n rows: (_b = (_a = result[0]) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.rows,\n });\n }\n }, [JSON.stringify(linkedObject), tabKey]);\n // 若当前设施为主次干道(TR)或为绿化带/河道(LHDorHD)\n // 基本信息数据\n const fieldsData = [\n ...((basicInfo === null || basicInfo === void 0 ? void 0 : basicInfo.typeCode) === 'tr' ? OverViewTRFields : OverViewLHDorHDFields),\n ].map((item) => {\n var _a;\n return (Object.assign(Object.assign({}, item), { value: item.key === 'facilityLength' ||\n item.key === 'facilityWidth' ||\n item.key === 'facilityArea'\n ? (_a = basicInfo === null || basicInfo === void 0 ? void 0 : basicInfo.dataJson) === null || _a === void 0 ? void 0 : _a[item.key]\n : basicInfo === null || basicInfo === void 0 ? void 0 : basicInfo[item.key] }));\n });\n // 作业对象\n let workObjectData = [];\n // 资源投入\n let resourceInput = [];\n let planNumOfCar = 0;\n let actualNumOfCar = 0;\n let planNumOfPeople = 0;\n let actualNumOfPeople = 0;\n // 存在作业对象时,获取相关数据\n workObjectData =\n ((_a = overViewService\n .workObject({\n id,\n })) === null || _a === void 0 ? void 0 : _a.filter((item) => (item === null || item === void 0 ? void 0 : item.details) && item.details.length > 0).map((ele) => ({\n label: `${ele === null || ele === void 0 ? void 0 : ele.workTypeStr}(${ele.unitStr})`,\n value: ele === null || ele === void 0 ? void 0 : ele.dataValue,\n }))) || [];\n resourceInput = overViewService.resourceInput({ id }) || [];\n planNumOfCar = resourceInput === null || resourceInput === void 0 ? void 0 : resourceInput.reduce((pre, next) => pre + (next.planNumOfCar || 0), 0);\n actualNumOfCar = resourceInput === null || resourceInput === void 0 ? void 0 : resourceInput.reduce((pre, next) => pre + (next.actualNumOfCar || 0), 0);\n planNumOfPeople = resourceInput === null || resourceInput === void 0 ? void 0 : resourceInput.reduce((pre, next) => pre + (next.planNumOfPeople || 0), 0);\n actualNumOfPeople = resourceInput === null || resourceInput === void 0 ? void 0 : resourceInput.reduce((pre, next) => pre + (next.actualNumOfPeople || 0), 0);\n const columns = [\n {\n title: '名称',\n dataIndex: 'name',\n key: 'name',\n },\n {\n title: '长度(m)',\n dataIndex: 'facilityLength',\n key: 'facilityLength',\n },\n {\n title: '宽度(m)',\n dataIndex: 'facilityWidth',\n key: 'facilityWidth',\n },\n {\n title: '面积(k㎡)',\n dataIndex: 'facilityArea',\n key: 'facilityArea',\n },\n ];\n const tableProps = {\n height: 320,\n dataSource: rows || [],\n isIndex: false,\n currentLayer: state.currentLayer,\n onRowCallBack: (record) => {\n setState({\n currentLayer: record,\n });\n },\n };\n // 地图点击事件\n const clickGraphic = (obj) => {\n setState({\n currentLayer: obj.item,\n tabKey: obj.item.typeCode\n });\n };\n return (React.createElement(\"div\", { className: prefix },\n React.createElement(Left, Object.assign({}, common, { mapLayers: state.mapLayers, currentLayer: state.currentLayer, legend: state.layer, clickGraphic: clickGraphic })),\n React.createElement(\"div\", { className: `${prefix}-right` },\n React.createElement(\"div\", { className: `${prefix}-right-base` },\n React.createElement(VmSubTitle, { title: \"\\u57FA\\u672C\\u4FE1\\u606F\" }),\n React.createElement(\"div\", { className: `${prefix}-right-basic` },\n React.createElement(VmInfoCollection, { data: fieldsData, gap: 16, horizontal: true }))),\n (basicInfo === null || basicInfo === void 0 ? void 0 : basicInfo.workTypeId) && (React.createElement(\"div\", { className: `${prefix}-right-work` },\n React.createElement(VmSubTitle, { title: \"\\u4F5C\\u4E1A\\u91CF\" }),\n React.createElement(\"div\", { className: `${prefix}-right-item` },\n (workObjectData === null || workObjectData === void 0 ? void 0 : workObjectData.length) ? (React.createElement(VmInfoCollection, { data: workObjectData, gap: 16, horizontal: true })) : null,\n React.createElement(\"span\", { className: \"label\" }, \"\\u8D44\\u6E90\\u6295\\u5165\\uFF1A\"),\n React.createElement(\"div\", { className: `${prefix}-right-list` },\n React.createElement(\"div\", { className: `${prefix}-right-listItem` },\n React.createElement(\"div\", { className: `${prefix}-right-bottom` },\n React.createElement(\"div\", { className: `${prefix}-right-bottomItem` },\n React.createElement(\"div\", { className: `${prefix}-right-img` },\n React.createElement(\"img\", { src: require('../../imgs/car.png') })),\n React.createElement(\"span\", { className: `${prefix}-right-title` }, \"\\u5EFA\\u8BAE\\u914D\\u5907(\\u8F86)\\uFF1A\"),\n React.createElement(\"span\", { className: `${prefix}-right-num` }, planNumOfCar || '--')),\n React.createElement(\"div\", { className: `${prefix}-right-bottomItem` },\n React.createElement(\"span\", { className: `${prefix}-right-title` }, \"\\u5B9E\\u9645\\u6295\\u5165(\\u8F86)\\uFF1A\"),\n React.createElement(\"span\", { className: `${prefix}-right-num` }, actualNumOfCar || '--'))),\n React.createElement(\"div\", { className: `${prefix}-right-bottom` },\n React.createElement(\"div\", { className: `${prefix}-right-bottomItem` },\n React.createElement(\"div\", { className: `${prefix}-right-img` },\n React.createElement(\"img\", { src: require('../../imgs/user.png') })),\n React.createElement(\"span\", { className: `${prefix}-right-title` }, \"\\u5EFA\\u8BAE\\u914D\\u5907(\\u4EBA)\\uFF1A\"),\n React.createElement(\"span\", { className: `${prefix}-right-num` }, planNumOfPeople || '--')),\n React.createElement(\"div\", { className: `${prefix}-right-bottomItem` },\n React.createElement(\"span\", { className: `${prefix}-right-title` }, \"\\u5B9E\\u9645\\u6295\\u5165(\\u4EBA)\\uFF1A\"),\n React.createElement(\"span\", { className: `${prefix}-right-num` }, actualNumOfPeople || '--')))))))),\n ((_b = linkedObject === null || linkedObject === void 0 ? void 0 : linkedObject.count) === null || _b === void 0 ? void 0 : _b.length) ? (React.createElement(\"div\", { className: `${prefix}-right-table` },\n React.createElement(VmSubTitle, { title: \"\\u4F5C\\u4E1A\\u5BF9\\u8C61\" }),\n React.createElement(SubTabsLine, { items: [\n { key: 'all', label: `全部(${(linkedObject === null || linkedObject === void 0 ? void 0 : linkedObject.allNums) || 0})` },\n ...linkedObject.count.map((item) => ({\n key: item.typeCode,\n label: `${item.typeName}(${item.count})`,\n })),\n ], activeKey: tabKey, onChange: key => {\n setState({\n tabKey: key,\n });\n } }),\n React.createElement(\"div\", null,\n React.createElement(VMTable, Object.assign({ columns: columns, rowKey: \"id\" }, tableProps))))) : null)));\n};\nexport default OverView;\n"],"mappings":";;;;;;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'../../style/index';
|
|
2
|
-
|
|
3
|
-
.@{prefix-cls}-overview {
|
|
4
|
-
display: flex;
|
|
5
|
-
gap: 10px;
|
|
6
|
-
height: 716px;
|
|
7
|
-
&-left {
|
|
8
|
-
position: relative;
|
|
9
|
-
height: 716px;
|
|
10
|
-
width: 470px;
|
|
11
|
-
padding: 10px;
|
|
12
|
-
&-map {
|
|
13
|
-
height: 690px;
|
|
14
|
-
}
|
|
15
|
-
&-legend {
|
|
16
|
-
position: absolute;
|
|
17
|
-
left: 10px;
|
|
18
|
-
bottom: 10px;
|
|
19
|
-
max-width: 120px;
|
|
20
|
-
min-height: 32px;
|
|
21
|
-
overflow-y: auto;
|
|
22
|
-
z-index: 99;
|
|
23
|
-
background: linear-gradient(0deg, #0a3a62, #03213f);
|
|
24
|
-
border: 1px solid #516176;
|
|
25
|
-
border-radius: 6px;
|
|
26
|
-
color: #fff;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
&-legendItem {
|
|
30
|
-
width: 100%;
|
|
31
|
-
display: inline-flex;
|
|
32
|
-
align-items: center;
|
|
33
|
-
padding: 4px 8px;
|
|
34
|
-
}
|
|
35
|
-
&-icon {
|
|
36
|
-
width: 16px;
|
|
37
|
-
height: 16px;
|
|
38
|
-
display: flex;
|
|
39
|
-
align-items: center;
|
|
40
|
-
}
|
|
41
|
-
&-iconColor {
|
|
42
|
-
width: 100%;
|
|
43
|
-
height: 100%;
|
|
44
|
-
}
|
|
45
|
-
&-name {
|
|
46
|
-
margin-left: 4px;
|
|
47
|
-
}
|
|
48
|
-
&-right {
|
|
49
|
-
flex: 1;
|
|
50
|
-
overflow-y: auto;
|
|
51
|
-
&-base {
|
|
52
|
-
margin: 10px 10px 10px 0;
|
|
53
|
-
padding: 10px 0 10px 10px;
|
|
54
|
-
background: var(--bg-color2);
|
|
55
|
-
}
|
|
56
|
-
&-basic {
|
|
57
|
-
height: 140px;
|
|
58
|
-
overflow-y: auto;
|
|
59
|
-
.info-line {
|
|
60
|
-
width: 45% !important;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
&-work {
|
|
64
|
-
margin: 10px 10px 10px 0;
|
|
65
|
-
padding: 10px 0 10px 10px;
|
|
66
|
-
background: var(--bg-color2);
|
|
67
|
-
.label {
|
|
68
|
-
color: var(--label-color);
|
|
69
|
-
white-space: nowrap;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
&-item {
|
|
73
|
-
min-height: 36px;
|
|
74
|
-
overflow-y: auto;
|
|
75
|
-
.info-line {
|
|
76
|
-
width: 45% !important;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
&-list {
|
|
81
|
-
display: flex;
|
|
82
|
-
flex-wrap: wrap;
|
|
83
|
-
}
|
|
84
|
-
&-listItem {
|
|
85
|
-
width: 100%;
|
|
86
|
-
}
|
|
87
|
-
&-bottom {
|
|
88
|
-
display: flex;
|
|
89
|
-
display: flex;
|
|
90
|
-
flex-wrap: wrap;
|
|
91
|
-
height: 30px;
|
|
92
|
-
line-height: 30px;
|
|
93
|
-
}
|
|
94
|
-
&-bottomItem {
|
|
95
|
-
width: 50%;
|
|
96
|
-
display: flex;
|
|
97
|
-
}
|
|
98
|
-
&-title {
|
|
99
|
-
color: var(--label-color);
|
|
100
|
-
white-space: nowrap;
|
|
101
|
-
}
|
|
102
|
-
&-num {
|
|
103
|
-
color: var(--info-color);
|
|
104
|
-
font-weight: 400;
|
|
105
|
-
min-width: 98px;
|
|
106
|
-
}
|
|
107
|
-
&-img {
|
|
108
|
-
width: 30px;
|
|
109
|
-
}
|
|
110
|
-
&-table {
|
|
111
|
-
margin: 10px 10px 10px 0;
|
|
112
|
-
padding: 10px 0 10px 10px;
|
|
113
|
-
background: var(--bg-color2);
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
1
|
+
@import '../../style/index';
|
|
2
|
+
|
|
3
|
+
.@{prefix-cls}-overview {
|
|
4
|
+
display: flex;
|
|
5
|
+
gap: 10px;
|
|
6
|
+
height: 716px;
|
|
7
|
+
&-left {
|
|
8
|
+
position: relative;
|
|
9
|
+
height: 716px;
|
|
10
|
+
width: 470px;
|
|
11
|
+
padding: 10px;
|
|
12
|
+
&-map {
|
|
13
|
+
height: 690px;
|
|
14
|
+
}
|
|
15
|
+
&-legend {
|
|
16
|
+
position: absolute;
|
|
17
|
+
left: 10px;
|
|
18
|
+
bottom: 10px;
|
|
19
|
+
max-width: 120px;
|
|
20
|
+
min-height: 32px;
|
|
21
|
+
overflow-y: auto;
|
|
22
|
+
z-index: 99;
|
|
23
|
+
background: linear-gradient(0deg, #0a3a62, #03213f);
|
|
24
|
+
border: 1px solid #516176;
|
|
25
|
+
border-radius: 6px;
|
|
26
|
+
color: #fff;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
&-legendItem {
|
|
30
|
+
width: 100%;
|
|
31
|
+
display: inline-flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
padding: 4px 8px;
|
|
34
|
+
}
|
|
35
|
+
&-icon {
|
|
36
|
+
width: 16px;
|
|
37
|
+
height: 16px;
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
}
|
|
41
|
+
&-iconColor {
|
|
42
|
+
width: 100%;
|
|
43
|
+
height: 100%;
|
|
44
|
+
}
|
|
45
|
+
&-name {
|
|
46
|
+
margin-left: 4px;
|
|
47
|
+
}
|
|
48
|
+
&-right {
|
|
49
|
+
flex: 1;
|
|
50
|
+
overflow-y: auto;
|
|
51
|
+
&-base {
|
|
52
|
+
margin: 10px 10px 10px 0;
|
|
53
|
+
padding: 10px 0 10px 10px;
|
|
54
|
+
background: var(--bg-color2);
|
|
55
|
+
}
|
|
56
|
+
&-basic {
|
|
57
|
+
height: 140px;
|
|
58
|
+
overflow-y: auto;
|
|
59
|
+
.info-line {
|
|
60
|
+
width: 45% !important;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
&-work {
|
|
64
|
+
margin: 10px 10px 10px 0;
|
|
65
|
+
padding: 10px 0 10px 10px;
|
|
66
|
+
background: var(--bg-color2);
|
|
67
|
+
.label {
|
|
68
|
+
color: var(--label-color);
|
|
69
|
+
white-space: nowrap;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
&-item {
|
|
73
|
+
min-height: 36px;
|
|
74
|
+
overflow-y: auto;
|
|
75
|
+
.info-line {
|
|
76
|
+
width: 45% !important;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&-list {
|
|
81
|
+
display: flex;
|
|
82
|
+
flex-wrap: wrap;
|
|
83
|
+
}
|
|
84
|
+
&-listItem {
|
|
85
|
+
width: 100%;
|
|
86
|
+
}
|
|
87
|
+
&-bottom {
|
|
88
|
+
display: flex;
|
|
89
|
+
display: flex;
|
|
90
|
+
flex-wrap: wrap;
|
|
91
|
+
height: 30px;
|
|
92
|
+
line-height: 30px;
|
|
93
|
+
}
|
|
94
|
+
&-bottomItem {
|
|
95
|
+
width: 50%;
|
|
96
|
+
display: flex;
|
|
97
|
+
}
|
|
98
|
+
&-title {
|
|
99
|
+
color: var(--label-color);
|
|
100
|
+
white-space: nowrap;
|
|
101
|
+
}
|
|
102
|
+
&-num {
|
|
103
|
+
color: var(--info-color);
|
|
104
|
+
font-weight: 400;
|
|
105
|
+
min-width: 98px;
|
|
106
|
+
}
|
|
107
|
+
&-img {
|
|
108
|
+
width: 30px;
|
|
109
|
+
}
|
|
110
|
+
&-table {
|
|
111
|
+
margin: 10px 10px 10px 0;
|
|
112
|
+
padding: 10px 0 10px 10px;
|
|
113
|
+
background: var(--bg-color2);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["vtx-facility-modal/components/index.js"],"sourcesContent":["export { default as OverView } from './OverView';\n"],"mappings":";;;;;;;;;;;AAAA;AAAiD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","names":["OverViewLHDorHDFields","key","label","
|
|
1
|
+
{"version":3,"file":"config.js","names":["OverViewLHDorHDFields","key","label","OverViewTRFields","getColor","bh","colors","search"],"sources":["vtx-facility-modal/config.js"],"sourcesContent":["export const OverViewLHDorHDFields = [\n // 绿化或河道的基本信息\n {\n key: 'tenderName',\n label: '所属标段',\n },\n {\n key: 'manageUnitName',\n label: '作业单位',\n },\n {\n key: 'typeName',\n label: '作业类型',\n },\n {\n key: 'facilityLength',\n label: '长度(m)',\n },\n {\n key: 'facilityWidth',\n label: '宽度(m)',\n },\n {\n key: 'facilityArea',\n label: '面积(㎡)',\n },\n];\nexport const OverViewTRFields = [\n // 主要干道\n {\n key: 'facilityClassName',\n label: '道路等级',\n },\n {\n key: 'typeName',\n label: '作业类型',\n },\n {\n key: 'tenderName',\n label: '所属标段',\n },\n {\n key: 'manageUnitName',\n label: '作业单位',\n },\n {\n key: 'facilityLength',\n label: '长度(m)',\n },\n {\n key: 'facilityWidth',\n label: '宽度(m)',\n },\n {\n key: 'facilityArea',\n label: '面积(㎡)',\n },\n];\nexport const getColor = (bh) => {\n if (!bh)\n return;\n // 不同设施类型颜色区分\n const colors = [\n '#FFDCB8',\n '#E95439',\n '#FFF700',\n '#3D27F6',\n '#1CD64E',\n '#00CBFF',\n '#BE9860',\n 'green',\n ];\n if (bh.search('tr') !== -1)\n return colors[0];\n if (bh.search('rxd') !== -1)\n return colors[1];\n if (bh.search('jdcd') !== -1)\n return colors[2];\n if (bh.search('fjdcd') !== -1)\n return colors[3];\n if (bh.search('glss') !== -1)\n return colors[4];\n if (bh.search('hd') !== -1)\n return colors[5];\n if (bh.search('hp') !== -1)\n return colors[6];\n if (bh.search('lh') !== -1)\n return colors[7];\n};\n"],"mappings":";;;;;;AAAO,IAAMA,qBAAqB,GAAG;AACjC;AACA;EACIC,GAAG,EAAE,YAAY;EACjBC,KAAK,EAAE;AACX,CAAC,EACD;EAC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AC,EACxB,OAAOD,MAAM,CAAC,CAAC,CAAC;EACpB,IAAID,EAAE,CAACE,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,EACzB,OAAOD,MAAM,CAAC,CAAC,CAAC;EACpB,IAAID,EAAE,CAACE,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,EACxB,OAAOD,MAAM,CAAC,CAAC,CAAC;EACpB,IAAID,EAAE,CAACE,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EACtB,OAAOD,MAAM,CAAC,CAAC,CAAC;EACpB,IAAID,EAAE,CAACE,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EACtB,OAAOD,MAAM,CAAC,CAAC,CAAC;EACpB,IAAID,EAAE,CAACE,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EACtB,OAAOD,MAAM,CAAC,CAAC,CAAC;AACxB,CAAC;AAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["
|
|
1
|
+
{"version":3,"file":"index.js","names":["TABS","key","title","VtxFaciityModal","props","visible","onCancel","theme","id","PREFIX","basicInfo","overViewService","estateStatistics","tabContents","overview","React","createElement","OverView","classPrefix","VtxBaseModal","name","tabs","contents"],"sources":["vtx-facility-modal/index.js"],"sourcesContent":["import React from 'react';\nimport VtxBaseModal from '../vtx-base-modal';\nimport { OverView } from './components';\nimport { overViewService } from './api';\nconst TABS = [\n {\n key: 'overview',\n title: '综合总览',\n },\n];\nconst VtxFaciityModal = (props) => {\n const { visible = false, onCancel, theme = 'dark', title = '设施名称', id } = props;\n const PREFIX = 'facility';\n // 基础设施基本信息\n const basicInfo = overViewService.estateStatistics({\n id,\n });\n const tabContents = {\n overview: React.createElement(OverView, { classPrefix: PREFIX, id: id, basicInfo: basicInfo }),\n };\n return (React.createElement(VtxBaseModal, { title: (basicInfo === null || basicInfo === void 0 ? void 0 : basicInfo.name) || title, theme: theme, tabs: TABS, contents: tabContents,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css.js","names":[
|
|
1
|
+
{"version":3,"file":"css.js","names":[],"sources":["vtx-facility-modal/style/index.js"],"sourcesContent":["import '../components/OverView/index.less';\nimport './index.less';\n"],"mappings":";;AAAA;AACA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["vtx-facility-modal/style/index.js"],"sourcesContent":["import '../components/OverView/index.less';\nimport './index.less';\n"],"mappings":";;AAAA;AACA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@prefix-cls: facility;
|
|
1
|
+
@prefix-cls: facility;
|
|
@@ -8,24 +8,26 @@ var _tslib = require("tslib");
|
|
|
8
8
|
var _utils = require("@vtx/utils");
|
|
9
9
|
var _ahooks = require("ahooks");
|
|
10
10
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
11
|
-
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
|
|
11
|
+
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
|
|
12
12
|
var query = function query(url, params) {
|
|
13
13
|
var method = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'get';
|
|
14
14
|
return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
15
15
|
var res;
|
|
16
16
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
17
|
-
while (1)
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
17
|
+
while (1) {
|
|
18
|
+
switch (_context.prev = _context.next) {
|
|
19
|
+
case 0:
|
|
20
|
+
_context.next = 2;
|
|
21
|
+
return _utils.request[method](url, {
|
|
22
|
+
data: params
|
|
23
|
+
});
|
|
24
|
+
case 2:
|
|
25
|
+
res = _context.sent;
|
|
26
|
+
return _context.abrupt("return", res === null || res === void 0 ? void 0 : res.data);
|
|
27
|
+
case 4:
|
|
28
|
+
case "end":
|
|
29
|
+
return _context.stop();
|
|
30
|
+
}
|
|
29
31
|
}
|
|
30
32
|
}, _callee);
|
|
31
33
|
}));
|
|
@@ -34,21 +36,23 @@ var queryPage = function queryPage(url, params) {
|
|
|
34
36
|
return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
35
37
|
var _a, _b, res;
|
|
36
38
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
37
|
-
while (1)
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
39
|
+
while (1) {
|
|
40
|
+
switch (_context2.prev = _context2.next) {
|
|
41
|
+
case 0:
|
|
42
|
+
_context2.next = 2;
|
|
43
|
+
return _utils.request.get(url, {
|
|
44
|
+
data: params
|
|
45
|
+
});
|
|
46
|
+
case 2:
|
|
47
|
+
res = _context2.sent;
|
|
48
|
+
return _context2.abrupt("return", {
|
|
49
|
+
list: ((_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.rows) || [],
|
|
50
|
+
total: ((_b = res === null || res === void 0 ? void 0 : res.data) === null || _b === void 0 ? void 0 : _b.total) || 0
|
|
51
|
+
});
|
|
52
|
+
case 4:
|
|
53
|
+
case "end":
|
|
54
|
+
return _context2.stop();
|
|
55
|
+
}
|
|
52
56
|
}
|
|
53
57
|
}, _callee2);
|
|
54
58
|
}));
|