hy-dispatch-ui-v3 0.2.76 → 0.2.78

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.
Files changed (195) hide show
  1. package/dist/tailwind.css +91 -8
  2. package/es/api/common.mjs +28 -0
  3. package/es/bussiness/hyAcquisitionStationTree/acquisitionStationTree.install.mjs +6 -0
  4. package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.install.mjs +6 -0
  5. package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.vue.mjs +109 -121
  6. package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.install.mjs +6 -0
  7. package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.vue.mjs +108 -117
  8. package/es/bussiness/hyDepartmentTypeOperation/index.mjs +4 -1
  9. package/es/bussiness/hyDepartmentTypeOperation/locale/en_US.mjs +7 -7
  10. package/es/bussiness/hyDepartmentTypeOperation/locale/zh_CN.mjs +6 -6
  11. package/es/bussiness/hyDeviceTree/deviceTree.install.mjs +6 -0
  12. package/es/bussiness/hyDisplayQueryAddress/displayQueryAddress.vue.mjs +5 -0
  13. package/es/bussiness/hyDisplayQueryAddress/displayQueryAddress2.install.mjs +6 -0
  14. package/es/bussiness/hyDisplayQueryAddress/displayQueryAddress2.vue.mjs +182 -0
  15. package/es/bussiness/hyDisplayQueryAddress/index.mjs +8 -0
  16. package/es/bussiness/hyDisplayQueryAddress/locale/en_US.mjs +7 -0
  17. package/es/bussiness/hyDisplayQueryAddress/locale/index.mjs +2 -0
  18. package/es/bussiness/hyDisplayQueryAddress/locale/zh_CN.mjs +7 -0
  19. package/es/bussiness/hyDisplayQueryAddress/style/dialog.scss +0 -0
  20. package/es/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.install.mjs +6 -0
  21. package/es/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.mjs +2 -2
  22. package/es/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.install.mjs +6 -0
  23. package/es/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.install.mjs +6 -0
  24. package/es/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersItem.install.mjs +6 -0
  25. package/es/bussiness/hyElectronicFence/electronicFence.install.mjs +6 -0
  26. package/es/bussiness/hyFilePlayback/cpns/audioDetail.vue.mjs +5 -0
  27. package/es/bussiness/hyFilePlayback/cpns/audioDetail2.install.mjs +6 -0
  28. package/es/bussiness/hyFilePlayback/cpns/audioDetail2.vue.mjs +247 -0
  29. package/es/bussiness/hyFilePlayback/cpns/picDetail.vue.mjs +5 -0
  30. package/es/bussiness/hyFilePlayback/cpns/picDetail2.install.mjs +6 -0
  31. package/es/bussiness/hyFilePlayback/cpns/picDetail2.vue.mjs +206 -0
  32. package/es/bussiness/hyFilePlayback/cpns/videoDetail.vue.mjs +5 -0
  33. package/es/bussiness/hyFilePlayback/cpns/videoDetail2.install.mjs +6 -0
  34. package/es/bussiness/hyFilePlayback/cpns/videoDetail2.vue.mjs +238 -0
  35. package/es/bussiness/hyFilePlayback/filePlayback.vue.mjs +5 -0
  36. package/es/bussiness/hyFilePlayback/filePlayback2.install.mjs +6 -0
  37. package/es/bussiness/hyFilePlayback/filePlayback2.vue.mjs +166 -0
  38. package/es/bussiness/hyFilePlayback/index.mjs +8 -0
  39. package/es/bussiness/hyFilePlayback/locale/en_US.mjs +22 -0
  40. package/es/bussiness/hyFilePlayback/locale/index.mjs +2 -0
  41. package/es/bussiness/hyFilePlayback/locale/zh_CN.mjs +22 -0
  42. package/es/bussiness/hyFilePlayback/style/filePlayback.scss +2 -0
  43. package/es/bussiness/hyMapAearchPlace/mapAearchPlace.install.mjs +6 -0
  44. package/es/bussiness/hyMapAearchPlace/mapAearchPlaceItem.install.mjs +6 -0
  45. package/es/bussiness/hyOrgGroupTree/orgGroupTree.install.mjs +6 -0
  46. package/es/bussiness/hyPlanGroupDeviceTree/planGroupDeviceTree.install.mjs +6 -0
  47. package/es/bussiness/hyRuleSetting/cpns/gatheringPeople/gatheringPeople.install.mjs +6 -0
  48. package/es/bussiness/hyRuleSetting/cpns/missionInRule/missionInRule.install.mjs +6 -0
  49. package/es/bussiness/hyRuleSetting/cpns/missionOutRule/missionOutRule.install.mjs +6 -0
  50. package/es/bussiness/hyRuleSetting/cpns/ruleAssignDialog/ruleAssignDialog.install.mjs +6 -0
  51. package/es/bussiness/hyRuleSetting/cpns/ruleFenceDialog/ruleFenceDialog.install.mjs +6 -0
  52. package/es/bussiness/hyRuleSetting/cpns/ruleSettingDialog/ruleSettingDialog.install.mjs +6 -0
  53. package/es/bussiness/hyRuleSetting/cpns/sedentary/sedentary.install.mjs +6 -0
  54. package/es/bussiness/hyRuleSetting/cpns/setRuleAggregationAlarmDialog/setRuleAggregationAlarmDialog.install.mjs +6 -0
  55. package/es/bussiness/hyRuleSetting/cpns/timedVideo/timedVideo.install.mjs +6 -0
  56. package/es/bussiness/hyRuleSetting/cpns/timerCamera/timerCamera.install.mjs +6 -0
  57. package/es/bussiness/hyRuleSetting/cpns/timingReturn/timingReturn.install.mjs +6 -0
  58. package/es/bussiness/hyRuleSetting/ruleSetting.install.mjs +6 -0
  59. package/es/bussiness/hyUserTree/userTree.install.mjs +6 -0
  60. package/es/bussiness/index.mjs +3 -2
  61. package/es/components/hyCutter/cutter.vue.mjs +2 -2
  62. package/es/components/hyForm/cpns/arrayItem.vue.mjs +2 -2
  63. package/es/components/hyForm/cpns/formItem.vue.mjs +3 -2
  64. package/es/components/hyForm/js/index.mjs +2 -8
  65. package/es/components/hySearch/cpns/searchItem.vue.mjs +57 -67
  66. package/es/components/hySearch/js/index.mjs +1 -35
  67. package/es/components/hySearch/js/useAppSearch.mjs +3 -3
  68. package/es/components/hySearch/style/search.scss +1 -0
  69. package/es/components/hyTable/cpns/virtualTable.vue.mjs +5 -5
  70. package/es/components/hyTable/js/index.mjs +44 -4
  71. package/es/components/hyTable/js/search.mjs +0 -6
  72. package/es/components/hyTable/table.vue.mjs +47 -30
  73. package/es/components/hyTooltip/tooltip.vue.mjs +14 -6
  74. package/es/components/hyUserAvatar/userAvatar.vue.mjs +1 -1
  75. package/es/components/hyVideoPlayer/videoPlayer.vue.mjs +3 -3
  76. package/es/components-map.mjs +19 -10
  77. package/es/hooks/index.mjs +1 -0
  78. package/es/hooks/useBaseMainStore.mjs +16 -5
  79. package/es/hooks/useCurrentBus.mjs +5 -4
  80. package/es/hooks/useDialog.mjs +2 -2
  81. package/es/hooks/useGlobalConfig.mjs +26 -16
  82. package/es/hooks/useVersionControl.mjs +34 -0
  83. package/es/index.mjs +7 -4
  84. package/es/locale/en_US.mjs +1 -0
  85. package/es/locale/zh_CN.mjs +1 -0
  86. package/es/style/index.scss +2 -2
  87. package/es/utils/file.mjs +1 -2
  88. package/es/utils/form.mjs +70 -7
  89. package/es/utils/index.mjs +3 -2
  90. package/es/utils/map/hook/leafletjs.mjs +4 -0
  91. package/es/utils/map/index.mjs +4 -0
  92. package/es/utils/timeUtils.mjs +95 -0
  93. package/es/utils/useUiComponent.mjs +34 -0
  94. package/es/version.mjs +1 -1
  95. package/lib/api/common.js +33 -0
  96. package/lib/bussiness/hyAcquisitionStationTree/acquisitionStationTree.install.js +6 -0
  97. package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.install.js +6 -0
  98. package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.vue.js +107 -119
  99. package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.install.js +6 -0
  100. package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.vue.js +107 -116
  101. package/lib/bussiness/hyDepartmentTypeOperation/index.js +4 -0
  102. package/lib/bussiness/hyDepartmentTypeOperation/locale/en_US.js +7 -7
  103. package/lib/bussiness/hyDepartmentTypeOperation/locale/zh_CN.js +6 -6
  104. package/lib/bussiness/hyDeviceTree/deviceTree.install.js +6 -0
  105. package/lib/bussiness/hyDisplayQueryAddress/displayQueryAddress.install.js +6 -0
  106. package/lib/bussiness/hyDisplayQueryAddress/displayQueryAddress.vue.js +9 -0
  107. package/lib/bussiness/hyDisplayQueryAddress/displayQueryAddress2.install.js +6 -0
  108. package/lib/bussiness/hyDisplayQueryAddress/displayQueryAddress2.vue.js +186 -0
  109. package/lib/bussiness/hyDisplayQueryAddress/index.js +13 -0
  110. package/lib/bussiness/hyDisplayQueryAddress/locale/en_US.js +11 -0
  111. package/lib/bussiness/hyDisplayQueryAddress/locale/index.js +9 -0
  112. package/lib/bussiness/hyDisplayQueryAddress/locale/zh_CN.js +11 -0
  113. package/lib/bussiness/hyDisplayQueryAddress/style/dialog.scss +0 -0
  114. package/lib/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.install.js +6 -0
  115. package/lib/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.js +11 -11
  116. package/lib/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.install.js +6 -0
  117. package/lib/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.install.js +6 -0
  118. package/lib/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersItem.install.js +6 -0
  119. package/lib/bussiness/hyElectronicFence/electronicFence.install.js +6 -0
  120. package/lib/bussiness/hyFilePlayback/cpns/audioDetail.install.js +6 -0
  121. package/lib/bussiness/hyFilePlayback/cpns/audioDetail.vue.js +9 -0
  122. package/lib/bussiness/hyFilePlayback/cpns/audioDetail2.install.js +6 -0
  123. package/lib/bussiness/hyFilePlayback/cpns/audioDetail2.vue.js +251 -0
  124. package/lib/bussiness/hyFilePlayback/cpns/picDetail.install.js +6 -0
  125. package/lib/bussiness/hyFilePlayback/cpns/picDetail.vue.js +9 -0
  126. package/lib/bussiness/hyFilePlayback/cpns/picDetail2.install.js +6 -0
  127. package/lib/bussiness/hyFilePlayback/cpns/picDetail2.vue.js +210 -0
  128. package/lib/bussiness/hyFilePlayback/cpns/videoDetail.install.js +6 -0
  129. package/lib/bussiness/hyFilePlayback/cpns/videoDetail.vue.js +9 -0
  130. package/lib/bussiness/hyFilePlayback/cpns/videoDetail2.install.js +6 -0
  131. package/lib/bussiness/hyFilePlayback/cpns/videoDetail2.vue.js +242 -0
  132. package/lib/bussiness/hyFilePlayback/filePlayback.install.js +6 -0
  133. package/lib/bussiness/hyFilePlayback/filePlayback.vue.js +9 -0
  134. package/lib/bussiness/hyFilePlayback/filePlayback2.install.js +6 -0
  135. package/lib/bussiness/hyFilePlayback/filePlayback2.vue.js +170 -0
  136. package/lib/bussiness/hyFilePlayback/index.js +13 -0
  137. package/lib/bussiness/hyFilePlayback/locale/en_US.js +26 -0
  138. package/lib/bussiness/hyFilePlayback/locale/index.js +9 -0
  139. package/lib/bussiness/hyFilePlayback/locale/zh_CN.js +26 -0
  140. package/lib/bussiness/hyFilePlayback/style/filePlayback.scss +2 -0
  141. package/lib/bussiness/hyMapAearchPlace/mapAearchPlace.install.js +6 -0
  142. package/lib/bussiness/hyMapAearchPlace/mapAearchPlaceItem.install.js +6 -0
  143. package/lib/bussiness/hyOrgGroupTree/orgGroupTree.install.js +6 -0
  144. package/lib/bussiness/hyPlanGroupDeviceTree/planGroupDeviceTree.install.js +6 -0
  145. package/lib/bussiness/hyRuleSetting/cpns/gatheringPeople/gatheringPeople.install.js +6 -0
  146. package/lib/bussiness/hyRuleSetting/cpns/missionInRule/missionInRule.install.js +6 -0
  147. package/lib/bussiness/hyRuleSetting/cpns/missionOutRule/missionOutRule.install.js +6 -0
  148. package/lib/bussiness/hyRuleSetting/cpns/ruleAssignDialog/ruleAssignDialog.install.js +6 -0
  149. package/lib/bussiness/hyRuleSetting/cpns/ruleFenceDialog/ruleFenceDialog.install.js +6 -0
  150. package/lib/bussiness/hyRuleSetting/cpns/ruleSettingDialog/ruleSettingDialog.install.js +6 -0
  151. package/lib/bussiness/hyRuleSetting/cpns/sedentary/sedentary.install.js +6 -0
  152. package/lib/bussiness/hyRuleSetting/cpns/setRuleAggregationAlarmDialog/setRuleAggregationAlarmDialog.install.js +6 -0
  153. package/lib/bussiness/hyRuleSetting/cpns/timedVideo/timedVideo.install.js +6 -0
  154. package/lib/bussiness/hyRuleSetting/cpns/timerCamera/timerCamera.install.js +6 -0
  155. package/lib/bussiness/hyRuleSetting/cpns/timingReturn/timingReturn.install.js +6 -0
  156. package/lib/bussiness/hyRuleSetting/ruleSetting.install.js +6 -0
  157. package/lib/bussiness/hyUserTree/userTree.install.js +6 -0
  158. package/lib/bussiness/index.js +19 -16
  159. package/lib/components/hyCutter/cutter.vue.js +2 -2
  160. package/lib/components/hyForm/cpns/arrayItem.vue.js +2 -2
  161. package/lib/components/hyForm/cpns/formItem.vue.js +3 -2
  162. package/lib/components/hyForm/js/index.js +0 -7
  163. package/lib/components/hySearch/cpns/searchItem.vue.js +64 -74
  164. package/lib/components/hySearch/js/index.js +0 -36
  165. package/lib/components/hySearch/js/useAppSearch.js +3 -3
  166. package/lib/components/hySearch/style/search.scss +1 -0
  167. package/lib/components/hyTable/cpns/virtualTable.vue.js +4 -4
  168. package/lib/components/hyTable/js/index.js +45 -3
  169. package/lib/components/hyTable/js/search.js +0 -6
  170. package/lib/components/hyTable/table.vue.js +46 -29
  171. package/lib/components/hyTooltip/tooltip.vue.js +13 -5
  172. package/lib/components/hyUserAvatar/userAvatar.vue.js +1 -1
  173. package/lib/components/hyVideoPlayer/videoPlayer.vue.js +3 -3
  174. package/lib/components-map.js +19 -10
  175. package/lib/hooks/index.js +4 -0
  176. package/lib/hooks/useBaseMainStore.js +15 -4
  177. package/lib/hooks/useCurrentBus.js +4 -3
  178. package/lib/hooks/useDialog.js +2 -2
  179. package/lib/hooks/useGlobalConfig.js +25 -15
  180. package/lib/hooks/useVersionControl.js +38 -0
  181. package/lib/index.js +75 -57
  182. package/lib/locale/en_US.js +1 -0
  183. package/lib/locale/zh_CN.js +1 -0
  184. package/lib/style/index.scss +2 -2
  185. package/lib/utils/file.js +1 -2
  186. package/lib/utils/form.js +72 -6
  187. package/lib/utils/index.js +12 -1
  188. package/lib/utils/map/hook/leafletjs.js +4 -0
  189. package/lib/utils/map/index.js +4 -0
  190. package/lib/utils/timeUtils.js +105 -0
  191. package/lib/utils/useUiComponent.js +37 -0
  192. package/lib/version.js +1 -1
  193. package/package.json +113 -58
  194. package/es/bussiness/hyDepartmentTypeOperation/tiantong.mjs +0 -8
  195. package/lib/bussiness/hyDepartmentTypeOperation/tiantong.js +0 -13
