hy-dispatch-ui-v3 0.2.67 → 0.2.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tailwind.css +232 -20
- package/es/api/device.mjs +2 -3
- package/es/api/exportExcel.mjs +57 -0
- package/es/api/index.mjs +27 -16
- package/es/api/mapRail.mjs +31 -0
- package/es/api/organization.mjs +17 -9
- package/es/api/rule.mjs +30 -0
- package/es/api/sypct.mjs +2 -3
- package/es/api/task.mjs +2 -3
- package/es/bussiness/hyAddDepartmentType/addDepartmentType.vue.mjs +18 -19
- package/es/bussiness/hyAddDepartmentType/style/addDepartmentType.scss +28 -28
- package/es/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.mjs +511 -0
- package/es/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.vue.mjs +169 -0
- package/es/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.vue.mjs +318 -0
- package/es/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersItem.vue.mjs +123 -0
- package/es/bussiness/hyElectronicFence/electronicFence.vue.mjs +358 -0
- package/es/bussiness/hyElectronicFence/index.mjs +13 -0
- package/es/bussiness/hyElectronicFence/style/electronicFence.scss +0 -0
- package/es/bussiness/hyMapAearchPlace/js/index.mjs +1 -1
- package/es/bussiness/hyMapAearchPlace/mapAearchPlace.vue.mjs +4 -6
- package/es/bussiness/hyMapAearchPlace/style/mapAearchPlace.scss +4 -3
- package/es/bussiness/hyRuleSetting/cpns/gatheringPeople/gatheringPeople.vue.mjs +270 -0
- package/es/bussiness/hyRuleSetting/cpns/missionInRule/missionInRule.vue.mjs +251 -0
- package/es/bussiness/hyRuleSetting/cpns/missionOutRule/missionOutRule.vue.mjs +251 -0
- package/es/bussiness/hyRuleSetting/cpns/ruleAssignDialog/ruleAssignDialog.vue.mjs +395 -0
- package/es/bussiness/hyRuleSetting/cpns/ruleFenceDialog/ruleFenceDialog.vue.mjs +651 -0
- package/es/bussiness/hyRuleSetting/cpns/ruleSettingDialog/ruleSettingDialog.vue.mjs +357 -0
- package/es/bussiness/hyRuleSetting/cpns/sedentary/sedentary.vue.mjs +261 -0
- package/es/bussiness/hyRuleSetting/cpns/setRuleAggregationAlarmDialog/setRuleAggregationAlarmDialog.vue.mjs +360 -0
- package/es/bussiness/hyRuleSetting/cpns/timedVideo/timedVideo.vue.mjs +240 -0
- package/es/bussiness/hyRuleSetting/cpns/timerCamera/timerCamera.vue.mjs +258 -0
- package/es/bussiness/hyRuleSetting/cpns/timingReturn/timingReturn.vue.mjs +240 -0
- package/es/bussiness/hyRuleSetting/index.mjs +15 -0
- package/es/bussiness/hyRuleSetting/js/ruleSetting.mjs +65 -0
- package/es/bussiness/hyRuleSetting/ruleSetting.vue.mjs +129 -0
- package/es/bussiness/hyRuleSetting/style/ruleSetting.scss +0 -0
- package/es/bussiness/index.mjs +2 -0
- package/es/components/hyAudioPlayer/audioPlayer.vue.mjs +5 -13
- package/es/components/hyAudioPlayer/js/index.mjs +9 -14
- package/es/components/hyAudioPlayer/style/audioPlayer.scss +7 -2
- package/es/components/hyButton/button.vue.mjs +2 -2
- package/es/components/hyButton/style/button.scss +48 -74
- package/es/components/hyCheckboxGroup/checkboxGroup.vue.mjs +119 -0
- package/es/components/hyCheckboxGroup/index.mjs +7 -0
- package/es/components/hyCheckboxGroup/style/checkboxGroup.scss +58 -0
- package/es/components/hyConfigProvider/configProvider.vue.mjs +51 -38
- package/es/components/hyConfirmDialog/confirmDialog.vue.mjs +57 -62
- package/es/components/hyConfirmDialog/confirmMethod.mjs +24 -22
- package/es/components/hyCutter/cutter.vue.mjs +9 -23
- package/es/components/hyDatePicker/datePicker.vue.mjs +12 -17
- package/es/components/hyDialog/dialog.vue.mjs +5 -9
- package/es/components/hyDialog/style/dialog.scss +12 -13
- package/es/components/hyDrawer/drawer.vue.mjs +100 -0
- package/es/components/hyDrawer/index.mjs +7 -0
- package/es/components/hyDrawer/style/drawer.scss +0 -0
- package/es/components/hyForm/cpns/arrayItem.vue.mjs +10 -28
- package/es/components/hyForm/cpns/arrayItem2.vue.mjs +198 -0
- package/es/components/hyForm/cpns/extraItem.vue.mjs +2 -3
- package/es/components/hyForm/cpns/formItem.vue.mjs +65 -35
- package/es/components/hyForm/cpns/locationSelect.vue.mjs +26 -26
- package/es/components/hyForm/form.vue.mjs +56 -24
- package/es/components/hyForm/js/index.mjs +4 -8
- package/es/components/hyForm/js/useAppForm.mjs +4 -9
- package/es/components/hyForm/style/form.scss +4 -13
- package/es/components/hyIcon/icon.vue.mjs +3 -3
- package/es/components/hyIconBox/style/iconBox.scss +2 -6
- package/es/components/hyInput/inputSearch.vue.mjs +8 -11
- package/es/components/hyInput/style/inputSearch.scss +3 -0
- package/es/components/hyLoading/index.mjs +3 -5
- package/es/components/hyMap/js/index.mjs +29 -4
- package/es/components/hyMap/map.vue.mjs +17 -3
- package/es/components/hyMenu/style/menu.scss +5 -15
- package/es/components/hyNoPermissions/noPermissions.vue.mjs +3 -4
- package/es/components/hyNoPermissionsMap/noPermissionsMap.vue.mjs +3 -6
- package/es/components/hyOrgCascader/js/index.mjs +1 -5
- package/es/components/hyOrgCascader/orgCascader.vue.mjs +25 -11
- package/es/components/hyOrgCascader/style/orgCascader.scss +7 -0
- package/es/components/hyRadioGroup/radioGroup.vue.mjs +48 -41
- package/es/components/hyRadioGroup/style/radioGroup.scss +9 -0
- package/es/components/hySearch/cpns/searchItem.vue.mjs +33 -20
- package/es/components/hySearch/js/index.mjs +1 -4
- package/es/components/hySearch/js/useAppSearch.mjs +5 -10
- package/es/components/hySearch/search.vue.mjs +9 -16
- package/es/components/hySearch/style/search.scss +2 -0
- package/es/components/hyStatus/index.mjs +7 -0
- package/es/components/hyStatus/status.vue.mjs +110 -0
- package/es/components/hyStatus/style/status.scss +0 -0
- package/es/components/hyTable/cpns/columnSelect.vue.mjs +24 -28
- package/es/components/hyTable/cpns/columnSelectItem.vue.mjs +8 -9
- package/es/components/hyTable/cpns/headerItem.vue.mjs +2 -2
- package/es/components/hyTable/cpns/virtualTable.vue.mjs +18 -28
- package/es/components/hyTable/js/index.mjs +56 -59
- package/es/components/hyTable/js/useAppTable.mjs +3 -4
- package/es/components/hyTable/style/table.scss +8 -0
- package/es/components/hyTable/table.vue.mjs +35 -41
- package/es/components/hyTableActionButton/tableActionButton.vue.mjs +4 -4
- package/es/components/hyTableForm/batchTableForm.vue.mjs +3 -7
- package/es/components/hyTableForm/js/index.mjs +2 -8
- package/es/components/hyTableForm/js/useAppTableForm.mjs +2 -7
- package/es/components/hyTableForm/style/batchTableForm.scss +26 -54
- package/es/components/hyTableForm/style/tableForm.scss +3 -2
- package/es/components/hyTableForm/tableForm.vue.mjs +90 -46
- package/es/components/hyTimePicker/timePicker.vue.mjs +4 -5
- package/es/components/hyTree/js/index.mjs +13 -40
- package/es/components/hyTree/style/index.css +1 -1
- package/es/components/hyTree/tree.vue.mjs +17 -16
- package/es/components/hyUserAvatar/userAvatar.vue.mjs +3 -6
- package/es/components/hyVideoPlayer/js/index.mjs +14 -23
- package/es/components/hyVideoPlayer/style/videoPlayer.scss +5 -7
- package/es/components/hyVideoPlayer/videoPlayer.vue.mjs +16 -26
- package/es/components/index.mjs +3 -0
- package/es/hooks/index.mjs +6 -2
- package/es/hooks/useAudioPlayerConfig.mjs +1 -3
- package/es/hooks/useBaseMainStore.mjs +29 -0
- package/es/hooks/useCurrentBus.mjs +20 -0
- package/es/hooks/useDialog.mjs +327 -0
- package/es/hooks/useExportFile.mjs +133 -0
- package/es/hooks/useGlobalConfig.mjs +10 -6
- package/es/hooks/useLocale.mjs +22 -12
- package/es/hooks/usePermissionMap.mjs +1 -3
- package/es/hooks/useResizeHandler.mjs +1 -4
- package/es/hooks/useResizeObserver.mjs +3 -1
- package/es/hooks/useSubscribe.mjs +2 -2
- package/es/hooks/useUserAvatarMap.mjs +1 -3
- package/es/hooks/useVideoPlayerConfig.mjs +1 -3
- package/es/index.mjs +11 -2
- package/es/locale/{en.mjs → en_US.mjs} +79 -4
- package/es/locale/index.mjs +2 -2
- package/es/locale/zh_CN.mjs +79 -2
- package/es/style/tailwind.scss +7 -3
- package/es/utils/adaptive.mjs +1 -3
- package/es/utils/form.mjs +7 -10
- package/es/utils/handler.mjs +4 -8
- package/es/utils/input.mjs +8 -9
- package/es/utils/map/hook/bigMap.mjs +14 -53
- package/es/utils/map/hook/gaode.mjs +5 -20
- package/es/utils/map/hook/leafletjs.mjs +23 -79
- package/es/utils/map/index.mjs +2 -8
- package/es/utils/map/js/webgis.mjs +12 -12
- package/es/version.mjs +1 -1
- package/lib/api/device.js +2 -3
- package/lib/api/exportExcel.js +62 -0
- package/lib/api/index.js +27 -16
- package/lib/api/mapRail.js +34 -0
- package/lib/api/organization.js +17 -8
- package/lib/api/rule.js +33 -0
- package/lib/api/sypct.js +2 -3
- package/lib/api/task.js +2 -3
- package/lib/bussiness/hyAddDepartmentType/addDepartmentType.vue.js +17 -18
- package/lib/bussiness/hyAddDepartmentType/style/addDepartmentType.scss +28 -28
- package/lib/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.js +515 -0
- package/lib/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.vue.js +173 -0
- package/lib/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.vue.js +322 -0
- package/lib/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersItem.vue.js +127 -0
- package/lib/bussiness/hyElectronicFence/electronicFence.vue.js +362 -0
- package/lib/bussiness/hyElectronicFence/index.js +21 -0
- package/lib/bussiness/hyElectronicFence/style/electronicFence.scss +0 -0
- package/lib/bussiness/hyMapAearchPlace/js/index.js +1 -1
- package/lib/bussiness/hyMapAearchPlace/mapAearchPlace.vue.js +4 -6
- package/lib/bussiness/hyMapAearchPlace/style/mapAearchPlace.scss +4 -3
- package/lib/bussiness/hyRuleSetting/cpns/gatheringPeople/gatheringPeople.vue.js +274 -0
- package/lib/bussiness/hyRuleSetting/cpns/missionInRule/missionInRule.vue.js +255 -0
- package/lib/bussiness/hyRuleSetting/cpns/missionOutRule/missionOutRule.vue.js +255 -0
- package/lib/bussiness/hyRuleSetting/cpns/ruleAssignDialog/ruleAssignDialog.vue.js +399 -0
- package/lib/bussiness/hyRuleSetting/cpns/ruleFenceDialog/ruleFenceDialog.vue.js +655 -0
- package/lib/bussiness/hyRuleSetting/cpns/ruleSettingDialog/ruleSettingDialog.vue.js +361 -0
- package/lib/bussiness/hyRuleSetting/cpns/sedentary/sedentary.vue.js +265 -0
- package/lib/bussiness/hyRuleSetting/cpns/setRuleAggregationAlarmDialog/setRuleAggregationAlarmDialog.vue.js +364 -0
- package/lib/bussiness/hyRuleSetting/cpns/timedVideo/timedVideo.vue.js +244 -0
- package/lib/bussiness/hyRuleSetting/cpns/timerCamera/timerCamera.vue.js +262 -0
- package/lib/bussiness/hyRuleSetting/cpns/timingReturn/timingReturn.vue.js +244 -0
- package/lib/bussiness/hyRuleSetting/index.js +24 -0
- package/lib/bussiness/hyRuleSetting/js/ruleSetting.js +68 -0
- package/lib/bussiness/hyRuleSetting/ruleSetting.vue.js +133 -0
- package/lib/bussiness/hyRuleSetting/style/ruleSetting.scss +0 -0
- package/lib/bussiness/index.js +21 -10
- package/lib/components/hyAudioPlayer/audioPlayer.vue.js +5 -13
- package/lib/components/hyAudioPlayer/js/index.js +9 -14
- package/lib/components/hyAudioPlayer/style/audioPlayer.scss +7 -2
- package/lib/components/hyButton/button.vue.js +2 -2
- package/lib/components/hyButton/style/button.scss +48 -74
- package/lib/components/hyCheckboxGroup/checkboxGroup.vue.js +123 -0
- package/lib/components/hyCheckboxGroup/index.js +12 -0
- package/lib/components/hyCheckboxGroup/style/checkboxGroup.scss +58 -0
- package/lib/components/hyConfigProvider/configProvider.vue.js +50 -56
- package/lib/components/hyConfirmDialog/confirmDialog.vue.js +56 -61
- package/lib/components/hyConfirmDialog/confirmMethod.js +23 -21
- package/lib/components/hyCutter/cutter.vue.js +8 -22
- package/lib/components/hyDatePicker/datePicker.vue.js +11 -16
- package/lib/components/hyDialog/dialog.vue.js +5 -9
- package/lib/components/hyDialog/style/dialog.scss +12 -13
- package/lib/components/hyDrawer/drawer.vue.js +104 -0
- package/lib/components/hyDrawer/index.js +12 -0
- package/lib/components/hyDrawer/style/drawer.scss +0 -0
- package/lib/components/hyForm/cpns/arrayItem.vue.js +9 -27
- package/lib/components/hyForm/cpns/arrayItem2.vue.js +202 -0
- package/lib/components/hyForm/cpns/extraItem.vue.js +2 -3
- package/lib/components/hyForm/cpns/formItem.vue.js +66 -36
- package/lib/components/hyForm/cpns/locationSelect.vue.js +26 -26
- package/lib/components/hyForm/form.vue.js +51 -19
- package/lib/components/hyForm/js/index.js +3 -7
- package/lib/components/hyForm/js/useAppForm.js +4 -9
- package/lib/components/hyForm/style/form.scss +4 -13
- package/lib/components/hyIcon/icon.vue.js +3 -3
- package/lib/components/hyIconBox/style/iconBox.scss +2 -6
- package/lib/components/hyInput/inputSearch.vue.js +7 -10
- package/lib/components/hyInput/style/inputSearch.scss +3 -0
- package/lib/components/hyLoading/index.js +2 -4
- package/lib/components/hyMap/js/index.js +29 -4
- package/lib/components/hyMap/map.vue.js +17 -3
- package/lib/components/hyMenu/style/menu.scss +5 -15
- package/lib/components/hyNoPermissions/noPermissions.vue.js +3 -4
- package/lib/components/hyNoPermissionsMap/noPermissionsMap.vue.js +3 -6
- package/lib/components/hyOrgCascader/js/index.js +1 -5
- package/lib/components/hyOrgCascader/orgCascader.vue.js +23 -9
- package/lib/components/hyOrgCascader/style/orgCascader.scss +7 -0
- package/lib/components/hyRadioGroup/radioGroup.vue.js +47 -40
- package/lib/components/hyRadioGroup/style/radioGroup.scss +9 -0
- package/lib/components/hySearch/cpns/searchItem.vue.js +33 -20
- package/lib/components/hySearch/js/index.js +1 -4
- package/lib/components/hySearch/js/useAppSearch.js +5 -10
- package/lib/components/hySearch/search.vue.js +9 -16
- package/lib/components/hySearch/style/search.scss +2 -0
- package/lib/components/hyStatus/index.js +12 -0
- package/lib/components/hyStatus/status.vue.js +114 -0
- package/lib/components/hyStatus/style/status.scss +0 -0
- package/lib/components/hyTable/cpns/columnSelect.vue.js +22 -26
- package/lib/components/hyTable/cpns/columnSelectItem.vue.js +7 -8
- package/lib/components/hyTable/cpns/headerItem.vue.js +2 -2
- package/lib/components/hyTable/cpns/virtualTable.vue.js +17 -27
- package/lib/components/hyTable/js/index.js +54 -57
- package/lib/components/hyTable/js/useAppTable.js +2 -3
- package/lib/components/hyTable/style/table.scss +8 -0
- package/lib/components/hyTable/table.vue.js +35 -41
- package/lib/components/hyTableActionButton/tableActionButton.vue.js +4 -4
- package/lib/components/hyTableForm/batchTableForm.vue.js +3 -7
- package/lib/components/hyTableForm/js/index.js +2 -8
- package/lib/components/hyTableForm/js/useAppTableForm.js +2 -7
- package/lib/components/hyTableForm/style/batchTableForm.scss +26 -54
- package/lib/components/hyTableForm/style/tableForm.scss +3 -2
- package/lib/components/hyTableForm/tableForm.vue.js +89 -45
- package/lib/components/hyTimePicker/timePicker.vue.js +3 -4
- package/lib/components/hyTree/js/index.js +13 -40
- package/lib/components/hyTree/style/index.css +1 -1
- package/lib/components/hyTree/tree.vue.js +17 -16
- package/lib/components/hyUserAvatar/userAvatar.vue.js +3 -6
- package/lib/components/hyVideoPlayer/js/index.js +14 -23
- package/lib/components/hyVideoPlayer/style/videoPlayer.scss +5 -7
- package/lib/components/hyVideoPlayer/videoPlayer.vue.js +16 -26
- package/lib/components/index.js +46 -40
- package/lib/hooks/index.js +17 -0
- package/lib/hooks/useAudioPlayerConfig.js +1 -3
- package/lib/hooks/useBaseMainStore.js +32 -0
- package/lib/hooks/useCurrentBus.js +23 -0
- package/lib/hooks/useDialog.js +331 -0
- package/lib/hooks/useExportFile.js +135 -0
- package/lib/hooks/useGlobalConfig.js +10 -6
- package/lib/hooks/useLocale.js +25 -11
- package/lib/hooks/usePermissionMap.js +1 -3
- package/lib/hooks/useResizeHandler.js +1 -4
- package/lib/hooks/useResizeObserver.js +3 -1
- package/lib/hooks/useSubscribe.js +2 -1
- package/lib/hooks/useUserAvatarMap.js +1 -3
- package/lib/hooks/useVideoPlayerConfig.js +1 -3
- package/lib/index.js +107 -73
- package/lib/locale/{en.js → en_US.js} +79 -4
- package/lib/locale/index.js +3 -3
- package/lib/locale/zh_CN.js +79 -2
- package/lib/style/tailwind.scss +7 -3
- package/lib/utils/adaptive.js +1 -3
- package/lib/utils/form.js +6 -9
- package/lib/utils/handler.js +3 -7
- package/lib/utils/input.js +7 -8
- package/lib/utils/map/hook/bigMap.js +14 -53
- package/lib/utils/map/hook/gaode.js +5 -20
- package/lib/utils/map/hook/leafletjs.js +23 -79
- package/lib/utils/map/index.js +2 -8
- package/lib/utils/map/js/webgis.js +12 -12
- package/lib/version.js +1 -1
- package/package.json +3 -2
package/lib/index.js
CHANGED
|
@@ -7,6 +7,7 @@ require('./utils/index.js');
|
|
|
7
7
|
require('./components/index.js');
|
|
8
8
|
require('./bussiness/index.js');
|
|
9
9
|
require('./hooks/index.js');
|
|
10
|
+
var useLocale = require('./hooks/useLocale.js');
|
|
10
11
|
var index = require('./components/hyDatePicker/index.js');
|
|
11
12
|
var index$1 = require('./components/hyInput/index.js');
|
|
12
13
|
var index$2 = require('./components/hyLoading/index.js');
|
|
@@ -14,40 +15,45 @@ var index$3 = require('./components/hyTimePicker/index.js');
|
|
|
14
15
|
var index$4 = require('./components/hyTooltip/index.js');
|
|
15
16
|
var index$5 = require('./bussiness/hyAcquisitionStationTree/index.js');
|
|
16
17
|
var index$6 = require('./bussiness/hyAddDepartmentType/index.js');
|
|
17
|
-
var index$7 = require('./
|
|
18
|
-
var index$8 = require('./components/
|
|
19
|
-
var index$9 = require('./components/
|
|
20
|
-
var index$a = require('./components/
|
|
21
|
-
var index$b = require('./components/
|
|
22
|
-
var index$c = require('./components/
|
|
23
|
-
var index$d = require('./components/
|
|
24
|
-
var index$e = require('./
|
|
25
|
-
var index$f = require('./components/
|
|
26
|
-
var index$g = require('./
|
|
27
|
-
var index$h = require('./components/
|
|
28
|
-
var index$i = require('./components/
|
|
29
|
-
var index$j = require('./components/
|
|
30
|
-
var index$k = require('./
|
|
31
|
-
var index$l = require('./components/
|
|
32
|
-
var index$m = require('./components/
|
|
33
|
-
var index$n = require('./
|
|
34
|
-
var index$o = require('./components/
|
|
35
|
-
var index$p = require('./
|
|
36
|
-
var index$q = require('./
|
|
37
|
-
var index$r = require('./components/
|
|
38
|
-
var index$s = require('./
|
|
39
|
-
var index$t = require('./
|
|
40
|
-
var index$u = require('./components/
|
|
41
|
-
var index$v = require('./
|
|
42
|
-
var index$w = require('./components/
|
|
43
|
-
var index$x = require('./components/
|
|
44
|
-
var index$y = require('./
|
|
45
|
-
var index$z = require('./components/
|
|
46
|
-
var index$A = require('./
|
|
18
|
+
var index$7 = require('./bussiness/hyElectronicFence/index.js');
|
|
19
|
+
var index$8 = require('./components/hyAudioPlayer/index.js');
|
|
20
|
+
var index$9 = require('./components/hyTableForm/index.js');
|
|
21
|
+
var index$a = require('./components/hyBatchUploadDialog/index.js');
|
|
22
|
+
var index$b = require('./components/hyButton/index.js');
|
|
23
|
+
var index$c = require('./components/hyCheckboxGroup/index.js');
|
|
24
|
+
var index$d = require('./components/hyConfigProvider/index.js');
|
|
25
|
+
var index$e = require('./components/hyConfirmDialog/index.js');
|
|
26
|
+
var index$f = require('./components/hyCutter/index.js');
|
|
27
|
+
var index$g = require('./bussiness/hyDeviceTree/index.js');
|
|
28
|
+
var index$h = require('./components/hyDialog/index.js');
|
|
29
|
+
var index$i = require('./components/hyDrawer/index.js');
|
|
30
|
+
var index$j = require('./components/hyForm/index.js');
|
|
31
|
+
var index$k = require('./components/hyIcon/index.js');
|
|
32
|
+
var index$l = require('./components/hyIconBox/index.js');
|
|
33
|
+
var index$m = require('./components/hyMap/index.js');
|
|
34
|
+
var index$n = require('./bussiness/hyMapAearchPlace/index.js');
|
|
35
|
+
var index$o = require('./components/hyMenu/index.js');
|
|
36
|
+
var index$p = require('./components/hyNoPermissions/index.js');
|
|
37
|
+
var index$q = require('./components/hyNoPermissionsMap/index.js');
|
|
38
|
+
var index$r = require('./components/hyOrgCascader/index.js');
|
|
39
|
+
var index$s = require('./bussiness/hyOrgGroupTree/index.js');
|
|
40
|
+
var index$t = require('./bussiness/hyPlanGroupDeviceTree/index.js');
|
|
41
|
+
var index$u = require('./components/hyRadioGroup/index.js');
|
|
42
|
+
var index$v = require('./bussiness/hyRuleSetting/index.js');
|
|
43
|
+
var index$w = require('./components/hySearch/index.js');
|
|
44
|
+
var index$x = require('./components/hyStatus/index.js');
|
|
45
|
+
var index$y = require('./components/hyTable/index.js');
|
|
46
|
+
var index$z = require('./components/hyTableActionButton/index.js');
|
|
47
|
+
var index$A = require('./components/hyTour/index.js');
|
|
48
|
+
var index$B = require('./components/hyTree/index.js');
|
|
49
|
+
var index$C = require('./components/hyUserAvatar/index.js');
|
|
50
|
+
var index$D = require('./bussiness/hyUserTree/index.js');
|
|
51
|
+
var index$E = require('./components/hyVideoPlayer/index.js');
|
|
52
|
+
var index$F = require('./utils/map/index.js');
|
|
47
53
|
var permission = require('./utils/permission.js');
|
|
48
54
|
var crypto = require('./utils/crypto.js');
|
|
49
55
|
var file = require('./utils/file.js');
|
|
50
|
-
var
|
|
56
|
+
var useSubscribe = require('./hooks/useSubscribe.js');
|
|
51
57
|
var useResizeObserver = require('./hooks/useResizeObserver.js');
|
|
52
58
|
var form = require('./utils/form.js');
|
|
53
59
|
var handler = require('./utils/handler.js');
|
|
@@ -58,6 +64,8 @@ var date = require('./utils/date.js');
|
|
|
58
64
|
var is = require('./utils/is.js');
|
|
59
65
|
var sharedContent = require('./utils/sharedContent.js');
|
|
60
66
|
var useAudioPlayerConfig = require('./hooks/useAudioPlayerConfig.js');
|
|
67
|
+
var useBaseMainStore = require('./hooks/useBaseMainStore.js');
|
|
68
|
+
var useCurrentBus = require('./hooks/useCurrentBus.js');
|
|
61
69
|
var useEnsureHyIcon = require('./hooks/useEnsureHyIcon.js');
|
|
62
70
|
var useMapConfig = require('./hooks/useMapConfig.js');
|
|
63
71
|
var usePermissionMap = require('./hooks/usePermissionMap.js');
|
|
@@ -70,14 +78,25 @@ var useAppSearch = require('./components/hySearch/js/useAppSearch.js');
|
|
|
70
78
|
var hyVirtualTree = require('hy-virtual-tree');
|
|
71
79
|
var useAppTable = require('./components/hyTable/js/useAppTable.js');
|
|
72
80
|
var useAppTableForm = require('./components/hyTableForm/js/useAppTableForm.js');
|
|
81
|
+
var useDialog = require('./hooks/useDialog.js');
|
|
82
|
+
var useExportFile = require('./hooks/useExportFile.js');
|
|
73
83
|
var useMixins = require('./hooks/useMixins.js');
|
|
74
|
-
var useSubscribe = require('./hooks/useSubscribe.js');
|
|
75
84
|
var useResizeHandler = require('./hooks/useResizeHandler.js');
|
|
76
85
|
|
|
77
86
|
import "./style/index.scss";
|
|
78
87
|
|
|
79
88
|
|
|
80
89
|
exports.default = makeInstaller.default;
|
|
90
|
+
exports.$t = useLocale.$t;
|
|
91
|
+
exports.buildLocaleContext = useLocale.buildLocaleContext;
|
|
92
|
+
exports.buildTranslator = useLocale.buildTranslator;
|
|
93
|
+
exports.getLang = useLocale.getLang;
|
|
94
|
+
exports.getLanguage = useLocale.getLanguage;
|
|
95
|
+
exports.lang = useLocale.lang;
|
|
96
|
+
exports.localeContextKey = useLocale.localeContextKey;
|
|
97
|
+
exports.setLang = useLocale.setLang;
|
|
98
|
+
exports.translate = useLocale.translate;
|
|
99
|
+
exports.useLocale = useLocale.useLocale;
|
|
81
100
|
exports.ElDatePicker = index.ElDatePicker;
|
|
82
101
|
exports.HyDatePicker = index.HyDatePicker;
|
|
83
102
|
exports.ElInput = index$1.ElInput;
|
|
@@ -91,39 +110,51 @@ exports.ElTooltip = index$4.ElTooltip;
|
|
|
91
110
|
exports.HyTooltip = index$4.HyTooltip;
|
|
92
111
|
exports.HyAcquisitionStationTree = index$5.HyAcquisitionStationTree;
|
|
93
112
|
exports.HyAddDepartmentType = index$6.HyAddDepartmentType;
|
|
94
|
-
exports.
|
|
95
|
-
exports.
|
|
96
|
-
exports.
|
|
97
|
-
exports.
|
|
98
|
-
exports.
|
|
99
|
-
exports.
|
|
100
|
-
exports.
|
|
101
|
-
exports.
|
|
102
|
-
exports.
|
|
103
|
-
exports.
|
|
104
|
-
exports.
|
|
105
|
-
exports.
|
|
106
|
-
exports.
|
|
107
|
-
exports.
|
|
108
|
-
exports.
|
|
109
|
-
exports.
|
|
110
|
-
exports.
|
|
111
|
-
exports.
|
|
112
|
-
exports.
|
|
113
|
-
exports.
|
|
114
|
-
exports.
|
|
115
|
-
exports.
|
|
116
|
-
exports.
|
|
117
|
-
exports.
|
|
118
|
-
exports.
|
|
119
|
-
exports.
|
|
120
|
-
exports.
|
|
121
|
-
exports.
|
|
122
|
-
exports.
|
|
123
|
-
exports.
|
|
124
|
-
exports.
|
|
125
|
-
exports.
|
|
126
|
-
exports.
|
|
113
|
+
exports.HyAddElectronicFenceDialog = index$7.HyAddElectronicFenceDialog;
|
|
114
|
+
exports.HyBatchSetElectronicFenceUserDialog = index$7.HyBatchSetElectronicFenceUserDialog;
|
|
115
|
+
exports.HyElectronicFence = index$7.HyElectronicFence;
|
|
116
|
+
exports.HyElectronicFenceAssociatedUsersDialog = index$7.HyElectronicFenceAssociatedUsersDialog;
|
|
117
|
+
exports.HyAudioPlayer = index$8.HyAudioPlayer;
|
|
118
|
+
exports.HyBatchTableForm = index$9.HyBatchTableForm;
|
|
119
|
+
exports.HyTableForm = index$9.HyTableForm;
|
|
120
|
+
exports.HyBatchUploadDialog = index$a.HyBatchUploadDialog;
|
|
121
|
+
exports.HyButton = index$b.HyButton;
|
|
122
|
+
exports.HyCheckboxGroup = index$c.HyCheckboxGroup;
|
|
123
|
+
exports.HyConfigProvider = index$d.HyConfigProvider;
|
|
124
|
+
exports.HyConfirmDialog = index$e.HyConfirmDialog;
|
|
125
|
+
exports.HyCutter = index$f.HyCutter;
|
|
126
|
+
exports.HyDeviceTree = index$g.HyDeviceTree;
|
|
127
|
+
exports.HyDialog = index$h.HyDialog;
|
|
128
|
+
exports.HyDrawer = index$i.HyDrawer;
|
|
129
|
+
exports.HyForm = index$j.HyForm;
|
|
130
|
+
exports.HyIcon = index$k.HyIcon;
|
|
131
|
+
exports.HyIconBox = index$l.HyIconBox;
|
|
132
|
+
exports.HyMap = index$m.HyMap;
|
|
133
|
+
exports.HyMapAearchPlace = index$n.HyMapAearchPlace;
|
|
134
|
+
exports.HyMenu = index$o.HyMenu;
|
|
135
|
+
exports.HyNoPermissions = index$p.HyNoPermissions;
|
|
136
|
+
exports.HyNoPermissionsMap = index$q.HyNoPermissionsMap;
|
|
137
|
+
exports.HyOrgCascader = index$r.HyOrgCascader;
|
|
138
|
+
exports.HyOrgGroupTree = index$s.HyOrgGroupTree;
|
|
139
|
+
exports.HyPlanGroupDeviceTree = index$t.HyPlanGroupDeviceTree;
|
|
140
|
+
exports.HyRadioGroup = index$u.HyRadioGroup;
|
|
141
|
+
exports.HyRuleAssignDialog = index$v.HyRuleAssignDialog;
|
|
142
|
+
exports.HyRuleFenceDialog = index$v.HyRuleFenceDialog;
|
|
143
|
+
exports.HyRuleSetting = index$v.HyRuleSetting;
|
|
144
|
+
exports.HyRuleSettingDialog = index$v.HyRuleSettingDialog;
|
|
145
|
+
exports.HySetRuleAggregationAlarmDialog = index$v.HySetRuleAggregationAlarmDialog;
|
|
146
|
+
exports.HySearch = index$w.HySearch;
|
|
147
|
+
exports.HyStatus = index$x.HyStatus;
|
|
148
|
+
exports.HyTable = index$y.HyTable;
|
|
149
|
+
exports.HyTableActionButton = index$z.HyTableActionButton;
|
|
150
|
+
exports.HyTour = index$A.HyTour;
|
|
151
|
+
exports.HyTree = index$B.HyTree;
|
|
152
|
+
exports.HyUserAvatar = index$C.HyUserAvatar;
|
|
153
|
+
exports.HyUserTree = index$D.HyUserTree;
|
|
154
|
+
exports.HyVideoPlayer = index$E.HyVideoPlayer;
|
|
155
|
+
exports.InitMap = index$F.InitMap;
|
|
156
|
+
exports.setMapServer = index$F.setMapServer;
|
|
157
|
+
exports.setPoiServer = index$F.setPoiServer;
|
|
127
158
|
exports.PERMISSION = permission.PERMISSION;
|
|
128
159
|
exports.base64Decrypt = crypto.base64Decrypt;
|
|
129
160
|
exports.encryptToBase64 = crypto.encryptToBase64;
|
|
@@ -134,12 +165,9 @@ exports.fileJsonUplaod = file.fileJsonUplaod;
|
|
|
134
165
|
exports.fileUpload = file.fileUpload;
|
|
135
166
|
exports.presignedUrl = file.presignedUrl;
|
|
136
167
|
exports.sizeToTextHandler = file.sizeToTextHandler;
|
|
137
|
-
exports.
|
|
138
|
-
exports.
|
|
139
|
-
exports.
|
|
140
|
-
exports.localeContextKey = useLocale.localeContextKey;
|
|
141
|
-
exports.translate = useLocale.translate;
|
|
142
|
-
exports.useLocale = useLocale.useLocale;
|
|
168
|
+
exports.bus = useSubscribe.bus;
|
|
169
|
+
exports.usePublish = useSubscribe.usePublish;
|
|
170
|
+
exports.useSubscribe = useSubscribe.useSubscribe;
|
|
143
171
|
exports.clearResizeObserver = useResizeObserver.clearResizeObserver;
|
|
144
172
|
exports.useResizeObserver = useResizeObserver.useResizeObserver;
|
|
145
173
|
exports.clearSpace = form.clearSpace;
|
|
@@ -192,6 +220,10 @@ exports.isVueProxy = is.isVueProxy;
|
|
|
192
220
|
exports.loadingSvg = sharedContent.loadingSvg;
|
|
193
221
|
exports.localAudioPlayerConfigKey = useAudioPlayerConfig.localAudioPlayerConfigKey;
|
|
194
222
|
exports.useAudioPlayerConfig = useAudioPlayerConfig.useAudioPlayerConfig;
|
|
223
|
+
exports.localBaseMainStoreKey = useBaseMainStore.localBaseMainStoreKey;
|
|
224
|
+
exports.useBaseMainStore = useBaseMainStore.useBaseMainStore;
|
|
225
|
+
exports.localCurrentBusKey = useCurrentBus.localCurrentBusKey;
|
|
226
|
+
exports.useCurrentBus = useCurrentBus.useCurrentBus;
|
|
195
227
|
exports.localEnsureHyIconMapKey = useEnsureHyIcon.localEnsureHyIconMapKey;
|
|
196
228
|
exports.useEnsureHyIcon = useEnsureHyIcon.useEnsureHyIcon;
|
|
197
229
|
exports.localMapConfigKey = useMapConfig.localMapConfigKey;
|
|
@@ -218,7 +250,9 @@ Object.defineProperty(exports, "setGlobalTreeConfig", {
|
|
|
218
250
|
});
|
|
219
251
|
exports.useAppTable = useAppTable.useAppTable;
|
|
220
252
|
exports.useAppTableForm = useAppTableForm.useAppTableForm;
|
|
253
|
+
exports.useBatchDialog = useDialog.useBatchDialog;
|
|
254
|
+
exports.useDialog = useDialog.useDialog;
|
|
255
|
+
exports.useDialogIsEdit = useDialog.useDialogIsEdit;
|
|
256
|
+
exports.useExportFile = useExportFile.useExportFile;
|
|
221
257
|
exports.useMixins = useMixins.useMixins;
|
|
222
|
-
exports.usePublish = useSubscribe.usePublish;
|
|
223
|
-
exports.useSubscribe = useSubscribe.useSubscribe;
|
|
224
258
|
exports.useResizeHandler = useResizeHandler.useResizeHandler;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var en_US = {
|
|
6
6
|
name: "en_US",
|
|
7
7
|
hy: {
|
|
8
8
|
language: "Language",
|
|
@@ -54,11 +54,11 @@ var en = {
|
|
|
54
54
|
moreOperations: "More Operations",
|
|
55
55
|
nonsupport: "Nonsupport",
|
|
56
56
|
editColumn: "Edit Column",
|
|
57
|
-
|
|
57
|
+
index: "Index",
|
|
58
58
|
searchFor: "Search For {0}",
|
|
59
59
|
searchByInput: 'Search by input <span class="text-theme font-bold">{0}</span>',
|
|
60
60
|
example: "Example",
|
|
61
|
-
|
|
61
|
+
operation: "Operation"
|
|
62
62
|
},
|
|
63
63
|
dialog: {
|
|
64
64
|
content: "Secondary Confirmation Operation",
|
|
@@ -149,6 +149,25 @@ var en = {
|
|
|
149
149
|
startYear: "Start Year",
|
|
150
150
|
endYear: "End Year"
|
|
151
151
|
},
|
|
152
|
+
// 业务通用
|
|
153
|
+
bussiness: {
|
|
154
|
+
add: "Add",
|
|
155
|
+
edit: "Edit",
|
|
156
|
+
delete: "Delete",
|
|
157
|
+
department: "Department",
|
|
158
|
+
successfulDeletion: "Successful Deletion",
|
|
159
|
+
clear: "Clear",
|
|
160
|
+
operationSuccessful: "Operation Successful",
|
|
161
|
+
associate: "Associate",
|
|
162
|
+
confirmDeletion: "Confirm Deletion",
|
|
163
|
+
deletingThisWillResultInIrrecoverableLossAreYouSureYouWantToDeleteThis: "After deletion, it cannot be restored. Are you sure you want to delete this {0}?",
|
|
164
|
+
importOperation: "Import Operation",
|
|
165
|
+
exportOperation: "Export Operation",
|
|
166
|
+
creationPersonnel: "Creation Personnel",
|
|
167
|
+
creationTime: "Creation Time",
|
|
168
|
+
creator: "Creator"
|
|
169
|
+
},
|
|
170
|
+
// 部门类型
|
|
152
171
|
departmentType: {
|
|
153
172
|
editDepartmentType: "Edit Department Type",
|
|
154
173
|
addDepartmentType: "Add Department Type",
|
|
@@ -163,7 +182,63 @@ var en = {
|
|
|
163
182
|
editDeviceCover: "Edit Device Cover",
|
|
164
183
|
close: "Close",
|
|
165
184
|
save: "Save"
|
|
185
|
+
},
|
|
186
|
+
// 电子围栏
|
|
187
|
+
electronicFence: {
|
|
188
|
+
electronicFence: "Electronic Fence",
|
|
189
|
+
electronicFenceName: "Electronic Fence Name",
|
|
190
|
+
pleaseSelectAGeofence: "Please Select A Geofence",
|
|
191
|
+
associateUser: "Associate User",
|
|
192
|
+
employeeIDAccountNameDepartmentNameToFilter: "Employee ID Account Name Department Name To Filter",
|
|
193
|
+
createInformation: "Create Information",
|
|
194
|
+
addAnElectronicFence: "Add An Electronic Fence",
|
|
195
|
+
addASingleElectronicFence: "Add A Single Electronic Fence",
|
|
196
|
+
importAssociatedUsers: "Import Associated Users",
|
|
197
|
+
uploadTheAssociatedUserTemplateAndLinkTheUsersFilledInTheTemplateToTheCorrespondingFences: "Upload The Associated User Template And Link The Users Filled In The Template To The Corresponding Fences.",
|
|
198
|
+
exportFenceInformation: "Export Fence Information",
|
|
199
|
+
exportTheSelectedFenceInformation: "Export The Selected Fence Information",
|
|
200
|
+
exportSelectedFenceInformationOnlyExportsTheSelectedFencesThatHaveBeenCheckedThisIsSuitableForTargetedVerification: "Only Export The Selected Fences, Applicable For Targeted Verification.",
|
|
201
|
+
exportAllFenceInformation: "Export All Fence Information",
|
|
202
|
+
exportAllTheElectronicFenceInformationFromTheList: "Export All The Electronic Fence Information From The List\uFF08.xlsx\uFF09",
|
|
203
|
+
exportTheAssociatedUserTemplate: "Export The Associated User Template",
|
|
204
|
+
exportTheSelectedAssociatedUserTemplate: "Export The Selected Associated User Template",
|
|
205
|
+
onlyForTheSelectedFencesGenerateTheAssociatedUserTemplateAfterFillingInUploadItThroughTheImportAssociatedUsersOption: 'Only For The Selected Fences, Generate The Associated User Template. After Filling In, Upload It Through The "Import Associated Users" Option.',
|
|
206
|
+
exportAllAssociatedUserTemplates: "Export All Associated User Templates",
|
|
207
|
+
downloadTheTemplateForAssociatingTheFenceWithUsersFillInTheBindingRelationshipBetweenTheFenceAndTheUsersAndThenUploadItThroughTheImportAssociatedUsersOption: 'Download The Template For Associating The Fence With Users, Fill In The Binding Relationship Between The Fence And The Users, And Then Upload It Through The "Import Associated Users" Option.',
|
|
208
|
+
editTheElectronicFence: "Edit The Electronic Fence",
|
|
209
|
+
associatedUserName: "Associated User Name",
|
|
210
|
+
associatedUserAccount: "Associated User Account",
|
|
211
|
+
batchImportAssociatedUsers: "Batch Import Associated Users"
|
|
212
|
+
},
|
|
213
|
+
// 规则设置
|
|
214
|
+
ruleSetting: {
|
|
215
|
+
noEntry: "No Entry",
|
|
216
|
+
noExit: "No Exit",
|
|
217
|
+
silent: "Silent",
|
|
218
|
+
scheduledPhoto: "Scheduled Photo",
|
|
219
|
+
scheduledVideo: "Scheduled Video",
|
|
220
|
+
scheduledFeedback: "Scheduled Feedback",
|
|
221
|
+
gather: "Gather",
|
|
222
|
+
ruleName: "Rule Name",
|
|
223
|
+
areaName: "Area Name",
|
|
224
|
+
stayTime: "Stay Time",
|
|
225
|
+
personnelIntervalThreshold: "Personnel Interval Threshold",
|
|
226
|
+
executionTime: "Execution Time",
|
|
227
|
+
everyDay: "Every Day",
|
|
228
|
+
rice: "Rice",
|
|
229
|
+
distribution: "Distribution",
|
|
230
|
+
assignRules: "Assign Rules",
|
|
231
|
+
userName: "User Name",
|
|
232
|
+
deviceIMEI: "Device IMEI",
|
|
233
|
+
pleaseSelectTheUser: "Please Select The User",
|
|
234
|
+
railName: "Rail Name",
|
|
235
|
+
workingHours: "Working Hours",
|
|
236
|
+
captureMode: "Capture Mode",
|
|
237
|
+
loopSnapshot: "Loop Snapshot",
|
|
238
|
+
independentSnapshot: "Independent Snapshot",
|
|
239
|
+
snapshotInterval: "Snapshot Interval",
|
|
240
|
+
second: "Second"
|
|
166
241
|
}
|
|
167
242
|
};
|
|
168
243
|
|
|
169
|
-
exports.default =
|
|
244
|
+
exports.default = en_US;
|
package/lib/locale/index.js
CHANGED
package/lib/locale/zh_CN.js
CHANGED
|
@@ -31,7 +31,8 @@ var zh_CN = {
|
|
|
31
31
|
wednesday: "\u661F\u671F\u4E09",
|
|
32
32
|
thursday: "\u661F\u671F\u56DB",
|
|
33
33
|
friday: "\u661F\u671F\u4E94",
|
|
34
|
-
saturday: "\u661F\u671F\u516D"
|
|
34
|
+
saturday: "\u661F\u671F\u516D",
|
|
35
|
+
to: "\u81F3"
|
|
35
36
|
},
|
|
36
37
|
form: {
|
|
37
38
|
department: "\u6240\u5C5E\u90E8\u95E8",
|
|
@@ -59,7 +60,7 @@ var zh_CN = {
|
|
|
59
60
|
searchByInput: '\u53EF\u8F93\u5165 <span class="text-theme font-bold">{0}</span> \u8FDB\u884C\u641C\u7D22',
|
|
60
61
|
maxColumnLimitTip: "\u5DF2\u8FBE\u5230\u5B57\u6BB5\u6570\u91CF\u4E0A\u9650(\u6700\u591A15\u4E2A)\uFF0C\u8BF7\u53D6\u6D88\u90E8\u5206\u5B57\u6BB5\u540E\u518D\u786E\u8BA4",
|
|
61
62
|
example: "\u793A\u4F8B",
|
|
62
|
-
|
|
63
|
+
operation: "\u64CD\u4F5C"
|
|
63
64
|
},
|
|
64
65
|
dialog: {
|
|
65
66
|
content: "\u4E8C\u6B21\u786E\u8BA4\u64CD\u4F5C",
|
|
@@ -145,6 +146,26 @@ var zh_CN = {
|
|
|
145
146
|
startYear: "\u5F00\u59CB\u5E74\u4EFD",
|
|
146
147
|
endYear: "\u7ED3\u675F\u5E74\u4EFD"
|
|
147
148
|
},
|
|
149
|
+
// 业务通用
|
|
150
|
+
bussiness: {
|
|
151
|
+
add: "\u6DFB\u52A0",
|
|
152
|
+
edit: "\u7F16\u8F91",
|
|
153
|
+
delete: "\u5220\u9664",
|
|
154
|
+
department: "\u6240\u5C5E\u90E8\u95E8",
|
|
155
|
+
successfulDeletion: "\u5220\u9664\u6210\u529F",
|
|
156
|
+
clear: "\u6E05\u7A7A",
|
|
157
|
+
operationSuccessful: "\u64CD\u4F5C\u6210\u529F",
|
|
158
|
+
associate: "\u5173\u8054",
|
|
159
|
+
confirmDeletion: "\u786E\u8BA4\u5220\u9664",
|
|
160
|
+
deletingThisWillResultInIrrecoverableLossAreYouSureYouWantToDeleteThis: "\u5220\u9664\u540E\u65E0\u6CD5\u8FD8\u539F\uFF0C\u662F\u5426\u786E\u8BA4\u5220\u9664\u8BE5{0}\uFF1F",
|
|
161
|
+
importOperation: "\u5BFC\u5165\u64CD\u4F5C",
|
|
162
|
+
exportOperation: "\u5BFC\u51FA\u64CD\u4F5C",
|
|
163
|
+
creationPersonnel: "\u521B\u5EFA\u4EBA\u5458",
|
|
164
|
+
creationTime: "\u521B\u5EFA\u65F6\u95F4",
|
|
165
|
+
noPermission: "\u65E0\u6743\u9650",
|
|
166
|
+
creator: "\u521B\u5EFA\u4EBA"
|
|
167
|
+
},
|
|
168
|
+
// 部门类型
|
|
148
169
|
departmentType: {
|
|
149
170
|
editDepartmentType: "\u7F16\u8F91\u90E8\u95E8\u7C7B\u578B",
|
|
150
171
|
addDepartmentType: "\u6DFB\u52A0\u90E8\u95E8\u7C7B\u578B",
|
|
@@ -159,6 +180,62 @@ var zh_CN = {
|
|
|
159
180
|
editDeviceCover: "\u7F16\u8F91\u8BBE\u5907\u5C01\u9762",
|
|
160
181
|
close: "\u5173 \u95ED",
|
|
161
182
|
save: "\u4FDD \u5B58"
|
|
183
|
+
},
|
|
184
|
+
// 电子围栏
|
|
185
|
+
electronicFence: {
|
|
186
|
+
electronicFence: "\u7535\u5B50\u56F4\u680F",
|
|
187
|
+
electronicFenceName: "\u7535\u5B50\u56F4\u680F\u540D\u79F0",
|
|
188
|
+
pleaseSelectAGeofence: "\u8BF7\u9009\u62E9\u56F4\u680F",
|
|
189
|
+
associateUser: "\u5173\u8054\u7528\u6237",
|
|
190
|
+
employeeIDAccountNameDepartmentNameToFilter: "\u4EBA\u5458\u5DE5\u53F7\u3001\u8D26\u53F7\u3001\u540D\u79F0\u3001\u90E8\u95E8\u540D\u79F0\u8FDB\u884C\u7B5B\u9009",
|
|
191
|
+
createInformation: "\u521B\u5EFA\u4FE1\u606F",
|
|
192
|
+
addAnElectronicFence: "\u6DFB\u52A0\u7535\u5B50\u56F4\u680F",
|
|
193
|
+
addASingleElectronicFence: "\u6DFB\u52A0\u5355\u4E2A\u7535\u5B50\u56F4\u680F",
|
|
194
|
+
importAssociatedUsers: "\u5BFC\u5165\u5173\u8054\u7528\u6237",
|
|
195
|
+
uploadTheAssociatedUserTemplateAndLinkTheUsersFilledInTheTemplateToTheCorrespondingFences: "\u4E0A\u4F20\u5173\u8054\u7528\u6237\u6A21\u677F\uFF0C\u5C06\u6A21\u677F\u4E2D\u586B\u5199\u7684\u7528\u6237\u5173\u8054\u5230\u5BF9\u5E94\u56F4\u680F",
|
|
196
|
+
exportFenceInformation: "\u5BFC\u51FA\u56F4\u680F\u4FE1\u606F",
|
|
197
|
+
exportTheSelectedFenceInformation: "\u5BFC\u51FA\u9009\u4E2D\u56F4\u680F\u4FE1\u606F",
|
|
198
|
+
exportSelectedFenceInformationOnlyExportsTheSelectedFencesThatHaveBeenCheckedThisIsSuitableForTargetedVerification: "\u4EC5\u5BFC\u51FA\u5DF2\u52FE\u9009\u7684\u56F4\u680F\uFF0C\u9002\u7528\u4E8E\u5B9A\u5411\u6838\u5BF9",
|
|
199
|
+
exportAllFenceInformation: "\u5BFC\u51FA\u6240\u6709\u56F4\u680F\u4FE1\u606F",
|
|
200
|
+
exportAllTheElectronicFenceInformationFromTheList: "\u5BFC\u51FA\u5217\u8868\u4E2D\u6240\u6709\u7535\u5B50\u56F4\u680F\u4FE1\u606F\uFF08.xlsx\uFF09",
|
|
201
|
+
exportTheAssociatedUserTemplate: "\u5BFC\u51FA\u5173\u8054\u7528\u6237\u6A21\u677F",
|
|
202
|
+
exportTheSelectedAssociatedUserTemplate: "\u5BFC\u51FA\u9009\u4E2D\u5173\u8054\u7528\u6237\u6A21\u677F",
|
|
203
|
+
onlyForTheSelectedFencesGenerateTheAssociatedUserTemplateAfterFillingInUploadItThroughTheImportAssociatedUsersOption: "\u4EC5\u9488\u5BF9\u5DF2\u52FE\u9009\u56F4\u680F\u751F\u6210\u5173\u8054\u7528\u6237\u6A21\u677F\uFF0C\u586B\u5199\u540E\u901A\u8FC7\u300C\u5BFC\u5165\u5173\u8054\u7528\u6237\u300D\u4E0A\u4F20",
|
|
204
|
+
exportAllAssociatedUserTemplates: "\u5BFC\u51FA\u6240\u6709\u5173\u8054\u7528\u6237\u6A21\u677F",
|
|
205
|
+
downloadTheTemplateForAssociatingTheFenceWithUsersFillInTheBindingRelationshipBetweenTheFenceAndTheUsersAndThenUploadItThroughTheImportAssociatedUsersOption: "\u4E0B\u8F7D\u56F4\u680F\u5173\u8054\u7528\u6237\u6A21\u677F\uFF0C\u586B\u5199\u56F4\u680F\u4E0E\u7528\u6237\u7684\u7ED1\u5B9A\u5173\u7CFB\u540E\uFF0C\u901A\u8FC7\u300C\u5BFC\u5165\u5173\u8054\u7528\u6237\u300D\u4E0A\u4F20",
|
|
206
|
+
editTheElectronicFence: "\u7F16\u8F91\u7535\u5B50\u56F4\u680F",
|
|
207
|
+
associatedUserName: "\u5173\u8054\u7528\u6237\u540D\u79F0",
|
|
208
|
+
associatedUserAccount: "\u5173\u8054\u7528\u6237\u8D26\u53F7",
|
|
209
|
+
batchImportAssociatedUsers: "\u6279\u91CF\u5BFC\u5165\u5173\u8054\u7528\u6237"
|
|
210
|
+
},
|
|
211
|
+
// 规则设置
|
|
212
|
+
ruleSetting: {
|
|
213
|
+
noEntry: "\u7981\u5165",
|
|
214
|
+
noExit: "\u7981\u51FA",
|
|
215
|
+
silent: "\u9759\u9ED8",
|
|
216
|
+
scheduledPhoto: "\u5B9A\u65F6\u62CD\u7167",
|
|
217
|
+
scheduledVideo: "\u5B9A\u65F6\u5F55\u50CF",
|
|
218
|
+
scheduledFeedback: "\u5B9A\u65F6\u56DE\u4F20",
|
|
219
|
+
gather: "\u805A\u96C6",
|
|
220
|
+
ruleName: "\u89C4\u5219\u540D\u79F0",
|
|
221
|
+
areaName: "\u533A\u57DF\u540D\u79F0",
|
|
222
|
+
stayTime: "\u505C\u7559\u65F6\u95F4",
|
|
223
|
+
personnelIntervalThreshold: "\u4EBA\u5458\u95F4\u9694\u9608\u503C",
|
|
224
|
+
executionTime: "\u6267\u884C\u65F6\u95F4",
|
|
225
|
+
everyDay: "\u6BCF\u4E00\u5929",
|
|
226
|
+
rice: "\u7C73",
|
|
227
|
+
distribution: "\u5206\u914D",
|
|
228
|
+
assignRules: "\u5206\u914D\u89C4\u5219",
|
|
229
|
+
userName: "\u4F7F\u7528\u8005\u540D\u79F0",
|
|
230
|
+
deviceIMEI: "\u8BBE\u5907IMEI",
|
|
231
|
+
pleaseSelectTheUser: "\u8BF7\u9009\u62E9\u4F7F\u7528\u8005",
|
|
232
|
+
railName: "\u56F4\u680F\u540D\u79F0",
|
|
233
|
+
workingHours: "\u5DE5\u4F5C\u65F6\u95F4",
|
|
234
|
+
captureMode: "\u6293\u62CD\u6A21\u5F0F",
|
|
235
|
+
loopSnapshot: "\u5FAA\u73AF\u6293\u62CD",
|
|
236
|
+
independentSnapshot: "\u72EC\u7ACB\u6293\u62CD",
|
|
237
|
+
snapshotInterval: "\u6293\u62CD\u95F4\u9694",
|
|
238
|
+
second: "\u79D2"
|
|
162
239
|
}
|
|
163
240
|
};
|
|
164
241
|
|
package/lib/style/tailwind.scss
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
*,
|
|
1
|
+
*,
|
|
2
|
+
::before,
|
|
3
|
+
::after {
|
|
2
4
|
--tw-border-spacing-x: 0;
|
|
3
5
|
--tw-border-spacing-y: 0;
|
|
4
6
|
--tw-translate-x: 0;
|
|
@@ -118,11 +120,13 @@
|
|
|
118
120
|
@tailwind components;
|
|
119
121
|
@tailwind utilities;
|
|
120
122
|
|
|
121
|
-
html,
|
|
123
|
+
html,
|
|
124
|
+
body,
|
|
125
|
+
#app {
|
|
122
126
|
width: 100%;
|
|
123
127
|
height: 100%;
|
|
124
128
|
position: relative;
|
|
125
|
-
background:
|
|
129
|
+
background: rgb(var(--hy-background), var(--tw-bg-opacity, 1));
|
|
126
130
|
}
|
|
127
131
|
|
|
128
132
|
ol,
|
package/lib/utils/adaptive.js
CHANGED
|
@@ -6,9 +6,7 @@ function vwToPx(vw) {
|
|
|
6
6
|
return vw * window.innerWidth / 100;
|
|
7
7
|
}
|
|
8
8
|
function remToPx(rem) {
|
|
9
|
-
const rootFontSize = parseFloat(
|
|
10
|
-
window.getComputedStyle(document.documentElement).fontSize
|
|
11
|
-
);
|
|
9
|
+
const rootFontSize = parseFloat(window.getComputedStyle(document.documentElement).fontSize);
|
|
12
10
|
return rem * rootFontSize;
|
|
13
11
|
}
|
|
14
12
|
function pxTorem(px) {
|
package/lib/utils/form.js
CHANGED
|
@@ -54,21 +54,20 @@ function clearSpace(value, type = "between") {
|
|
|
54
54
|
return value;
|
|
55
55
|
}
|
|
56
56
|
const genRuleRequiredMsgHandler = (column, model) => {
|
|
57
|
-
const { t } = useLocale.useLocale();
|
|
58
57
|
const { type, prop } = column || {};
|
|
59
58
|
const label = columnLabelHandler(column, model);
|
|
60
59
|
if (!prop || !prop?.length) return "";
|
|
61
60
|
switch (type) {
|
|
62
61
|
case "input":
|
|
63
62
|
case "input-number":
|
|
64
|
-
return t("hy.pleaseEnterPlaceholder", [label]);
|
|
63
|
+
return useLocale.$t("hy.pleaseEnterPlaceholder", [label]);
|
|
65
64
|
case "select":
|
|
66
65
|
case "radio":
|
|
67
66
|
case "checkbox":
|
|
68
67
|
case "date-picker":
|
|
69
|
-
return t("hy.pleaseSelectPlaceholder", [label]);
|
|
68
|
+
return useLocale.$t("hy.pleaseSelectPlaceholder", [label]);
|
|
70
69
|
default:
|
|
71
|
-
return t("hy.cannotBeEmpty", [label]);
|
|
70
|
+
return useLocale.$t("hy.cannotBeEmpty", [label]);
|
|
72
71
|
}
|
|
73
72
|
};
|
|
74
73
|
const requiredHandler = (column, model) => {
|
|
@@ -98,11 +97,10 @@ const columnRuleHandler = (column, model) => {
|
|
|
98
97
|
};
|
|
99
98
|
const genColumnDefaultLabel = (column) => {
|
|
100
99
|
if (column.label) return vue.unref(column.label);
|
|
101
|
-
const { t } = useLocale.useLocale();
|
|
102
100
|
switch (column.type) {
|
|
103
101
|
// 部门级联选择框
|
|
104
102
|
case "org-cascader":
|
|
105
|
-
return t("form.department");
|
|
103
|
+
return useLocale.$t("form.department");
|
|
106
104
|
}
|
|
107
105
|
};
|
|
108
106
|
const columnLabelHandler = (column, model) => {
|
|
@@ -114,7 +112,6 @@ const columnLabelHandler = (column, model) => {
|
|
|
114
112
|
return label;
|
|
115
113
|
};
|
|
116
114
|
function columnPlaceholderHandler(column, model) {
|
|
117
|
-
const { t } = useLocale.useLocale();
|
|
118
115
|
const { type, attrs = {} } = column || {};
|
|
119
116
|
if (is.isFunction(attrs.placeholder)) {
|
|
120
117
|
const placeholder2 = vue.unref(attrs.placeholder);
|
|
@@ -127,13 +124,13 @@ function columnPlaceholderHandler(column, model) {
|
|
|
127
124
|
case "input-number":
|
|
128
125
|
case "lat":
|
|
129
126
|
case "lon":
|
|
130
|
-
placeholder = placeholder || t("hy.pleaseEnterPlaceholder", [label]);
|
|
127
|
+
placeholder = placeholder || useLocale.$t("hy.pleaseEnterPlaceholder", [label]);
|
|
131
128
|
break;
|
|
132
129
|
case "select":
|
|
133
130
|
case "date-picker":
|
|
134
131
|
case "time-picker":
|
|
135
132
|
case "org-cascader":
|
|
136
|
-
placeholder = placeholder || t("hy.pleaseSelectPlaceholder", [label]);
|
|
133
|
+
placeholder = placeholder || useLocale.$t("hy.pleaseSelectPlaceholder", [label]);
|
|
137
134
|
break;
|
|
138
135
|
default:
|
|
139
136
|
placeholder = placeholder || label;
|
package/lib/utils/handler.js
CHANGED
|
@@ -41,10 +41,7 @@ const mergeDeep = (target, value) => {
|
|
|
41
41
|
if (is.isObject(target)) {
|
|
42
42
|
const obj = {};
|
|
43
43
|
Object.keys(target).forEach((key) => {
|
|
44
|
-
obj[key] = mergeDeep(
|
|
45
|
-
target[key],
|
|
46
|
-
is.isEmpty(value[key]) ? target[key] : value[key]
|
|
47
|
-
);
|
|
44
|
+
obj[key] = mergeDeep(target[key], is.isEmpty(value[key]) ? target[key] : value[key]);
|
|
48
45
|
});
|
|
49
46
|
Object.keys(value).forEach((key) => {
|
|
50
47
|
if (is.isEmpty(value[key])) return;
|
|
@@ -85,11 +82,10 @@ const withInstall = (comp, name) => {
|
|
|
85
82
|
return comp;
|
|
86
83
|
};
|
|
87
84
|
async function copyText(text) {
|
|
88
|
-
const { t } = useLocale.useLocale();
|
|
89
85
|
if (navigator.clipboard) {
|
|
90
86
|
try {
|
|
91
87
|
await navigator.clipboard.writeText(text);
|
|
92
|
-
elementPlus.ElMessage.success(t("hy.copySuccessfully"));
|
|
88
|
+
elementPlus.ElMessage.success(useLocale.$t("hy.copySuccessfully"));
|
|
93
89
|
return;
|
|
94
90
|
} catch {
|
|
95
91
|
}
|
|
@@ -101,7 +97,7 @@ async function copyText(text) {
|
|
|
101
97
|
input.select();
|
|
102
98
|
document.execCommand("copy");
|
|
103
99
|
document.body.removeChild(input);
|
|
104
|
-
elementPlus.ElMessage.success(t("hy.copySuccessfully"));
|
|
100
|
+
elementPlus.ElMessage.success(useLocale.$t("hy.copySuccessfully"));
|
|
105
101
|
} catch (err) {
|
|
106
102
|
console.error(err);
|
|
107
103
|
return Promise.reject();
|
package/lib/utils/input.js
CHANGED
|
@@ -11,15 +11,14 @@ function formatTimeFn(number, format) {
|
|
|
11
11
|
const time = new Date(number);
|
|
12
12
|
const newArr = [];
|
|
13
13
|
const formatArr = ["Y", "M", "D", "day", "h", "m", "s"];
|
|
14
|
-
const { t } = useLocale.useLocale();
|
|
15
14
|
const arrWeek = [
|
|
16
|
-
t("hy.sunday"),
|
|
17
|
-
t("hy.monday"),
|
|
18
|
-
t("hy.tuesday"),
|
|
19
|
-
t("hy.wednesday"),
|
|
20
|
-
t("hy.thursday"),
|
|
21
|
-
t("hy.friday"),
|
|
22
|
-
t("hy.saturday")
|
|
15
|
+
useLocale.$t("hy.sunday"),
|
|
16
|
+
useLocale.$t("hy.monday"),
|
|
17
|
+
useLocale.$t("hy.tuesday"),
|
|
18
|
+
useLocale.$t("hy.wednesday"),
|
|
19
|
+
useLocale.$t("hy.thursday"),
|
|
20
|
+
useLocale.$t("hy.friday"),
|
|
21
|
+
useLocale.$t("hy.saturday")
|
|
23
22
|
];
|
|
24
23
|
newArr.push(time.getFullYear());
|
|
25
24
|
newArr.push(formatNumber(time.getMonth() + 1));
|