@vtx/modals2 2.15.24 → 2.15.26
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 +1 -1
- package/lib/index.js.map +1 -1
- package/lib/style/css.js.map +1 -1
- package/lib/style/index.js.map +1 -1
- package/lib/style/index.less +8 -8
- package/lib/style/themes/dark.less +124 -124
- package/lib/style/themes/index.less +1 -1
- package/lib/util/index.js +15 -12
- package/lib/util/index.js.map +1 -1
- package/lib/vm-alarm-info/Components/AlarmRecord.js +11 -12
- package/lib/vm-alarm-info/Components/AlarmRecord.js.map +1 -1
- package/lib/vm-alarm-info/Components/AlarmStatistics.js +15 -16
- package/lib/vm-alarm-info/Components/AlarmStatistics.js.map +1 -1
- package/lib/vm-alarm-info/Components/AlarmTrend.js +11 -12
- package/lib/vm-alarm-info/Components/AlarmTrend.js.map +1 -1
- package/lib/vm-alarm-info/Components/CurrentAlarm.js +11 -12
- package/lib/vm-alarm-info/Components/CurrentAlarm.js.map +1 -1
- package/lib/vm-alarm-info/Components/CurrentAlarmNew.js +14 -15
- package/lib/vm-alarm-info/Components/CurrentAlarmNew.js.map +1 -1
- package/lib/vm-alarm-info/Components/index.less +43 -43
- package/lib/vm-alarm-info/api.js +2 -1
- package/lib/vm-alarm-info/api.js.map +1 -1
- package/lib/vm-alarm-info/index.js +16 -16
- package/lib/vm-alarm-info/index.js.map +1 -1
- package/lib/vm-alarm-info/style/css.js.map +1 -1
- package/lib/vm-alarm-info/style/index.js.map +1 -1
- package/lib/vm-alarm-info/style/index.less +16 -16
- package/lib/vm-alarm-situation/api.js +3 -2
- package/lib/vm-alarm-situation/api.js.map +1 -1
- package/lib/vm-alarm-situation/index.js +21 -21
- 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 +3 -1
- package/lib/vm-alarm-situation-pt/api.js.map +1 -1
- package/lib/vm-alarm-situation-pt/index.js +14 -13
- 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 +3 -2
- package/lib/vm-analysis-comparison/api.js.map +1 -1
- package/lib/vm-analysis-comparison/index.js +17 -17
- package/lib/vm-analysis-comparison/index.js.map +1 -1
- package/lib/vm-analysis-comparison/style/css.js.map +1 -1
- package/lib/vm-analysis-comparison/style/index.js.map +1 -1
- package/lib/vm-analysis-comparison/style/index.less +12 -12
- package/lib/vm-appraisal-info/AppraisalBase.js +3 -2
- package/lib/vm-appraisal-info/AppraisalBase.js.map +1 -1
- package/lib/vm-appraisal-info/AppraisalTop5.js +5 -4
- package/lib/vm-appraisal-info/AppraisalTop5.js.map +1 -1
- package/lib/vm-appraisal-info/List.js +8 -9
- package/lib/vm-appraisal-info/List.js.map +1 -1
- package/lib/vm-appraisal-info/ListKh.js +13 -14
- package/lib/vm-appraisal-info/ListKh.js.map +1 -1
- package/lib/vm-appraisal-info/ListZg.js +13 -14
- package/lib/vm-appraisal-info/ListZg.js.map +1 -1
- package/lib/vm-appraisal-info/Wtlx.js +6 -5
- package/lib/vm-appraisal-info/Wtlx.js.map +1 -1
- package/lib/vm-appraisal-info/Zgxxhz.js +3 -2
- package/lib/vm-appraisal-info/Zgxxhz.js.map +1 -1
- package/lib/vm-appraisal-info/api.js +2 -1
- package/lib/vm-appraisal-info/api.js.map +1 -1
- package/lib/vm-appraisal-info/index.js +18 -19
- 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 +136 -136
- package/lib/vm-base-list/OpenArrow.js +6 -5
- package/lib/vm-base-list/OpenArrow.js.map +1 -1
- package/lib/vm-base-list/index.js +16 -15
- 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 +3 -2
- 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-card/index.js +5 -4
- package/lib/vm-card/index.js.map +1 -1
- package/lib/vm-card/style/css.js.map +1 -1
- package/lib/vm-card/style/index.js.map +1 -1
- package/lib/vm-charts/Distribute1.js +8 -7
- package/lib/vm-charts/Distribute1.js.map +1 -1
- package/lib/vm-charts/Gauge1.js +3 -2
- package/lib/vm-charts/Gauge1.js.map +1 -1
- package/lib/vm-charts/Line.js +14 -12
- package/lib/vm-charts/Line.js.map +1 -1
- package/lib/vm-charts/Line1.js +4 -2
- package/lib/vm-charts/Line1.js.map +1 -1
- package/lib/vm-charts/Pie.js +9 -7
- package/lib/vm-charts/Pie.js.map +1 -1
- package/lib/vm-charts/index.js +1 -1
- package/lib/vm-charts/index.js.map +1 -1
- package/lib/vm-charts/index.less +30 -30
- package/lib/vm-checkbox/index.js +5 -3
- 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 +7 -5
- 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 +30 -30
- package/lib/vm-correlation-comparison/api.js +3 -2
- package/lib/vm-correlation-comparison/api.js.map +1 -1
- package/lib/vm-correlation-comparison/index.js +18 -17
- 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-custom/index.js +3 -2
- package/lib/vm-custom/index.js.map +1 -1
- package/lib/vm-custom/style/css.js.map +1 -1
- package/lib/vm-custom/style/index.js.map +1 -1
- package/lib/vm-custom/style/index.less +20 -20
- package/lib/vm-empty/index.js +3 -2
- 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 +23 -16
- package/lib/vm-filter/index.js.map +1 -1
- package/lib/vm-filter/style/css.js.map +1 -1
- package/lib/vm-filter/style/index.js.map +1 -1
- package/lib/vm-hooks/useSettings.js +2 -1
- package/lib/vm-hooks/useSettings.js.map +1 -1
- package/lib/vm-iframe-modal/index.js +8 -9
- 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 +9 -9
- package/lib/vm-image-text/index.js +5 -4
- 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 +32 -32
- package/lib/vm-info-collection/index.js +13 -12
- package/lib/vm-info-collection/index.js.map +1 -1
- package/lib/vm-info-collection/style/css.js.map +1 -1
- package/lib/vm-info-collection/style/index.js.map +1 -1
- package/lib/vm-map/index.js +16 -14
- package/lib/vm-map/index.js.map +1 -1
- package/lib/vm-map/mapStyle.js +14 -7
- package/lib/vm-map/mapStyle.js.map +1 -1
- package/lib/vm-map/style/css.js.map +1 -1
- package/lib/vm-map/style/index.js.map +1 -1
- package/lib/vm-map/style/index.less +3 -3
- package/lib/vm-modal-table/index.js +5 -4
- 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 +1 -1
- package/lib/vm-nodata/index.js.map +1 -1
- package/lib/vm-radio/index.js +5 -3
- 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 +3 -2
- package/lib/vm-real-time-monitor/api.js.map +1 -1
- package/lib/vm-real-time-monitor/index.js +16 -17
- 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 +12 -12
- package/lib/vm-repair-maintain/RmInfoSummary.js +7 -6
- package/lib/vm-repair-maintain/RmInfoSummary.js.map +1 -1
- package/lib/vm-repair-maintain/RmMonthTrend.js +3 -2
- package/lib/vm-repair-maintain/RmMonthTrend.js.map +1 -1
- package/lib/vm-repair-maintain/RmRecord.js +6 -8
- package/lib/vm-repair-maintain/RmRecord.js.map +1 -1
- package/lib/vm-repair-maintain/RmType.js +6 -5
- package/lib/vm-repair-maintain/RmType.js.map +1 -1
- package/lib/vm-repair-maintain/api.js +2 -1
- package/lib/vm-repair-maintain/api.js.map +1 -1
- package/lib/vm-repair-maintain/index.js +3 -2
- 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 +115 -115
- package/lib/vm-round-content/index.js +15 -15
- package/lib/vm-round-content/index.js.map +1 -1
- package/lib/vm-round-content/style/css.js.map +1 -1
- package/lib/vm-round-content/style/index.js.map +1 -1
- package/lib/vm-round-content/style/index.less +33 -33
- package/lib/vm-row-col/index.js +5 -3
- package/lib/vm-row-col/index.js.map +1 -1
- package/lib/vm-row-col/style/css.js.map +1 -1
- package/lib/vm-row-col/style/index.js.map +1 -1
- package/lib/vm-select-device/index.js +8 -8
- package/lib/vm-select-device/index.js.map +1 -1
- package/lib/vm-select-device/style/css.js.map +1 -1
- package/lib/vm-select-device/style/index.js.map +1 -1
- package/lib/vm-select-device/style/index.less +16 -16
- package/lib/vm-sub-tabs/index.js +7 -4
- 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 +179 -179
- package/lib/vm-sub-title/index.js +7 -6
- 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 +68 -68
- package/lib/vm-table/index.js +24 -18
- package/lib/vm-table/index.js.map +1 -1
- package/lib/vm-table/style/css.js.map +1 -1
- package/lib/vm-table/style/index.js.map +1 -1
- package/lib/vm-time-line/index.js +3 -3
- package/lib/vm-time-line/index.js.map +1 -1
- package/lib/vm-time-line/style/css.js.map +1 -1
- package/lib/vm-time-line/style/index.js.map +1 -1
- package/lib/vm-video/api.js +2 -1
- package/lib/vm-video/api.js.map +1 -1
- package/lib/vm-video/index.js +6 -5
- package/lib/vm-video/index.js.map +1 -1
- package/lib/vm-video/index.less +36 -36
- package/lib/vtx-base-info/index.js +16 -15
- 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 +66 -66
- package/lib/vtx-base-modal/api.js +12 -6
- package/lib/vtx-base-modal/api.js.map +1 -1
- package/lib/vtx-base-modal/config.js +5 -40
- package/lib/vtx-base-modal/config.js.map +1 -1
- package/lib/vtx-base-modal/index.js +43 -33
- package/lib/vtx-base-modal/index.js.map +1 -1
- package/lib/vtx-base-modal/style/css.js.map +1 -1
- package/lib/vtx-base-modal/style/index.js.map +1 -1
- package/lib/vtx-base-modal/style/index.less +1075 -1075
- package/lib/vtx-car-modal/api.js +174 -138
- package/lib/vtx-car-modal/api.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/Charts.js +9 -6
- package/lib/vtx-car-modal/components/AlarmInfo/Charts.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/List.js +13 -14
- package/lib/vtx-car-modal/components/AlarmInfo/List.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/index.js +20 -21
- package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/index.less +40 -40
- package/lib/vtx-car-modal/components/BaseInfo/Chain.js +3 -2
- package/lib/vtx-car-modal/components/BaseInfo/Chain.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/Charts.js +3 -3
- package/lib/vtx-car-modal/components/BaseInfo/Charts.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js +5 -5
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js +3 -3
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js +6 -4
- package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js +8 -7
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js +15 -13
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js +10 -7
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/index.js +18 -17
- package/lib/vtx-car-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/index.less +290 -290
- package/lib/vtx-car-modal/components/Collection/index.js +14 -15
- package/lib/vtx-car-modal/components/Collection/index.js.map +1 -1
- package/lib/vtx-car-modal/components/Collection/index.less +18 -18
- package/lib/vtx-car-modal/components/DetailInfo/index.js +6 -5
- package/lib/vtx-car-modal/components/DetailInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/DetailInfo/index.less +21 -21
- package/lib/vtx-car-modal/components/Maintenance/index.js +7 -6
- package/lib/vtx-car-modal/components/Maintenance/index.js.map +1 -1
- package/lib/vtx-car-modal/components/Maintenance/index.less +35 -35
- package/lib/vtx-car-modal/components/OilConsumption/List.js +8 -9
- package/lib/vtx-car-modal/components/OilConsumption/List.js.map +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js +5 -4
- package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js.map +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/index.js +8 -9
- package/lib/vtx-car-modal/components/OilConsumption/index.js.map +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/index.less +39 -39
- package/lib/vtx-car-modal/components/QdBaseInfo/Chain.js +3 -2
- package/lib/vtx-car-modal/components/QdBaseInfo/Chain.js.map +1 -1
- package/lib/vtx-car-modal/components/QdBaseInfo/TodayWorkCC.js +1 -1
- package/lib/vtx-car-modal/components/QdBaseInfo/TodayWorkCC.js.map +1 -1
- package/lib/vtx-car-modal/components/QdBaseInfo/ZyfxCC.js +13 -12
- package/lib/vtx-car-modal/components/QdBaseInfo/ZyfxCC.js.map +1 -1
- package/lib/vtx-car-modal/components/QdBaseInfo/index.js +11 -10
- package/lib/vtx-car-modal/components/QdBaseInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/StaticInfo/Charts.js +6 -5
- package/lib/vtx-car-modal/components/StaticInfo/Charts.js.map +1 -1
- package/lib/vtx-car-modal/components/StaticInfo/List.js +3 -2
- package/lib/vtx-car-modal/components/StaticInfo/List.js.map +1 -1
- package/lib/vtx-car-modal/components/StaticInfo/index.js +17 -18
- package/lib/vtx-car-modal/components/StaticInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/StaticInfo/index.less +82 -82
- package/lib/vtx-car-modal/components/WaterConsumption/index.js +8 -9
- package/lib/vtx-car-modal/components/WaterConsumption/index.js.map +1 -1
- package/lib/vtx-car-modal/components/WaterConsumption/index.less +25 -25
- package/lib/vtx-car-modal/components/WorkInfo/Wcl.js +10 -8
- package/lib/vtx-car-modal/components/WorkInfo/Wcl.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js +15 -15
- package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js +11 -11
- package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/Zylc.js +10 -8
- package/lib/vtx-car-modal/components/WorkInfo/Zylc.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/index.js +6 -5
- package/lib/vtx-car-modal/components/WorkInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/index.less +66 -66
- package/lib/vtx-car-modal/components/index.js +1 -1
- package/lib/vtx-car-modal/components/index.js.map +1 -1
- package/lib/vtx-car-modal/index.js +53 -43
- 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 +8 -8
- package/lib/vtx-cc-cp-modal/api.js +60 -50
- package/lib/vtx-cc-cp-modal/api.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +11 -10
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js +7 -5
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js +13 -11
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js +3 -2
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +6 -5
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +6 -5
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +6 -5
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +11 -10
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js +3 -2
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js +11 -10
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js +7 -5
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js +13 -11
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js +3 -2
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/OrderInfo/MonthTrend.js +4 -2
- package/lib/vtx-cc-cp-modal/components/OrderInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/OrderInfo/OrderRecord.js +11 -10
- package/lib/vtx-cc-cp-modal/components/OrderInfo/OrderRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/OrderInfo/Summary.js +10 -8
- package/lib/vtx-cc-cp-modal/components/OrderInfo/Summary.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/OrderInfo/index.js +6 -5
- package/lib/vtx-cc-cp-modal/components/OrderInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/OrderInfo/index.less +108 -108
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +11 -10
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +10 -8
- package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +6 -5
- package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +8 -7
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.less +46 -46
- package/lib/vtx-cc-cp-modal/components/index.js +1 -1
- package/lib/vtx-cc-cp-modal/components/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/index.js +18 -15
- 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-cc-cp-modal/type.js.map +1 -1
- package/lib/vtx-cc-unit-modal/api.js +181 -168
- package/lib/vtx-cc-unit-modal/api.js.map +1 -1
- package/lib/vtx-cc-unit-modal/components/CarList/index.js +8 -7
- package/lib/vtx-cc-unit-modal/components/CarList/index.js.map +1 -1
- package/lib/vtx-cc-unit-modal/components/QdBase/CollectRecord.js +8 -7
- package/lib/vtx-cc-unit-modal/components/QdBase/CollectRecord.js.map +1 -1
- package/lib/vtx-cc-unit-modal/components/QdBase/CollectStatistics.js +3 -2
- package/lib/vtx-cc-unit-modal/components/QdBase/CollectStatistics.js.map +1 -1
- package/lib/vtx-cc-unit-modal/components/QdBase/Factory.js +3 -2
- package/lib/vtx-cc-unit-modal/components/QdBase/Factory.js.map +1 -1
- package/lib/vtx-cc-unit-modal/components/QdBase/index.js +3 -2
- package/lib/vtx-cc-unit-modal/components/QdBase/index.js.map +1 -1
- package/lib/vtx-cc-unit-modal/components/QdCollection/index.js +11 -10
- package/lib/vtx-cc-unit-modal/components/QdCollection/index.js.map +1 -1
- package/lib/vtx-cc-unit-modal/components/QdDetailInfo/index.js +13 -12
- package/lib/vtx-cc-unit-modal/components/QdDetailInfo/index.js.map +1 -1
- package/lib/vtx-cc-unit-modal/components/QdFactory/index.js +11 -10
- package/lib/vtx-cc-unit-modal/components/QdFactory/index.js.map +1 -1
- package/lib/vtx-cc-unit-modal/components/RestaurantList/index.js +11 -10
- package/lib/vtx-cc-unit-modal/components/RestaurantList/index.js.map +1 -1
- package/lib/vtx-cc-unit-modal/index.js +22 -20
- package/lib/vtx-cc-unit-modal/index.js.map +1 -1
- package/lib/vtx-cc-unit-modal/style/css.js.map +1 -1
- package/lib/vtx-cc-unit-modal/style/index.js.map +1 -1
- package/lib/vtx-cc-unit-modal/style/index.less +1 -1
- package/lib/vtx-cp-modal/api.js +8 -4
- package/lib/vtx-cp-modal/api.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +9 -11
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js +4 -2
- package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +18 -18
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/index.js +3 -2
- package/lib/vtx-cp-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/index.less +109 -109
- package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/Rules.js +2 -2
- package/lib/vtx-cp-modal/components/BaseInfo/Rules.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +5 -2
- package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/index.js +3 -2
- package/lib/vtx-cp-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/index.less +156 -156
- package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js +9 -11
- package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js +4 -2
- package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +18 -18
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js +3 -2
- package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/index.less +109 -109
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +10 -8
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/index.js +14 -15
- package/lib/vtx-cp-modal/components/SyInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/index.less +47 -47
- package/lib/vtx-cp-modal/components/index.js +1 -1
- package/lib/vtx-cp-modal/components/index.js.map +1 -1
- package/lib/vtx-cp-modal/index.js +27 -24
- 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 +9 -5
- package/lib/vtx-default-modal/api.js.map +1 -1
- package/lib/vtx-default-modal/components/BaseInfo/index.js +6 -5
- package/lib/vtx-default-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-default-modal/components/BaseInfo/index.less +38 -38
- package/lib/vtx-default-modal/components/index.js +1 -1
- package/lib/vtx-default-modal/components/index.js.map +1 -1
- package/lib/vtx-default-modal/index.js +24 -24
- 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 +274 -260
- package/lib/vtx-device-modal/api.js.map +1 -1
- package/lib/vtx-device-modal/components/BaseInfo/RealTimeList.js +18 -17
- package/lib/vtx-device-modal/components/BaseInfo/RealTimeList.js.map +1 -1
- package/lib/vtx-device-modal/components/BaseInfo/index.js +11 -12
- package/lib/vtx-device-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-device-modal/components/DataAnalysis/Chart.js +31 -30
- package/lib/vtx-device-modal/components/DataAnalysis/Chart.js.map +1 -1
- package/lib/vtx-device-modal/components/DataAnalysis/index.js +21 -20
- package/lib/vtx-device-modal/components/DataAnalysis/index.js.map +1 -1
- package/lib/vtx-device-modal/config.js +6 -3
- package/lib/vtx-device-modal/config.js.map +1 -1
- package/lib/vtx-device-modal/index.js +21 -19
- package/lib/vtx-device-modal/index.js.map +1 -1
- package/lib/vtx-device-modal/style/css.js.map +1 -1
- package/lib/vtx-device-modal/style/index.js.map +1 -1
- package/lib/vtx-device-modal/types.js.map +1 -1
- package/lib/vtx-df-modal/api.js +9 -5
- package/lib/vtx-df-modal/api.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js +6 -5
- package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +9 -9
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +11 -13
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/Situation.js +3 -3
- package/lib/vtx-df-modal/components/BaseInfo/Situation.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/index.js +19 -18
- package/lib/vtx-df-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/index.less +173 -173
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js +9 -8
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +8 -7
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/List.js +8 -9
- package/lib/vtx-df-modal/components/Metering/List.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/index.js +19 -19
- package/lib/vtx-df-modal/components/Metering/index.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/index.less +83 -83
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +11 -13
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js +12 -14
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/index.js +14 -15
- package/lib/vtx-df-modal/components/WorkCondition/index.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/index.less +136 -136
- package/lib/vtx-df-modal/components/index.js +1 -1
- package/lib/vtx-df-modal/components/index.js.map +1 -1
- package/lib/vtx-df-modal/index.js +25 -23
- 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 +37 -31
- package/lib/vtx-facility-modal/api.js.map +1 -1
- package/lib/vtx-facility-modal/components/OverView/Left.js +3 -2
- package/lib/vtx-facility-modal/components/OverView/Left.js.map +1 -1
- package/lib/vtx-facility-modal/components/OverView/index.js +19 -18
- package/lib/vtx-facility-modal/components/OverView/index.js.map +1 -1
- package/lib/vtx-facility-modal/components/OverView/index.less +120 -120
- package/lib/vtx-facility-modal/components/index.js +1 -1
- package/lib/vtx-facility-modal/components/index.js.map +1 -1
- package/lib/vtx-facility-modal/config.js +6 -3
- package/lib/vtx-facility-modal/config.js.map +1 -1
- package/lib/vtx-facility-modal/index.js +5 -4
- 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-facility-modal/types.js.map +1 -1
- package/lib/vtx-housing-estate-modal/api.js +51 -38
- package/lib/vtx-housing-estate-modal/api.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js +16 -13
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js +15 -14
- package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/MY.js +18 -17
- package/lib/vtx-housing-estate-modal/components/Alarm/MY.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js +3 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js +17 -15
- 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 +13 -12
- package/lib/vtx-housing-estate-modal/components/OverView/Hot.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Left.js +3 -2
- package/lib/vtx-housing-estate-modal/components/OverView/Left.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +13 -11
- package/lib/vtx-housing-estate-modal/components/OverView/Manage.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +25 -22
- package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Trend.js +3 -2
- package/lib/vtx-housing-estate-modal/components/OverView/Trend.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/index.js +5 -4
- package/lib/vtx-housing-estate-modal/components/OverView/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/index.less +256 -256
- package/lib/vtx-housing-estate-modal/components/SPJK/index.js +10 -9
- 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 +14 -13
- 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 +6 -5
- package/lib/vtx-housing-estate-modal/components/WGGS/Content.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js +11 -10
- 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 +6 -5
- package/lib/vtx-housing-estate-modal/components/WGXW/Content.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js +14 -13
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGXW/index.less +102 -102
- package/lib/vtx-housing-estate-modal/components/index.js +1 -1
- package/lib/vtx-housing-estate-modal/components/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/config.js +11 -8
- package/lib/vtx-housing-estate-modal/config.js.map +1 -1
- package/lib/vtx-housing-estate-modal/index.js +15 -13
- 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-housing-estate-modal/types.js.map +1 -1
- package/lib/vtx-kh-modal/api.js +2 -1
- package/lib/vtx-kh-modal/api.js.map +1 -1
- package/lib/vtx-kh-modal/components/BaseInfo/index.js +4 -3
- package/lib/vtx-kh-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-kh-modal/components/BaseInfo/index.less +66 -66
- package/lib/vtx-kh-modal/components/index.js +1 -1
- package/lib/vtx-kh-modal/components/index.js.map +1 -1
- package/lib/vtx-kh-modal/index.js +9 -10
- 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 +27 -20
- package/lib/vtx-pump-modal/api.js.map +1 -1
- package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTotal.js +13 -12
- package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTotal.js.map +1 -1
- package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTrend.js +28 -16
- package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTrend.js.map +1 -1
- package/lib/vtx-pump-modal/components/AlarmRecord/index.js +15 -15
- package/lib/vtx-pump-modal/components/AlarmRecord/index.js.map +1 -1
- package/lib/vtx-pump-modal/components/AlarmRecord/index.less +103 -103
- package/lib/vtx-pump-modal/components/Basic/JyqInfo.js +9 -8
- package/lib/vtx-pump-modal/components/Basic/JyqInfo.js.map +1 -1
- package/lib/vtx-pump-modal/components/Basic/PumpInfo.js +11 -10
- package/lib/vtx-pump-modal/components/Basic/PumpInfo.js.map +1 -1
- package/lib/vtx-pump-modal/components/Basic/SxInfo.js +11 -10
- package/lib/vtx-pump-modal/components/Basic/SxInfo.js.map +1 -1
- package/lib/vtx-pump-modal/components/Basic/XqInfo.js +11 -10
- package/lib/vtx-pump-modal/components/Basic/XqInfo.js.map +1 -1
- package/lib/vtx-pump-modal/components/Basic/index.js +19 -17
- package/lib/vtx-pump-modal/components/Basic/index.js.map +1 -1
- package/lib/vtx-pump-modal/components/Basic/index.less +74 -74
- package/lib/vtx-pump-modal/components/Sbxl/SBXLFX.js +12 -12
- package/lib/vtx-pump-modal/components/Sbxl/SBXLFX.js.map +1 -1
- package/lib/vtx-pump-modal/components/Sbxl/SBYXQK.js +12 -12
- package/lib/vtx-pump-modal/components/Sbxl/SBYXQK.js.map +1 -1
- package/lib/vtx-pump-modal/components/Sbxl/index.js +9 -9
- package/lib/vtx-pump-modal/components/Sbxl/index.js.map +1 -1
- package/lib/vtx-pump-modal/components/Sbxl/index.less +90 -90
- package/lib/vtx-pump-modal/components/Sjfx/index.js +32 -29
- package/lib/vtx-pump-modal/components/Sjfx/index.js.map +1 -1
- package/lib/vtx-pump-modal/components/Sjfx/index.less +60 -60
- package/lib/vtx-pump-modal/components/Sxyx/index.js +14 -13
- package/lib/vtx-pump-modal/components/Sxyx/index.js.map +1 -1
- package/lib/vtx-pump-modal/components/Sxyx/index.less +161 -161
- package/lib/vtx-pump-modal/components/index.js +1 -1
- package/lib/vtx-pump-modal/components/index.js.map +1 -1
- package/lib/vtx-pump-modal/config.js +6 -3
- package/lib/vtx-pump-modal/config.js.map +1 -1
- package/lib/vtx-pump-modal/index.js +17 -15
- 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-pump-modal/type.js.map +1 -1
- package/lib/vtx-restaurant-modal/api.js +73 -64
- package/lib/vtx-restaurant-modal/api.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +6 -5
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +6 -5
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +6 -5
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/index.js +11 -10
- package/lib/vtx-restaurant-modal/components/Alarm/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/index.less +35 -35
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +6 -5
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Info.js +6 -5
- package/lib/vtx-restaurant-modal/components/Basic/Info.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Summary.js +5 -4
- package/lib/vtx-restaurant-modal/components/Basic/Summary.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/index.js +6 -5
- package/lib/vtx-restaurant-modal/components/Basic/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Collection/Charts.js +11 -10
- package/lib/vtx-restaurant-modal/components/Collection/Charts.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Collection/List.js +6 -5
- package/lib/vtx-restaurant-modal/components/Collection/List.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Collection/index.js +17 -16
- package/lib/vtx-restaurant-modal/components/Collection/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Collection/index.less +29 -29
- package/lib/vtx-restaurant-modal/components/QdBasic/Info.js +13 -12
- package/lib/vtx-restaurant-modal/components/QdBasic/Info.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/QdBasic/index.js +6 -5
- package/lib/vtx-restaurant-modal/components/QdBasic/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/QdContract/ContactDetail.js +11 -10
- package/lib/vtx-restaurant-modal/components/QdContract/ContactDetail.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/QdContract/index.js +35 -32
- package/lib/vtx-restaurant-modal/components/QdContract/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/QdDetailInfo/index.js +6 -5
- package/lib/vtx-restaurant-modal/components/QdDetailInfo/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/QdSign/index.js +13 -12
- package/lib/vtx-restaurant-modal/components/QdSign/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/index.js +1 -1
- package/lib/vtx-restaurant-modal/components/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/config.js +6 -3
- package/lib/vtx-restaurant-modal/config.js.map +1 -1
- package/lib/vtx-restaurant-modal/index.js +18 -15
- 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-restaurant-modal/type.js.map +1 -1
- package/lib/vtx-road-modal/api.js +7 -4
- package/lib/vtx-road-modal/api.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/Rules.js +2 -2
- package/lib/vtx-road-modal/components/BaseInfo/Rules.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js +2 -2
- package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js +3 -3
- package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/index.js +11 -10
- package/lib/vtx-road-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/index.less +146 -146
- package/lib/vtx-road-modal/components/Statistical/Zylc.js +9 -7
- package/lib/vtx-road-modal/components/Statistical/Zylc.js.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/Zywcl.js +9 -7
- package/lib/vtx-road-modal/components/Statistical/Zywcl.js.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/index.js +8 -9
- package/lib/vtx-road-modal/components/Statistical/index.js.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/index.less +112 -112
- package/lib/vtx-road-modal/components/index.js +1 -1
- package/lib/vtx-road-modal/components/index.js.map +1 -1
- package/lib/vtx-road-modal/index.js +23 -20
- 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 +8 -4
- package/lib/vtx-staff-modal/api.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js +9 -6
- package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js +10 -11
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js +17 -18
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/index.less +23 -23
- package/lib/vtx-staff-modal/components/Attendance/Exeception.js +4 -3
- package/lib/vtx-staff-modal/components/Attendance/Exeception.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/Record.js +6 -8
- package/lib/vtx-staff-modal/components/Attendance/Record.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js +3 -3
- package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/index.js +3 -2
- package/lib/vtx-staff-modal/components/Attendance/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/index.less +22 -22
- package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js +10 -8
- package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js +3 -3
- package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js +4 -3
- package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/index.js +11 -10
- package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/index.less +158 -158
- package/lib/vtx-staff-modal/components/DetailInfo/index.js +18 -17
- package/lib/vtx-staff-modal/components/DetailInfo/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/DetailInfo/index.less +38 -38
- package/lib/vtx-staff-modal/components/Equipment/index.js +3 -2
- package/lib/vtx-staff-modal/components/Equipment/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/Equipment/index.less +28 -28
- package/lib/vtx-staff-modal/components/index.js +1 -1
- package/lib/vtx-staff-modal/components/index.js.map +1 -1
- package/lib/vtx-staff-modal/index.js +16 -14
- 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 +5 -3
- package/lib/vtx-theme-provider/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/api.js +55 -40
- package/lib/vtx-throw-point-modal/api.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js +15 -13
- package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/LDB.js +15 -14
- package/lib/vtx-throw-point-modal/components/Alarm/LDB.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/MY.js +18 -17
- package/lib/vtx-throw-point-modal/components/Alarm/MY.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/Rank.js +3 -2
- package/lib/vtx-throw-point-modal/components/Alarm/Rank.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/index.js +17 -15
- package/lib/vtx-throw-point-modal/components/Alarm/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/index.less +69 -69
- package/lib/vtx-throw-point-modal/components/OverView/Hot.js +13 -12
- package/lib/vtx-throw-point-modal/components/OverView/Hot.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Left.js +6 -5
- package/lib/vtx-throw-point-modal/components/OverView/Left.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Manage.js +13 -11
- package/lib/vtx-throw-point-modal/components/OverView/Manage.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js +24 -22
- package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Trend.js +3 -2
- package/lib/vtx-throw-point-modal/components/OverView/Trend.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/index.js +5 -4
- package/lib/vtx-throw-point-modal/components/OverView/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/index.less +331 -331
- package/lib/vtx-throw-point-modal/components/SBZJ/Content.js +3 -2
- package/lib/vtx-throw-point-modal/components/SBZJ/Content.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/SBZJ/index.js +20 -18
- 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 +14 -13
- 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 +6 -5
- package/lib/vtx-throw-point-modal/components/WGGS/Content.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGGS/index.js +13 -12
- 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 +6 -5
- package/lib/vtx-throw-point-modal/components/WGXW/Content.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGXW/index.js +16 -15
- package/lib/vtx-throw-point-modal/components/WGXW/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGXW/index.less +102 -102
- package/lib/vtx-throw-point-modal/components/index.js +1 -1
- package/lib/vtx-throw-point-modal/components/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/config.js +11 -8
- package/lib/vtx-throw-point-modal/config.js.map +1 -1
- package/lib/vtx-throw-point-modal/index.js +20 -19
- 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-throw-point-modal/types.js.map +1 -1
- package/lib/vtx-wr-modal/api.js +10 -5
- package/lib/vtx-wr-modal/api.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js +9 -11
- package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js +6 -5
- package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js +18 -18
- package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/index.js +3 -2
- package/lib/vtx-wr-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/index.less +106 -106
- package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js +4 -2
- package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js +3 -3
- package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/Situation.js +3 -2
- package/lib/vtx-wr-modal/components/BaseInfo/Situation.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/index.js +11 -10
- package/lib/vtx-wr-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/index.less +142 -142
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Img.js +15 -14
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Img.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Jbxx.js +8 -7
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Jbxx.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Monitor.js +11 -10
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Monitor.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Num.js +3 -2
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Num.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Other.js +3 -2
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Other.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ptss.js +3 -2
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ptss.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ssjk.js +13 -12
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ssjk.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/index.js +14 -16
- 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/BaseInfoNew2/components/Alarm.js +11 -10
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Alarm.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jbxx.js +11 -10
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jbxx.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jcbj.js +8 -7
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jcbj.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Monitor.js +11 -10
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Monitor.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Ptss.js +11 -10
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Ptss.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Sjjg.js +11 -10
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Sjjg.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/index.js +13 -14
- package/lib/vtx-wr-modal/components/BaseInfoNew2/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/index.less +320 -320
- package/lib/vtx-wr-modal/components/Detail/index.js +11 -10
- package/lib/vtx-wr-modal/components/Detail/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js +6 -8
- package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/Radar.js +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/Radar.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/Summary.js +9 -11
- package/lib/vtx-wr-modal/components/Evaluate/Summary.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/index.js +8 -9
- package/lib/vtx-wr-modal/components/Evaluate/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/index.less +124 -124
- package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js +11 -12
- package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js.map +1 -1
- package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js +7 -6
- package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js.map +1 -1
- package/lib/vtx-wr-modal/components/Monitor/index.js +3 -2
- package/lib/vtx-wr-modal/components/Monitor/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/Monitor/index.less +82 -82
- package/lib/vtx-wr-modal/components/Score/index.js +15 -13
- package/lib/vtx-wr-modal/components/Score/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/Score/index.less +134 -134
- package/lib/vtx-wr-modal/components/Ztt/index.js +1 -1
- package/lib/vtx-wr-modal/components/Ztt/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/index.js +1 -1
- package/lib/vtx-wr-modal/components/index.js.map +1 -1
- package/lib/vtx-wr-modal/index.js +30 -29
- 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 +2 -1
- package/lib/vtx-zg-modal/api.js.map +1 -1
- package/lib/vtx-zg-modal/components/BaseInfo/index.js +14 -13
- package/lib/vtx-zg-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-zg-modal/components/BaseInfo/index.less +101 -101
- package/lib/vtx-zg-modal/components/index.js +1 -1
- package/lib/vtx-zg-modal/components/index.js.map +1 -1
- package/lib/vtx-zg-modal/index.js +9 -10
- 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
|
@@ -13,17 +13,17 @@ var _ahooks = require("ahooks");
|
|
|
13
13
|
var _index = require("../../index");
|
|
14
14
|
var _api = require("../../api");
|
|
15
15
|
var _ContactDetail = _interopRequireDefault(require("./ContactDetail"));
|
|
16
|
-
function _getRequireWildcardCache(
|
|
17
|
-
function _interopRequireWildcard(
|
|
18
|
-
function _interopRequireDefault(
|
|
19
|
-
function _typeof(
|
|
20
|
-
function _slicedToArray(
|
|
16
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
17
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
18
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
19
|
+
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); }
|
|
20
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
21
21
|
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."); }
|
|
22
|
-
function _unsupportedIterableToArray(
|
|
23
|
-
function _arrayLikeToArray(
|
|
24
|
-
function _iterableToArrayLimit(
|
|
25
|
-
function _arrayWithHoles(
|
|
26
|
-
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 e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, "catch": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
22
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
23
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
24
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
25
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
26
|
+
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; }
|
|
27
27
|
var QdContract = function QdContract() {
|
|
28
28
|
var _useContext = (0, _react.useContext)(_index.RestaurantContext),
|
|
29
29
|
info = _useContext.info;
|
|
@@ -34,21 +34,23 @@ var QdContract = function QdContract() {
|
|
|
34
34
|
return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
35
35
|
var sort, order, field;
|
|
36
36
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
37
|
-
while (1)
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
37
|
+
while (1) {
|
|
38
|
+
switch (_context.prev = _context.next) {
|
|
39
|
+
case 0:
|
|
40
|
+
if (sorter && sorter.order) {
|
|
41
|
+
order = sorter.order, field = sorter.field;
|
|
42
|
+
sort = "".concat(field, ",").concat(order === 'descend' ? 'DESC' : 'ASC');
|
|
43
|
+
}
|
|
44
|
+
return _context.abrupt("return", (0, _api.getContactList)({
|
|
45
|
+
firstPartyId: info.id,
|
|
46
|
+
page: current - 1,
|
|
47
|
+
size: pageSize,
|
|
48
|
+
sort: sort
|
|
49
|
+
}));
|
|
50
|
+
case 2:
|
|
51
|
+
case "end":
|
|
52
|
+
return _context.stop();
|
|
53
|
+
}
|
|
52
54
|
}
|
|
53
55
|
}, _callee);
|
|
54
56
|
}));
|
|
@@ -81,13 +83,13 @@ var QdContract = function QdContract() {
|
|
|
81
83
|
title: '服务状态',
|
|
82
84
|
dataIndex: 'statusStr',
|
|
83
85
|
render: function render(text, record) {
|
|
84
|
-
return /*#__PURE__*/_react["default"].createElement("span", null, record.status === 'fwz' ?
|
|
86
|
+
return /*#__PURE__*/_react["default"].createElement("span", null, record.status === 'fwz' ? /*#__PURE__*/_react["default"].createElement(_antd.Tag, {
|
|
85
87
|
color: "success"
|
|
86
|
-
}, text)
|
|
88
|
+
}, text) : record.status === 'wkq' ? /*#__PURE__*/_react["default"].createElement(_antd.Tag, {
|
|
87
89
|
color: "processing"
|
|
88
|
-
}, text)
|
|
90
|
+
}, text) : record.status === 'ydq' ? /*#__PURE__*/_react["default"].createElement(_antd.Tag, {
|
|
89
91
|
color: "warning"
|
|
90
|
-
}, text)
|
|
92
|
+
}, text) : '-');
|
|
91
93
|
}
|
|
92
94
|
}, {
|
|
93
95
|
title: '操作',
|
|
@@ -109,14 +111,15 @@ var QdContract = function QdContract() {
|
|
|
109
111
|
}
|
|
110
112
|
}, /*#__PURE__*/_react["default"].createElement(_vmCard["default"], null, /*#__PURE__*/_react["default"].createElement(_vmTable["default"], Object.assign({
|
|
111
113
|
columns: columns
|
|
112
|
-
}, tableProps)))), modalInfo.visible &&
|
|
114
|
+
}, tableProps)))), modalInfo.visible && /*#__PURE__*/_react["default"].createElement(_ContactDetail["default"], {
|
|
113
115
|
onCancel: function onCancel() {
|
|
114
116
|
return setModalInfo({
|
|
115
117
|
visible: false
|
|
116
118
|
});
|
|
117
119
|
},
|
|
118
120
|
id: modalInfo.id
|
|
119
|
-
}))
|
|
121
|
+
}));
|
|
120
122
|
};
|
|
121
|
-
var _default =
|
|
123
|
+
var _default = QdContract;
|
|
124
|
+
exports["default"] = _default;
|
|
122
125
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_tslib","require","_vmTable","_interopRequireDefault","_vmCard","_react","_interopRequireWildcard","_antd","_ahooks","_index","_api","_ContactDetail","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","o","Symbol","iterator","constructor","prototype","_slicedToArray","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","TypeError","_arrayLikeToArray","toString","slice","name","Array","from","test","length","l","f","next","done","push","value","isArray","_regeneratorRuntime","c","asyncIterator","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","type","arg","h","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","d","getPrototypeOf","v","values","g","defineIteratorMethods","forEach","_invoke","AsyncIterator","invoke","resolve","__await","then","callInvokeWithMethodAndArg","Error","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","resultName","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","reset","isNaN","displayName","isGeneratorFunction","mark","setPrototypeOf","awrap","async","Promise","keys","reverse","pop","prev","charAt","stop","rval","handle","complete","finish","_catch","delegateYield","QdContract","_useContext","useContext","RestaurantContext","info","_useAntdTable","useAntdTable","_ref","current","pageSize","sorter","__awaiter","_callee","sort","order","field","_callee$","_context","concat","getContactList","firstPartyId","id","page","size","defaultPageSize","refreshDeps","tableProps","_useSetState","useSetState","visible","_useSetState2","modalInfo","setModalInfo","columns","title","dataIndex","align","render","text","record","React","createElement","status","Tag","color","dadaIndex","_un","onClick","Fragment","style","padding","VmCard","VMTable","assign","ContactDetail","onCancel","_default","exports"],"sources":["vtx-restaurant-modal/components/QdContract/index.js"],"sourcesContent":["import { __awaiter } from \"tslib\";\nimport VMTable from '../../../vm-table';\nimport VmCard from '../../../vm-card';\nimport React, { useContext } from 'react';\nimport { Tag } from 'antd';\nimport { useAntdTable, useSetState } from 'ahooks';\nimport { RestaurantContext } from '../../index';\nimport { getContactList } from '../../api';\nimport ContactDetail from './ContactDetail';\nconst QdContract = () => {\n const { info } = useContext(RestaurantContext);\n const { tableProps } = useAntdTable(({ current, pageSize, sorter }) => __awaiter(void 0, void 0, void 0, function* () {\n let sort;\n if (sorter && sorter.order) {\n const { order, field } = sorter;\n sort = `${field},${order === 'descend' ? 'DESC' : 'ASC'}`;\n }\n return getContactList({\n firstPartyId: info.id,\n page: current - 1,\n size: pageSize,\n sort,\n });\n }), {\n defaultPageSize: 10,\n refreshDeps: [info.id],\n });\n const [modalInfo, setModalInfo] = useSetState({\n visible: false,\n id: '',\n });\n const columns = [\n {\n title: '合同时间',\n dataIndex: 'contractTime',\n },\n {\n title: '签约日期',\n dataIndex: 'signTime',\n },\n {\n title: '签约收运量(公斤/天)',\n dataIndex: 'trafficDay',\n align: 'right',\n },\n {\n title: '签约企业',\n dataIndex: 'secondParty',\n },\n {\n title: '服务状态',\n dataIndex: 'statusStr',\n render(text, record) {\n return (React.createElement(\"span\", null, record.status === 'fwz' ? (React.createElement(Tag, { color: \"success\" }, text)) : record.status === 'wkq' ? (React.createElement(Tag, { color: \"processing\" }, text)) : record.status === 'ydq' ? (React.createElement(Tag, { color: \"warning\" }, text)) : ('-')));\n },\n },\n {\n title: '操作',\n dadaIndex: 'action',\n render(_un, record) {\n return (React.createElement(\"span\", null,\n React.createElement(\"a\", { onClick: () => setModalInfo({\n visible: true,\n id: record.id,\n }) }, \"\\u67E5\\u770B\")));\n },\n },\n ];\n return (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { style: { padding: 10 } },\n React.createElement(VmCard, null,\n React.createElement(VMTable, Object.assign({ columns: columns }, tableProps)))),\n modalInfo.visible && (React.createElement(ContactDetail, { onCancel: () => setModalInfo({ visible: false }), id: modalInfo.id }))));\n};\nexport default QdContract;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,OAAA,GAAAD,sBAA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;IAAER,EAAE,EAAEU,SAAS,CAACV;EAAG,CAAC,CAAC,CAAC,CAAC;AAC1I,CAAC;AAAC,IAAAmC,QAAA,GAAAC,OAAA,cACazD,UAAU","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"index.js","names":["QdContract","useContext","RestaurantContext","info","useAntdTable","current","pageSize","sorter","__awaiter","order","field","sort","getContactList","firstPartyId","id","page","size","defaultPageSize","refreshDeps","tableProps","useSetState","visible","modalInfo","setModalInfo","columns","title","dataIndex","align","render","text","record","React","createElement","status","Tag","color","dadaIndex","_un","onClick","Fragment","style","padding","VmCard","VMTable","Object","assign","ContactDetail","onCancel"],"sources":["vtx-restaurant-modal/components/QdContract/index.js"],"sourcesContent":["import { __awaiter } from \"tslib\";\nimport VMTable from '../../../vm-table';\nimport VmCard from '../../../vm-card';\nimport React, { useContext } from 'react';\nimport { Tag } from 'antd';\nimport { useAntdTable, useSetState } from 'ahooks';\nimport { RestaurantContext } from '../../index';\nimport { getContactList } from '../../api';\nimport ContactDetail from './ContactDetail';\nconst QdContract = () => {\n const { info } = useContext(RestaurantContext);\n const { tableProps } = useAntdTable(({ current, pageSize, sorter }) => __awaiter(void 0, void 0, void 0, function* () {\n let sort;\n if (sorter && sorter.order) {\n const { order, field } = sorter;\n sort = `${field},${order === 'descend' ? 'DESC' : 'ASC'}`;\n }\n return getContactList({\n firstPartyId: info.id,\n page: current - 1,\n size: pageSize,\n sort,\n });\n }), {\n defaultPageSize: 10,\n refreshDeps: [info.id],\n });\n const [modalInfo, setModalInfo] = useSetState({\n visible: false,\n id: '',\n });\n const columns = [\n {\n title: '合同时间',\n dataIndex: 'contractTime',\n },\n {\n title: '签约日期',\n dataIndex: 'signTime',\n },\n {\n title: '签约收运量(公斤/天)',\n dataIndex: 'trafficDay',\n align: 'right',\n },\n {\n title: '签约企业',\n dataIndex: 'secondParty',\n },\n {\n title: '服务状态',\n dataIndex: 'statusStr',\n render(text, record) {\n return (React.createElement(\"span\", null, record.status === 'fwz' ? (React.createElement(Tag, { color: \"success\" }, text)) : record.status === 'wkq' ? (React.createElement(Tag, { color: \"processing\" }, text)) : record.status === 'ydq' ? (React.createElement(Tag, { color: \"warning\" }, text)) : ('-')));\n },\n },\n {\n title: '操作',\n dadaIndex: 'action',\n render(_un, record) {\n return (React.createElement(\"span\", null,\n React.createElement(\"a\", { onClick: () => setModalInfo({\n visible: true,\n id: record.id,\n }) }, \"\\u67E5\\u770B\")));\n },\n },\n ];\n return (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { style: { padding: 10 } },\n React.createElement(VmCard, null,\n React.createElement(VMTable, Object.assign({ columns: columns }, tableProps)))),\n modalInfo.visible && (React.createElement(ContactDetail, { onCancel: () => setModalInfo({ visible: false }), id: modalInfo.id }))));\n};\nexport default QdContract;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAA4C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,+CAP5C;AAQA,IAAMA,UAAU,GAAG,SAAbA,UAAU,GAAS;EACrB,kBAAiB,IAAAC,iBAAU,EAACC,wBAAiB,CAAC;IAAtCC,IAAI,eAAJA,IAAI;EACZ,oBAAuB,IAAAC,oBAAY,EAAC;MAAA,IAAGC,OAAO,QAAPA,OAAO;QAAEC,QAAQ,QAARA,QAAQ;QAAEC,MAAM,QAANA,MAAM;MAAA,OAAO,IAAAC,gBAAS,EAAC,KAAK,CAAC,EAAE,KAAK,CAAC,EAAE,KAAK,CAAC,0CAAE;QAAA;QAAA;UAAA;YAAA;cAAA;gBAErG,IAAID,MAAM,IAAIA,MAAM,CAACE,KAAK,EAAE;kBAChBA,KAAK,GAAYF,MAAM,CAAvBE,KAAK,EAAEC,KAAK,GAAKH,MAAM,CAAhBG,KAAK;kBACpBC,IAAI,aAAMD,KAAK,cAAID,KAAK,KAAK,SAAS,GAAG,MAAM,GAAG,KAAK,CAAE;gBAC7D;gBAAC,iCACM,IAAAG,mBAAc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{ "@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); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -13,9 +13,9 @@ var _Info = _interopRequireDefault(require("../QdBasic/Info"));
|
|
|
13
13
|
var _config = require("../../config");
|
|
14
14
|
var _vmInfoCollection = _interopRequireDefault(require("../../../vm-info-collection"));
|
|
15
15
|
var _qrcode = require("qrcode.react");
|
|
16
|
-
function _interopRequireDefault(
|
|
17
|
-
function _getRequireWildcardCache(
|
|
18
|
-
function _interopRequireWildcard(
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
17
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
18
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
19
19
|
var QdDetailInfo = function QdDetailInfo() {
|
|
20
20
|
var _useContext = (0, _react.useContext)(_index.RestaurantContext),
|
|
21
21
|
info = _useContext.info;
|
|
@@ -51,5 +51,6 @@ var QdDetailInfo = function QdDetailInfo() {
|
|
|
51
51
|
ellipsis: true
|
|
52
52
|
}))));
|
|
53
53
|
};
|
|
54
|
-
var _default =
|
|
54
|
+
var _default = QdDetailInfo;
|
|
55
|
+
exports["default"] = _default;
|
|
55
56
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["
|
|
1
|
+
{"version":3,"file":"index.js","names":["QdDetailInfo","useContext","RestaurantContext","info","dataSource","QD_DETAIL_FIELDS","map","item","Object","assign","value","key","render","React","createElement","QRCodeSVG","id","undefined","Row","gutter","style","padding","Col","span","VmCard","title","Info","width","VmInfoCollection","data","horizontal","ellipsis"],"sources":["vtx-restaurant-modal/components/QdDetailInfo/index.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport { RestaurantContext } from '../../index';\nimport { Col, Row } from 'antd';\nimport VmCard from '../../../vm-card';\nimport Info from '../QdBasic/Info';\nimport { QD_DETAIL_FIELDS } from '../../config';\nimport VmInfoCollection from '../../../vm-info-collection';\nimport { QRCodeSVG } from 'qrcode.react';\nconst QdDetailInfo = () => {\n const { info } = useContext(RestaurantContext);\n const dataSource = QD_DETAIL_FIELDS.map(item => {\n return Object.assign(Object.assign({}, item), { value: info === null || info === void 0 ? void 0 : info[item.key], render: item.key === 'qrcode' ? () => React.createElement(QRCodeSVG, { value: info.id }) : undefined });\n });\n return (React.createElement(Row, { gutter: [10, 10], style: { padding: 10 } },\n React.createElement(Col, { span: 24 },\n React.createElement(VmCard, { title: \"\\u57FA\\u672C\\u4FE1\\u606F\" },\n React.createElement(Info, { width: \"33%\" }))),\n React.createElement(Col, { span: 24 },\n React.createElement(VmCard, { title: \"\\u8BE6\\u60C5\\u4FE1\\u606F\" },\n React.createElement(VmInfoCollection, { data: dataSource, horizontal: true, width: '33%', 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ACjCV,iBAAK,CAACC,aAAa,CAACU,kBAAM,EAAE;IAAEC,KAAK,EAAE;EAA2B,CAAC,eAC7DZ,iBAAK,CAACC,aAAa,CAACc,4BAAgB,EAAE;IAAEC,IAAI,EAAEzB,UAAU;IAAE0B,UAAU,EAAE,IAAI;IAAEH,KAAK,EAAE,KAAK;IAAEI,QAAQ,EAAE;EAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AAC9H,CAAC;AAAC,eACa/B,YAAY;AAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
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); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -10,15 +10,15 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
10
10
|
var _vmInfoCollection = _interopRequireDefault(require("../../../vm-info-collection"));
|
|
11
11
|
var _index = require("../../index");
|
|
12
12
|
var _antd = require("antd");
|
|
13
|
-
function _getRequireWildcardCache(
|
|
14
|
-
function _interopRequireWildcard(
|
|
15
|
-
function _interopRequireDefault(
|
|
16
|
-
function _toConsumableArray(
|
|
13
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
14
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
15
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
16
|
+
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
17
17
|
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
|
-
function _unsupportedIterableToArray(
|
|
19
|
-
function _iterableToArray(
|
|
20
|
-
function _arrayWithoutHoles(
|
|
21
|
-
function _arrayLikeToArray(
|
|
18
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
19
|
+
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
20
|
+
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
21
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
22
22
|
var signColorMap = {
|
|
23
23
|
0: 'blue',
|
|
24
24
|
1: 'green',
|
|
@@ -93,14 +93,15 @@ var QdSign = function QdSign() {
|
|
|
93
93
|
horizontal: true,
|
|
94
94
|
width: '33%',
|
|
95
95
|
ellipsis: true
|
|
96
|
-
}))), wasteGrease &&
|
|
96
|
+
}))), wasteGrease && /*#__PURE__*/_react["default"].createElement(_antd.Col, {
|
|
97
97
|
span: 24
|
|
98
98
|
}, /*#__PURE__*/_react["default"].createElement(_vmCard["default"], null, /*#__PURE__*/_react["default"].createElement(_vmInfoCollection["default"], {
|
|
99
99
|
data: dataSource2,
|
|
100
100
|
horizontal: true,
|
|
101
101
|
width: '33%',
|
|
102
102
|
ellipsis: true
|
|
103
|
-
}))))
|
|
103
|
+
}))));
|
|
104
104
|
};
|
|
105
|
-
var _default =
|
|
105
|
+
var _default = QdSign;
|
|
106
|
+
exports["default"] = _default;
|
|
106
107
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["
|
|
1
|
+
{"version":3,"file":"index.js","names":["signColorMap","QdSign","useContext","RestaurantContext","info","ccSignStatusStr","ccSignStatus","ccSignUnitName","wasteGrease","syPointName","collectStatusStr","fqyzSignStatusStr","fqyzSignUnitName","fqyzSignStatus","dataSource","label","value","key","render","React","createElement","Space","style","height","Badge","color","dataSource2","Row","padding","gutter","Col","span","VmCard","VmInfoCollection","data","horizontal","width","ellipsis"],"sources":["vtx-restaurant-modal/components/QdSign/index.js"],"sourcesContent":["import VmCard from '../../../vm-card';\nimport React, { useContext } from 'react';\nimport VmInfoCollection from '../../../vm-info-collection';\nimport { RestaurantContext } from '../../index';\nimport { Badge, Col, Row, Space } from 'antd';\nconst signColorMap = {\n 0: 'blue',\n 1: 'green',\n 2: 'orange',\n 3: 'gray',\n};\nconst QdSign = () => {\n const { info } = useContext(RestaurantContext);\n const { ccSignStatusStr, ccSignStatus, ccSignUnitName, wasteGrease, syPointName, collectStatusStr, fqyzSignStatusStr, fqyzSignUnitName, fqyzSignStatus, } = info;\n const dataSource = [\n {\n label: '餐厨垃圾签约状态',\n value: ccSignStatusStr,\n key: 'ccSignStatusStr',\n render: () => {\n return (React.createElement(Space, { style: { height: '100%' } },\n React.createElement(Badge, { color: signColorMap[ccSignStatus] }),\n ccSignStatusStr));\n },\n },\n ...(ccSignStatus === 1\n ? [\n {\n label: '收运单位',\n value: ccSignUnitName,\n key: 'ccSignUnitName',\n },\n {\n label: '收集类型',\n value: collectStatusStr,\n key: 'collectStatusStr',\n },\n {\n label: '收集点',\n value: syPointName,\n key: 'syPointName',\n },\n ]\n : []),\n ];\n const dataSource2 = [\n {\n label: '废弃油脂签约状态',\n value: fqyzSignStatusStr,\n key: 'fqyzSignStatusStr',\n render: () => {\n return (React.createElement(Space, { style: { height: '100%' } },\n React.createElement(Badge, { color: signColorMap[fqyzSignStatus] }),\n fqyzSignStatusStr));\n },\n },\n ...(fqyzSignStatus === 1\n ? [\n {\n label: '收运单位',\n value: fqyzSignUnitName,\n key: 'fqyzSignUnitName',\n },\n ]\n : []),\n ];\n return (React.createElement(Row, { style: { padding: 10 }, gutter: [10, 10] },\n React.createElement(Col, { span: 24 },\n React.createElement(VmCard, null,\n React.createElement(VmInfoCollection, { data: dataSource, horizontal: true, width: '33%', ellipsis: true }))),\n wasteGrease && (React.createElement(Col, { span: 24 },\n React.createElement(VmCard, null,\n React.createElement(VmInfoCollection, { data: dataSource2, horizontal: true, width: '33%', ellipsis: true }))))));\n};\nexport default QdSign;\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AAA8C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAC9C,IAAMA,YAAY,GAAG;EACjB,CAAC,EAAE,MAAM;EACT,CAAC,EAAE,OAAO;EACV,CAAC,EAAE,QAAQ;EACX,CAAC,EAAE;AACP,CAAC;AACD,IAAMC,MAAM,GAAG,SAATA,MAAM,GAAS;EACjB,kBAAiB,IA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,CAAC;AAAC,eACapC,MAAM;AAAA"}
|
|
@@ -24,5 +24,5 @@ Object.defineProperty(exports, "Collection", {
|
|
|
24
24
|
var _Basic = _interopRequireDefault(require("./Basic"));
|
|
25
25
|
var _Collection = _interopRequireDefault(require("./Collection"));
|
|
26
26
|
var _Alarm = _interopRequireDefault(require("./Alarm"));
|
|
27
|
-
function _interopRequireDefault(
|
|
27
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
28
28
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["vtx-restaurant-modal/components/index.js"],"sourcesContent":["export { default as Basic } from './Basic';\nexport { default as Collection } from './Collection';\nexport { default as Alarm } from './Alarm';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AAA2C"}
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.QD_DETAIL_FIELDS = exports.QD_BASIC_FIELDS = exports.BASIC_FIELDS = void 0;
|
|
7
7
|
// 基础信息字段
|
|
8
|
-
var BASIC_FIELDS =
|
|
8
|
+
var BASIC_FIELDS = [{
|
|
9
9
|
key: 'code',
|
|
10
10
|
label: '商户编号'
|
|
11
11
|
}, {
|
|
@@ -42,7 +42,8 @@ var BASIC_FIELDS = exports.BASIC_FIELDS = [{
|
|
|
42
42
|
key: 'photoIds',
|
|
43
43
|
label: '图片'
|
|
44
44
|
}];
|
|
45
|
-
|
|
45
|
+
exports.BASIC_FIELDS = BASIC_FIELDS;
|
|
46
|
+
var QD_BASIC_FIELDS = [{
|
|
46
47
|
key: 'code',
|
|
47
48
|
label: '餐厨废弃物产生单位编号'
|
|
48
49
|
}, {
|
|
@@ -65,7 +66,8 @@ var QD_BASIC_FIELDS = exports.QD_BASIC_FIELDS = [{
|
|
|
65
66
|
label: '商户地址',
|
|
66
67
|
isAddress: true
|
|
67
68
|
}];
|
|
68
|
-
|
|
69
|
+
exports.QD_BASIC_FIELDS = QD_BASIC_FIELDS;
|
|
70
|
+
var QD_DETAIL_FIELDS = [{
|
|
69
71
|
key: 'establishedTime',
|
|
70
72
|
label: '产生单位起始经营时间'
|
|
71
73
|
}, {
|
|
@@ -90,4 +92,5 @@ var QD_DETAIL_FIELDS = exports.QD_DETAIL_FIELDS = [{
|
|
|
90
92
|
key: 'qrcode',
|
|
91
93
|
label: '二维码'
|
|
92
94
|
}];
|
|
95
|
+
exports.QD_DETAIL_FIELDS = QD_DETAIL_FIELDS;
|
|
93
96
|
//# sourceMappingURL=config.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","names":["BASIC_FIELDS","
|
|
1
|
+
{"version":3,"file":"config.js","names":["BASIC_FIELDS","key","label","QD_BASIC_FIELDS","isAddress","QD_DETAIL_FIELDS","componentType"],"sources":["vtx-restaurant-modal/config.js"],"sourcesContent":["// 基础信息字段\nexport const BASIC_FIELDS = [\n {\n key: 'code',\n label: '商户编号',\n },\n {\n key: 'divisionName',\n label: '行政区划',\n },\n {\n key: 'address',\n label: '商户地址',\n },\n {\n key: 'classesName',\n label: '商户类型',\n },\n {\n key: 'collectStatusValue',\n label: '收集类型',\n },\n {\n key: 'syPointName',\n label: '收集点',\n },\n {\n key: 'signTransUnitName',\n label: '签约企业',\n },\n {\n key: 'isSignValue',\n label: '签约状态',\n },\n {\n key: 'trashBinNum',\n label: '标签卡个数',\n },\n {\n key: 'trashCanNum',\n label: '垃圾桶个数',\n },\n {\n key: 'suggestCollectTime',\n label: '建议收运时间',\n },\n {\n key: 'photoIds',\n label: '图片',\n },\n];\nexport const QD_BASIC_FIELDS = [\n {\n key: 'code',\n label: '餐厨废弃物产生单位编号',\n },\n {\n key: 'name',\n label: '餐厨废弃物产生名称',\n },\n {\n key: 'contactPerson',\n label: '联系人',\n },\n {\n key: 'contactPhone',\n label: '联系方式',\n },\n {\n key: 'classesName',\n label: '产生单位类型',\n },\n {\n key: 'divisionName',\n label: '行政区划',\n },\n {\n key: 'address',\n label: '商户地址',\n isAddress: true\n },\n];\nexport const QD_DETAIL_FIELDS = [\n {\n key: 'establishedTime',\n label: '产生单位起始经营时间',\n },\n {\n key: 'signedStatusValue',\n label: '产生单位状态',\n },\n {\n key: 'scaleCount',\n label: '企业规模(餐位数量)',\n },\n {\n key: 'paperFileIds',\n label: '食品经营许可证',\n componentType: 'image'\n },\n {\n key: 'photoIds',\n label: '产生单位图片',\n componentType: 'image'\n },\n {\n key: 'trashBinLocationPhoto',\n label: '垃圾桶摆放位置',\n componentType: 'image'\n },\n {\n key: 'qrcode',\n label: '二维码',\n },\n];\n"],"mappings":";;;;;;AAAA;AACO,IAAMA,YAAY,GAAG,CACxB;EACIC,GAAG,EAAE,MAAM;EACXC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,cAAc;EACnBC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,SAAS;EACdC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,aAAa;EAClBC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,oBAAoB;EACzBC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,aAAa;EAClBC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,mBAAmB;EACxBC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,aAAa;EAClBC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,aAAa;EAClBC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,aAAa;EAClBC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,oBAAoB;EACzBC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,UAAU;EACfC,KAAK,EAAE;AACX,CAAC,CACJ;AAAC;AACK,IAAMC,eAAe,GAAG,CAC3B;EACIF,GAAG,EAAE,MAAM;EACXC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,MAAM;EACXC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,eAAe;EACpBC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,cAAc;EACnBC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,aAAa;EAClBC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,cAAc;EACnBC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,SAAS;EACdC,KAAK,EAAE,MAAM;EACbE,SAAS,EAAE;AACf,CAAC,CACJ;AAAC;AACK,IAAMC,gBAAgB,GAAG,CAC5B;EACIJ,GAAG,EAAE,iBAAiB;EACtBC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,mBAAmB;EACxBC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,YAAY;EACjBC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,cAAc;EACnBC,KAAK,EAAE,SAAS;EAChBI,aAAa,EAAE;AACnB,CAAC,EACD;EACIL,GAAG,EAAE,UAAU;EACfC,KAAK,EAAE,QAAQ;EACfI,aAAa,EAAE;AACnB,CAAC,EACD;EACIL,GAAG,EAAE,uBAAuB;EAC5BC,KAAK,EAAE,SAAS;EAChBI,aAAa,EAAE;AACnB,CAAC,EACD;EACIL,GAAG,EAAE,QAAQ;EACbC,KAAK,EAAE;AACX,CAAC,CACJ;AAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
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); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -14,19 +14,19 @@ var _QdDetailInfo = _interopRequireDefault(require("./components/QdDetailInfo"))
|
|
|
14
14
|
var _QdSign = _interopRequireDefault(require("./components/QdSign"));
|
|
15
15
|
var _QdContract = _interopRequireDefault(require("./components/QdContract"));
|
|
16
16
|
var _moment = _interopRequireDefault(require("moment"));
|
|
17
|
-
function _interopRequireDefault(
|
|
18
|
-
function _getRequireWildcardCache(
|
|
19
|
-
function _interopRequireWildcard(
|
|
20
|
-
function _defineProperty(
|
|
21
|
-
function _toPropertyKey(
|
|
22
|
-
function _toPrimitive(
|
|
23
|
-
function _slicedToArray(
|
|
17
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
18
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
19
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
20
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
21
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
22
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
23
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
24
24
|
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."); }
|
|
25
|
-
function _unsupportedIterableToArray(
|
|
26
|
-
function _arrayLikeToArray(
|
|
27
|
-
function _iterableToArrayLimit(
|
|
28
|
-
function _arrayWithHoles(
|
|
29
|
-
var RestaurantContext =
|
|
25
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
26
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
27
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
28
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
29
|
+
var RestaurantContext = /*#__PURE__*/_react["default"].createContext({
|
|
30
30
|
prefix: '',
|
|
31
31
|
id: '',
|
|
32
32
|
name: '',
|
|
@@ -36,6 +36,7 @@ var RestaurantContext = exports.RestaurantContext = /*#__PURE__*/_react["default
|
|
|
36
36
|
theme: 'blue',
|
|
37
37
|
date: (0, _moment["default"])().format('YYYY-MM-DD')
|
|
38
38
|
});
|
|
39
|
+
exports.RestaurantContext = RestaurantContext;
|
|
39
40
|
var Provider = RestaurantContext.Provider;
|
|
40
41
|
var TABS_BASE = 'restaurant-base';
|
|
41
42
|
// const TABS_DETAIL = 'restaurant-detail';
|
|
@@ -48,6 +49,7 @@ var TABS_QD_SIGN = 'restaurant-qd-sign';
|
|
|
48
49
|
var TABS_QD_CONTRACT = 'restaurant-qd-contract';
|
|
49
50
|
var PREFIX = 'restaurant';
|
|
50
51
|
var VtxRestaurantModal = function VtxRestaurantModal(props) {
|
|
52
|
+
var _tabContents;
|
|
51
53
|
var _props$visible = props.visible,
|
|
52
54
|
visible = _props$visible === void 0 ? false : _props$visible,
|
|
53
55
|
onCancel = props.onCancel,
|
|
@@ -82,7 +84,7 @@ var VtxRestaurantModal = function VtxRestaurantModal(props) {
|
|
|
82
84
|
key: TABS_BASE,
|
|
83
85
|
title: '总览信息'
|
|
84
86
|
}];
|
|
85
|
-
var tabContents =
|
|
87
|
+
var tabContents = (_tabContents = {}, _defineProperty(_tabContents, TABS_BASE, /*#__PURE__*/_react["default"].createElement(_components.Basic, null)), _defineProperty(_tabContents, TABS_QD_DETAIL, /*#__PURE__*/_react["default"].createElement(_QdDetailInfo["default"], null)), _defineProperty(_tabContents, TABS_QD_BASE, /*#__PURE__*/_react["default"].createElement(_QdBasic["default"], null)), _defineProperty(_tabContents, TABS_QD_SIGN, /*#__PURE__*/_react["default"].createElement(_QdSign["default"], null)), _defineProperty(_tabContents, TABS_QD_CONTRACT, /*#__PURE__*/_react["default"].createElement(_QdContract["default"], null)), _defineProperty(_tabContents, TABS_COLLECTION, /*#__PURE__*/_react["default"].createElement(_components.Collection, null)), _defineProperty(_tabContents, TABS_ALARM, /*#__PURE__*/_react["default"].createElement(_components.Alarm, null)), _tabContents);
|
|
86
88
|
(0, _react.useEffect)(function () {
|
|
87
89
|
if (visited) {
|
|
88
90
|
var _tabsC = (tabConfig === null || tabConfig === void 0 ? void 0 : tabConfig.length) > 0 ? tabConfig : tabs;
|
|
@@ -116,5 +118,6 @@ var VtxRestaurantModal = function VtxRestaurantModal(props) {
|
|
|
116
118
|
onCancel: onCancel
|
|
117
119
|
}));
|
|
118
120
|
};
|
|
119
|
-
var _default =
|
|
121
|
+
var _default = VtxRestaurantModal;
|
|
122
|
+
exports["default"] = _default;
|
|
120
123
|
//# sourceMappingURL=index.js.map
|