@@ -1,4 +1,4 @@
1
- import { defineComponent, onUnmounted, ref, useTemplateRef, nextTick, resolveComponent, openBlock, createElementBlock, Fragment, createTextVNode, createVNode, unref, mergeProps, isRef, withCtx, createElementVNode, withDirectives, withModifiers, vShow, createBlock, toDisplayString } from 'vue';
1
+ import { defineComponent, onUnmounted, ref, useTemplateRef, nextTick, resolveComponent, openBlock, createBlock, unref, mergeProps, isRef, withCtx, createVNode, createElementVNode, withDirectives, withModifiers, vShow, toDisplayString } from 'vue';
2
2
  import { useDialog, useDialogIsEdit } from '../../hooks/useDialog.mjs';
3
3
  import '../../hooks/index.mjs';
4
4
  import '../../components/index.mjs';
@@ -119,7 +119,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
119
119
  ElMessage.success($t$1("operationSuccessful"));
120
120
  nextTick(() => {
121
121
  emit("on-submit", hy.formModel.value.id ? null : 1);
122
- currentBus.emit("departmentTypeOperation", {
122
+ currentBus.value.emit("departmentTypeOperation", {
123
123
  method: "onSubmit",
124
124
  param: hy.formModel.value.id ? null : 1
125
125
  });
@@ -222,129 +222,120 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
222
222
  return (_ctx, _cache) => {
223
223
  const _component_el_image = resolveComponent("el-image");
224
224
  const _component_el_upload = resolveComponent("el-upload");
225
- return openBlock(), createElementBlock(
226
- Fragment,
227
- null,
228
- [
229
- createTextVNode(" 222222 "),
230
- createVNode(unref(HyDialog), mergeProps({
231
- ref_key: "HyDialogRef",
232
- ref: HyDialogRef,
233
- modelValue: unref(dialogVisible),
234
- "onUpdate:modelValue": ($event) => isRef(dialogVisible) ? dialogVisible.value = $event : null,
235
- loading: unref(loading),
236
- "onUpdate:loading": ($event) => isRef(loading) ? loading.value = $event : null,
237
- "if-shrink": true,
238
- width: "310px"
239
- }, _ctx.$attrs, {
240
- title: unref(formModel).id ? $t$1("editDepartmentType") : $t$1("addDepartmentType"),
241
- "on-submit": unref(onSubmit),
242
- "on-cancel": unref(onClose),
243
- "on-close": unref(onClose),
244
- "operate-class": "w-full justify-center",
245
- onOnMinimized: unref(onMinimized),
246
- onOnDialogMousedown: ($event) => unref(setDragLevelIndex)("HyDialogRef")
247
- }), {
248
- default: withCtx(() => [
249
- createVNode(unref(HyForm), {
250
- ref_key: "formRef",
251
- ref: formRef,
252
- "column-num": 1,
253
- model: unref(formModel),
254
- columns: unref(formColumns)
255
- }, {
256
- companyNameSlot: withCtx(() => [
257
- createElementVNode("div", { class: "flex flex-row departmentTypeOperation" }, [
258
- createVNode(_component_el_upload, {
259
- class: "w-[80px] flex items-center justify-center upload_box",
260
- accept: ".png,.jpg,.gif",
261
- "before-upload": unref(beforeAvatarUpload),
262
- "http-request": unref(handleHttpRequestImg),
263
- action: "",
264
- "show-file-list": false
265
- }, {
266
- default: withCtx(() => [
267
- withDirectives(createElementVNode("div", {
268
- class: "delete_box flex items-center justify-center",
269
- onClick: withModifiers(($event) => unref(setHeadImg)(null), ["stop"])
270
- }, [
271
- createVNode(unref(HyIcon), {
272
- "svg-name": "ops-button-delete",
273
- class: "svg_box"
274
- })
275
- ], 8, ["onClick"]), [
276
- [vShow, unref(formModel).icon]
277
- ]),
278
- createElementVNode("div", { class: "click-box emptyHead" }, [
279
- unref(formModel).icon ? (openBlock(), createBlock(_component_el_image, {
280
- key: 0,
281
- fit: "contain",
282
- class: "w-[60px] h-[60px]",
283
- src: unref(formModel).icon
284
- }, null, 8, ["src"])) : (openBlock(), createBlock(unref(HyIcon), {
285
- key: 1,
286
- "svg-name": "ops-file-empty-head",
287
- class: "text-auxiliary !w-[60px] !h-[60px]"
288
- })),
289
- createElementVNode(
290
- "span",
291
- { class: "uploadTips text-center" },
292
- toDisplayString($t$1("upload")),
293
- 1
294
- /* TEXT */
295
- )
296
- ])
297
- ]),
298
- _: 1
299
- /* STABLE */
300
- }, 8, ["before-upload", "http-request"]),
301
- createElementVNode("div", { class: "flex-grow leading-[20px] text-auxiliary text-xs text-center" }, [
225
+ return openBlock(), createBlock(unref(HyDialog), mergeProps({
226
+ ref_key: "HyDialogRef",
227
+ ref: HyDialogRef,
228
+ modelValue: unref(dialogVisible),
229
+ "onUpdate:modelValue": ($event) => isRef(dialogVisible) ? dialogVisible.value = $event : null,
230
+ loading: unref(loading),
231
+ "onUpdate:loading": ($event) => isRef(loading) ? loading.value = $event : null,
232
+ "if-shrink": true,
233
+ width: "310px"
234
+ }, _ctx.$attrs, {
235
+ title: unref(formModel).id ? $t$1("editDepartmentType") : $t$1("addDepartmentType"),
236
+ "on-submit": unref(onSubmit),
237
+ "on-cancel": unref(onClose),
238
+ "on-close": unref(onClose),
239
+ "operate-class": "w-full justify-center",
240
+ onOnMinimized: unref(onMinimized),
241
+ onOnDialogMousedown: ($event) => unref(setDragLevelIndex)("HyDialogRef")
242
+ }), {
243
+ default: withCtx(() => [
244
+ createVNode(unref(HyForm), {
245
+ ref_key: "formRef",
246
+ ref: formRef,
247
+ "column-num": 1,
248
+ model: unref(formModel),
249
+ columns: unref(formColumns)
250
+ }, {
251
+ companyNameSlot: withCtx(() => [
252
+ createElementVNode("div", { class: "flex flex-row departmentTypeOperation" }, [
253
+ createVNode(_component_el_upload, {
254
+ class: "w-[80px] flex items-center justify-center upload_box",
255
+ accept: ".png,.jpg,.gif",
256
+ "before-upload": unref(beforeAvatarUpload),
257
+ "http-request": unref(handleHttpRequestImg),
258
+ action: "",
259
+ "show-file-list": false
260
+ }, {
261
+ default: withCtx(() => [
262
+ withDirectives(createElementVNode("div", {
263
+ class: "delete_box flex items-center justify-center",
264
+ onClick: withModifiers(($event) => unref(setHeadImg)(null), ["stop"])
265
+ }, [
266
+ createVNode(unref(HyIcon), {
267
+ "svg-name": "ops-button-delete",
268
+ class: "svg_box"
269
+ })
270
+ ], 8, ["onClick"]), [
271
+ [vShow, unref(formModel).icon]
272
+ ]),
273
+ createElementVNode("div", { class: "click-box emptyHead" }, [
274
+ unref(formModel).icon ? (openBlock(), createBlock(_component_el_image, {
275
+ key: 0,
276
+ fit: "contain",
277
+ class: "w-[60px] h-[60px]",
278
+ src: unref(formModel).icon
279
+ }, null, 8, ["src"])) : (openBlock(), createBlock(unref(HyIcon), {
280
+ key: 1,
281
+ "svg-name": "ops-file-empty-head",
282
+ class: "text-auxiliary !w-[60px] !h-[60px]"
283
+ })),
302
284
  createElementVNode(
303
- "div",
304
- null,
305
- toDisplayString($t$1("pleaseUploadDepartmentTypeIcon")),
306
- 1
307
- /* TEXT */
308
- ),
309
- createElementVNode(
310
- "div",
311
- null,
312
- toDisplayString($t$1("iconSize44px")) + "*44px",
313
- 1
314
- /* TEXT */
315
- ),
316
- createElementVNode(
317
- "div",
318
- null,
319
- toDisplayString($t$1("ifNoIconUseTheDefaultIcon")),
285
+ "span",
286
+ { class: "uploadTips text-center" },
287
+ toDisplayString($t$1("upload")),
320
288
  1
321
289
  /* TEXT */
322
290
  )
323
291
  ])
324
- ])
325
- ]),
326
- _: 1
327
- /* STABLE */
328
- }, 8, ["model", "columns"]),
329
- createVNode(
330
- unref(HyCutter),
331
- {
332
- ref_key: "HyCutterRef",
333
- ref: HyCutterRef,
334
- "show-upload": false
335
- },
336
- null,
337
- 512
338
- /* NEED_PATCH */
339
- )
292
+ ]),
293
+ _: 1
294
+ /* STABLE */
295
+ }, 8, ["before-upload", "http-request"]),
296
+ createElementVNode("div", { class: "flex-grow leading-[20px] text-auxiliary text-xs text-center" }, [
297
+ createElementVNode(
298
+ "div",
299
+ null,
300
+ toDisplayString($t$1("pleaseUploadDepartmentTypeIcon")),
301
+ 1
302
+ /* TEXT */
303
+ ),
304
+ createElementVNode(
305
+ "div",
306
+ null,
307
+ toDisplayString($t$1("iconSize44px")) + "*44px",
308
+ 1
309
+ /* TEXT */
310
+ ),
311
+ createElementVNode(
312
+ "div",
313
+ null,
314
+ toDisplayString($t$1("ifNoIconUseTheDefaultIcon")),
315
+ 1
316
+ /* TEXT */
317
+ )
318
+ ])
319
+ ])
340
320
  ]),
341
321
  _: 1
342
322
  /* STABLE */
343
- }, 16, ["modelValue", "onUpdate:modelValue", "loading", "onUpdate:loading", "title", "on-submit", "on-cancel", "on-close", "onOnMinimized", "onOnDialogMousedown"])
344
- ],
345
- 64
346
- /* STABLE_FRAGMENT */
347
- );
323
+ }, 8, ["model", "columns"]),
324
+ createVNode(
325
+ unref(HyCutter),
326
+ {
327
+ ref_key: "HyCutterRef",
328
+ ref: HyCutterRef,
329
+ "show-upload": false
330
+ },
331
+ null,
332
+ 512
333
+ /* NEED_PATCH */
334
+ )
335
+ ]),
336
+ _: 1
337
+ /* STABLE */
338
+ }, 16, ["modelValue", "onUpdate:modelValue", "loading", "onUpdate:loading", "title", "on-submit", "on-cancel", "on-close", "onOnMinimized", "onOnDialogMousedown"]);
348
339
  };
349
340
  }
350
341
  });
@@ -1,8 +1,11 @@
1
1
  import './departmentTypeOperation.vue.mjs';
2
+ import './departmentTypeOperation_tiantong.vue.mjs';
2
3
  import '../../utils/index.mjs';
3
4
  import { withInstall } from '../../utils/handler.mjs';
4
5
  import _sfc_main from './departmentTypeOperation2.vue.mjs';
6
+ import _sfc_main$1 from './departmentTypeOperation_tiantong2.vue.mjs';
5
7
 
6
8
  const HyDepartmentTypeOperation = withInstall(_sfc_main);
9
+ const HyDepartmentTypeOperationTiantong = withInstall(_sfc_main$1);
7
10
 
8
- export { HyDepartmentTypeOperation, HyDepartmentTypeOperation as default };
11
+ export { HyDepartmentTypeOperation, HyDepartmentTypeOperationTiantong, HyDepartmentTypeOperation as default };
@@ -1,15 +1,15 @@
1
1
  var en_US = {
2
2
  departmentIcon: "Department Icon",
3
- upload: "Upload",
4
- pleaseUploadDepartmentTypeIcon: "Please upload department type icon",
5
- iconSize44px: "Icon size 44px",
6
- ifNoIconUseTheDefaultIcon: "If no icon, use the default icon",
7
3
  departmentTypeName: "Department Type Name",
8
- pleaseEnterTheDepartmentTypeName: "Please enter the department type name",
9
- imageUploadFailedLogoSizeWithin2M: "Image upload failed, logo size within 2M.",
4
+ pleaseEnterTheDepartmentTypeName: "Please Enter The Department Type Name",
5
+ imageUploadFailedLogoSizeWithin2M: "Image Upload Failed, Logo Size Within 2M",
6
+ operationSuccessful: "Operation Successful",
10
7
  editDepartmentType: "Edit Department Type",
11
8
  addDepartmentType: "Add Department Type",
12
- operationSuccessful: "Operation Successful"
9
+ upload: "Upload",
10
+ pleaseUploadDepartmentTypeIcon: "Please Upload Department Type Icon",
11
+ iconSize44px: "Icon Size 44px",
12
+ ifNoIconUseTheDefaultIcon: "If No Icon, Use The Default Icon"
13
13
  };
14
14
 
15
15
  export { en_US as default };
@@ -1,15 +1,15 @@
1
1
  var zh_CN = {
2
2
  departmentIcon: "\u90E8\u95E8\u56FE\u6807",
3
- upload: "\u4E0A \u4F20",
4
- pleaseUploadDepartmentTypeIcon: "\u8BF7\u4E0A\u4F20\u90E8\u95E8\u7C7B\u578B\u56FE\u6807",
5
- iconSize44px: "\u56FE\u6807\u5C3A\u5BF844px",
6
- ifNoIconUseTheDefaultIcon: "\u82E5\u65E0\u56FE\u6807\u5219\u4F7F\u7528\u9ED8\u8BA4\u56FE\u6807",
7
3
  departmentTypeName: "\u90E8\u95E8\u7C7B\u578B\u540D\u79F0",
8
4
  pleaseEnterTheDepartmentTypeName: "\u8BF7\u8F93\u5165\u90E8\u95E8\u7C7B\u578B\u540D\u79F0",
9
- imageUploadFailedLogoSizeWithin2M: "\u56FE\u7247\u4E0A\u4F20\u5931\u8D25\uFF0Clogo\u5927\u5C0F2M\u4EE5\u5185\u3002",
5
+ imageUploadFailedLogoSizeWithin2M: "\u56FE\u7247\u4E0A\u4F20\u5931\u8D25,logo\u5927\u5C0F2M\u4EE5\u5185\u3002",
6
+ operationSuccessful: "\u64CD\u4F5C\u6210\u529F",
10
7
  editDepartmentType: "\u7F16\u8F91\u90E8\u95E8\u7C7B\u578B",
11
8
  addDepartmentType: "\u6DFB\u52A0\u90E8\u95E8\u7C7B\u578B",
12
- operationSuccessful: "\u64CD\u4F5C\u6210\u529F"
9
+ upload: "\u4E0A \u4F20",
10
+ pleaseUploadDepartmentTypeIcon: "\u8BF7\u4E0A\u4F20\u90E8\u95E8\u7C7B\u578B\u56FE\u6807",
11
+ iconSize44px: "\u56FE\u6807\u5C3A\u5BF844px",
12
+ ifNoIconUseTheDefaultIcon: "\u82E5\u65E0\u56FE\u6807\u5219\u4F7F\u7528\u9ED8\u8BA4\u56FE\u6807"
13
13
  };
14
14
 
15
15
  export { zh_CN as default };
@@ -0,0 +1,6 @@
1
+ import '../../utils/index.mjs';
2
+ import { withInstall } from '../../utils/handler.mjs';
3
+ import _sfc_main from './deviceTree.vue.mjs';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,5 @@
1
+ import _sfc_main from './displayQueryAddress2.vue.mjs';
2
+
3
+
4
+
5
+ export { _sfc_main as default };
@@ -0,0 +1,6 @@
1
+ import '../../utils/index.mjs';
2
+ import { withInstall } from '../../utils/handler.mjs';
3
+ import _sfc_main from './displayQueryAddress2.vue.mjs';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,182 @@
1
+ import { defineComponent, onUnmounted, onMounted, watch, ref, computed, resolveComponent, openBlock, createBlock, unref, withCtx, createElementVNode, normalizeClass, createElementBlock, toDisplayString, withModifiers } from 'vue';
2
+ import { reverseGeocodingApi } from '../../api/common.mjs';
3
+ import { ElMessage } from 'element-plus';
4
+ import '../../hooks/index.mjs';
5
+ import * as index from './locale/index.mjs';
6
+ import { registerComponentLocale, unregisterComponentLocale, $t } from '../../hooks/useLocale.mjs';
7
+ import { useMixins } from '../../hooks/useMixins.mjs';
8
+
9
+ const __default__ = defineComponent({
10
+ name: "HyDisplayQueryAddress"
11
+ });
12
+ var _sfc_main = /* @__PURE__ */ defineComponent({
13
+ ...__default__,
14
+ props: {
15
+ linesNum: {
16
+ type: [Number, String],
17
+ default: () => {
18
+ return 1;
19
+ }
20
+ },
21
+ emptyClass: {
22
+ type: String,
23
+ default: () => {
24
+ return "text-auxiliary";
25
+ }
26
+ },
27
+ emptyText: {
28
+ type: String,
29
+ default: () => {
30
+ return "--";
31
+ }
32
+ },
33
+ sourceType: {
34
+ type: String,
35
+ default: () => {
36
+ return "";
37
+ }
38
+ },
39
+ item: {
40
+ type: Object,
41
+ default: () => {
42
+ return {};
43
+ }
44
+ },
45
+ // 地址参数名称
46
+ addressName: {
47
+ type: String,
48
+ default: () => {
49
+ return "address";
50
+ }
51
+ },
52
+ lngName: {
53
+ type: String,
54
+ default: () => {
55
+ return "lng";
56
+ }
57
+ },
58
+ latName: {
59
+ type: String,
60
+ default: () => {
61
+ return "lat";
62
+ }
63
+ }
64
+ },
65
+ setup(__props) {
66
+ registerComponentLocale("HyDisplayQueryAddress", index);
67
+ onUnmounted(() => {
68
+ unregisterComponentLocale("HyDisplayQueryAddress");
69
+ });
70
+ const $t$1 = (key, option) => $t(`HyDisplayQueryAddress.${key}`, option);
71
+ const props = __props;
72
+ function useDisplayQueryAddress(hy) {
73
+ onMounted(() => {
74
+ watch(
75
+ () => props.item?.[props.addressName],
76
+ (newVal) => {
77
+ hy.address.value = newVal;
78
+ },
79
+ {
80
+ // deep: true,
81
+ immediate: true
82
+ }
83
+ );
84
+ });
85
+ const getAddressType2 = ref(false);
86
+ const address2 = ref(null);
87
+ const lng2 = computed(() => {
88
+ return props.item[`${props.lngName}`];
89
+ });
90
+ const lat2 = computed(() => {
91
+ return props.item[`${props.latName}`];
92
+ });
93
+ async function getAddress2() {
94
+ hy.getAddressType.value = true;
95
+ const res = await reverseGeocodingApi({
96
+ list: [
97
+ {
98
+ sourceType: props.sourceType,
99
+ createDtm: props.item.createDtm,
100
+ sourceId: props.item.id,
101
+ lng: hy.lng.value,
102
+ lat: hy.lat.value
103
+ }
104
+ ]
105
+ });
106
+ if (res && res.code === 200) {
107
+ const dataList = res.data || [];
108
+ if (dataList.length) {
109
+ hy.address.value = dataList[0].address;
110
+ hy.getAddressType.value = false;
111
+ }
112
+ } else {
113
+ ElMessage.error($t$1("failedToGetAddress"));
114
+ hy.getAddressType.value = false;
115
+ }
116
+ }
117
+ return {
118
+ getAddressType: getAddressType2,
119
+ address: address2,
120
+ lng: lng2,
121
+ lat: lat2,
122
+ getAddress: getAddress2
123
+ };
124
+ }
125
+ const {
126
+ address,
127
+ getAddress,
128
+ getAddressType,
129
+ lat,
130
+ lng
131
+ } = useMixins({}, [useDisplayQueryAddress]);
132
+ return (_ctx, _cache) => {
133
+ const _component_el_tooltip = resolveComponent("el-tooltip");
134
+ return openBlock(), createBlock(_component_el_tooltip, {
135
+ disabled: !unref(address),
136
+ content: unref(address),
137
+ "show-after": 500,
138
+ class: "text-xs"
139
+ }, {
140
+ default: withCtx(() => [
141
+ createElementVNode(
142
+ "div",
143
+ {
144
+ class: normalizeClass([{
145
+ "overflow-ellipsis overflow-hidden whitespace-nowrap": Number(__props.linesNum) === 1,
146
+ over_two_line: Number(__props.linesNum) === 2
147
+ }, "w-full"])
148
+ },
149
+ [
150
+ unref(address) ? (openBlock(), createElementBlock(
151
+ "span",
152
+ { key: 0 },
153
+ toDisplayString(unref(address)),
154
+ 1
155
+ /* TEXT */
156
+ )) : unref(lng) && unref(lat) ? (openBlock(), createElementBlock("div", {
157
+ key: 1,
158
+ onClick: withModifiers(($event) => unref(getAddress)(), ["stop"]),
159
+ class: "w-full box-border text-center text-theme rounded border border-theme px-1 py-0.5 text-xs clickBox float-left"
160
+ }, toDisplayString(unref(getAddressType) ? $t$1("querying") : $t$1("queryAddress")), 9, ["onClick"])) : (openBlock(), createElementBlock(
161
+ "span",
162
+ {
163
+ key: 2,
164
+ class: normalizeClass(__props.emptyClass)
165
+ },
166
+ toDisplayString(__props.emptyText),
167
+ 3
168
+ /* TEXT, CLASS */
169
+ ))
170
+ ],
171
+ 2
172
+ /* CLASS */
173
+ )
174
+ ]),
175
+ _: 1
176
+ /* STABLE */
177
+ }, 8, ["disabled", "content"]);
178
+ };
179
+ }
180
+ });
181
+
182
+ export { _sfc_main as default };
@@ -0,0 +1,8 @@
1
+ import './displayQueryAddress.vue.mjs';
2
+ import '../../utils/index.mjs';
3
+ import { withInstall } from '../../utils/handler.mjs';
4
+ import _sfc_main from './displayQueryAddress2.vue.mjs';
5
+
6
+ const HyDisplayQueryAddress = withInstall(_sfc_main);
7
+
8
+ export { HyDisplayQueryAddress, HyDisplayQueryAddress as default };
@@ -0,0 +1,7 @@
1
+ var en_US = {
2
+ "failedToGetAddress": "Failed To Get Address",
3
+ "querying": "...Querying...",
4
+ "queryAddress": "Query Address"
5
+ };
6
+
7
+ export { en_US as default };
@@ -0,0 +1,2 @@
1
+ export { default as en_US } from './en_US.mjs';
2
+ export { default as zh_CN } from './zh_CN.mjs';
@@ -0,0 +1,7 @@
1
+ var zh_CN = {
2
+ "failedToGetAddress": "\u83B7\u53D6\u5730\u5740\u5931\u8D25",
3
+ "querying": "...\u67E5\u8BE2\u4E2D...",
4
+ "queryAddress": "\u67E5\u8BE2\u5730\u5740"
5
+ };
6
+
7
+ export { zh_CN as default };
@@ -0,0 +1,6 @@
1
+ import '../../../../utils/index.mjs';
2
+ import { withInstall } from '../../../../utils/handler.mjs';
3
+ import _sfc_main from './addElectronicFenceDialog.vue.mjs';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -1,11 +1,11 @@
1
1
  import { defineComponent, useTemplateRef, ref, computed, nextTick, shallowRef, openBlock, createBlock, unref, isRef, withCtx, createElementVNode, createVNode, mergeProps, createTextVNode, createElementBlock, createCommentVNode } from 'vue';
2
+ import { useUiComponent } from '../../../../utils/useUiComponent.mjs';
2
3
  import { ElMessage, ElCheckbox } from 'element-plus';
3
4
  import { selectApi, saveApi } from '../../../../api/index.mjs';
4
5
  import { findAllMapRailLocationApi } from '../../../../api/mapRail.mjs';
5
6
  import '../../../../hooks/index.mjs';
6
7
  import '../../../../utils/index.mjs';
7
8
  import '../../../../components/index.mjs';
8
- import '../../../index.mjs';
9
9
  import { useCurrentBus } from '../../../../hooks/useCurrentBus.mjs';
10
10
  import { $t } from '../../../../hooks/useLocale.mjs';
11
11
  import { useAppForm } from '../../../../components/hyForm/js/useAppForm.mjs';
@@ -15,7 +15,6 @@ import { useDialog, useDialogIsEdit } from '../../../../hooks/useDialog.mjs';
15
15
  import { HyDialog } from '../../../../components/hyDialog/index.mjs';
16
16
  import { HyForm } from '../../../../components/hyForm/index.mjs';
17
17
  import { HyInput } from '../../../../components/hyInput/index.mjs';
18
- import { HyMapAearchPlace } from '../../../hyMapAearchPlace/index.mjs';
19
18
  import { HyMap } from '../../../../components/hyMap/index.mjs';
20
19
  import { HyIcon } from '../../../../components/hyIcon/index.mjs';
21
20
  import { HyButton } from '../../../../components/hyButton/index.mjs';
@@ -35,6 +34,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
35
34
  }
36
35
  },
37
36
  setup(__props, { expose: __expose }) {
37
+ const HyMapAearchPlace = useUiComponent("HyMapAearchPlace");
38
38
  const props = __props;
39
39
  const { currentBus } = useCurrentBus();
40
40
  const useAddElectronicFenceDialog = (hy) => {
@@ -0,0 +1,6 @@
1
+ import '../../../../utils/index.mjs';
2
+ import { withInstall } from '../../../../utils/handler.mjs';
3
+ import _sfc_main from './batchSetElectronicFenceUserDialog.vue.mjs';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,6 @@
1
+ import '../../../../utils/index.mjs';
2
+ import { withInstall } from '../../../../utils/handler.mjs';
3
+ import _sfc_main from './electronicFenceAssociatedUsersDialog.vue.mjs';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,6 @@
1
+ import '../../../../utils/index.mjs';
2
+ import { withInstall } from '../../../../utils/handler.mjs';
3
+ import _sfc_main from './electronicFenceAssociatedUsersItem.vue.mjs';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,6 @@
1
+ import '../../utils/index.mjs';
2
+ import { withInstall } from '../../utils/handler.mjs';
3
+ import _sfc_main from './electronicFence.vue.mjs';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,5 @@
1
+ import _sfc_main from './audioDetail2.vue.mjs';
2
+
3
+
4
+
5
+ export { _sfc_main as default };
@@ -0,0 +1,6 @@
1
+ import '../../../utils/index.mjs';
2
+ import { withInstall } from '../../../utils/handler.mjs';
3
+ import _sfc_main from './audioDetail2.vue.mjs';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }