@vtx/modals2 2.15.87 → 2.15.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/typings.d.ts +18 -18
- package/lib/vm-alarm-info/Components/AlarmRecord.js +2 -1
- package/lib/vm-alarm-info/Components/AlarmRecord.js.map +1 -1
- package/lib/vm-alarm-info/Components/AlarmStatistics.js +2 -1
- package/lib/vm-alarm-info/Components/AlarmStatistics.js.map +1 -1
- package/lib/vm-alarm-info/Components/AlarmTrend.js +9 -8
- package/lib/vm-alarm-info/Components/AlarmTrend.js.map +1 -1
- package/lib/vm-alarm-info/Components/CurrentAlarm.js +2 -1
- package/lib/vm-alarm-info/Components/CurrentAlarm.js.map +1 -1
- package/lib/vm-alarm-info/Components/CurrentAlarmNew.js +2 -1
- package/lib/vm-alarm-info/Components/CurrentAlarmNew.js.map +1 -1
- package/lib/vm-alarm-info/index.js +2 -1
- package/lib/vm-alarm-info/index.js.map +1 -1
- package/lib/vm-alarm-situation/index.js +2 -1
- package/lib/vm-alarm-situation/index.js.map +1 -1
- package/lib/vm-alarm-situation-pt/index.js +2 -1
- package/lib/vm-alarm-situation-pt/index.js.map +1 -1
- package/lib/vm-analysis-comparison/index.js +27 -26
- package/lib/vm-analysis-comparison/index.js.map +1 -1
- package/lib/vm-appraisal-info/ListKh.js +2 -1
- package/lib/vm-appraisal-info/ListKh.js.map +1 -1
- package/lib/vm-appraisal-info/ListZg.js +2 -1
- package/lib/vm-appraisal-info/ListZg.js.map +1 -1
- package/lib/vm-appraisal-info/index.js +2 -1
- package/lib/vm-appraisal-info/index.js.map +1 -1
- package/lib/vm-base-list/index.js +2 -1
- package/lib/vm-base-list/index.js.map +1 -1
- package/lib/vm-card/style/index.less +25 -25
- package/lib/vm-charts/Line.js +2 -1
- package/lib/vm-charts/Line.js.map +1 -1
- package/lib/vm-charts/Pie.js +2 -1
- package/lib/vm-charts/Pie.js.map +1 -1
- package/lib/vm-correlation-comparison/index.js +24 -23
- package/lib/vm-correlation-comparison/index.js.map +1 -1
- package/lib/vm-filter/index.js +2 -1
- package/lib/vm-filter/index.js.map +1 -1
- package/lib/vm-filter/style/index.less +293 -293
- package/lib/vm-info-collection/index.js +1 -1
- package/lib/vm-info-collection/index.js.map +1 -1
- package/lib/vm-map/index.js +9 -8
- package/lib/vm-map/index.js.map +1 -1
- package/lib/vm-map-/345/272/237/345/274/203/index.js +5 -4
- package/lib/vm-map-/345/272/237/345/274/203/index.js.map +1 -1
- package/lib/vm-real-time-monitor/index.js +36 -35
- package/lib/vm-real-time-monitor/index.js.map +1 -1
- package/lib/vm-round-content/index.js +2 -1
- package/lib/vm-round-content/index.js.map +1 -1
- package/lib/vm-select-device/index.js +2 -1
- package/lib/vm-select-device/index.js.map +1 -1
- package/lib/vm-sub-tabs/style/index.less +182 -182
- package/lib/vm-table/index.js +2 -1
- package/lib/vm-table/index.js.map +1 -1
- package/lib/vm-table/style/index.less +315 -315
- package/lib/vtx-area-modal/api.js +22 -22
- package/lib/vtx-area-modal/api.js.map +1 -1
- package/lib/vtx-area-modal/components/BaseInfo/Lcfx.js +2 -1
- package/lib/vtx-area-modal/components/BaseInfo/Lcfx.js.map +1 -1
- package/lib/vtx-area-modal/components/BaseInfo/ListZymx.js +2 -1
- package/lib/vtx-area-modal/components/BaseInfo/ListZymx.js.map +1 -1
- package/lib/vtx-area-modal/components/BaseInfo/index.js +2 -1
- package/lib/vtx-area-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-base-info/index.js +2 -1
- package/lib/vtx-base-info/index.js.map +1 -1
- package/lib/vtx-base-modal/index.js +12 -11
- package/lib/vtx-base-modal/index.js.map +1 -1
- package/lib/vtx-base-modal/style/index.css +2 -2
- package/lib/vtx-base-modal/style/index.less +2 -2
- package/lib/vtx-car-modal/api.js +95 -86
- package/lib/vtx-car-modal/api.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/List.js +2 -1
- package/lib/vtx-car-modal/components/AlarmInfo/List.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/index.js +2 -1
- package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js +6 -2
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js +2 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js +2 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js +2 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/index.js +2 -1
- package/lib/vtx-car-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfoLJSY/WorkDetail.js +2 -1
- package/lib/vtx-car-modal/components/BaseInfoLJSY/WorkDetail.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfoLJSY/index.css +3 -3
- package/lib/vtx-car-modal/components/BaseInfoLJSY/index.js +2 -1
- package/lib/vtx-car-modal/components/BaseInfoLJSY/index.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfoLJSY/index.less +3 -3
- package/lib/vtx-car-modal/components/QdBaseInfo/ZyfxCC.js +2 -1
- package/lib/vtx-car-modal/components/QdBaseInfo/ZyfxCC.js.map +1 -1
- package/lib/vtx-car-modal/components/QdBaseInfo/index.js +2 -1
- package/lib/vtx-car-modal/components/QdBaseInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/StaticInfo/index.js +2 -1
- package/lib/vtx-car-modal/components/StaticInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/Wcl.js +2 -1
- package/lib/vtx-car-modal/components/WorkInfo/Wcl.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js +2 -1
- package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/Zylc.js +2 -1
- package/lib/vtx-car-modal/components/WorkInfo/Zylc.js.map +1 -1
- package/lib/vtx-car-modal/index.js +2 -1
- package/lib/vtx-car-modal/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/api.js +116 -72
- package/lib/vtx-cc-cp-modal/api.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +2 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js +2 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js +2 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.less +91 -91
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +2 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +15 -0
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +47 -36
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +15 -3
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.css +15 -0
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js +9 -6
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.less +11 -0
- package/lib/vtx-cc-cp-modal/components/Calendar/index.css +113 -0
- package/lib/vtx-cc-cp-modal/components/Calendar/index.js +162 -0
- package/lib/vtx-cc-cp-modal/components/Calendar/index.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/Calendar/index.less +80 -0
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js +2 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js +2 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js +2 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.less +108 -108
- package/lib/vtx-cc-cp-modal/components/OrderInfo/OrderRecord.js +2 -1
- package/lib/vtx-cc-cp-modal/components/OrderInfo/OrderRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/OrderInfo/index.js +2 -1
- package/lib/vtx-cc-cp-modal/components/OrderInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +15 -31
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.less +3 -3
- package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +2 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +2 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/index.js +10 -3
- package/lib/vtx-cc-cp-modal/components/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/index.js +64 -20
- package/lib/vtx-cc-cp-modal/index.js.map +1 -1
- package/lib/vtx-cc-unit-modal/api.js +112 -77
- package/lib/vtx-cc-unit-modal/api.js.map +1 -1
- package/lib/vtx-cc-unit-modal/components/BaseInfo/CollectRecord.js +72 -0
- package/lib/vtx-cc-unit-modal/components/BaseInfo/CollectRecord.js.map +1 -0
- package/lib/vtx-cc-unit-modal/components/BaseInfo/CollectStatistics.js +49 -0
- package/lib/vtx-cc-unit-modal/components/BaseInfo/CollectStatistics.js.map +1 -0
- package/lib/vtx-cc-unit-modal/components/BaseInfo/Factory.js +76 -0
- package/lib/vtx-cc-unit-modal/components/BaseInfo/Factory.js.map +1 -0
- package/lib/vtx-cc-unit-modal/components/BaseInfo/FactoryCharts.js +171 -0
- package/lib/vtx-cc-unit-modal/components/BaseInfo/FactoryCharts.js.map +1 -0
- package/lib/vtx-cc-unit-modal/components/BaseInfo/FactoryStatistics.js +38 -0
- package/lib/vtx-cc-unit-modal/components/BaseInfo/FactoryStatistics.js.map +1 -0
- package/lib/vtx-cc-unit-modal/components/BaseInfo/index.css +29 -0
- package/lib/vtx-cc-unit-modal/components/BaseInfo/index.js +165 -0
- package/lib/vtx-cc-unit-modal/components/BaseInfo/index.js.map +1 -0
- package/lib/vtx-cc-unit-modal/components/BaseInfo/index.less +20 -0
- package/lib/vtx-cc-unit-modal/components/CarList/index.js +20 -3
- package/lib/vtx-cc-unit-modal/components/CarList/index.js.map +1 -1
- package/lib/vtx-cc-unit-modal/components/{QdFactory → Collection}/index.js +14 -6
- package/lib/vtx-cc-unit-modal/components/Collection/index.js.map +1 -0
- package/lib/vtx-cc-unit-modal/components/DetailInfo/index.js +154 -0
- package/lib/vtx-cc-unit-modal/components/DetailInfo/index.js.map +1 -0
- package/lib/vtx-cc-unit-modal/components/Factory/index.js +107 -0
- package/lib/vtx-cc-unit-modal/components/Factory/index.js.map +1 -0
- package/lib/vtx-cc-unit-modal/components/QdBase/CollectRecord.js +28 -4
- package/lib/vtx-cc-unit-modal/components/QdBase/CollectRecord.js.map +1 -1
- package/lib/vtx-cc-unit-modal/components/QdBase/index.js +4 -3
- package/lib/vtx-cc-unit-modal/components/QdBase/index.js.map +1 -1
- package/lib/vtx-cc-unit-modal/components/QdBase/index.less +20 -20
- package/lib/vtx-cc-unit-modal/components/QdCollection/index.js +3 -2
- package/lib/vtx-cc-unit-modal/components/QdCollection/index.js.map +1 -1
- package/lib/vtx-cc-unit-modal/components/QdDetailInfo/index.js +2 -1
- package/lib/vtx-cc-unit-modal/components/QdDetailInfo/index.js.map +1 -1
- package/lib/vtx-cc-unit-modal/components/RestaurantList/index.js +24 -16
- package/lib/vtx-cc-unit-modal/components/RestaurantList/index.js.map +1 -1
- package/lib/vtx-cc-unit-modal/index.js +86 -9
- package/lib/vtx-cc-unit-modal/index.js.map +1 -1
- package/lib/vtx-cp-modal/api.js +16 -16
- package/lib/vtx-cp-modal/api.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +2 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +2 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/index.js +2 -1
- package/lib/vtx-cp-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js +2 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +2 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +2 -1
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/index.js +2 -1
- package/lib/vtx-cp-modal/components/SyInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/index.js +2 -1
- package/lib/vtx-cp-modal/index.js.map +1 -1
- package/lib/vtx-default-modal/api.js +12 -12
- package/lib/vtx-default-modal/api.js.map +1 -1
- package/lib/vtx-default-modal/index.js +2 -1
- package/lib/vtx-default-modal/index.js.map +1 -1
- package/lib/vtx-device-modal/api.js +98 -80
- package/lib/vtx-device-modal/api.js.map +1 -1
- package/lib/vtx-device-modal/components/BaseInfo/RealTimeList.js +2 -1
- package/lib/vtx-device-modal/components/BaseInfo/RealTimeList.js.map +1 -1
- package/lib/vtx-device-modal/components/BaseInfo/index.js +2 -1
- package/lib/vtx-device-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-device-modal/components/BaseInfo/index.less +45 -45
- package/lib/vtx-device-modal/components/DataAnalysis/Chart.js +2 -1
- package/lib/vtx-device-modal/components/DataAnalysis/Chart.js.map +1 -1
- package/lib/vtx-device-modal/components/DataAnalysis/index.js +2 -1
- package/lib/vtx-device-modal/components/DataAnalysis/index.js.map +1 -1
- package/lib/vtx-device-modal/components/DataAnalysis/index.less +46 -46
- package/lib/vtx-device-modal/index.js +2 -1
- package/lib/vtx-device-modal/index.js.map +1 -1
- package/lib/vtx-device-modal/style/index.less +1 -1
- package/lib/vtx-df-modal/api.js +10 -10
- package/lib/vtx-df-modal/api.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js +2 -1
- package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +2 -1
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +2 -1
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/index.js +2 -1
- package/lib/vtx-df-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js +2 -1
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +2 -1
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/index.js +2 -1
- package/lib/vtx-df-modal/components/Metering/index.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +2 -1
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js +2 -1
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js.map +1 -1
- package/lib/vtx-df-modal/index.js +2 -1
- package/lib/vtx-df-modal/index.js.map +1 -1
- package/lib/vtx-facility-modal/api.js +22 -16
- package/lib/vtx-facility-modal/api.js.map +1 -1
- package/lib/vtx-facility-modal/components/OverView/index.js +2 -1
- package/lib/vtx-facility-modal/components/OverView/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/api.js +126 -120
- package/lib/vtx-housing-estate-modal/api.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js +5 -4
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js +2 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/MY.js +2 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/MY.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js +2 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +2 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Hot.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +2 -1
- package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/SPJK/index.js +2 -1
- package/lib/vtx-housing-estate-modal/components/SPJK/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/TFRD/index.js +2 -1
- package/lib/vtx-housing-estate-modal/components/TFRD/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js +2 -1
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js +2 -1
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js.map +1 -1
- package/lib/vtx-pump-modal/api.js +27 -24
- package/lib/vtx-pump-modal/api.js.map +1 -1
- package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTotal.js +2 -1
- package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTotal.js.map +1 -1
- package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTrend.js +2 -1
- package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTrend.js.map +1 -1
- package/lib/vtx-pump-modal/components/AlarmRecord/index.js +2 -1
- package/lib/vtx-pump-modal/components/AlarmRecord/index.js.map +1 -1
- package/lib/vtx-pump-modal/components/Basic/JyqInfo.js +2 -1
- package/lib/vtx-pump-modal/components/Basic/JyqInfo.js.map +1 -1
- package/lib/vtx-pump-modal/components/Basic/PumpInfo.js +2 -1
- package/lib/vtx-pump-modal/components/Basic/PumpInfo.js.map +1 -1
- package/lib/vtx-pump-modal/components/Basic/SxInfo.js +2 -1
- package/lib/vtx-pump-modal/components/Basic/SxInfo.js.map +1 -1
- package/lib/vtx-pump-modal/components/Basic/XqInfo.js +2 -1
- package/lib/vtx-pump-modal/components/Basic/XqInfo.js.map +1 -1
- package/lib/vtx-pump-modal/components/Basic/index.js +2 -1
- package/lib/vtx-pump-modal/components/Basic/index.js.map +1 -1
- package/lib/vtx-pump-modal/components/Sbxl/SBXLFX.js +2 -1
- package/lib/vtx-pump-modal/components/Sbxl/SBXLFX.js.map +1 -1
- package/lib/vtx-pump-modal/components/Sbxl/SBXLFXV2.js +2 -1
- package/lib/vtx-pump-modal/components/Sbxl/SBXLFXV2.js.map +1 -1
- package/lib/vtx-pump-modal/components/Sbxl/SBYXQK.js +2 -1
- package/lib/vtx-pump-modal/components/Sbxl/SBYXQK.js.map +1 -1
- package/lib/vtx-pump-modal/components/Sbxl/SBYXQKV2.js +2 -1
- package/lib/vtx-pump-modal/components/Sbxl/SBYXQKV2.js.map +1 -1
- package/lib/vtx-pump-modal/components/Sbxl/index.js +2 -1
- package/lib/vtx-pump-modal/components/Sbxl/index.js.map +1 -1
- package/lib/vtx-pump-modal/components/Sjfx/index.js +2 -1
- package/lib/vtx-pump-modal/components/Sjfx/index.js.map +1 -1
- package/lib/vtx-pump-modal/components/Sxyx/index.js +2 -1
- package/lib/vtx-pump-modal/components/Sxyx/index.js.map +1 -1
- package/lib/vtx-pump-modal/index.js +2 -1
- package/lib/vtx-pump-modal/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/api.js +69 -37
- package/lib/vtx-restaurant-modal/api.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +2 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +2 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +2 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/index.js +2 -1
- package/lib/vtx-restaurant-modal/components/Alarm/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/CollectRule.js +83 -0
- package/lib/vtx-restaurant-modal/components/Basic/CollectRule.js.map +1 -0
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +45 -33
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Info.js +20 -14
- package/lib/vtx-restaurant-modal/components/Basic/Info.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/PointMap.js +47 -0
- package/lib/vtx-restaurant-modal/components/Basic/PointMap.js.map +1 -0
- package/lib/vtx-restaurant-modal/components/Basic/Summary.js +2 -1
- package/lib/vtx-restaurant-modal/components/Basic/Summary.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/SummaryStatistics.js +89 -0
- package/lib/vtx-restaurant-modal/components/Basic/SummaryStatistics.js.map +1 -0
- package/lib/vtx-restaurant-modal/components/Basic/index.css +15 -0
- package/lib/vtx-restaurant-modal/components/Basic/index.js +42 -17
- package/lib/vtx-restaurant-modal/components/Basic/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/index.less +11 -0
- package/lib/vtx-restaurant-modal/components/Calendar/index.css +113 -0
- package/lib/vtx-restaurant-modal/components/Calendar/index.js +165 -0
- package/lib/vtx-restaurant-modal/components/Calendar/index.js.map +1 -0
- package/lib/vtx-restaurant-modal/components/Calendar/index.less +80 -0
- package/lib/vtx-restaurant-modal/components/Collection/Charts.js +9 -5
- package/lib/vtx-restaurant-modal/components/Collection/Charts.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Collection/List.js +2 -1
- package/lib/vtx-restaurant-modal/components/Collection/List.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Collection/index.js +3 -2
- package/lib/vtx-restaurant-modal/components/Collection/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/DetailInfo/index.js +83 -0
- package/lib/vtx-restaurant-modal/components/DetailInfo/index.js.map +1 -0
- package/lib/vtx-restaurant-modal/components/QdBasic/Info.js +2 -1
- package/lib/vtx-restaurant-modal/components/QdBasic/Info.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/QdBasic/index.js +7 -86
- package/lib/vtx-restaurant-modal/components/QdBasic/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/QdContract/ContactDetail.js +2 -1
- package/lib/vtx-restaurant-modal/components/QdContract/ContactDetail.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/QdContract/index.js +11 -8
- package/lib/vtx-restaurant-modal/components/QdContract/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/QdContract/index.less +9 -9
- package/lib/vtx-restaurant-modal/components/QdDetailInfo/index.js +2 -1
- package/lib/vtx-restaurant-modal/components/QdDetailInfo/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/QdSign/index.js +2 -1
- package/lib/vtx-restaurant-modal/components/QdSign/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/SignAndContract/ContactDetail.js +308 -0
- package/lib/vtx-restaurant-modal/components/SignAndContract/ContactDetail.js.map +1 -0
- package/lib/vtx-restaurant-modal/components/SignAndContract/index.css +12 -0
- package/lib/vtx-restaurant-modal/components/SignAndContract/index.js +186 -0
- package/lib/vtx-restaurant-modal/components/SignAndContract/index.js.map +1 -0
- package/lib/vtx-restaurant-modal/components/SignAndContract/index.less +13 -0
- package/lib/vtx-restaurant-modal/components/index.js +21 -0
- package/lib/vtx-restaurant-modal/components/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/config.js +232 -38
- package/lib/vtx-restaurant-modal/config.js.map +1 -1
- package/lib/vtx-restaurant-modal/index.js +85 -6
- package/lib/vtx-restaurant-modal/index.js.map +1 -1
- package/lib/vtx-road-modal/api.js +4 -4
- package/lib/vtx-road-modal/api.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/Work.js +2 -1
- package/lib/vtx-road-modal/components/BaseInfo/Work.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/index.js +2 -1
- package/lib/vtx-road-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-road-modal/components/Calendar/index.js +2 -1
- package/lib/vtx-road-modal/components/Calendar/index.js.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/Zylc.js +2 -1
- package/lib/vtx-road-modal/components/Statistical/Zylc.js.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/Zywcl.js +2 -1
- package/lib/vtx-road-modal/components/Statistical/Zywcl.js.map +1 -1
- package/lib/vtx-road-modal/index.js +2 -1
- package/lib/vtx-road-modal/index.js.map +1 -1
- package/lib/vtx-staff-modal/api.js +26 -26
- package/lib/vtx-staff-modal/api.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js +2 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js +2 -1
- package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/index.js +2 -1
- package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/StaticInfo/index.js +2 -1
- package/lib/vtx-staff-modal/components/StaticInfo/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/api.js +124 -118
- package/lib/vtx-throw-point-modal/api.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js +5 -4
- package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/LDB.js +2 -1
- package/lib/vtx-throw-point-modal/components/Alarm/LDB.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/MY.js +2 -1
- package/lib/vtx-throw-point-modal/components/Alarm/MY.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/index.js +2 -1
- package/lib/vtx-throw-point-modal/components/Alarm/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Hot.js +2 -1
- package/lib/vtx-throw-point-modal/components/OverView/Hot.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js +2 -1
- package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/SBZJ/index.js +2 -1
- package/lib/vtx-throw-point-modal/components/SBZJ/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/TFRD/index.js +2 -1
- package/lib/vtx-throw-point-modal/components/TFRD/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGGS/index.js +2 -1
- package/lib/vtx-throw-point-modal/components/WGGS/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGXW/index.js +2 -1
- package/lib/vtx-throw-point-modal/components/WGXW/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/index.js +2 -1
- package/lib/vtx-throw-point-modal/index.js.map +1 -1
- package/lib/vtx-wr-modal/api.js +14 -14
- package/lib/vtx-wr-modal/api.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js +2 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js +2 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/index.js +2 -1
- package/lib/vtx-wr-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Img.js +2 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Img.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Monitor.js +2 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Monitor.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ssjk.js +2 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ssjk.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/index.js +2 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Alarm.js +2 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Alarm.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jbxx.js +2 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jbxx.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Monitor.js +2 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Monitor.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Ptss.js +2 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Ptss.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Sjjg.js +2 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Sjjg.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/index.js +2 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/Detail/index.js +2 -1
- package/lib/vtx-wr-modal/components/Detail/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/Summary.js +2 -1
- package/lib/vtx-wr-modal/components/Evaluate/Summary.js.map +1 -1
- package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js +2 -1
- package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js.map +1 -1
- package/lib/vtx-wr-modal/components/Score/index.js +2 -1
- package/lib/vtx-wr-modal/components/Score/index.js.map +1 -1
- package/lib/vtx-wr-modal/index.js +2 -1
- package/lib/vtx-wr-modal/index.js.map +1 -1
- package/package.json +1 -1
- package/lib/vtx-cc-cp-modal/components/QdBaseInfo/Info.js +0 -52
- package/lib/vtx-cc-cp-modal/components/QdBaseInfo/Info.js.map +0 -1
- package/lib/vtx-cc-cp-modal/components/QdBaseInfo/Rules.js +0 -44
- package/lib/vtx-cc-cp-modal/components/QdBaseInfo/Rules.js.map +0 -1
- package/lib/vtx-cc-cp-modal/components/QdBaseInfo/index.css +0 -15
- package/lib/vtx-cc-cp-modal/components/QdBaseInfo/index.js +0 -73
- package/lib/vtx-cc-cp-modal/components/QdBaseInfo/index.js.map +0 -1
- package/lib/vtx-cc-cp-modal/components/QdBaseInfo/index.less +0 -10
- package/lib/vtx-cc-unit-modal/components/QdBase/Factory.js +0 -47
- package/lib/vtx-cc-unit-modal/components/QdBase/Factory.js.map +0 -1
- package/lib/vtx-cc-unit-modal/components/QdFactory/index.js.map +0 -1
- package/lib/vtx-restaurant-modal/components/QdBasic/Rules.js +0 -44
- package/lib/vtx-restaurant-modal/components/QdBasic/Rules.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_vmCard","_interopRequireDefault","_antd","_index","_vmFilter","_moment","_zh_CN","_icons","_useSettings2","_api","_groupBy","_lodash","_ahooks","e","__esModule","_getRequireWildcardCache","WeakMap","r","t","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_slicedToArray","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","TypeError","_arrayLikeToArray","toString","slice","constructor","name","Array","from","test","length","l","Symbol","iterator","f","o","next","done","push","value","isArray","CalendarContent","_ref","isCollect","date","collectList","_useSettings","useSettings","isDark","isAfter","moment","_useState","useState","_useState2","currentIndex","setCurrentIndex","collectItem","infoList","label","trashNum","netWeight","weighTime","format","carCode","iconStyle","cursor","color","fontSize","React","createElement","Fragment","className","Badge","LeftOutlined","style","onClick","RightOutlined","isEmpty","map","item","key","CollectCalendar","_useContext","useContext","RestaurantContext","info","syPointName","syPointId","id","_useState3","_useState4","setDate","calendarList","BasicService","getSyPointMonthDetail","detailList","startTime","startOf","endTime","endOf","groupByDate","groupBy","dateCellRender","useMemoizedFn","_date","dateStr","includes","isSame","VmCard","title","Space","rightContent","VMDatePicker","picker","onChange","Calendar","locale","headerRender","disabledDate","_default","exports"],"sources":["vtx-restaurant-modal/components/Calendar/index.js"],"sourcesContent":["import React, { useContext, useState } from \"react\";\nimport VmCard from '../../../vm-card';\nimport { Badge, Space } from \"antd\";\nimport { RestaurantContext } from \"../../index\";\nimport { VMDatePicker } from \"../../../vm-filter\";\nimport moment from \"moment\";\nimport { Calendar } from 'antd';\nimport 'moment/locale/zh-cn';\nimport locale from 'antd/lib/calendar/locale/zh_CN.js';\nimport './index.less';\nimport { LeftOutlined, RightOutlined } from \"@ant-design/icons\";\nimport useSettings from \"../../../vm-hooks/useSettings\";\nimport { BasicService } from \"../../api\";\nimport groupBy from \"lodash/groupBy\";\nimport { isEmpty } from \"lodash\";\nimport { useMemoizedFn } from \"ahooks\";\nconst CalendarContent = ({ isCollect, date, collectList }) => {\n const { isDark } = useSettings();\n const isAfter = moment().isAfter(date);\n const [currentIndex, setCurrentIndex] = useState(0);\n const collectItem = collectList[currentIndex];\n const infoList = [{\n label: '桶数',\n value: (collectItem === null || collectItem === void 0 ? void 0 : collectItem.trashNum) || '--'\n }, {\n label: '垃圾净重(kg)',\n value: (collectItem === null || collectItem === void 0 ? void 0 : collectItem.netWeight) || '--'\n }, {\n label: '时间',\n value: (collectItem === null || collectItem === void 0 ? void 0 : collectItem.weighTime) ? moment(collectItem.weighTime).format('HH:mm:ss') : '--' || '--'\n }, {\n label: '收运车辆',\n value: (collectItem === null || collectItem === void 0 ? void 0 : collectItem.carCode) || '--'\n }];\n const iconStyle = {\n cursor: 'pointer',\n color: isDark ? '#fff' : '#bfbfbf',\n fontSize: 14,\n };\n return React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: 'cc_restaurant_calendar' },\n React.createElement(\"div\", { className: 'cc_restaurant_calendar-dot' },\n React.createElement(Badge, { color: isCollect ? '#1677FF' : '#BFBFBF' })),\n isAfter && collectList.length > 1 ? React.createElement(\"div\", { className: 'cc_restaurant_calendar-index-wrap' },\n React.createElement(LeftOutlined, { style: iconStyle, onClick: () => {\n if (currentIndex !== 0) {\n setCurrentIndex(currentIndex - 1);\n }\n } }),\n React.createElement(\"span\", null,\n currentIndex + 1,\n \"/\",\n collectList.length),\n React.createElement(RightOutlined, { style: iconStyle, onClick: () => {\n if (currentIndex !== collectList.length - 1) {\n setCurrentIndex(currentIndex + 1);\n }\n } })) : null,\n !isEmpty(collectList) ?\n React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: 'cc_restaurant_calendar-status-wrap' },\n React.createElement(Badge, { color: '#52C41A' }),\n React.createElement(\"span\", null, \"\\u5DF2\\u6536\\u96C6\")),\n React.createElement(\"div\", { className: 'cc_restaurant_calendar-content-wrap' }, infoList.map(item => React.createElement(\"div\", { key: item.label, className: 'cc_restaurant_calendar-content-item' },\n React.createElement(\"div\", { className: 'cc_restaurant_calendar-label' }, item.label),\n React.createElement(\"div\", null, item.value)))),\n \":\") : null,\n isEmpty(collectList) && isAfter && isCollect ?\n React.createElement(\"div\", { className: 'cc_restaurant_calendar-status-wrap cc_restaurant_calendar-status-wrap-error' },\n React.createElement(Badge, { color: '#F5222D' }),\n React.createElement(\"span\", null, \"\\u672A\\u6536\\u96C6\")) : null));\n};\nconst CollectCalendar = () => {\n const { info } = useContext(RestaurantContext);\n const { syPointName, syPointId, id } = info;\n const [date, setDate] = useState(moment());\n const calendarList = BasicService.getSyPointMonthDetail(syPointId, moment(date).format('YYYY-MM-DD'), moment(date).format('YYYY-MM'));\n const collectList = BasicService.detailList({\n id,\n startTime: moment(date)\n .startOf('month').format('YYYY-MM-DD 00:00:00'),\n endTime: moment(date)\n .endOf('month').format('YYYY-MM-DD 23:59:59')\n });\n const groupByDate = groupBy(collectList, (item) => moment(item.weighTime).format('YYYY-MM-DD'));\n const dateCellRender = useMemoizedFn(_date => {\n const dateStr = moment(_date).format('YYYY-MM-DD');\n const isCollect = calendarList.includes(dateStr);\n return moment(_date).isSame(date, 'month') &&\n React.createElement(CalendarContent, { isCollect: isCollect, date: dateStr, collectList: groupByDate[dateStr] || [] });\n });\n return (React.createElement(\"div\", { className: 'cc_restaurant_calendar_wrap' },\n React.createElement(VmCard, { title: React.createElement(\"div\", { className: 'cc_restaurant_calendar_title_wrap' },\n React.createElement(\"span\", null, syPointName),\n React.createElement(Space, null,\n React.createElement(Badge, { color: '#1677FF' }),\n React.createElement(\"span\", { className: 'cc_restaurant_calendar_title_wrap-text' }, \"\\u6536\\u96C6\\u65E5\")),\n React.createElement(Space, null,\n React.createElement(Badge, { color: '#BFBFBF' }),\n React.createElement(\"span\", { className: 'cc_restaurant_calendar_title_wrap-text' }, \"\\u4E0D\\u6536\\u96C6\\u65E5\"))), rightContent: React.createElement(VMDatePicker, { picker: \"month\", value: date, onChange: (date) => setDate(date) }) },\n React.createElement(Calendar, { locale: locale, headerRender: () => null, disabledDate: () => true, dateCellRender: dateCellRender, value: date }))));\n};\nexport default CollectCalendar;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,KAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,SAAA,GAAAL,OAAA;AACA,IAAAM,OAAA,GAAAJ,sBAAA,CAAAF,OAAA;AAEAA,OAAA;AACA,IAAAO,MAAA,GAAAL,sBAAA,CAAAF,OAAA;AACAA,OAAA;AACA,IAAAQ,MAAA,GAAAR,OAAA;AACA,IAAAS,aAAA,GAAAP,sBAAA,CAAAF,OAAA;AACA,IAAAU,IAAA,GAAAV,OAAA;AACA,IAAAW,QAAA,GAAAT,sBAAA,CAAAF,OAAA;AACA,IAAAY,OAAA,GAAAZ,OAAA;AACA,IAAAa,OAAA,GAAAb,OAAA;AAAuC,SAAAE,uBAAAY,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,gBAAAA,CAAA;AAAA,SAAAE,yBAAAF,CAAA,6BAAAG,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAD,wBAAA,YAAAA,yBAAAF,CAAA,WAAAA,CAAA,GAAAK,CAAA,GAAAD,CAAA,KAAAJ,CAAA;AAAA,SAAAf,wBAAAe,CAAA,EAAAI,CAAA,SAAAA,CAAA,IAAAJ,CAAA,IAAAA,CAAA,CAAAC,UAAA,SAAAD,CAAA,eAAAA,CAAA,gBAAAM,OAAA,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AAE,IAAI,eAC3B1C,iBAAK,CAACC,aAAa,CAACG,WAAK,EAAE;MAAEN,KAAK,EAAE;IAAU,CAAC,CAAC,eAChDE,iBAAK,CAACC,aAAa,CAAC,MAAM,EAAE;MAAEE,SAAS,EAAE;IAAyC,CAAC,EAAE,0BAA0B,CAAC,CAAC,CAAC;IAAEwC,YAAY,eAAE3C,iBAAK,CAACC,aAAa,CAAC2C,sBAAY,EAAE;MAAEC,MAAM,EAAE,OAAO;MAAE1E,KAAK,EAAEK,IAAI;MAAEsE,QAAQ,EAAE,SAAVA,QAAQA,CAAGtE,IAAI;QAAA,OAAK+C,OAAO,CAAC/C,IAAI,CAAC;MAAA;IAAC,CAAC;EAAE,CAAC,eAClPwB,iBAAK,CAACC,aAAa,CAAC8C,cAAQ,EAAE;IAAEC,MAAM,EAAEA,iBAAM;IAAEC,YAAY,EAAE,SAAdA,YAAYA,CAAA;MAAA,OAAQ,IAAI;IAAA;IAAEC,YAAY,EAAE,SAAdA,YAAYA,CAAA;MAAA,OAAQ,IAAI;IAAA;IAAEhB,cAAc,EAAEA,cAAc;IAAE/D,KAAK,EAAEK;EAAK,CAAC,CAAC,CAAC,CAAC;AAChK,CAAC;AAAC,IAAA2E,QAAA,GAAAC,OAAA,cACavC,eAAe","ignoreList":[]}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
.cc_restaurant_calendar_wrap {
|
|
2
|
+
padding: 0 10px 10px;
|
|
3
|
+
.ant-picker-calendar-date-today, .ant-picker-cell-selected .ant-picker-calendar-date {
|
|
4
|
+
background: transparent !important;
|
|
5
|
+
}
|
|
6
|
+
.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date {
|
|
7
|
+
padding: 4px 8px !important;
|
|
8
|
+
}
|
|
9
|
+
.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-content {
|
|
10
|
+
height: 152px !important;
|
|
11
|
+
}
|
|
12
|
+
.ant-picker-calendar .ant-picker-panel .ant-picker-cell:hover .ant-picker-calendar-date, .ant-picker-calendar-full .ant-picker-panel .ant-picker-cell:hover .ant-picker-calendar-date {
|
|
13
|
+
background: transparent !important;
|
|
14
|
+
}
|
|
15
|
+
.cc_restaurant_calendar_title_wrap {
|
|
16
|
+
display: flex;
|
|
17
|
+
justify-content: space-between;
|
|
18
|
+
align-items: center;
|
|
19
|
+
gap: 24px;
|
|
20
|
+
&-text {
|
|
21
|
+
font-weight: 400;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.cc_restaurant_calendar {
|
|
27
|
+
display: flex;
|
|
28
|
+
flex-direction: column;
|
|
29
|
+
gap: 8px;
|
|
30
|
+
&-status-wrap {
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
height: 28px;
|
|
35
|
+
border-radius: 4px;
|
|
36
|
+
background: rgba(82,196,26,0.1);
|
|
37
|
+
font-size: 14px;
|
|
38
|
+
color: #52C41A;
|
|
39
|
+
gap: 8px;
|
|
40
|
+
&-error {
|
|
41
|
+
background: rgba(245,34,45,0.1);
|
|
42
|
+
color: #F5222D;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
&-content-wrap {
|
|
46
|
+
display: flex;
|
|
47
|
+
flex-direction: column;
|
|
48
|
+
gap: 12px;
|
|
49
|
+
padding: 12px 8px;
|
|
50
|
+
background: var(--calendar-content-sigle-bg);
|
|
51
|
+
border-radius: 4px;
|
|
52
|
+
}
|
|
53
|
+
&-content-item {
|
|
54
|
+
font-size: 14px;
|
|
55
|
+
height: 14px;
|
|
56
|
+
line-height: 14px;
|
|
57
|
+
color: var(--label-color);
|
|
58
|
+
display: flex;
|
|
59
|
+
align-items: center;
|
|
60
|
+
justify-content: space-between;
|
|
61
|
+
}
|
|
62
|
+
&-label {
|
|
63
|
+
color: var(--base-label-color);
|
|
64
|
+
}
|
|
65
|
+
&-dot {
|
|
66
|
+
position: absolute;
|
|
67
|
+
right: 32px;
|
|
68
|
+
top: 4px;
|
|
69
|
+
}
|
|
70
|
+
&-index-wrap {
|
|
71
|
+
display: flex;
|
|
72
|
+
align-items: center;
|
|
73
|
+
gap: 4px;
|
|
74
|
+
position: absolute;
|
|
75
|
+
left: 8px;
|
|
76
|
+
top: 4px;
|
|
77
|
+
color: var(--label-color);
|
|
78
|
+
pointer-events: auto;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
@@ -12,7 +12,8 @@ var _echartsForReact = _interopRequireDefault(require("echarts-for-react"));
|
|
|
12
12
|
var _useSettings2 = _interopRequireDefault(require("../../../vm-hooks/useSettings"));
|
|
13
13
|
var _moment = _interopRequireDefault(require("moment"));
|
|
14
14
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
15
|
-
function
|
|
15
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
16
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
16
17
|
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
17
18
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
18
19
|
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
@@ -29,10 +30,13 @@ var Charts = function Charts(_ref) {
|
|
|
29
30
|
chartFontColor = _useSettings.chartFontColor,
|
|
30
31
|
theme = _useSettings.theme;
|
|
31
32
|
var day = (0, _moment["default"])(times[1]).diff(times[0], 'day');
|
|
32
|
-
var dayList =
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
var dayList = (0, _react.useMemo)(function () {
|
|
34
|
+
var dayList = [];
|
|
35
|
+
for (var index = 0; index <= day; index++) {
|
|
36
|
+
dayList.push((0, _moment["default"])(times[0]).add(index, 'day').format('MM-DD'));
|
|
37
|
+
}
|
|
38
|
+
return dayList;
|
|
39
|
+
}, [day]);
|
|
36
40
|
var rows = _api.BasicService.detailList({
|
|
37
41
|
id: id,
|
|
38
42
|
startTime: times[0].format('YYYY-MM-DD 00:00:00'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Charts.js","names":["_react","_interopRequireWildcard","require","_index","_api","_echartsForReact","_interopRequireDefault","_useSettings2","_moment","e","__esModule","t","WeakMap","r","n","o","i","f","__proto__","_typeof","has","get","set","_t","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_toConsumableArray","_arrayWithoutHoles","_iterableToArray","_unsupportedIterableToArray","_nonIterableSpread","TypeError","a","_arrayLikeToArray","toString","slice","constructor","name","Array","from","test","Symbol","iterator","isArray","length","Charts","_ref","times","_useContext","useContext","RestaurantContext","id","garbageType","_useSettings","useSettings","chartColor","chartFontColor","theme","day","moment","diff","dayList","index","push","add","format","rows","BasicService","detailList","startTime","endTime","periodList","getPeriodList","restaurantId","startDay","endDay","today","lineOption","color","tooltip","trigger","formatter","val","value","legend","top","textStyle","grid","left","bottom","right","containLabel","xAxis","boundaryGap","axisTick","show","axisLine","axisLabel","data","yAxis","min","Date","startOf","valueOf","max","endOf","type","nameTextStyle","splitLine","lineStyle","series","map","item","weighTime","concat","netWeight","symbolSize","markArea","React","createElement","style","height","ReactEcharts","option","notMerge","lazyUpdate","width","_default","exports"],"sources":["vtx-restaurant-modal/components/Collection/Charts.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport { RestaurantContext } from '../../index';\nimport { BasicService } from '../../api';\nimport ReactEcharts from 'echarts-for-react';\nimport useSettings from '../../../vm-hooks/useSettings';\nimport moment from 'moment';\nconst Charts = ({ times }) => {\n const { id, garbageType } = useContext(RestaurantContext);\n const { chartColor, chartFontColor, theme } = useSettings();\n const day = moment(times[1]).diff(times[0], 'day');\n const dayList = [];\n for (let index = 0; index <= day; index++) {\n dayList.push(moment(times[0])\n .add(index, 'day')\n .format('MM-DD'));\n }\n const rows = BasicService.detailList({\n id,\n startTime: times[0].format('YYYY-MM-DD 00:00:00'),\n endTime: times[1].format('YYYY-MM-DD 23:59:59'),\n garbageType,\n });\n const periodList = BasicService.getPeriodList({\n restaurantId: id,\n startDay: times[0].format('YYYY-MM-DD'),\n endDay: times[1].format('YYYY-MM-DD'),\n });\n const today = moment().format('YYYY-MM-DD');\n const lineOption = {\n color: chartColor,\n tooltip: {\n trigger: 'item',\n formatter: function (val) {\n return val.value[3] + ': ' + val.value[2] + 'kg';\n },\n },\n legend: {\n top: '5%',\n textStyle: {\n color: theme === 'blue' ? '#fff' : chartFontColor,\n },\n },\n grid: {\n // top: 58,\n left: 24,\n bottom: 12,\n right: 40,\n containLabel: true,\n },\n xAxis: {\n name: '日期',\n boundaryGap: false,\n axisTick: {\n show: false,\n },\n axisLine: {\n show: true,\n },\n axisLabel: {\n color: theme === 'blue' ? '#fff' : chartFontColor,\n formatter: (val) => {\n return moment(val).format('MM-DD');\n },\n },\n data: dayList,\n },\n yAxis: [\n {\n name: '时间',\n min: new Date(moment()\n .startOf('date')\n .valueOf()),\n max: new Date(moment()\n .endOf('date')\n .valueOf()),\n type: 'time',\n nameTextStyle: {\n color: theme === 'blue' ? '#fff' : chartFontColor,\n },\n axisTick: {\n show: false,\n },\n axisLabel: {\n color: theme === 'blue' ? '#fff' : chartFontColor,\n formatter: (val) => {\n return moment(val).format('HH:mm');\n },\n },\n axisLine: {\n show: true,\n },\n splitLine: {\n lineStyle: {\n type: 'dashed',\n color: 'rgba(151,151,151,0.28)',\n },\n },\n },\n ],\n series: [\n {\n type: 'scatter',\n data: rows === null || rows === void 0 ? void 0 : rows.map((item) => [\n moment(item.weighTime).format('MM-DD'),\n moment(item.weighTime).format(`${today} HH:mm:ss`),\n item.netWeight,\n item.weighTime,\n ]),\n symbolSize: 20,\n },\n ...periodList.map((item) => ({\n name: item.name,\n data: [],\n markArea: {\n data: [\n [\n {\n yAxis: moment(item.startTime, 'HH:mm:ss').format(`${today} HH:mm:ss`),\n },\n { yAxis: moment(item.endTime, 'HH:mm:ss').format(`${today} HH:mm:ss`) },\n ],\n ],\n tooltip: {\n show: true,\n formatter: function () {\n return item.name;\n },\n },\n },\n type: 'bar',\n tooltip: {\n show: false,\n },\n })),\n ],\n };\n return (React.createElement(\"div\", { style: { height: 400 } },\n React.createElement(ReactEcharts, { option: lineOption, notMerge: true, lazyUpdate: true, style: { height: '100%', width: '100%' } })));\n};\nexport default Charts;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,IAAA,GAAAF,OAAA;AACA,IAAAG,gBAAA,GAAAC,sBAAA,CAAAJ,OAAA;AACA,IAAAK,aAAA,GAAAD,sBAAA,CAAAJ,OAAA;AACA,IAAAM,OAAA,GAAAF,sBAAA,CAAAJ,OAAA;AAA4B,SAAAI,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,gBAAAA,CAAA;AAAA,SAAAR,wBAAAQ,CAAA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,IAAAiD,MAAA,CAAItC,KAAK,cAAW;UACxE,CAAC,EACD;YAAEuB,KAAK,EAAE,IAAAxC,kBAAM,EAACqD,IAAI,CAAC1C,OAAO,EAAE,UAAU,CAAC,CAACL,MAAM,IAAAiD,MAAA,CAAItC,KAAK,cAAW;UAAE,CAAC,CAC1E,CACJ;UACDG,OAAO,EAAE;YACLgB,IAAI,EAAE,IAAI;YACVd,SAAS,EAAE,SAAXA,SAASA,CAAA,EAAc;cACnB,OAAO+B,IAAI,CAAC3E,IAAI;YACpB;UACJ;QACJ,CAAC;QACDqE,IAAI,EAAE,KAAK;QACX3B,OAAO,EAAE;UACLgB,IAAI,EAAE;QACV;MACJ,CAAC;IAAA,CAAC,CAAC;EAEX,CAAC;EACD,oBAAQuB,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,KAAK,EAAE;MAAEC,MAAM,EAAE;IAAI;EAAE,CAAC,eACzDH,iBAAK,CAACC,aAAa,CAACG,2BAAY,EAAE;IAAEC,MAAM,EAAE9C,UAAU;IAAE+C,QAAQ,EAAE,IAAI;IAAEC,UAAU,EAAE,IAAI;IAAEL,KAAK,EAAE;MAAEC,MAAM,EAAE,MAAM;MAAEK,KAAK,EAAE;IAAO;EAAE,CAAC,CAAC,CAAC;AAC9I,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cACanF,MAAM","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"Charts.js","names":["_react","_interopRequireWildcard","require","_index","_api","_echartsForReact","_interopRequireDefault","_useSettings2","_moment","e","__esModule","_getRequireWildcardCache","WeakMap","r","t","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_toConsumableArray","_arrayWithoutHoles","_iterableToArray","_unsupportedIterableToArray","_nonIterableSpread","TypeError","_arrayLikeToArray","toString","slice","constructor","name","Array","from","test","Symbol","iterator","isArray","length","Charts","_ref","times","_useContext","useContext","RestaurantContext","id","garbageType","_useSettings","useSettings","chartColor","chartFontColor","theme","day","moment","diff","dayList","useMemo","index","push","add","format","rows","BasicService","detailList","startTime","endTime","periodList","getPeriodList","restaurantId","startDay","endDay","today","lineOption","color","tooltip","trigger","formatter","val","value","legend","top","textStyle","grid","left","bottom","right","containLabel","xAxis","boundaryGap","axisTick","show","axisLine","axisLabel","data","yAxis","min","Date","startOf","valueOf","max","endOf","type","nameTextStyle","splitLine","lineStyle","series","map","item","weighTime","concat","netWeight","symbolSize","markArea","React","createElement","style","height","ReactEcharts","option","notMerge","lazyUpdate","width","_default","exports"],"sources":["vtx-restaurant-modal/components/Collection/Charts.js"],"sourcesContent":["import React, { useContext, useMemo } from 'react';\nimport { RestaurantContext } from '../../index';\nimport { BasicService } from '../../api';\nimport ReactEcharts from 'echarts-for-react';\nimport useSettings from '../../../vm-hooks/useSettings';\nimport moment from 'moment';\nconst Charts = ({ times }) => {\n const { id, garbageType } = useContext(RestaurantContext);\n const { chartColor, chartFontColor, theme } = useSettings();\n const day = moment(times[1]).diff(times[0], 'day');\n const dayList = useMemo(() => {\n const dayList = [];\n for (let index = 0; index <= day; index++) {\n dayList.push(moment(times[0])\n .add(index, 'day')\n .format('MM-DD'));\n }\n return dayList;\n }, [day]);\n const rows = BasicService.detailList({\n id,\n startTime: times[0].format('YYYY-MM-DD 00:00:00'),\n endTime: times[1].format('YYYY-MM-DD 23:59:59'),\n garbageType,\n });\n const periodList = BasicService.getPeriodList({\n restaurantId: id,\n startDay: times[0].format('YYYY-MM-DD'),\n endDay: times[1].format('YYYY-MM-DD'),\n });\n const today = moment().format('YYYY-MM-DD');\n const lineOption = {\n color: chartColor,\n tooltip: {\n trigger: 'item',\n formatter: function (val) {\n return val.value[3] + ': ' + val.value[2] + 'kg';\n },\n },\n legend: {\n top: '5%',\n textStyle: {\n color: theme === 'blue' ? '#fff' : chartFontColor,\n },\n },\n grid: {\n // top: 58,\n left: 24,\n bottom: 12,\n right: 40,\n containLabel: true,\n },\n xAxis: {\n name: '日期',\n boundaryGap: false,\n axisTick: {\n show: false,\n },\n axisLine: {\n show: true,\n },\n axisLabel: {\n color: theme === 'blue' ? '#fff' : chartFontColor,\n formatter: (val) => {\n return moment(val).format('MM-DD');\n },\n },\n data: dayList,\n },\n yAxis: [\n {\n name: '时间',\n min: new Date(moment()\n .startOf('date')\n .valueOf()),\n max: new Date(moment()\n .endOf('date')\n .valueOf()),\n type: 'time',\n nameTextStyle: {\n color: theme === 'blue' ? '#fff' : chartFontColor,\n },\n axisTick: {\n show: false,\n },\n axisLabel: {\n color: theme === 'blue' ? '#fff' : chartFontColor,\n formatter: (val) => {\n return moment(val).format('HH:mm');\n },\n },\n axisLine: {\n show: true,\n },\n splitLine: {\n lineStyle: {\n type: 'dashed',\n color: 'rgba(151,151,151,0.28)',\n },\n },\n },\n ],\n series: [\n {\n type: 'scatter',\n data: rows === null || rows === void 0 ? void 0 : rows.map((item) => [\n moment(item.weighTime).format('MM-DD'),\n moment(item.weighTime).format(`${today} HH:mm:ss`),\n item.netWeight,\n item.weighTime,\n ]),\n symbolSize: 20,\n },\n ...periodList.map((item) => ({\n name: item.name,\n data: [],\n markArea: {\n data: [\n [\n {\n yAxis: moment(item.startTime, 'HH:mm:ss').format(`${today} HH:mm:ss`),\n },\n { yAxis: moment(item.endTime, 'HH:mm:ss').format(`${today} HH:mm:ss`) },\n ],\n ],\n tooltip: {\n show: true,\n formatter: function () {\n return item.name;\n },\n },\n },\n type: 'bar',\n tooltip: {\n show: false,\n },\n })),\n ],\n };\n return (React.createElement(\"div\", { style: { height: 400 } },\n React.createElement(ReactEcharts, { option: lineOption, notMerge: true, lazyUpdate: true, style: { height: '100%', width: '100%' } })));\n};\nexport default Charts;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,IAAA,GAAAF,OAAA;AACA,IAAAG,gBAAA,GAAAC,sBAAA,CAAAJ,OAAA;AACA,IAAAK,aA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OAAA,cACapF,MAAM","ignoreList":[]}
|
|
@@ -11,7 +11,8 @@ var _DetailList = _interopRequireDefault(require("../Basic/DetailList"));
|
|
|
11
11
|
var _Summary = _interopRequireDefault(require("../Basic/Summary"));
|
|
12
12
|
var _index = require("../../index");
|
|
13
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
14
|
-
function
|
|
14
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
15
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
15
16
|
var List = function List(_ref) {
|
|
16
17
|
var times = _ref.times;
|
|
17
18
|
var _useContext = (0, _react.useContext)(_index.RestaurantContext),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"List.js","names":["_react","_interopRequireWildcard","require","_vmSubTitle","_interopRequireDefault","_DetailList","_Summary","_index","e","__esModule","
|
|
1
|
+
{"version":3,"file":"List.js","names":["_react","_interopRequireWildcard","require","_vmSubTitle","_interopRequireDefault","_DetailList","_Summary","_index","e","__esModule","_getRequireWildcardCache","WeakMap","r","t","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","List","_ref","times","_useContext","useContext","RestaurantContext","prefix","React","createElement","Fragment","className","concat","VmSubTitle","title","Summary","startDay","format","endDay","DetailList","startTime","endTime","_default","exports"],"sources":["vtx-restaurant-modal/components/Collection/List.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport VmSubTitle from '../../../vm-sub-title';\nimport DetailList from '../Basic/DetailList';\nimport Summary from '../Basic/Summary';\nimport { RestaurantContext } from '../../index';\nconst List = ({ times }) => {\n const { prefix } = useContext(RestaurantContext);\n return (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: `${prefix}-collection-summary` },\n React.createElement(VmSubTitle, { title: \"\\u4EA7\\u751F\\u6C47\\u603B\" }),\n React.createElement(Summary, { startDay: times[0].format('YYYY-MM-DD'), endDay: times[1].format('YYYY-MM-DD') })),\n React.createElement(\"div\", { className: `${prefix}-collection-list` },\n React.createElement(VmSubTitle, { title: \"\\u6536\\u8FD0\\u8BB0\\u5F55\\u660E\\u7EC6\" }),\n React.createElement(DetailList, { startTime: times[0].format('YYYY-MM-DD 00:00:00'), endTime: times[1].format('YYYY-MM-DD 23:59:59') }))));\n};\nexport default List;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,WAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,QAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AAAgD,SAAAE,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,gBAAAA,CAAA;AAAA,SAAAE,yBAAAF,CAAA,6BAAAG,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAD,wBAAA,YAAAA,yBAAAF,CAAA,WAAAA,CAAA,GAAAK,CAAA,GAAAD,CAAA,KAAAJ,CAAA;AAAA,SAAAP,wBAAAO,CAAA,EAAAI,CAAA,SAAAA,CAAA,IAAAJ,CAAA,IAAAA,CAAA,CAAAC,UAAA,SAAAD,CAAA,eAAAA,CAAA,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,aAAa,CAACM,mBAAO,EAAE;IAAEC,QAAQ,EAAEb,KAAK,CAAC,CAAC,CAAC,CAACc,MAAM,CAAC,YAAY,CAAC;IAAEC,MAAM,EAAEf,KAAK,CAAC,CAAC,CAAC,CAACc,MAAM,CAAC,YAAY;EAAE,CAAC,CAAC,CAAC,eACrHT,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEE,SAAS,KAAAC,MAAA,CAAKL,MAAM;EAAmB,CAAC,eACjEC,iBAAK,CAACC,aAAa,CAACI,sBAAU,EAAE;IAAEC,KAAK,EAAE;EAAuC,CAAC,CAAC,eAClFN,iBAAK,CAACC,aAAa,CAACU,sBAAU,EAAE;IAAEC,SAAS,EAAEjB,KAAK,CAAC,CAAC,CAAC,CAACc,MAAM,CAAC,qBAAqB,CAAC;IAAEI,OAAO,EAAElB,KAAK,CAAC,CAAC,CAAC,CAACc,MAAM,CAAC,qBAAqB;EAAE,CAAC,CAAC,CAAC,CAAC;AACrJ,CAAC;AAAC,IAAAK,QAAA,GAAAC,OAAA,cACatB,IAAI","ignoreList":[]}
|
|
@@ -24,7 +24,8 @@ var _antd = require("antd");
|
|
|
24
24
|
var _vmCard = _interopRequireDefault(require("../../../vm-card"));
|
|
25
25
|
var _Summary = _interopRequireDefault(require("../Basic/Summary"));
|
|
26
26
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
27
|
-
function
|
|
27
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
28
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
28
29
|
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
29
30
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
30
31
|
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
@@ -51,7 +52,7 @@ var Alarm = function Alarm() {
|
|
|
51
52
|
setTabKey = _useState4[1];
|
|
52
53
|
return /*#__PURE__*/_react["default"].createElement(_antd.Row, {
|
|
53
54
|
style: {
|
|
54
|
-
padding:
|
|
55
|
+
padding: '0 10px 10px'
|
|
55
56
|
},
|
|
56
57
|
gutter: [10, 10]
|
|
57
58
|
}, /*#__PURE__*/_react["default"].createElement(_antd.Col, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_moment","_interopRequireDefault","_vmFilter","_index","_vmSubTabs","_useSettings2","_chart","_chart_active","_chart_active_light","_list","_list_active","_list_active_light","_List","_Charts","_antd","_vmCard","_Summary","e","__esModule","t","WeakMap","r","n","o","i","f","__proto__","_typeof","has","get","set","_t","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_slicedToArray","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","TypeError","a","_arrayLikeToArray","toString","slice","constructor","name","Array","from","test","length","l","Symbol","iterator","u","next","done","push","value","isArray","Alarm","_useSettings","useSettings","isDark","_useContext","useContext","RestaurantContext","showCharts","date","_useState","useState","moment","subtract","_useState2","times","setTimes","onDateChange","_useState3","_useState4","tabKey","setTabKey","React","createElement","Row","style","padding","gutter","Col","span","VmCard","title","concat","Summary","startDay","format","endDay","Fragment","justify","SubTabs","onChange","key","activeKey","src","listActive","listActiveLight","list","chartActive","chartActiveLight","chart","map","ele","SubTabPane","subKey","tab","VMRangePicker","height","List","Charts","_default","exports"],"sources":["vtx-restaurant-modal/components/Collection/index.js"],"sourcesContent":["import React, { useContext, useState } from 'react';\nimport moment from 'moment';\nimport { VMRangePicker } from '../../../vm-filter';\nimport { RestaurantContext } from '../../index';\nimport SubTabs, { SubTabPane } from '../../../vm-sub-tabs';\nimport useSettings from '../../../vm-hooks/useSettings';\nimport './index.less';\nimport chart from '../../../vm-appraisal-info/imgs/chart.png';\nimport chartActive from '../../../vm-appraisal-info/imgs/chart_active.png';\nimport chartActiveLight from '../../../vm-appraisal-info/imgs/chart_active_light.png';\nimport list from '../../../vm-appraisal-info/imgs/list.png';\nimport listActive from '../../../vm-appraisal-info/imgs/list_active.png';\nimport listActiveLight from '../../../vm-appraisal-info/imgs/list_active_light.png';\nimport List from './List';\nimport Charts from './Charts';\nimport { Col, Row } from 'antd';\nimport VmCard from '../../../vm-card';\nimport Summary from '../Basic/Summary';\nconst Alarm = () => {\n const { isDark } = useSettings();\n const { showCharts, date } = useContext(RestaurantContext);\n // 日期范围(最近30天)\n const [times, setTimes] = useState([moment().subtract(30, 'day'), moment()]);\n const onDateChange = (date) => {\n setTimes(date);\n };\n const [tabKey, setTabKey] = useState('1');\n return (React.createElement(Row, { style: { padding: 12 }, gutter: [10, 10] },\n React.createElement(Col, { span: 24 },\n React.createElement(VmCard, { title: `今日收运汇总(${date})` },\n React.createElement(Summary, { startDay: moment(date).format('YYYY-MM-DD'), endDay: moment(date).format('YYYY-MM-DD') }))),\n React.createElement(Col, { span: 24 },\n React.createElement(VmCard, { title: \"\\u5386\\u53F2\\u6536\\u8FD0\\u6C47\\u603B\" },\n React.createElement(React.Fragment, null,\n React.createElement(Row, { justify: 'space-between' },\n showCharts && (React.createElement(SubTabs, { onChange: (key) => {\n setTabKey(key);\n }, activeKey: tabKey }, [\n {\n name: (React.createElement(\"div\", null,\n React.createElement(\"img\", { src: tabKey === '1'\n ? isDark\n ? listActive\n : listActiveLight\n : list }),\n \"\\u5217\\u8868\")),\n key: '1',\n },\n {\n name: (React.createElement(\"div\", null,\n React.createElement(\"img\", { src: tabKey === '2'\n ? isDark\n ? chartActive\n : chartActiveLight\n : chart }),\n \"\\u56FE\\u8868\")),\n key: '2',\n },\n ].map((ele) => (React.createElement(SubTabPane, { subKey: ele.key, key: ele.key, tab: ele.name }))))),\n React.createElement(VMRangePicker, { value: times, onChange: onDateChange, style: { height: 32 } })),\n tabKey === '1' ? React.createElement(List, { times: times }) : React.createElement(Charts, { times: times }))))));\n};\nexport default Alarm;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,SAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,UAAA,GAAAN,uBAAA,CAAAC,OAAA;AACA,IAAAM,aAAA,GAAAJ,sBAAA,CAAAF,OAAA;AACAA,OAAA;AACA,IAAAO,MAAA,GAAAL,sBAAA,CAAAF,OAAA;AACA,IAAAQ,aAAA,GAAAN,sBAAA,CAAAF,OAAA;AACA,IAAAS,mBAAA,GAAAP,sBAAA,CAAAF,OAAA;AACA,IAAAU,KAAA,GAAAR,sBAAA,CAAAF,OAAA;AACA,IAAAW,YAAA,GAAAT,sBAAA,CAAAF,OAAA;AACA,IAAAY,kBAAA,GAAAV,sBAAA,CAAAF,OAAA;AACA,IAAAa,KAAA,GAAAX,sBAAA,CAAAF,OAAA;AACA,IAAAc,OAAA,GAAA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IAAA4C,QAAA,GAAAC,OAAA,cACa3D,KAAK","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_moment","_interopRequireDefault","_vmFilter","_index","_vmSubTabs","_useSettings2","_chart","_chart_active","_chart_active_light","_list","_list_active","_list_active_light","_List","_Charts","_antd","_vmCard","_Summary","e","__esModule","_getRequireWildcardCache","WeakMap","r","t","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_slicedToArray","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","TypeError","_arrayLikeToArray","toString","slice","constructor","name","Array","from","test","length","l","Symbol","iterator","f","o","next","done","push","value","isArray","Alarm","_useSettings","useSettings","isDark","_useContext","useContext","RestaurantContext","showCharts","date","_useState","useState","moment","subtract","_useState2","times","setTimes","onDateChange","_useState3","_useState4","tabKey","setTabKey","React","createElement","Row","style","padding","gutter","Col","span","VmCard","title","concat","Summary","startDay","format","endDay","Fragment","justify","SubTabs","onChange","key","activeKey","src","listActive","listActiveLight","list","chartActive","chartActiveLight","chart","map","ele","SubTabPane","subKey","tab","VMRangePicker","height","List","Charts","_default","exports"],"sources":["vtx-restaurant-modal/components/Collection/index.js"],"sourcesContent":["import React, { useContext, useState } from 'react';\nimport moment from 'moment';\nimport { VMRangePicker } from '../../../vm-filter';\nimport { RestaurantContext } from '../../index';\nimport SubTabs, { SubTabPane } from '../../../vm-sub-tabs';\nimport useSettings from '../../../vm-hooks/useSettings';\nimport './index.less';\nimport chart from '../../../vm-appraisal-info/imgs/chart.png';\nimport chartActive from '../../../vm-appraisal-info/imgs/chart_active.png';\nimport chartActiveLight from '../../../vm-appraisal-info/imgs/chart_active_light.png';\nimport list from '../../../vm-appraisal-info/imgs/list.png';\nimport listActive from '../../../vm-appraisal-info/imgs/list_active.png';\nimport listActiveLight from '../../../vm-appraisal-info/imgs/list_active_light.png';\nimport List from './List';\nimport Charts from './Charts';\nimport { Col, Row } from 'antd';\nimport VmCard from '../../../vm-card';\nimport Summary from '../Basic/Summary';\nconst Alarm = () => {\n const { isDark } = useSettings();\n const { showCharts, date } = useContext(RestaurantContext);\n // 日期范围(最近30天)\n const [times, setTimes] = useState([moment().subtract(30, 'day'), moment()]);\n const onDateChange = (date) => {\n setTimes(date);\n };\n const [tabKey, setTabKey] = useState('1');\n return (React.createElement(Row, { style: { padding: '0 10px 10px' }, gutter: [10, 10] },\n React.createElement(Col, { span: 24 },\n React.createElement(VmCard, { title: `今日收运汇总(${date})` },\n React.createElement(Summary, { startDay: moment(date).format('YYYY-MM-DD'), endDay: moment(date).format('YYYY-MM-DD') }))),\n React.createElement(Col, { span: 24 },\n React.createElement(VmCard, { title: \"\\u5386\\u53F2\\u6536\\u8FD0\\u6C47\\u603B\" },\n React.createElement(React.Fragment, null,\n React.createElement(Row, { justify: 'space-between' },\n showCharts && (React.createElement(SubTabs, { onChange: (key) => {\n setTabKey(key);\n }, activeKey: tabKey }, [\n {\n name: (React.createElement(\"div\", null,\n React.createElement(\"img\", { src: tabKey === '1'\n ? isDark\n ? listActive\n : listActiveLight\n : list }),\n \"\\u5217\\u8868\")),\n key: '1',\n },\n {\n name: (React.createElement(\"div\", null,\n React.createElement(\"img\", { src: tabKey === '2'\n ? isDark\n ? chartActive\n : chartActiveLight\n : chart }),\n \"\\u56FE\\u8868\")),\n key: '2',\n },\n ].map((ele) => (React.createElement(SubTabPane, { subKey: ele.key, key: ele.key, tab: ele.name }))))),\n React.createElement(VMRangePicker, { value: times, onChange: onDateChange, style: { height: 32 } })),\n tabKey === '1' ? React.createElement(List, { times: times }) : React.createElement(Charts, { times: times }))))));\n};\nexport default Alarm;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,SAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AAC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AG;MAAEA,GAAG,EAAEU,GAAG,CAACV,GAAG;MAAEa,GAAG,EAAEH,GAAG,CAACjE;IAAK,CAAC,CAAC;EAAA,CAAC,CAAC,CAAC,CAAC,eACrGoC,iBAAK,CAACC,aAAa,CAACgC,uBAAa,EAAE;IAAExD,KAAK,EAAEgB,KAAK;IAAEyB,QAAQ,EAAEvB,YAAY;IAAEQ,KAAK,EAAE;MAAE+B,MAAM,EAAE;IAAG;EAAE,CAAC,CAAC,CAAC,EACxGpC,MAAM,KAAK,GAAG,gBAAGE,iBAAK,CAACC,aAAa,CAACkC,gBAAI,EAAE;IAAE1C,KAAK,EAAEA;EAAM,CAAC,CAAC,gBAAGO,iBAAK,CAACC,aAAa,CAACmC,kBAAM,EAAE;IAAE3C,KAAK,EAAEA;EAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACpI,CAAC;AAAC,IAAA4C,QAAA,GAAAC,OAAA,cACa3D,KAAK","ignoreList":[]}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
+
var _index = require("../../index");
|
|
10
|
+
var _antd = require("antd");
|
|
11
|
+
var _vmCard = _interopRequireDefault(require("../../../vm-card"));
|
|
12
|
+
var _config = require("../../config");
|
|
13
|
+
var _vmInfoCollection = _interopRequireDefault(require("../../../vm-info-collection"));
|
|
14
|
+
var _api = require("../../api");
|
|
15
|
+
var _groupBy = _interopRequireDefault(require("lodash/groupBy"));
|
|
16
|
+
var _util = require("../../../util");
|
|
17
|
+
var _PointMap = _interopRequireDefault(require("../Basic/PointMap"));
|
|
18
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
19
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
20
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
21
|
+
var QdDetailInfo = function QdDetailInfo() {
|
|
22
|
+
var _useContext = (0, _react.useContext)(_index.RestaurantContext),
|
|
23
|
+
info = _useContext.info;
|
|
24
|
+
var configData = _api.BasicService.getConfigData();
|
|
25
|
+
var baseConfigList = (configData || []).filter(function (item) {
|
|
26
|
+
return item.isVisible;
|
|
27
|
+
});
|
|
28
|
+
var groupByGroupName = (0, _groupBy["default"])(baseConfigList, 'groupName');
|
|
29
|
+
var getDataSource = function getDataSource(config) {
|
|
30
|
+
return config.filter(function (item) {
|
|
31
|
+
return item.dataKey !== 'location';
|
|
32
|
+
}).map(function (item) {
|
|
33
|
+
var formItem = (0, _config.getFormItem)(item, info);
|
|
34
|
+
if (item.dataKey === _config.RestaurantConfigureEnum.DIVISION_NAME) {
|
|
35
|
+
formItem.isAddress = false;
|
|
36
|
+
}
|
|
37
|
+
return Object.assign(Object.assign({
|
|
38
|
+
key: item.dataKey
|
|
39
|
+
}, formItem), formItem.type === 'img' ? {
|
|
40
|
+
render: function render() {
|
|
41
|
+
var photos = JSON.parse(formItem.value || '[]');
|
|
42
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
43
|
+
style: {
|
|
44
|
+
whiteSpace: 'break-spaces'
|
|
45
|
+
}
|
|
46
|
+
}, photos.map(function (item) {
|
|
47
|
+
return /*#__PURE__*/_react["default"].createElement(_antd.Image, {
|
|
48
|
+
width: 80,
|
|
49
|
+
height: 80,
|
|
50
|
+
key: item.id,
|
|
51
|
+
src: "/vortex/rest/cloud/np/file/downloadFileThumbnail?outputQuality=0.5&scale=0.2&id=".concat(item.id, "&token=").concat((0, _util.getUrlPara)('token')),
|
|
52
|
+
preview: {
|
|
53
|
+
src: "/cloudFile/common/downloadFile?id=".concat(item.id, "&token=").concat((0, _util.getUrlPara)('token'))
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
}));
|
|
57
|
+
}
|
|
58
|
+
} : {});
|
|
59
|
+
});
|
|
60
|
+
};
|
|
61
|
+
return /*#__PURE__*/_react["default"].createElement(_antd.Row, {
|
|
62
|
+
gutter: [10, 10],
|
|
63
|
+
style: {
|
|
64
|
+
padding: '0 10px 10px'
|
|
65
|
+
}
|
|
66
|
+
}, Object.keys(groupByGroupName).map(function (name) {
|
|
67
|
+
return /*#__PURE__*/_react["default"].createElement(_antd.Col, {
|
|
68
|
+
span: 24,
|
|
69
|
+
key: name
|
|
70
|
+
}, /*#__PURE__*/_react["default"].createElement(_vmCard["default"], {
|
|
71
|
+
title: name
|
|
72
|
+
}, /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_vmInfoCollection["default"], {
|
|
73
|
+
data: getDataSource(groupByGroupName[name]),
|
|
74
|
+
horizontal: true,
|
|
75
|
+
width: "33%",
|
|
76
|
+
ellipsis: true
|
|
77
|
+
}), groupByGroupName[name].find(function (item) {
|
|
78
|
+
return item.dataKey === 'location';
|
|
79
|
+
}) && /*#__PURE__*/_react["default"].createElement(_PointMap["default"], null))));
|
|
80
|
+
}));
|
|
81
|
+
};
|
|
82
|
+
var _default = exports["default"] = QdDetailInfo;
|
|
83
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_index","_antd","_vmCard","_interopRequireDefault","_config","_vmInfoCollection","_api","_groupBy","_util","_PointMap","e","__esModule","_getRequireWildcardCache","WeakMap","r","t","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","QdDetailInfo","_useContext","useContext","RestaurantContext","info","configData","BasicService","getConfigData","baseConfigList","filter","item","isVisible","groupByGroupName","groupBy","getDataSource","config","dataKey","map","formItem","getFormItem","RestaurantConfigureEnum","DIVISION_NAME","isAddress","assign","key","type","render","photos","JSON","parse","value","React","createElement","style","whiteSpace","Image","width","height","id","src","concat","getUrlPara","preview","Row","gutter","padding","keys","name","Col","span","VmCard","title","Fragment","VmInfoCollection","data","horizontal","ellipsis","find","PointMap","_default","exports"],"sources":["vtx-restaurant-modal/components/DetailInfo/index.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport { RestaurantContext } from '../../index';\nimport { Col, Image, Row } from 'antd';\nimport VmCard from '../../../vm-card';\nimport { getFormItem, RestaurantConfigureEnum } from '../../config';\nimport VmInfoCollection from '../../../vm-info-collection';\nimport { BasicService } from \"../../api\";\nimport groupBy from \"lodash/groupBy\";\nimport { getUrlPara } from \"../../../util\";\nimport PointMap from \"../Basic/PointMap\";\nconst QdDetailInfo = () => {\n const { info } = useContext(RestaurantContext);\n const configData = BasicService.getConfigData();\n const baseConfigList = (configData || []).filter((item) => item.isVisible);\n const groupByGroupName = groupBy(baseConfigList, 'groupName');\n const getDataSource = (config) => {\n return config.filter((item) => item.dataKey !== 'location').map((item) => {\n const formItem = getFormItem(item, info);\n if (item.dataKey === RestaurantConfigureEnum.DIVISION_NAME) {\n formItem.isAddress = false;\n }\n return Object.assign(Object.assign({ key: item.dataKey }, formItem), (formItem.type === 'img' ? {\n render: () => {\n const photos = JSON.parse(formItem.value || '[]');\n return React.createElement(\"div\", { style: { whiteSpace: 'break-spaces' } }, photos.map((item) => (React.createElement(Image, { width: 80, height: 80, key: item.id, src: `/vortex/rest/cloud/np/file/downloadFileThumbnail?outputQuality=0.5&scale=0.2&id=${item.id}&token=${getUrlPara('token')}`, preview: {\n src: `/cloudFile/common/downloadFile?id=${item.id}&token=${getUrlPara('token')}`,\n } }))));\n }\n } : {}));\n });\n };\n return (React.createElement(Row, { gutter: [10, 10], style: { padding: '0 10px 10px' } }, Object.keys(groupByGroupName).map((name) => React.createElement(Col, { span: 24, key: name },\n React.createElement(VmCard, { title: name },\n React.createElement(React.Fragment, null,\n React.createElement(VmInfoCollection, { data: getDataSource(groupByGroupName[name]), horizontal: true, width: \"33%\", ellipsis: true }),\n groupByGroupName[name].find(item => item.dataKey === 'location') && React.createElement(PointMap, null)))))));\n};\nexport default QdDetailInfo;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,KAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAC,sBAAA,CAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;AACA,IAAAM,iBAAA,GAAAF,sBAAA,CAAAJ,OAAA;AACA,IAAAO,IAAA,GAAAP,OAAA;AACA,IAAAQ,QAAA,GAAAJ,sBAAA,CAAAJ,OAAA;AACA,IAAAS,KAAA,GAAAT,OAAA;AACA,IAAAU,SAAA,GAAAN,sBAAA,CAAAJ,OAAA;AAAyC,SAAAI,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,gBAAAA,CAAA;AAAA,SAAAE,yBAAAF,CAAA,6BAAAG,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAD,wBAAA,YAAAA,yBAAAF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ignoreList":[]}
|
|
@@ -11,7 +11,8 @@ var _index = require("../../index");
|
|
|
11
11
|
var _config = require("../../config");
|
|
12
12
|
var _olMap = require("@vtx/ol-map");
|
|
13
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
14
|
-
function
|
|
14
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
15
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
15
16
|
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
16
17
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
17
18
|
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Info.js","names":["_react","_interopRequireWildcard","require","_vmInfoCollection","_interopRequireDefault","_index","_config","_olMap","e","__esModule","
|
|
1
|
+
{"version":3,"file":"Info.js","names":["_react","_interopRequireWildcard","require","_vmInfoCollection","_interopRequireDefault","_index","_config","_olMap","e","__esModule","_getRequireWildcardCache","WeakMap","r","t","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_slicedToArray","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","TypeError","_arrayLikeToArray","toString","slice","constructor","name","Array","from","test","length","l","Symbol","iterator","f","o","next","done","push","value","isArray","Info","_ref","_ref$width","width","_a","_useContext","useContext","RestaurantContext","data","info","_ref2","location","lngLats","split","_ref3","lng","lat","mapPoints","id","geometryInfo","type","concat","coordType","mapRef","useRef","dataSource","QD_BASIC_FIELDS","map","item","assign","key","wasteGrease","mapStyle","style","icon","color","useEffect","current","fitView","React","createElement","Fragment","VmInfoCollection","horizontal","ellipsis","height","OlMap","tk","createdMap","FeatureLayer","_default","exports"],"sources":["vtx-restaurant-modal/components/QdBasic/Info.js"],"sourcesContent":["import React, { useContext, useEffect, useRef } from 'react';\nimport VmInfoCollection from '../../../vm-info-collection';\nimport { RestaurantContext } from '../../index';\nimport { QD_BASIC_FIELDS } from '../../config';\nimport { FeatureLayer, Map as OlMap } from '@vtx/ol-map';\nconst Info = ({ width = '50%' }) => {\n var _a;\n const { info: data } = useContext(RestaurantContext);\n const [lng, lat] = ((_a = data === null || data === void 0 ? void 0 : data.location) === null || _a === void 0 ? void 0 : _a.lngLats) ? data.location.lngLats.split(',') : [];\n const mapPoints = {\n id: data.id,\n geometryInfo: {\n type: 'point',\n lngLats: `${lng},${lat}`,\n coordType: 'wgs84',\n },\n };\n const mapRef = useRef(null);\n const dataSource = QD_BASIC_FIELDS.map(item => {\n return Object.assign(Object.assign({}, item), { value: item.key === 'wasteGrease' ? ((data === null || data === void 0 ? void 0 : data.wasteGrease) ? '是' : '否') : data === null || data === void 0 ? void 0 : data[item.key] });\n });\n const mapStyle = {\n type: 'Marker',\n style: {\n icon: 'CC_CSDW',\n color: '#119FFB',\n },\n };\n useEffect(() => {\n if (lng && lat) {\n mapRef.current.fitView(mapPoints);\n }\n }, [lng, lat]);\n return (React.createElement(React.Fragment, null,\n React.createElement(VmInfoCollection, { data: dataSource, horizontal: true, width: width, ellipsis: true }),\n lng && lat ? (React.createElement(\"div\", { style: { height: 300 } },\n React.createElement(OlMap, { tk: \"1adbb6e47668cb33757cd799548bf1f4\", createdMap: (map) => {\n mapRef.current = map;\n } },\n React.createElement(FeatureLayer, { data: mapPoints, style: mapStyle })))) : null));\n};\nexport default Info;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AAAyD,SAAAE,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,gBAAAA,CAAA;AAAA,SAAAE,yBAAAF,CAAA,6BAAAG,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAD,wBAAA,YAAAA,yBAAAF,CAAA,WAAAA,CAAA,GAAAK,CAAA,GAAAD,CAAA,KAAAJ,CAAA;AAAA,SAAAP,wBAAAO,CAAA,EAAAI,CAAA,SAAAA,CAAA,IAAAJ,CAAA,IAAAA,CAAA,CAAAC,UAAA,SAAAD,CAAA,eAAAA,CAAA,gBAAAM,OAAA,CAAAN,CAAA,0BAAAA,CAAA,sBAAAA,CAAA,QAAAK,CAAA,GAAAH,wBAAA,CAAAE,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAE,GAAA,CAAAP,CAAA,UAAAK,CAAA,CAAAG,GAAA,CAAAR,CAAA,OAAAS,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MA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