hy-dispatch-ui-v3 0.2.62 → 0.2.64
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 +4 -5
- package/es/api/device.mjs +1 -0
- package/es/api/index.mjs +1 -0
- package/es/api/sypct.mjs +1 -0
- package/es/api/task.mjs +1 -0
- package/es/bussiness/hyAddDepartmentType/addDepartmentType.vue.mjs +6 -3
- package/es/bussiness/hyAddDepartmentType/index.mjs +1 -0
- package/es/bussiness/hyMapAearchPlace/index.mjs +1 -0
- package/es/bussiness/hyMapAearchPlace/js/index.mjs +39 -42
- package/es/bussiness/hyMapAearchPlace/mapAearchPlace.vue.mjs +24 -5
- package/es/bussiness/hyMapAearchPlace/mapAearchPlaceItem.vue.mjs +2 -0
- package/es/components/hyAudioPlayer/audioPlayer.vue.mjs +3 -0
- package/es/components/hyAudioPlayer/index.mjs +1 -0
- package/es/components/hyAudioPlayer/js/index.mjs +5 -1
- package/es/components/hyBatchUploadDialog/batchUploadDialog.vue.mjs +4 -0
- package/es/components/hyBatchUploadDialog/index.mjs +1 -0
- package/es/components/hyButton/button.vue.mjs +3 -2
- package/es/components/hyButton/index.mjs +1 -0
- package/es/components/hyButton/style/button.scss +9 -2
- package/es/components/hyConfigProvider/configProvider.vue.mjs +2 -1
- package/es/components/hyConfigProvider/index.mjs +1 -0
- package/es/components/hyConfirmDialog/confirmDialog.vue.mjs +4 -0
- package/es/components/hyConfirmDialog/confirmMethod.mjs +5 -3
- package/es/components/hyConfirmDialog/index.mjs +1 -0
- package/es/components/hyCutter/cutter.vue.mjs +5 -2
- package/es/components/hyCutter/index.mjs +1 -0
- package/es/components/hyDatePicker/datePicker.vue.mjs +2 -0
- package/es/components/hyDatePicker/index.mjs +1 -0
- package/es/components/hyDialog/dialog.vue.mjs +99 -28
- package/es/components/hyDialog/index.mjs +1 -0
- package/es/components/hyForm/cpns/arrayItem.vue.mjs +16 -3
- package/es/components/hyForm/cpns/extraItem.vue.mjs +2 -0
- package/es/components/hyForm/cpns/formItem.vue.mjs +4 -1
- package/es/components/hyForm/cpns/locationSelect.vue.mjs +5 -1
- package/es/components/hyForm/form.vue.mjs +9 -3
- package/es/components/hyForm/index.mjs +1 -0
- package/es/components/hyForm/js/index.mjs +3 -1
- package/es/components/hyForm/js/useAppForm.mjs +4 -2
- package/es/components/hyIcon/icon.vue.mjs +2 -1
- package/es/components/hyIcon/index.mjs +1 -0
- package/es/components/hyIconBox/iconBox.vue.mjs +1 -0
- package/es/components/hyIconBox/index.mjs +1 -0
- package/es/components/hyInput/index.mjs +1 -0
- package/es/components/hyInput/input.vue.mjs +3 -1
- package/es/components/hyInput/inputSearch.vue.mjs +2 -1
- package/es/components/hyLoading/index.mjs +41 -0
- package/es/components/hyMap/index.mjs +1 -0
- package/es/components/hyMap/js/index.mjs +82 -0
- package/es/components/hyMap/map.vue.mjs +1 -0
- package/es/components/hyMenu/index.mjs +1 -0
- package/es/components/hyMenu/menu.vue.mjs +4 -0
- package/es/components/hyNoPermissions/index.mjs +1 -0
- package/es/components/hyNoPermissions/noPermissions.vue.mjs +4 -0
- package/es/components/hyNoPermissionsMap/index.mjs +1 -0
- package/es/components/hyNoPermissionsMap/noPermissionsMap.vue.mjs +4 -0
- package/es/components/hyOrgCascader/index.mjs +1 -0
- package/es/components/hyOrgCascader/js/index.mjs +2 -0
- package/es/components/hyOrgCascader/orgCascader.vue.mjs +2 -1
- package/es/components/hyRadioGroup/index.mjs +1 -0
- package/es/components/hyRadioGroup/radioGroup.vue.mjs +2 -2
- package/es/components/hySearch/cpns/searchItem.vue.mjs +3 -1
- package/es/components/hySearch/index.mjs +1 -0
- package/es/components/hySearch/js/index.mjs +4 -2
- package/es/components/hySearch/js/useAppSearch.mjs +4 -2
- package/es/components/hySearch/search.vue.mjs +3 -0
- package/es/components/hyTable/cpns/columnSelect.vue.mjs +6 -3
- package/es/components/hyTable/cpns/columnSelectItem.vue.mjs +3 -0
- package/es/components/hyTable/cpns/headerItem.vue.mjs +3 -0
- package/es/components/hyTable/cpns/virtualTable.vue.mjs +27 -45
- package/es/components/hyTable/index.mjs +1 -0
- package/es/components/hyTable/js/index.mjs +80 -28
- package/es/components/hyTable/js/search.mjs +2 -0
- package/es/components/hyTable/js/useAppTable.mjs +9 -5
- package/es/components/hyTable/table.vue.mjs +16 -8
- package/es/components/hyTableActionButton/index.mjs +1 -0
- package/es/components/hyTableActionButton/tableActionButton.vue.mjs +8 -7
- package/es/components/hyTableForm/batchTableForm.vue.mjs +5 -2
- package/es/components/hyTableForm/index.mjs +1 -0
- package/es/components/hyTableForm/js/index.mjs +36 -0
- package/es/components/hyTableForm/js/useAppTableForm.mjs +2 -0
- package/es/components/hyTableForm/tableForm.vue.mjs +4 -2
- package/es/components/hyTimePicker/index.mjs +1 -0
- package/es/components/hyTimePicker/timePicker.vue.mjs +3 -1
- package/es/components/hyTooltip/index.mjs +1 -0
- package/es/components/hyTooltip/tooltip.vue.mjs +4 -2
- package/es/components/hyTree/index.mjs +1 -0
- package/es/components/hyTree/js/index.mjs +49 -14
- package/es/components/hyTree/tree.vue.mjs +13 -6
- package/es/components/hyUserAvatar/index.mjs +1 -0
- package/es/components/hyUserAvatar/userAvatar.vue.mjs +5 -1
- package/es/components/hyVideoPlayer/cpns/mediaLoading.vue.mjs +1 -0
- package/es/components/hyVideoPlayer/index.mjs +1 -0
- package/es/components/hyVideoPlayer/js/index.mjs +7 -2
- package/es/components/hyVideoPlayer/videoPlayer.vue.mjs +3 -0
- package/es/components/index.mjs +1 -0
- package/es/hooks/useGlobalConfig.mjs +1 -1
- package/es/hooks/useLocale.mjs +4 -2
- package/es/hooks/useResizeHandler.mjs +1 -0
- package/es/hooks/useResizeObserver.mjs +1 -1
- package/es/index.mjs +6 -0
- package/es/locale/en.mjs +1 -2
- package/es/locale/zh_CN.mjs +1 -2
- package/es/make-installer.mjs +1 -0
- package/es/static/hy-svg-icons/hy-icon-ops-list-lod.js +14 -0
- package/es/utils/file.mjs +1 -0
- package/es/utils/form.mjs +2 -1
- package/es/utils/handler.mjs +2 -0
- package/es/utils/index.mjs +2 -0
- package/es/utils/input.mjs +1 -0
- package/es/utils/is.mjs +1 -0
- package/es/utils/map/hook/bigMap.mjs +3 -2
- package/es/utils/map/hook/gaode.mjs +2 -2
- package/es/utils/map/hook/leafletjs.mjs +7 -1
- package/es/utils/map/index.mjs +12 -0
- package/es/utils/map/js/webgis.mjs +4 -1
- package/es/utils/sharedContent.mjs +12 -0
- package/es/version.mjs +1 -1
- package/lib/api/device.js +1 -0
- package/lib/api/index.js +1 -0
- package/lib/api/sypct.js +1 -0
- package/lib/api/task.js +1 -0
- package/lib/bussiness/hyAddDepartmentType/addDepartmentType.vue.js +15 -12
- package/lib/bussiness/hyAddDepartmentType/index.js +1 -0
- package/lib/bussiness/hyMapAearchPlace/index.js +1 -0
- package/lib/bussiness/hyMapAearchPlace/js/index.js +37 -40
- package/lib/bussiness/hyMapAearchPlace/mapAearchPlace.vue.js +23 -4
- package/lib/bussiness/hyMapAearchPlace/mapAearchPlaceItem.vue.js +2 -0
- package/lib/components/hyAudioPlayer/audioPlayer.vue.js +3 -0
- package/lib/components/hyAudioPlayer/index.js +1 -0
- package/lib/components/hyAudioPlayer/js/index.js +5 -1
- package/lib/components/hyBatchUploadDialog/batchUploadDialog.vue.js +4 -0
- package/lib/components/hyBatchUploadDialog/index.js +1 -0
- package/lib/components/hyButton/button.vue.js +2 -1
- package/lib/components/hyButton/index.js +1 -0
- package/lib/components/hyButton/style/button.scss +9 -2
- package/lib/components/hyConfigProvider/configProvider.vue.js +1 -0
- package/lib/components/hyConfigProvider/index.js +1 -0
- package/lib/components/hyConfirmDialog/confirmDialog.vue.js +4 -0
- package/lib/components/hyConfirmDialog/confirmMethod.js +5 -3
- package/lib/components/hyConfirmDialog/index.js +1 -0
- package/lib/components/hyCutter/cutter.vue.js +3 -0
- package/lib/components/hyCutter/index.js +1 -0
- package/lib/components/hyDatePicker/datePicker.vue.js +2 -0
- package/lib/components/hyDatePicker/index.js +1 -0
- package/lib/components/hyDialog/dialog.vue.js +97 -26
- package/lib/components/hyDialog/index.js +1 -0
- package/lib/components/hyForm/cpns/arrayItem.vue.js +16 -3
- package/lib/components/hyForm/cpns/extraItem.vue.js +2 -0
- package/lib/components/hyForm/cpns/formItem.vue.js +3 -0
- package/lib/components/hyForm/cpns/locationSelect.vue.js +5 -1
- package/lib/components/hyForm/form.vue.js +9 -3
- package/lib/components/hyForm/index.js +1 -0
- package/lib/components/hyForm/js/index.js +3 -1
- package/lib/components/hyForm/js/useAppForm.js +3 -1
- package/lib/components/hyIcon/icon.vue.js +1 -0
- package/lib/components/hyIcon/index.js +1 -0
- package/lib/components/hyIconBox/iconBox.vue.js +1 -0
- package/lib/components/hyIconBox/index.js +1 -0
- package/lib/components/hyInput/index.js +1 -0
- package/lib/components/hyInput/input.vue.js +2 -0
- package/lib/components/hyInput/inputSearch.vue.js +1 -0
- package/lib/components/hyLoading/index.js +47 -0
- package/lib/components/hyMap/index.js +1 -0
- package/lib/components/hyMap/js/index.js +82 -0
- package/lib/components/hyMap/map.vue.js +1 -0
- package/lib/components/hyMenu/index.js +1 -0
- package/lib/components/hyMenu/menu.vue.js +4 -0
- package/lib/components/hyNoPermissions/index.js +1 -0
- package/lib/components/hyNoPermissions/noPermissions.vue.js +4 -0
- package/lib/components/hyNoPermissionsMap/index.js +1 -0
- package/lib/components/hyNoPermissionsMap/noPermissionsMap.vue.js +4 -0
- package/lib/components/hyOrgCascader/index.js +1 -0
- package/lib/components/hyOrgCascader/js/index.js +2 -0
- package/lib/components/hyOrgCascader/orgCascader.vue.js +2 -1
- package/lib/components/hyRadioGroup/index.js +1 -0
- package/lib/components/hyRadioGroup/radioGroup.vue.js +1 -1
- package/lib/components/hySearch/cpns/searchItem.vue.js +2 -0
- package/lib/components/hySearch/index.js +1 -0
- package/lib/components/hySearch/js/index.js +3 -1
- package/lib/components/hySearch/js/useAppSearch.js +4 -2
- package/lib/components/hySearch/search.vue.js +3 -0
- package/lib/components/hyTable/cpns/columnSelect.vue.js +4 -1
- package/lib/components/hyTable/cpns/columnSelectItem.vue.js +3 -0
- package/lib/components/hyTable/cpns/headerItem.vue.js +3 -0
- package/lib/components/hyTable/cpns/virtualTable.vue.js +25 -43
- package/lib/components/hyTable/index.js +1 -0
- package/lib/components/hyTable/js/index.js +79 -27
- package/lib/components/hyTable/js/search.js +2 -0
- package/lib/components/hyTable/js/useAppTable.js +8 -4
- package/lib/components/hyTable/table.vue.js +15 -7
- package/lib/components/hyTableActionButton/index.js +1 -0
- package/lib/components/hyTableActionButton/tableActionButton.vue.js +7 -6
- package/lib/components/hyTableForm/batchTableForm.vue.js +15 -12
- package/lib/components/hyTableForm/index.js +1 -0
- package/lib/components/hyTableForm/js/index.js +36 -0
- package/lib/components/hyTableForm/js/useAppTableForm.js +2 -0
- package/lib/components/hyTableForm/tableForm.vue.js +12 -10
- package/lib/components/hyTimePicker/index.js +1 -0
- package/lib/components/hyTimePicker/timePicker.vue.js +2 -0
- package/lib/components/hyTooltip/index.js +1 -0
- package/lib/components/hyTooltip/tooltip.vue.js +2 -0
- package/lib/components/hyTree/index.js +1 -0
- package/lib/components/hyTree/js/index.js +48 -13
- package/lib/components/hyTree/tree.vue.js +13 -6
- package/lib/components/hyUserAvatar/index.js +1 -0
- package/lib/components/hyUserAvatar/userAvatar.vue.js +5 -1
- package/lib/components/hyVideoPlayer/cpns/mediaLoading.vue.js +1 -0
- package/lib/components/hyVideoPlayer/index.js +1 -0
- package/lib/components/hyVideoPlayer/js/index.js +7 -2
- package/lib/components/hyVideoPlayer/videoPlayer.vue.js +3 -0
- package/lib/components/index.js +56 -53
- package/lib/hooks/useLocale.js +3 -1
- package/lib/hooks/useResizeHandler.js +1 -0
- package/lib/index.js +70 -61
- package/lib/locale/en.js +1 -2
- package/lib/locale/zh_CN.js +1 -2
- package/lib/make-installer.js +1 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-list-lod.js +14 -0
- package/lib/utils/file.js +1 -0
- package/lib/utils/form.js +1 -0
- package/lib/utils/handler.js +2 -0
- package/lib/utils/index.js +3 -0
- package/lib/utils/input.js +1 -0
- package/lib/utils/is.js +1 -0
- package/lib/utils/map/hook/bigMap.js +3 -2
- package/lib/utils/map/hook/gaode.js +1 -1
- package/lib/utils/map/hook/leafletjs.js +7 -1
- package/lib/utils/map/index.js +12 -0
- package/lib/utils/map/js/webgis.js +4 -1
- package/lib/utils/sharedContent.js +14 -0
- package/lib/version.js +1 -1
- package/package.json +2 -1
package/dist/tailwind.css
CHANGED
|
@@ -861,6 +861,10 @@
|
|
|
861
861
|
min-width: 120px !important;
|
|
862
862
|
}
|
|
863
863
|
|
|
864
|
+
.min-w-\[120px\] {
|
|
865
|
+
min-width: 120px;
|
|
866
|
+
}
|
|
867
|
+
|
|
864
868
|
.min-w-full {
|
|
865
869
|
min-width: 100%;
|
|
866
870
|
}
|
|
@@ -1488,11 +1492,6 @@
|
|
|
1488
1492
|
color: rgb(var(--hy-auxiliary), var(--tw-text-opacity, 1));
|
|
1489
1493
|
}
|
|
1490
1494
|
|
|
1491
|
-
.text-danger {
|
|
1492
|
-
--tw-text-opacity: 1;
|
|
1493
|
-
color: rgb(var(--hy-danger), var(--tw-text-opacity, 1));
|
|
1494
|
-
}
|
|
1495
|
-
|
|
1496
1495
|
.text-danger-2 {
|
|
1497
1496
|
--tw-text-opacity: 1;
|
|
1498
1497
|
color: rgb(var(--hy-danger-2), var(--tw-text-opacity, 1));
|
package/es/api/device.mjs
CHANGED
package/es/api/index.mjs
CHANGED
package/es/api/sypct.mjs
CHANGED
package/es/api/task.mjs
CHANGED
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
import { defineComponent, useTemplateRef, resolveComponent, openBlock, createBlock, unref, isRef, withCtx, createCommentVNode, createElementVNode, createVNode, toDisplayString, createTextVNode
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent, useTemplateRef, ref, resolveComponent, openBlock, createBlock, unref, isRef, withCtx, createCommentVNode, createElementVNode, createVNode, toDisplayString, createTextVNode } from 'vue';
|
|
2
|
+
import '../../hooks/index.mjs';
|
|
3
|
+
import { ElMessage, ElForm, ElFormItem, ElUpload, ElImage } from 'element-plus';
|
|
3
4
|
import { saveApi } from '../../api/index.mjs';
|
|
5
|
+
import '../../utils/index.mjs';
|
|
6
|
+
import '../../components/index.mjs';
|
|
4
7
|
import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
|
|
5
8
|
import { useLocale } from '../../hooks/useLocale.mjs';
|
|
9
|
+
import { fileUpload } from '../../utils/file.mjs';
|
|
6
10
|
import { useMixins } from '../../hooks/useMixins.mjs';
|
|
7
11
|
import { HyDialog } from '../../components/hyDialog/index.mjs';
|
|
8
12
|
import { HyIcon } from '../../components/hyIcon/index.mjs';
|
|
9
13
|
import { HyButton } from '../../components/hyButton/index.mjs';
|
|
10
14
|
import { HyCutter } from '../../components/hyCutter/index.mjs';
|
|
11
|
-
import { fileUpload } from '../../utils/file.mjs';
|
|
12
15
|
|
|
13
16
|
const __default__ = defineComponent({
|
|
14
17
|
name: "HyAddDepartmentType"
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { ref, computed, nextTick } from 'vue';
|
|
2
2
|
import { ElMessage } from 'element-plus';
|
|
3
|
-
import {
|
|
3
|
+
import { findAllApi, pageApi } from '../../../api/index.mjs';
|
|
4
4
|
import { childTaskFindAllApi } from '../../../api/task.mjs';
|
|
5
5
|
import { detailApi } from '../../../api/device.mjs';
|
|
6
6
|
import { unbindCphmTaskApi } from '../../../api/sypct.mjs';
|
|
7
|
-
import
|
|
7
|
+
import '../../../utils/index.mjs';
|
|
8
|
+
import { WGS84ToGCJ02, WGS84ToBD09, GCJ02ToWGS84, GCJ02ToBD09, BD09ToGCJ02, BD09ToWGS84, getCoordinate } from '../../../utils/map/js/webgis.mjs';
|
|
8
9
|
import { setPoiServer } from '../../../utils/map/index.mjs';
|
|
9
|
-
import { onlyNumber } from '../../../utils/input.mjs';
|
|
10
10
|
import { isPermission } from '../../../utils/is.mjs';
|
|
11
|
+
import { onlyNumber } from '../../../utils/input.mjs';
|
|
11
12
|
|
|
12
13
|
const CoordinateDict = {
|
|
13
14
|
0: "WGS84",
|
|
@@ -22,32 +23,6 @@ const CoordinateMap = {
|
|
|
22
23
|
const useMapAearchPlace = (hy) => {
|
|
23
24
|
const { props, emits, t } = hy;
|
|
24
25
|
const poiServer = setPoiServer(props.mapConfig);
|
|
25
|
-
const searchAddressTypeList = ref([
|
|
26
|
-
{ label: "\u5730\u7406\u5730\u5740", value: 1 },
|
|
27
|
-
// 水源点: 2
|
|
28
|
-
// 防火单位: 3
|
|
29
|
-
{
|
|
30
|
-
label: "\u90E8\u95E8\u540D\u79F0",
|
|
31
|
-
value: 4,
|
|
32
|
-
permission: "operator_departmentManage"
|
|
33
|
-
},
|
|
34
|
-
{ label: "\u67E5\u7ECF\u7EAC\u5EA6", value: 5 },
|
|
35
|
-
{
|
|
36
|
-
label: "\u67E5\u5DE1\u67E5\u70B9",
|
|
37
|
-
value: 6,
|
|
38
|
-
permission: "mission_patrolInspectionTask"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
label: "\u4EFB\u52A1\u540D\u79F0",
|
|
42
|
-
value: 7,
|
|
43
|
-
permission: "mission_commonTasks"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
label: "\u67E5\u8BE2\u8F66\u8F86",
|
|
47
|
-
value: 8,
|
|
48
|
-
permission: "commands_dutyStatus"
|
|
49
|
-
}
|
|
50
|
-
]);
|
|
51
26
|
const nextPageParams = ref(null);
|
|
52
27
|
const lnglat = ref({
|
|
53
28
|
lng: null,
|
|
@@ -91,20 +66,43 @@ const useMapAearchPlace = (hy) => {
|
|
|
91
66
|
const mapCoordinateName = computed(() => {
|
|
92
67
|
return CoordinateDict[hy.mapCoordinate.value];
|
|
93
68
|
});
|
|
94
|
-
|
|
95
|
-
const
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
69
|
+
const searchAddressTypeList = computed(() => {
|
|
70
|
+
const selectIdSet = props.selectIdList.reduce((value, id) => {
|
|
71
|
+
value.add(id);
|
|
72
|
+
return value;
|
|
73
|
+
}, /* @__PURE__ */ new Set());
|
|
74
|
+
return [
|
|
75
|
+
{ label: "\u5730\u7406\u5730\u5740", value: 1 },
|
|
76
|
+
// 水源点: 2
|
|
77
|
+
// 防火单位: 3
|
|
78
|
+
{
|
|
79
|
+
label: "\u90E8\u95E8\u540D\u79F0",
|
|
80
|
+
value: 4,
|
|
81
|
+
permission: "operator_departmentManage"
|
|
82
|
+
},
|
|
83
|
+
{ label: "\u67E5\u7ECF\u7EAC\u5EA6", value: 5 },
|
|
84
|
+
{
|
|
85
|
+
label: "\u67E5\u5DE1\u67E5\u70B9",
|
|
86
|
+
value: 6,
|
|
87
|
+
permission: "mission_patrolInspectionTask"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
label: "\u4EFB\u52A1\u540D\u79F0",
|
|
91
|
+
value: 7,
|
|
92
|
+
permission: "mission_commonTasks"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
label: "\u67E5\u8BE2\u8F66\u8F86",
|
|
96
|
+
value: 8,
|
|
97
|
+
permission: "commands_dutyStatus"
|
|
102
98
|
}
|
|
99
|
+
].filter((item) => {
|
|
100
|
+
if (!item.permission && !isPermission(item.permission)) {
|
|
101
|
+
return false;
|
|
102
|
+
}
|
|
103
|
+
return selectIdSet.has(item.value);
|
|
103
104
|
});
|
|
104
|
-
|
|
105
|
-
hy.searchAddressType.value = selectList[0].value;
|
|
106
|
-
hy.selectList = selectList;
|
|
107
|
-
}
|
|
105
|
+
});
|
|
108
106
|
async function lnglatCheckFn(content) {
|
|
109
107
|
onlyNumber(hy.lnglat.value, content);
|
|
110
108
|
await nextTick();
|
|
@@ -625,7 +623,6 @@ const useMapAearchPlace = (hy) => {
|
|
|
625
623
|
commonOptions,
|
|
626
624
|
mapCoordinate,
|
|
627
625
|
mapCoordinateName,
|
|
628
|
-
setSelectList,
|
|
629
626
|
lnglatCheckFn,
|
|
630
627
|
onFocus,
|
|
631
628
|
onBlur,
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, createVNode, isRef, withCtx, withDirectives, vShow, createCommentVNode, toDisplayString, Fragment, renderList, createTextVNode, createBlock } from 'vue';
|
|
1
|
+
import { defineComponent, watch, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, createVNode, isRef, withCtx, withDirectives, vShow, createCommentVNode, toDisplayString, Fragment, renderList, createTextVNode, createBlock } from 'vue';
|
|
2
2
|
import VirtualList from 'vue3-virtual-scroll-list';
|
|
3
3
|
import { ElSelect } from 'element-plus';
|
|
4
|
+
import '../../hooks/index.mjs';
|
|
5
|
+
import '../../components/index.mjs';
|
|
4
6
|
import { useMapAearchPlace } from './js/index.mjs';
|
|
5
7
|
import _sfc_main$1 from './mapAearchPlaceItem.vue.mjs';
|
|
6
8
|
import { useLocale } from '../../hooks/useLocale.mjs';
|
|
@@ -76,7 +78,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
76
78
|
commonOptions,
|
|
77
79
|
mapCoordinate,
|
|
78
80
|
mapCoordinateName,
|
|
79
|
-
setSelectList,
|
|
80
81
|
lnglatCheckFn,
|
|
81
82
|
onFocus,
|
|
82
83
|
onBlur,
|
|
@@ -99,6 +100,24 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
99
100
|
titleFn,
|
|
100
101
|
placeholderFn
|
|
101
102
|
} = useMixins({ props, emits, t }, [useMapAearchPlace]);
|
|
103
|
+
watch(
|
|
104
|
+
() => searchAddressTypeList.value,
|
|
105
|
+
() => {
|
|
106
|
+
if (!searchAddressType.value) {
|
|
107
|
+
searchAddressType.value = searchAddressType.value[0];
|
|
108
|
+
searchAddressTypeFn();
|
|
109
|
+
} else {
|
|
110
|
+
const index = searchAddressTypeList.value.findIndex((item) => {
|
|
111
|
+
return searchAddressType.value === item.value;
|
|
112
|
+
});
|
|
113
|
+
if (index === -1) {
|
|
114
|
+
searchAddressType.value = searchAddressType.value[0];
|
|
115
|
+
searchAddressTypeFn();
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
{ immediate: true, deep: true }
|
|
120
|
+
);
|
|
102
121
|
__expose({});
|
|
103
122
|
return (_ctx, _cache) => {
|
|
104
123
|
return openBlock(), createElementBlock(
|
|
@@ -123,7 +142,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
123
142
|
onBlur: unref(onBlur)
|
|
124
143
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "options", "onChange", "onFocus", "onBlur"]),
|
|
125
144
|
createVNode(unref(HyTooltip), {
|
|
126
|
-
"
|
|
145
|
+
"show-after": 500,
|
|
127
146
|
content: unref(placeholder),
|
|
128
147
|
placement: "bottom-start"
|
|
129
148
|
}, {
|
|
@@ -148,7 +167,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
148
167
|
}, 8, ["content"]),
|
|
149
168
|
createCommentVNode(" \u7ECF\u7EAC\u5EA6 "),
|
|
150
169
|
createVNode(unref(HyTooltip), {
|
|
151
|
-
"
|
|
170
|
+
"show-after": 500,
|
|
152
171
|
content: "\u7EAC\u5EA6",
|
|
153
172
|
placement: "bottom-start"
|
|
154
173
|
}, {
|
|
@@ -173,7 +192,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
173
192
|
/* STABLE */
|
|
174
193
|
}),
|
|
175
194
|
createVNode(unref(HyTooltip), {
|
|
176
|
-
"
|
|
195
|
+
"show-after": 500,
|
|
177
196
|
content: "\u7ECF\u5EA6",
|
|
178
197
|
placement: "bottom-start"
|
|
179
198
|
}, {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { openBlock, createElementBlock, createElementVNode, createBlock, unref, createCommentVNode, Fragment, renderList, normalizeClass, toDisplayString } from 'vue';
|
|
2
|
+
import '../../components/index.mjs';
|
|
2
3
|
import { HyIcon } from '../../components/hyIcon/index.mjs';
|
|
3
4
|
|
|
4
5
|
const _sfc_main = {
|
|
@@ -27,6 +28,7 @@ const _sfc_main = {
|
|
|
27
28
|
}
|
|
28
29
|
},
|
|
29
30
|
setup(__props) {
|
|
31
|
+
const props = __props;
|
|
30
32
|
return (_ctx, _cache) => {
|
|
31
33
|
return openBlock(), createElementBlock("li", {
|
|
32
34
|
class: "flex items-center css-text-no-select py-2 pl-2.5 border-b border-background-3 clickBox hover:bg-background-3",
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { defineComponent, useTemplateRef, computed, onMounted, onUnmounted, openBlock, createElementBlock, normalizeClass, unref, createVNode, createElementVNode, toDisplayString, withDirectives, vShow, createCommentVNode, createTextVNode, normalizeStyle, isRef, vModelText, withCtx, Fragment, renderList, createBlock } from 'vue';
|
|
2
2
|
import { ElPopover, ElSlider } from 'element-plus';
|
|
3
|
+
import '../../hooks/index.mjs';
|
|
4
|
+
import '../../utils/index.mjs';
|
|
5
|
+
import '../index.mjs';
|
|
3
6
|
import _sfc_main$1 from '../hyVideoPlayer/cpns/mediaLoading.vue.mjs';
|
|
4
7
|
import { useAudioPlayer } from './js/index.mjs';
|
|
5
8
|
import { useLocale } from '../../hooks/useLocale.mjs';
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { ref, computed, nextTick } from 'vue';
|
|
2
2
|
import { ElMessage } from 'element-plus';
|
|
3
|
+
import 'dayjs';
|
|
4
|
+
import '../../../hooks/index.mjs';
|
|
5
|
+
import '../../../utils/index.mjs';
|
|
3
6
|
import { useLocale } from '../../../hooks/useLocale.mjs';
|
|
4
7
|
import { useAudioPlayerConfig } from '../../../hooks/useAudioPlayerConfig.mjs';
|
|
5
8
|
import { formatDuration } from '../../../utils/date.mjs';
|
|
@@ -241,7 +244,8 @@ const useAudioPlayer = (hy) => {
|
|
|
241
244
|
document.removeEventListener("fullscreenchange", fullscreenchangeHandler);
|
|
242
245
|
}
|
|
243
246
|
function fullscreenchangeHandler(e) {
|
|
244
|
-
if (document.fullscreenElement)
|
|
247
|
+
if (document.fullscreenElement) {
|
|
248
|
+
} else {
|
|
245
249
|
isFullScreen.value = false;
|
|
246
250
|
}
|
|
247
251
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { defineComponent, useTemplateRef, useModel, ref, openBlock, createBlock, unref, mergeProps, createSlots, withCtx, createElementVNode, renderSlot, normalizeProps, guardReactiveProps, renderList, createCommentVNode, createTextVNode, createVNode, toDisplayString, createElementBlock, mergeModels } from 'vue';
|
|
2
2
|
import { ElIcon } from 'element-plus';
|
|
3
3
|
import { Warning } from '@element-plus/icons-vue';
|
|
4
|
+
import '../index.mjs';
|
|
4
5
|
import { HyDialog } from '../hyDialog/index.mjs';
|
|
5
6
|
import { HyBatchTableForm } from '../hyTableForm/index.mjs';
|
|
6
7
|
import { HyButton } from '../hyButton/index.mjs';
|
|
@@ -207,6 +208,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
207
208
|
},
|
|
208
209
|
setData: (source) => {
|
|
209
210
|
batchTableFormRef.value.setData(source);
|
|
211
|
+
},
|
|
212
|
+
setDragLevelIndex: (dragLevel) => {
|
|
213
|
+
HyDialogRef.value.setDragLevelIndex(dragLevel);
|
|
210
214
|
}
|
|
211
215
|
});
|
|
212
216
|
return (_ctx, _cache) => {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { openBlock, createElementBlock, mergeProps, renderSlot, normalizeClass, createCommentVNode, createElementVNode, createVNode, unref, withCtx, createBlock
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, mergeProps, renderSlot, normalizeClass, createCommentVNode, createElementVNode, createVNode, unref, withCtx, createBlock } from 'vue';
|
|
2
2
|
import { ElIcon } from 'element-plus';
|
|
3
3
|
import { Loading } from '@element-plus/icons-vue';
|
|
4
|
+
import '../index.mjs';
|
|
4
5
|
import { HyTooltip } from '../hyTooltip/index.mjs';
|
|
5
6
|
import { HyIcon } from '../hyIcon/index.mjs';
|
|
6
7
|
|
|
@@ -119,7 +120,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
119
120
|
}, {
|
|
120
121
|
default: withCtx(() => [
|
|
121
122
|
renderSlot(_ctx.$slots, "content", {}, () => [
|
|
122
|
-
createElementVNode("div", { class: "flex items-center text-main px-3" }, [
|
|
123
|
+
createElementVNode("div", { class: "h-full flex items-center text-main px-3" }, [
|
|
123
124
|
!__props.loading ? renderSlot(_ctx.$slots, "svg", {}, () => [
|
|
124
125
|
__props.svgName ? (openBlock(), createBlock(unref(HyIcon), {
|
|
125
126
|
key: 0,
|
|
@@ -8,9 +8,8 @@
|
|
|
8
8
|
color: inherit;
|
|
9
9
|
white-space: nowrap;
|
|
10
10
|
font-size: 14px;
|
|
11
|
-
padding: 2px;
|
|
12
|
-
border: 1px solid transparent;
|
|
13
11
|
box-sizing: border-box;
|
|
12
|
+
border-radius: 4px;
|
|
14
13
|
|
|
15
14
|
&:disabled,
|
|
16
15
|
&.is-disabled {
|
|
@@ -35,6 +34,8 @@
|
|
|
35
34
|
|
|
36
35
|
&.hy-button_default {
|
|
37
36
|
background: rgba(94, 157, 180, 0.32);
|
|
37
|
+
border: 1px solid rgba(94, 157, 180, 1);
|
|
38
|
+
box-shadow: 0px 0px 0px 2px rgba(94, 157, 180, 0.5);
|
|
38
39
|
|
|
39
40
|
.hy-button__border {
|
|
40
41
|
background: linear-gradient(
|
|
@@ -99,6 +100,8 @@
|
|
|
99
100
|
|
|
100
101
|
&.hy-button_function {
|
|
101
102
|
background: rgba(45, 242, 255, 0.32);
|
|
103
|
+
border: 1px solid rgba(45, 242, 255, 1);
|
|
104
|
+
box-shadow: 0px 0px 0px 2px rgba(45, 242, 255, 0.5);
|
|
102
105
|
|
|
103
106
|
.hy-button__border {
|
|
104
107
|
background: linear-gradient(
|
|
@@ -163,6 +166,8 @@
|
|
|
163
166
|
|
|
164
167
|
&.hy-button_addTo {
|
|
165
168
|
background: rgba(44, 232, 152, 0.32);
|
|
169
|
+
border: 1px solid rgba(44, 232, 152, 1);
|
|
170
|
+
box-shadow: 0px 0px 0px 2px rgba(44, 232, 152, 0.5);
|
|
166
171
|
|
|
167
172
|
.hy-button__border {
|
|
168
173
|
background: linear-gradient(
|
|
@@ -227,6 +232,8 @@
|
|
|
227
232
|
|
|
228
233
|
&.hy-button_delete {
|
|
229
234
|
background: rgba(255, 77, 77, 0.32);
|
|
235
|
+
border: 1px solid rgba(255, 77, 77, 1);
|
|
236
|
+
box-shadow: 0px 0px 0px 2px rgba(255, 77, 77, 0.5);
|
|
230
237
|
|
|
231
238
|
.hy-button__border {
|
|
232
239
|
background: linear-gradient(
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { unref, computed, openBlock, createBlock, mergeProps, withCtx, renderSlot
|
|
1
|
+
import { defineComponent, unref, computed, openBlock, createBlock, mergeProps, withCtx, renderSlot } from 'vue';
|
|
2
2
|
import { ElConfigProvider } from 'element-plus';
|
|
3
3
|
import * as ElementLocale from 'element-plus/es/locales.mjs';
|
|
4
|
+
import '../../hooks/index.mjs';
|
|
4
5
|
import { provideGlobalConfig, useGlobalConfig } from '../../hooks/useGlobalConfig.mjs';
|
|
5
6
|
|
|
6
7
|
const __default__ = defineComponent({
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { defineComponent, useModel, ref, openBlock, createBlock, unref, mergeProps, withCtx, createElementVNode, createCommentVNode, createVNode, normalizeStyle, normalizeClass, toDisplayString, createElementBlock, createTextVNode, withModifiers, mergeModels } from 'vue';
|
|
2
2
|
import { ElDialog } from 'element-plus';
|
|
3
|
+
import '../../hooks/index.mjs';
|
|
4
|
+
import '../index.mjs';
|
|
3
5
|
import { useLocale } from '../../hooks/useLocale.mjs';
|
|
4
6
|
import { HyIcon } from '../hyIcon/index.mjs';
|
|
5
7
|
import { HyButton } from '../hyButton/index.mjs';
|
|
@@ -198,6 +200,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
198
200
|
key: 0,
|
|
199
201
|
type: __props.cancelType,
|
|
200
202
|
disabled: loading.value,
|
|
203
|
+
class: "min-w-[120px]",
|
|
201
204
|
onClick: onCancelHandler
|
|
202
205
|
}, {
|
|
203
206
|
default: withCtx(() => [
|
|
@@ -214,6 +217,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
214
217
|
key: 1,
|
|
215
218
|
type: __props.submitType,
|
|
216
219
|
loading: loading.value,
|
|
220
|
+
class: "min-w-[120px]",
|
|
217
221
|
onClick: onSubmitHandler
|
|
218
222
|
}, {
|
|
219
223
|
default: withCtx(() => [
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { unref, createVNode, render } from 'vue';
|
|
2
|
+
import '../../hooks/index.mjs';
|
|
2
3
|
import { defaultAxios } from '../../hooks/useApi.mjs';
|
|
4
|
+
import '../index.mjs';
|
|
3
5
|
import _sfc_main from './confirmDialog.vue.mjs';
|
|
4
|
-
import { useLocale } from '../../hooks/useLocale.mjs';
|
|
5
6
|
import { useGlobalConfig } from '../../hooks/useGlobalConfig.mjs';
|
|
6
7
|
import { HyConfigProvider } from '../hyConfigProvider/index.mjs';
|
|
8
|
+
import { useLocale } from '../../hooks/useLocale.mjs';
|
|
7
9
|
|
|
8
10
|
function appConfirmMethod(config) {
|
|
9
11
|
let container = document.createDocumentFragment();
|
|
@@ -83,11 +85,11 @@ _sfc_main.danger = (props) => {
|
|
|
83
85
|
const { t } = useLocale();
|
|
84
86
|
return appConfirmMethod({
|
|
85
87
|
dialogTitle: t("dialog.dangerousOperation"),
|
|
86
|
-
titleClass: "text-danger",
|
|
88
|
+
titleClass: "text-danger-2",
|
|
87
89
|
title: t("dialog.prompt"),
|
|
88
90
|
content: t("dialog.content"),
|
|
89
91
|
submitType: "danger",
|
|
90
|
-
iconColor: "rgb(var(--hy-danger))",
|
|
92
|
+
iconColor: "rgb(var(--hy-danger-2))",
|
|
91
93
|
...props
|
|
92
94
|
});
|
|
93
95
|
};
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { defineComponent, useModel, useTemplateRef, ref, computed, openBlock, createElementBlock, withDirectives, createVNode, unref, withCtx, createElementVNode, renderSlot, normalizeStyle, createBlock, Fragment, createCommentVNode, toDisplayString, withModifiers, vShow, mergeProps, mergeModels } from 'vue';
|
|
2
2
|
import { VueCropper } from 'vue-cropper';
|
|
3
|
-
import { ElUpload, ElImage, ElIcon
|
|
3
|
+
import { ElMessage, ElUpload, ElImage, ElIcon } from 'element-plus';
|
|
4
4
|
import { User, Delete } from '@element-plus/icons-vue';
|
|
5
|
+
import '../../utils/index.mjs';
|
|
6
|
+
import '../index.mjs';
|
|
7
|
+
import '../../hooks/index.mjs';
|
|
5
8
|
import { useLocale } from '../../hooks/useLocale.mjs';
|
|
6
|
-
import {
|
|
9
|
+
import { sizeToTextHandler, blobToDataURL, fileUpload } from '../../utils/file.mjs';
|
|
7
10
|
import { HyDialog } from '../hyDialog/index.mjs';
|
|
8
11
|
|
|
9
12
|
import "vue-cropper/dist/index.css";
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { defineComponent, useTemplateRef, useModel, computed, watch, unref, openBlock, createBlock, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, mergeModels } from 'vue';
|
|
2
2
|
import { ElDatePicker } from 'element-plus';
|
|
3
|
+
import '../../utils/index.mjs';
|
|
4
|
+
import '../../hooks/index.mjs';
|
|
3
5
|
import { useLocale } from '../../hooks/useLocale.mjs';
|
|
4
6
|
import { getDefaultValueFormatByType } from '../../utils/date.mjs';
|
|
5
7
|
import { isArray } from '../../utils/is.mjs';
|