hy-dispatch-ui-v3 0.2.66 → 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 +257 -21
- 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/hyBatchUploadDialog/batchUploadDialog.vue.mjs +174 -142
- package/es/components/hyButton/button.vue.mjs +18 -5
- package/es/components/hyButton/style/button.scss +50 -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 +149 -69
- package/es/components/hyForm/cpns/locationSelect.vue.mjs +26 -26
- package/es/components/hyForm/form.vue.mjs +74 -28
- 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 +35 -10
- package/es/components/hyMap/map.vue.mjs +30 -6
- 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 +31 -12
- 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 +409 -324
- 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 +23 -20
- package/es/components/hySearch/style/search.scss +9 -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 +43 -34
- package/es/components/hyTable/js/index.mjs +67 -64
- package/es/components/hyTable/js/search.mjs +25 -1
- 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 +68 -53
- package/es/components/hyTableActionButton/tableActionButton.vue.mjs +13 -6
- package/es/components/hyTableForm/batchTableForm.vue.mjs +26 -9
- package/es/components/hyTableForm/js/index.mjs +2 -8
- package/es/components/hyTableForm/js/useAppTableForm.mjs +3 -8
- 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 +160 -70
- package/es/components/hyTimePicker/timePicker.vue.mjs +4 -5
- package/es/components/hyTree/js/index.mjs +113 -72
- package/es/components/hyTree/style/index.css +1 -1
- package/es/components/hyTree/tree.vue.mjs +21 -18
- 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/index.scss +0 -1
- package/es/style/tailwind.scss +7 -4
- 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/is.mjs +3 -1
- package/es/utils/map/hook/bigMap.mjs +16 -53
- package/es/utils/map/hook/gaode.mjs +53 -33
- package/es/utils/map/hook/leafletjs.mjs +38 -82
- package/es/utils/map/index.mjs +3 -9
- 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/hyBatchUploadDialog/batchUploadDialog.vue.js +173 -141
- package/lib/components/hyButton/button.vue.js +17 -4
- package/lib/components/hyButton/style/button.scss +50 -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 +148 -68
- package/lib/components/hyForm/cpns/locationSelect.vue.js +26 -26
- package/lib/components/hyForm/form.vue.js +69 -23
- 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 +34 -9
- package/lib/components/hyMap/map.vue.js +29 -5
- 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 +29 -10
- 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 +407 -322
- 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 +23 -20
- package/lib/components/hySearch/style/search.scss +9 -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 +41 -32
- package/lib/components/hyTable/js/index.js +65 -61
- package/lib/components/hyTable/js/search.js +25 -1
- 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 +67 -52
- package/lib/components/hyTableActionButton/tableActionButton.vue.js +13 -6
- package/lib/components/hyTableForm/batchTableForm.vue.js +26 -9
- package/lib/components/hyTableForm/js/index.js +2 -8
- package/lib/components/hyTableForm/js/useAppTableForm.js +3 -8
- 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 +159 -69
- package/lib/components/hyTimePicker/timePicker.vue.js +3 -4
- package/lib/components/hyTree/js/index.js +113 -72
- package/lib/components/hyTree/style/index.css +1 -1
- package/lib/components/hyTree/tree.vue.js +21 -18
- 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/index.scss +0 -1
- package/lib/style/tailwind.scss +7 -4
- 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/is.js +5 -3
- package/lib/utils/map/hook/bigMap.js +16 -53
- package/lib/utils/map/hook/gaode.js +53 -33
- package/lib/utils/map/hook/leafletjs.js +38 -82
- package/lib/utils/map/index.js +3 -9
- package/lib/utils/map/js/webgis.js +12 -12
- package/lib/version.js +1 -1
- package/package.json +3 -2
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var vue = require('vue');
|
|
6
|
+
var elementPlus = require('element-plus');
|
|
7
|
+
require('../../hooks/index.js');
|
|
8
|
+
require('../../components/index.js');
|
|
9
|
+
var ruleSetting = require('./js/ruleSetting.js');
|
|
10
|
+
var missionInRule = require('./cpns/missionInRule/missionInRule.vue.js');
|
|
11
|
+
var missionOutRule = require('./cpns/missionOutRule/missionOutRule.vue.js');
|
|
12
|
+
var sedentary = require('./cpns/sedentary/sedentary.vue.js');
|
|
13
|
+
var timerCamera = require('./cpns/timerCamera/timerCamera.vue.js');
|
|
14
|
+
var timedVideo = require('./cpns/timedVideo/timedVideo.vue.js');
|
|
15
|
+
var timingReturn = require('./cpns/timingReturn/timingReturn.vue.js');
|
|
16
|
+
var gatheringPeople = require('./cpns/gatheringPeople/gatheringPeople.vue.js');
|
|
17
|
+
var index = require('../../components/hyIcon/index.js');
|
|
18
|
+
var useLocale = require('../../hooks/useLocale.js');
|
|
19
|
+
|
|
20
|
+
import "./style/ruleSetting.scss";
|
|
21
|
+
|
|
22
|
+
const __default__ = vue.defineComponent({
|
|
23
|
+
name: "HyRuleSetting"
|
|
24
|
+
});
|
|
25
|
+
const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
26
|
+
props: {},
|
|
27
|
+
emits: ["on-add", "on-edit", "on-rule-assign", "on-set-aggregation-alarm"],
|
|
28
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
29
|
+
const props = __props;
|
|
30
|
+
const emits = __emit;
|
|
31
|
+
const tabList = vue.ref([]);
|
|
32
|
+
const tabValue = vue.ref(null);
|
|
33
|
+
function onAddRule(row) {
|
|
34
|
+
emits("on-add", row);
|
|
35
|
+
}
|
|
36
|
+
function onEditRule(row) {
|
|
37
|
+
emits("on-edit", row);
|
|
38
|
+
}
|
|
39
|
+
function onRuleAssign(row) {
|
|
40
|
+
emits("on-rule-assign", row);
|
|
41
|
+
}
|
|
42
|
+
function onSetAggregationAlarm() {
|
|
43
|
+
emits("on-set-aggregation-alarm");
|
|
44
|
+
}
|
|
45
|
+
vue.onMounted(() => {
|
|
46
|
+
tabList.value = ruleSetting.getTabsList();
|
|
47
|
+
tabValue.value = tabList.value.length ? tabList.value[0].permission : null;
|
|
48
|
+
});
|
|
49
|
+
__expose({});
|
|
50
|
+
return (_ctx, _cache) => {
|
|
51
|
+
return vue.openBlock(), vue.createElementBlock("div", { class: "w-full h-full flex flex-col" }, [
|
|
52
|
+
tabList.value.length ? (vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElTabs), {
|
|
53
|
+
key: 0,
|
|
54
|
+
modelValue: tabValue.value,
|
|
55
|
+
"onUpdate:modelValue": ($event) => tabValue.value = $event
|
|
56
|
+
}, {
|
|
57
|
+
default: vue.withCtx(() => [
|
|
58
|
+
(vue.openBlock(true), vue.createElementBlock(
|
|
59
|
+
vue.Fragment,
|
|
60
|
+
null,
|
|
61
|
+
vue.renderList(tabList.value, (item, index) => {
|
|
62
|
+
return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElTabPane), {
|
|
63
|
+
key: index,
|
|
64
|
+
label: item.name,
|
|
65
|
+
name: item.permission
|
|
66
|
+
}, null, 8, ["label", "name"]);
|
|
67
|
+
}),
|
|
68
|
+
128
|
|
69
|
+
/* KEYED_FRAGMENT */
|
|
70
|
+
))
|
|
71
|
+
]),
|
|
72
|
+
_: 1
|
|
73
|
+
/* STABLE */
|
|
74
|
+
}, 8, ["modelValue", "onUpdate:modelValue"])) : vue.createCommentVNode("v-if", true),
|
|
75
|
+
vue.createElementVNode("div", { class: "h-0 flex-1 mt-3" }, [
|
|
76
|
+
tabValue.value === "operator_ruleSetting_missionInRule" ? (vue.openBlock(), vue.createBlock(missionInRule.default, {
|
|
77
|
+
key: 0,
|
|
78
|
+
onOnAdd: onAddRule,
|
|
79
|
+
onOnEdit: onEditRule,
|
|
80
|
+
onOnRuleAssign: onRuleAssign
|
|
81
|
+
})) : tabValue.value === "operator_ruleSetting_missionOutRule" ? (vue.openBlock(), vue.createBlock(missionOutRule.default, {
|
|
82
|
+
key: 1,
|
|
83
|
+
onOnAdd: onAddRule,
|
|
84
|
+
onOnEdit: onEditRule,
|
|
85
|
+
onOnRuleAssign: onRuleAssign
|
|
86
|
+
})) : tabValue.value === "operator_ruleSetting_sedentary" ? (vue.openBlock(), vue.createBlock(sedentary.default, {
|
|
87
|
+
key: 2,
|
|
88
|
+
onOnAdd: onAddRule,
|
|
89
|
+
onOnEdit: onEditRule,
|
|
90
|
+
onOnRuleAssign: onRuleAssign
|
|
91
|
+
})) : tabValue.value === "operator_ruleSetting_timerCamera" ? (vue.openBlock(), vue.createBlock(timerCamera.default, {
|
|
92
|
+
key: 3,
|
|
93
|
+
onOnAdd: onAddRule,
|
|
94
|
+
onOnEdit: onEditRule,
|
|
95
|
+
onOnRuleAssign: onRuleAssign
|
|
96
|
+
})) : tabValue.value === "operator_ruleSetting_timedVideo" ? (vue.openBlock(), vue.createBlock(timedVideo.default, {
|
|
97
|
+
key: 4,
|
|
98
|
+
onOnAdd: onAddRule,
|
|
99
|
+
onOnEdit: onEditRule,
|
|
100
|
+
onOnRuleAssign: onRuleAssign
|
|
101
|
+
})) : tabValue.value === "operator_ruleSetting_timingReturn" ? (vue.openBlock(), vue.createBlock(timingReturn.default, {
|
|
102
|
+
key: 5,
|
|
103
|
+
onOnAdd: onAddRule,
|
|
104
|
+
onOnEdit: onEditRule,
|
|
105
|
+
onOnRuleAssign: onRuleAssign
|
|
106
|
+
})) : tabValue.value === "operator_ruleSetting_gatheringPeople" ? (vue.openBlock(), vue.createBlock(gatheringPeople.default, {
|
|
107
|
+
key: 6,
|
|
108
|
+
onOnAdd: onAddRule,
|
|
109
|
+
onOnEdit: onEditRule,
|
|
110
|
+
onOnSetAggregationAlarm: onSetAggregationAlarm
|
|
111
|
+
})) : (vue.openBlock(), vue.createElementBlock("div", {
|
|
112
|
+
key: 7,
|
|
113
|
+
class: "w-full h-full flex flex-col items-center justify-center text-auxiliary text-xs"
|
|
114
|
+
}, [
|
|
115
|
+
vue.createVNode(vue.unref(index.HyIcon), {
|
|
116
|
+
"svg-name": "ops-list-no-data",
|
|
117
|
+
class: "!w-[42px] !h-[42px]"
|
|
118
|
+
}),
|
|
119
|
+
vue.createElementVNode(
|
|
120
|
+
"div",
|
|
121
|
+
{ class: "mt-2.5" },
|
|
122
|
+
vue.toDisplayString(vue.unref(useLocale.$t)("bussiness.noPermission")),
|
|
123
|
+
1
|
|
124
|
+
/* TEXT */
|
|
125
|
+
)
|
|
126
|
+
]))
|
|
127
|
+
])
|
|
128
|
+
]);
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
});
|
|
132
|
+
|
|
133
|
+
exports.default = _sfc_main;
|
|
File without changes
|
package/lib/bussiness/index.js
CHANGED
|
@@ -1,19 +1,30 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index$1 = require('./hyAddDepartmentType/index.js');
|
|
4
|
-
var index$
|
|
5
|
-
var index$
|
|
6
|
-
var index$
|
|
7
|
-
var index$
|
|
8
|
-
var index$
|
|
4
|
+
var index$4 = require('./hyMapAearchPlace/index.js');
|
|
5
|
+
var index$8 = require('./hyUserTree/index.js');
|
|
6
|
+
var index$3 = require('./hyDeviceTree/index.js');
|
|
7
|
+
var index$5 = require('./hyOrgGroupTree/index.js');
|
|
8
|
+
var index$6 = require('./hyPlanGroupDeviceTree/index.js');
|
|
9
9
|
var index = require('./hyAcquisitionStationTree/index.js');
|
|
10
|
+
var index$2 = require('./hyElectronicFence/index.js');
|
|
11
|
+
var index$7 = require('./hyRuleSetting/index.js');
|
|
10
12
|
|
|
11
13
|
|
|
12
14
|
|
|
13
15
|
exports.HyAddDepartmentType = index$1.HyAddDepartmentType;
|
|
14
|
-
exports.HyMapAearchPlace = index$
|
|
15
|
-
exports.HyUserTree = index$
|
|
16
|
-
exports.HyDeviceTree = index$
|
|
17
|
-
exports.HyOrgGroupTree = index$
|
|
18
|
-
exports.HyPlanGroupDeviceTree = index$
|
|
16
|
+
exports.HyMapAearchPlace = index$4.HyMapAearchPlace;
|
|
17
|
+
exports.HyUserTree = index$8.HyUserTree;
|
|
18
|
+
exports.HyDeviceTree = index$3.HyDeviceTree;
|
|
19
|
+
exports.HyOrgGroupTree = index$5.HyOrgGroupTree;
|
|
20
|
+
exports.HyPlanGroupDeviceTree = index$6.HyPlanGroupDeviceTree;
|
|
19
21
|
exports.HyAcquisitionStationTree = index.HyAcquisitionStationTree;
|
|
22
|
+
exports.HyAddElectronicFenceDialog = index$2.HyAddElectronicFenceDialog;
|
|
23
|
+
exports.HyBatchSetElectronicFenceUserDialog = index$2.HyBatchSetElectronicFenceUserDialog;
|
|
24
|
+
exports.HyElectronicFence = index$2.HyElectronicFence;
|
|
25
|
+
exports.HyElectronicFenceAssociatedUsersDialog = index$2.HyElectronicFenceAssociatedUsersDialog;
|
|
26
|
+
exports.HyRuleAssignDialog = index$7.HyRuleAssignDialog;
|
|
27
|
+
exports.HyRuleFenceDialog = index$7.HyRuleFenceDialog;
|
|
28
|
+
exports.HyRuleSetting = index$7.HyRuleSetting;
|
|
29
|
+
exports.HyRuleSettingDialog = index$7.HyRuleSettingDialog;
|
|
30
|
+
exports.HySetRuleAggregationAlarmDialog = index$7.HySetRuleAggregationAlarmDialog;
|
|
@@ -9,8 +9,8 @@ require('../../utils/index.js');
|
|
|
9
9
|
require('../index.js');
|
|
10
10
|
var mediaLoading = require('../hyVideoPlayer/cpns/mediaLoading.vue.js');
|
|
11
11
|
var index = require('./js/index.js');
|
|
12
|
-
var useLocale = require('../../hooks/useLocale.js');
|
|
13
12
|
var useMixins = require('../../hooks/useMixins.js');
|
|
13
|
+
var useLocale = require('../../hooks/useLocale.js');
|
|
14
14
|
var index$1 = require('../hyIcon/index.js');
|
|
15
15
|
var index$2 = require('../hyTooltip/index.js');
|
|
16
16
|
var useAudioPlayerConfig = require('../../hooks/useAudioPlayerConfig.js');
|
|
@@ -91,18 +91,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
91
91
|
type: Function
|
|
92
92
|
}
|
|
93
93
|
},
|
|
94
|
-
emits: [
|
|
95
|
-
"canplay",
|
|
96
|
-
"timeupdate",
|
|
97
|
-
"play-start",
|
|
98
|
-
"play-ended",
|
|
99
|
-
"play-previous",
|
|
100
|
-
"play-next"
|
|
101
|
-
],
|
|
94
|
+
emits: ["canplay", "timeupdate", "play-start", "play-ended", "play-previous", "play-next"],
|
|
102
95
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
103
96
|
const props = __props;
|
|
104
97
|
const emits = __emit;
|
|
105
|
-
const { t } = useLocale.useLocale();
|
|
106
98
|
const audioWrapperRef = vue.useTemplateRef("audioWrapperRef");
|
|
107
99
|
const audioRef = vue.useTemplateRef("audioRef");
|
|
108
100
|
const {
|
|
@@ -185,7 +177,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
185
177
|
vue.createElementVNode(
|
|
186
178
|
"span",
|
|
187
179
|
{ class: "text-xs text-theme mt-4" },
|
|
188
|
-
"..." + vue.toDisplayString(vue.unref(t)("audioPlayer.audioResourcesAreLoading")) + "...",
|
|
180
|
+
"..." + vue.toDisplayString(vue.unref(useLocale.$t)("audioPlayer.audioResourcesAreLoading")) + "...",
|
|
189
181
|
1
|
|
190
182
|
/* TEXT */
|
|
191
183
|
)
|
|
@@ -378,7 +370,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
378
370
|
key: 0,
|
|
379
371
|
isAlways: "",
|
|
380
372
|
overLine: 1,
|
|
381
|
-
content: vue.unref(t)("audioPlayer.downloadFile")
|
|
373
|
+
content: vue.unref(useLocale.$t)("audioPlayer.downloadFile")
|
|
382
374
|
}, {
|
|
383
375
|
default: vue.withCtx(() => [
|
|
384
376
|
vue.createVNode(vue.unref(index$1.HyIcon), {
|
|
@@ -433,7 +425,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
433
425
|
vue.createVNode(vue.unref(index$2.HyTooltip), {
|
|
434
426
|
isAlways: "",
|
|
435
427
|
overLine: 1,
|
|
436
|
-
content: vue.unref(t)("audioPlayer.adjustPlaybackVolume")
|
|
428
|
+
content: vue.unref(useLocale.$t)("audioPlayer.adjustPlaybackVolume")
|
|
437
429
|
}, {
|
|
438
430
|
default: vue.withCtx(() => [
|
|
439
431
|
vue.createVNode(vue.unref(index$1.HyIcon), { "svg-name": "dispatch-share-audio-volumn" })
|
|
@@ -5,13 +5,12 @@ var elementPlus = require('element-plus');
|
|
|
5
5
|
require('dayjs');
|
|
6
6
|
require('../../../hooks/index.js');
|
|
7
7
|
require('../../../utils/index.js');
|
|
8
|
-
var useLocale = require('../../../hooks/useLocale.js');
|
|
9
8
|
var useAudioPlayerConfig = require('../../../hooks/useAudioPlayerConfig.js');
|
|
9
|
+
var useLocale = require('../../../hooks/useLocale.js');
|
|
10
10
|
var date = require('../../../utils/date.js');
|
|
11
11
|
|
|
12
12
|
const useAudioPlayer = (hy) => {
|
|
13
13
|
const { props, emits, audioRef } = hy;
|
|
14
|
-
const { t } = useLocale.useLocale();
|
|
15
14
|
const { audioPlayerConfig } = useAudioPlayerConfig.useAudioPlayerConfig();
|
|
16
15
|
const speed = vue.ref(1);
|
|
17
16
|
const playRules = vue.ref(1);
|
|
@@ -35,17 +34,17 @@ const useAudioPlayer = (hy) => {
|
|
|
35
34
|
const playRulesList = [
|
|
36
35
|
{
|
|
37
36
|
value: 1,
|
|
38
|
-
label: t("audioPlayer.stopAfterPlayback"),
|
|
37
|
+
label: useLocale.$t("audioPlayer.stopAfterPlayback"),
|
|
39
38
|
svgName: "ops-audio-media-center-stop-playing"
|
|
40
39
|
},
|
|
41
40
|
{
|
|
42
41
|
value: 2,
|
|
43
|
-
label: t("audioPlayer.continuousPlayback"),
|
|
42
|
+
label: useLocale.$t("audioPlayer.continuousPlayback"),
|
|
44
43
|
svgName: "ops-audio-media-center-autoplay"
|
|
45
44
|
},
|
|
46
45
|
{
|
|
47
46
|
value: 3,
|
|
48
|
-
label: t("audioPlayer.loopPlayback"),
|
|
47
|
+
label: useLocale.$t("audioPlayer.loopPlayback"),
|
|
49
48
|
svgName: "ops-audio-media-center-loop-playback"
|
|
50
49
|
}
|
|
51
50
|
];
|
|
@@ -54,7 +53,7 @@ const useAudioPlayer = (hy) => {
|
|
|
54
53
|
});
|
|
55
54
|
const speedLabel = vue.computed(() => {
|
|
56
55
|
if (speed.value === 1) {
|
|
57
|
-
return t("audioPlayer.multiples");
|
|
56
|
+
return useLocale.$t("audioPlayer.multiples");
|
|
58
57
|
} else {
|
|
59
58
|
return speedList.find((item) => item.value === speed.value).label;
|
|
60
59
|
}
|
|
@@ -164,15 +163,13 @@ const useAudioPlayer = (hy) => {
|
|
|
164
163
|
}
|
|
165
164
|
function playPrevious() {
|
|
166
165
|
if (props.type === "default") {
|
|
167
|
-
const index = props.playList.findIndex(
|
|
168
|
-
(item) => item.id === audioItem.value.id
|
|
169
|
-
);
|
|
166
|
+
const index = props.playList.findIndex((item) => item.id === audioItem.value.id);
|
|
170
167
|
if (index > 0 && index !== props.playList.length) {
|
|
171
168
|
const item = props.playList[index - 1];
|
|
172
169
|
playAudio(item.filePath, item);
|
|
173
170
|
emits("play-previous");
|
|
174
171
|
} else {
|
|
175
|
-
elementPlus.ElMessage.warning(t("audioPlayer.currentIsTheFirstItem"));
|
|
172
|
+
elementPlus.ElMessage.warning(useLocale.$t("audioPlayer.currentIsTheFirstItem"));
|
|
176
173
|
}
|
|
177
174
|
} else if (isAnalyseType.value) {
|
|
178
175
|
if (!isCanPlay.value) return;
|
|
@@ -181,15 +178,13 @@ const useAudioPlayer = (hy) => {
|
|
|
181
178
|
}
|
|
182
179
|
function playNext() {
|
|
183
180
|
if (props.type === "default") {
|
|
184
|
-
const index = props.playList.findIndex(
|
|
185
|
-
(item) => item.id === audioItem.value.id
|
|
186
|
-
);
|
|
181
|
+
const index = props.playList.findIndex((item) => item.id === audioItem.value.id);
|
|
187
182
|
if (index !== props.playList.length - 1) {
|
|
188
183
|
const item = props.playList[index + 1];
|
|
189
184
|
playAudio(item.filePath, item);
|
|
190
185
|
emits("play-next");
|
|
191
186
|
} else {
|
|
192
|
-
elementPlus.ElMessage.warning(t("audioPlayer.currentIsTheLastItem"));
|
|
187
|
+
elementPlus.ElMessage.warning(useLocale.$t("audioPlayer.currentIsTheLastItem"));
|
|
193
188
|
}
|
|
194
189
|
} else if (isAnalyseType.value) {
|
|
195
190
|
if (!isCanPlay.value) return;
|
|
@@ -16,8 +16,7 @@
|
|
|
16
16
|
background: rgba(var(--hy-background-3));
|
|
17
17
|
box-shadow: rgba(var(--hy-dialog-box-shadow));
|
|
18
18
|
border: 1px solid rgba(var(--hy-dialog-border));
|
|
19
|
-
border-radius: rgba(var(--hy-dialog-border-radius))
|
|
20
|
-
rgba(var(--hy-dialog-border-radius)) 0px 0px;
|
|
19
|
+
border-radius: rgba(var(--hy-dialog-border-radius)) rgba(var(--hy-dialog-border-radius)) 0px 0px;
|
|
21
20
|
|
|
22
21
|
.point_area {
|
|
23
22
|
text-align: center;
|
|
@@ -122,6 +121,7 @@
|
|
|
122
121
|
padding: 0 12px 0;
|
|
123
122
|
color: rgba(var(--hy-main));
|
|
124
123
|
background: #040814;
|
|
124
|
+
box-sizing: border-box;
|
|
125
125
|
|
|
126
126
|
.progress-operator {
|
|
127
127
|
display: flex;
|
|
@@ -156,6 +156,7 @@
|
|
|
156
156
|
left: 0px;
|
|
157
157
|
top: 13px;
|
|
158
158
|
padding: 0 12px;
|
|
159
|
+
box-sizing: border-box;
|
|
159
160
|
}
|
|
160
161
|
&:not(.progress-analyse) {
|
|
161
162
|
width: 0;
|
|
@@ -231,6 +232,7 @@
|
|
|
231
232
|
border: 1px solid rgba(var(--hy-border));
|
|
232
233
|
border-radius: 4px;
|
|
233
234
|
background-color: rgba(var(--hy-background-2));
|
|
235
|
+
box-sizing: border-box;
|
|
234
236
|
}
|
|
235
237
|
.hy-icon {
|
|
236
238
|
width: 26px;
|
|
@@ -250,6 +252,7 @@
|
|
|
250
252
|
|
|
251
253
|
&.operator-analyse {
|
|
252
254
|
padding-top: 20px;
|
|
255
|
+
box-sizing: border-box;
|
|
253
256
|
}
|
|
254
257
|
}
|
|
255
258
|
|
|
@@ -261,12 +264,14 @@
|
|
|
261
264
|
min-width: auto !important;
|
|
262
265
|
width: 40px !important;
|
|
263
266
|
padding: 16px 0;
|
|
267
|
+
box-sizing: border-box;
|
|
264
268
|
}
|
|
265
269
|
|
|
266
270
|
.hy-audio-player-popover-speed {
|
|
267
271
|
min-width: auto !important;
|
|
268
272
|
width: 62px !important;
|
|
269
273
|
padding: 0px !important;
|
|
274
|
+
box-sizing: border-box;
|
|
270
275
|
.speed-list {
|
|
271
276
|
width: 100%;
|
|
272
277
|
color: rgba(var(--hy-auxiliary));
|