hy-dispatch-ui-v3 0.2.67 → 0.2.68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (280) hide show
  1. package/dist/tailwind.css +232 -20
  2. package/es/api/device.mjs +2 -3
  3. package/es/api/exportExcel.mjs +57 -0
  4. package/es/api/index.mjs +27 -16
  5. package/es/api/mapRail.mjs +31 -0
  6. package/es/api/organization.mjs +17 -9
  7. package/es/api/rule.mjs +30 -0
  8. package/es/api/sypct.mjs +2 -3
  9. package/es/api/task.mjs +2 -3
  10. package/es/bussiness/hyAddDepartmentType/addDepartmentType.vue.mjs +18 -19
  11. package/es/bussiness/hyAddDepartmentType/style/addDepartmentType.scss +28 -28
  12. package/es/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.mjs +511 -0
  13. package/es/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.vue.mjs +169 -0
  14. package/es/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.vue.mjs +318 -0
  15. package/es/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersItem.vue.mjs +123 -0
  16. package/es/bussiness/hyElectronicFence/electronicFence.vue.mjs +358 -0
  17. package/es/bussiness/hyElectronicFence/index.mjs +13 -0
  18. package/es/bussiness/hyElectronicFence/style/electronicFence.scss +0 -0
  19. package/es/bussiness/hyMapAearchPlace/js/index.mjs +1 -1
  20. package/es/bussiness/hyMapAearchPlace/mapAearchPlace.vue.mjs +4 -6
  21. package/es/bussiness/hyMapAearchPlace/style/mapAearchPlace.scss +4 -3
  22. package/es/bussiness/hyRuleSetting/cpns/gatheringPeople/gatheringPeople.vue.mjs +270 -0
  23. package/es/bussiness/hyRuleSetting/cpns/missionInRule/missionInRule.vue.mjs +251 -0
  24. package/es/bussiness/hyRuleSetting/cpns/missionOutRule/missionOutRule.vue.mjs +251 -0
  25. package/es/bussiness/hyRuleSetting/cpns/ruleAssignDialog/ruleAssignDialog.vue.mjs +395 -0
  26. package/es/bussiness/hyRuleSetting/cpns/ruleFenceDialog/ruleFenceDialog.vue.mjs +651 -0
  27. package/es/bussiness/hyRuleSetting/cpns/ruleSettingDialog/ruleSettingDialog.vue.mjs +357 -0
  28. package/es/bussiness/hyRuleSetting/cpns/sedentary/sedentary.vue.mjs +261 -0
  29. package/es/bussiness/hyRuleSetting/cpns/setRuleAggregationAlarmDialog/setRuleAggregationAlarmDialog.vue.mjs +360 -0
  30. package/es/bussiness/hyRuleSetting/cpns/timedVideo/timedVideo.vue.mjs +240 -0
  31. package/es/bussiness/hyRuleSetting/cpns/timerCamera/timerCamera.vue.mjs +258 -0
  32. package/es/bussiness/hyRuleSetting/cpns/timingReturn/timingReturn.vue.mjs +240 -0
  33. package/es/bussiness/hyRuleSetting/index.mjs +15 -0
  34. package/es/bussiness/hyRuleSetting/js/ruleSetting.mjs +65 -0
  35. package/es/bussiness/hyRuleSetting/ruleSetting.vue.mjs +129 -0
  36. package/es/bussiness/hyRuleSetting/style/ruleSetting.scss +0 -0
  37. package/es/bussiness/index.mjs +2 -0
  38. package/es/components/hyAudioPlayer/audioPlayer.vue.mjs +5 -13
  39. package/es/components/hyAudioPlayer/js/index.mjs +9 -14
  40. package/es/components/hyAudioPlayer/style/audioPlayer.scss +7 -2
  41. package/es/components/hyButton/button.vue.mjs +2 -2
  42. package/es/components/hyButton/style/button.scss +48 -74
  43. package/es/components/hyCheckboxGroup/checkboxGroup.vue.mjs +119 -0
  44. package/es/components/hyCheckboxGroup/index.mjs +7 -0
  45. package/es/components/hyCheckboxGroup/style/checkboxGroup.scss +58 -0
  46. package/es/components/hyConfigProvider/configProvider.vue.mjs +51 -38
  47. package/es/components/hyConfirmDialog/confirmDialog.vue.mjs +57 -62
  48. package/es/components/hyConfirmDialog/confirmMethod.mjs +24 -22
  49. package/es/components/hyCutter/cutter.vue.mjs +9 -23
  50. package/es/components/hyDatePicker/datePicker.vue.mjs +12 -17
  51. package/es/components/hyDialog/dialog.vue.mjs +5 -9
  52. package/es/components/hyDialog/style/dialog.scss +12 -13
  53. package/es/components/hyDrawer/drawer.vue.mjs +100 -0
  54. package/es/components/hyDrawer/index.mjs +7 -0
  55. package/es/components/hyDrawer/style/drawer.scss +0 -0
  56. package/es/components/hyForm/cpns/arrayItem.vue.mjs +10 -28
  57. package/es/components/hyForm/cpns/arrayItem2.vue.mjs +198 -0
  58. package/es/components/hyForm/cpns/extraItem.vue.mjs +2 -3
  59. package/es/components/hyForm/cpns/formItem.vue.mjs +65 -35
  60. package/es/components/hyForm/cpns/locationSelect.vue.mjs +26 -26
  61. package/es/components/hyForm/form.vue.mjs +56 -24
  62. package/es/components/hyForm/js/index.mjs +4 -8
  63. package/es/components/hyForm/js/useAppForm.mjs +4 -9
  64. package/es/components/hyForm/style/form.scss +4 -13
  65. package/es/components/hyIcon/icon.vue.mjs +3 -3
  66. package/es/components/hyIconBox/style/iconBox.scss +2 -6
  67. package/es/components/hyInput/inputSearch.vue.mjs +8 -11
  68. package/es/components/hyInput/style/inputSearch.scss +3 -0
  69. package/es/components/hyLoading/index.mjs +3 -5
  70. package/es/components/hyMap/js/index.mjs +29 -4
  71. package/es/components/hyMap/map.vue.mjs +17 -3
  72. package/es/components/hyMenu/style/menu.scss +5 -15
  73. package/es/components/hyNoPermissions/noPermissions.vue.mjs +3 -4
  74. package/es/components/hyNoPermissionsMap/noPermissionsMap.vue.mjs +3 -6
  75. package/es/components/hyOrgCascader/js/index.mjs +1 -5
  76. package/es/components/hyOrgCascader/orgCascader.vue.mjs +25 -11
  77. package/es/components/hyOrgCascader/style/orgCascader.scss +7 -0
  78. package/es/components/hyRadioGroup/radioGroup.vue.mjs +48 -41
  79. package/es/components/hyRadioGroup/style/radioGroup.scss +9 -0
  80. package/es/components/hySearch/cpns/searchItem.vue.mjs +33 -20
  81. package/es/components/hySearch/js/index.mjs +1 -4
  82. package/es/components/hySearch/js/useAppSearch.mjs +5 -10
  83. package/es/components/hySearch/search.vue.mjs +9 -16
  84. package/es/components/hySearch/style/search.scss +2 -0
  85. package/es/components/hyStatus/index.mjs +7 -0
  86. package/es/components/hyStatus/status.vue.mjs +110 -0
  87. package/es/components/hyStatus/style/status.scss +0 -0
  88. package/es/components/hyTable/cpns/columnSelect.vue.mjs +24 -28
  89. package/es/components/hyTable/cpns/columnSelectItem.vue.mjs +8 -9
  90. package/es/components/hyTable/cpns/headerItem.vue.mjs +2 -2
  91. package/es/components/hyTable/cpns/virtualTable.vue.mjs +18 -28
  92. package/es/components/hyTable/js/index.mjs +56 -59
  93. package/es/components/hyTable/js/useAppTable.mjs +3 -4
  94. package/es/components/hyTable/style/table.scss +8 -0
  95. package/es/components/hyTable/table.vue.mjs +35 -41
  96. package/es/components/hyTableActionButton/tableActionButton.vue.mjs +4 -4
  97. package/es/components/hyTableForm/batchTableForm.vue.mjs +3 -7
  98. package/es/components/hyTableForm/js/index.mjs +2 -8
  99. package/es/components/hyTableForm/js/useAppTableForm.mjs +2 -7
  100. package/es/components/hyTableForm/style/batchTableForm.scss +26 -54
  101. package/es/components/hyTableForm/style/tableForm.scss +3 -2
  102. package/es/components/hyTableForm/tableForm.vue.mjs +90 -46
  103. package/es/components/hyTimePicker/timePicker.vue.mjs +4 -5
  104. package/es/components/hyTree/js/index.mjs +13 -40
  105. package/es/components/hyTree/style/index.css +1 -1
  106. package/es/components/hyTree/tree.vue.mjs +17 -16
  107. package/es/components/hyUserAvatar/userAvatar.vue.mjs +3 -6
  108. package/es/components/hyVideoPlayer/js/index.mjs +14 -23
  109. package/es/components/hyVideoPlayer/style/videoPlayer.scss +5 -7
  110. package/es/components/hyVideoPlayer/videoPlayer.vue.mjs +16 -26
  111. package/es/components/index.mjs +3 -0
  112. package/es/hooks/index.mjs +6 -2
  113. package/es/hooks/useAudioPlayerConfig.mjs +1 -3
  114. package/es/hooks/useBaseMainStore.mjs +29 -0
  115. package/es/hooks/useCurrentBus.mjs +20 -0
  116. package/es/hooks/useDialog.mjs +327 -0
  117. package/es/hooks/useExportFile.mjs +133 -0
  118. package/es/hooks/useGlobalConfig.mjs +10 -6
  119. package/es/hooks/useLocale.mjs +22 -12
  120. package/es/hooks/usePermissionMap.mjs +1 -3
  121. package/es/hooks/useResizeHandler.mjs +1 -4
  122. package/es/hooks/useResizeObserver.mjs +3 -1
  123. package/es/hooks/useSubscribe.mjs +2 -2
  124. package/es/hooks/useUserAvatarMap.mjs +1 -3
  125. package/es/hooks/useVideoPlayerConfig.mjs +1 -3
  126. package/es/index.mjs +11 -2
  127. package/es/locale/{en.mjs → en_US.mjs} +79 -4
  128. package/es/locale/index.mjs +2 -2
  129. package/es/locale/zh_CN.mjs +79 -2
  130. package/es/style/tailwind.scss +7 -3
  131. package/es/utils/adaptive.mjs +1 -3
  132. package/es/utils/form.mjs +7 -10
  133. package/es/utils/handler.mjs +4 -8
  134. package/es/utils/input.mjs +8 -9
  135. package/es/utils/map/hook/bigMap.mjs +14 -53
  136. package/es/utils/map/hook/gaode.mjs +5 -20
  137. package/es/utils/map/hook/leafletjs.mjs +23 -79
  138. package/es/utils/map/index.mjs +2 -8
  139. package/es/utils/map/js/webgis.mjs +12 -12
  140. package/es/version.mjs +1 -1
  141. package/lib/api/device.js +2 -3
  142. package/lib/api/exportExcel.js +62 -0
  143. package/lib/api/index.js +27 -16
  144. package/lib/api/mapRail.js +34 -0
  145. package/lib/api/organization.js +17 -8
  146. package/lib/api/rule.js +33 -0
  147. package/lib/api/sypct.js +2 -3
  148. package/lib/api/task.js +2 -3
  149. package/lib/bussiness/hyAddDepartmentType/addDepartmentType.vue.js +17 -18
  150. package/lib/bussiness/hyAddDepartmentType/style/addDepartmentType.scss +28 -28
  151. package/lib/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.js +515 -0
  152. package/lib/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.vue.js +173 -0
  153. package/lib/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.vue.js +322 -0
  154. package/lib/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersItem.vue.js +127 -0
  155. package/lib/bussiness/hyElectronicFence/electronicFence.vue.js +362 -0
  156. package/lib/bussiness/hyElectronicFence/index.js +21 -0
  157. package/lib/bussiness/hyElectronicFence/style/electronicFence.scss +0 -0
  158. package/lib/bussiness/hyMapAearchPlace/js/index.js +1 -1
  159. package/lib/bussiness/hyMapAearchPlace/mapAearchPlace.vue.js +4 -6
  160. package/lib/bussiness/hyMapAearchPlace/style/mapAearchPlace.scss +4 -3
  161. package/lib/bussiness/hyRuleSetting/cpns/gatheringPeople/gatheringPeople.vue.js +274 -0
  162. package/lib/bussiness/hyRuleSetting/cpns/missionInRule/missionInRule.vue.js +255 -0
  163. package/lib/bussiness/hyRuleSetting/cpns/missionOutRule/missionOutRule.vue.js +255 -0
  164. package/lib/bussiness/hyRuleSetting/cpns/ruleAssignDialog/ruleAssignDialog.vue.js +399 -0
  165. package/lib/bussiness/hyRuleSetting/cpns/ruleFenceDialog/ruleFenceDialog.vue.js +655 -0
  166. package/lib/bussiness/hyRuleSetting/cpns/ruleSettingDialog/ruleSettingDialog.vue.js +361 -0
  167. package/lib/bussiness/hyRuleSetting/cpns/sedentary/sedentary.vue.js +265 -0
  168. package/lib/bussiness/hyRuleSetting/cpns/setRuleAggregationAlarmDialog/setRuleAggregationAlarmDialog.vue.js +364 -0
  169. package/lib/bussiness/hyRuleSetting/cpns/timedVideo/timedVideo.vue.js +244 -0
  170. package/lib/bussiness/hyRuleSetting/cpns/timerCamera/timerCamera.vue.js +262 -0
  171. package/lib/bussiness/hyRuleSetting/cpns/timingReturn/timingReturn.vue.js +244 -0
  172. package/lib/bussiness/hyRuleSetting/index.js +24 -0
  173. package/lib/bussiness/hyRuleSetting/js/ruleSetting.js +68 -0
  174. package/lib/bussiness/hyRuleSetting/ruleSetting.vue.js +133 -0
  175. package/lib/bussiness/hyRuleSetting/style/ruleSetting.scss +0 -0
  176. package/lib/bussiness/index.js +21 -10
  177. package/lib/components/hyAudioPlayer/audioPlayer.vue.js +5 -13
  178. package/lib/components/hyAudioPlayer/js/index.js +9 -14
  179. package/lib/components/hyAudioPlayer/style/audioPlayer.scss +7 -2
  180. package/lib/components/hyButton/button.vue.js +2 -2
  181. package/lib/components/hyButton/style/button.scss +48 -74
  182. package/lib/components/hyCheckboxGroup/checkboxGroup.vue.js +123 -0
  183. package/lib/components/hyCheckboxGroup/index.js +12 -0
  184. package/lib/components/hyCheckboxGroup/style/checkboxGroup.scss +58 -0
  185. package/lib/components/hyConfigProvider/configProvider.vue.js +50 -56
  186. package/lib/components/hyConfirmDialog/confirmDialog.vue.js +56 -61
  187. package/lib/components/hyConfirmDialog/confirmMethod.js +23 -21
  188. package/lib/components/hyCutter/cutter.vue.js +8 -22
  189. package/lib/components/hyDatePicker/datePicker.vue.js +11 -16
  190. package/lib/components/hyDialog/dialog.vue.js +5 -9
  191. package/lib/components/hyDialog/style/dialog.scss +12 -13
  192. package/lib/components/hyDrawer/drawer.vue.js +104 -0
  193. package/lib/components/hyDrawer/index.js +12 -0
  194. package/lib/components/hyDrawer/style/drawer.scss +0 -0
  195. package/lib/components/hyForm/cpns/arrayItem.vue.js +9 -27
  196. package/lib/components/hyForm/cpns/arrayItem2.vue.js +202 -0
  197. package/lib/components/hyForm/cpns/extraItem.vue.js +2 -3
  198. package/lib/components/hyForm/cpns/formItem.vue.js +66 -36
  199. package/lib/components/hyForm/cpns/locationSelect.vue.js +26 -26
  200. package/lib/components/hyForm/form.vue.js +51 -19
  201. package/lib/components/hyForm/js/index.js +3 -7
  202. package/lib/components/hyForm/js/useAppForm.js +4 -9
  203. package/lib/components/hyForm/style/form.scss +4 -13
  204. package/lib/components/hyIcon/icon.vue.js +3 -3
  205. package/lib/components/hyIconBox/style/iconBox.scss +2 -6
  206. package/lib/components/hyInput/inputSearch.vue.js +7 -10
  207. package/lib/components/hyInput/style/inputSearch.scss +3 -0
  208. package/lib/components/hyLoading/index.js +2 -4
  209. package/lib/components/hyMap/js/index.js +29 -4
  210. package/lib/components/hyMap/map.vue.js +17 -3
  211. package/lib/components/hyMenu/style/menu.scss +5 -15
  212. package/lib/components/hyNoPermissions/noPermissions.vue.js +3 -4
  213. package/lib/components/hyNoPermissionsMap/noPermissionsMap.vue.js +3 -6
  214. package/lib/components/hyOrgCascader/js/index.js +1 -5
  215. package/lib/components/hyOrgCascader/orgCascader.vue.js +23 -9
  216. package/lib/components/hyOrgCascader/style/orgCascader.scss +7 -0
  217. package/lib/components/hyRadioGroup/radioGroup.vue.js +47 -40
  218. package/lib/components/hyRadioGroup/style/radioGroup.scss +9 -0
  219. package/lib/components/hySearch/cpns/searchItem.vue.js +33 -20
  220. package/lib/components/hySearch/js/index.js +1 -4
  221. package/lib/components/hySearch/js/useAppSearch.js +5 -10
  222. package/lib/components/hySearch/search.vue.js +9 -16
  223. package/lib/components/hySearch/style/search.scss +2 -0
  224. package/lib/components/hyStatus/index.js +12 -0
  225. package/lib/components/hyStatus/status.vue.js +114 -0
  226. package/lib/components/hyStatus/style/status.scss +0 -0
  227. package/lib/components/hyTable/cpns/columnSelect.vue.js +22 -26
  228. package/lib/components/hyTable/cpns/columnSelectItem.vue.js +7 -8
  229. package/lib/components/hyTable/cpns/headerItem.vue.js +2 -2
  230. package/lib/components/hyTable/cpns/virtualTable.vue.js +17 -27
  231. package/lib/components/hyTable/js/index.js +54 -57
  232. package/lib/components/hyTable/js/useAppTable.js +2 -3
  233. package/lib/components/hyTable/style/table.scss +8 -0
  234. package/lib/components/hyTable/table.vue.js +35 -41
  235. package/lib/components/hyTableActionButton/tableActionButton.vue.js +4 -4
  236. package/lib/components/hyTableForm/batchTableForm.vue.js +3 -7
  237. package/lib/components/hyTableForm/js/index.js +2 -8
  238. package/lib/components/hyTableForm/js/useAppTableForm.js +2 -7
  239. package/lib/components/hyTableForm/style/batchTableForm.scss +26 -54
  240. package/lib/components/hyTableForm/style/tableForm.scss +3 -2
  241. package/lib/components/hyTableForm/tableForm.vue.js +89 -45
  242. package/lib/components/hyTimePicker/timePicker.vue.js +3 -4
  243. package/lib/components/hyTree/js/index.js +13 -40
  244. package/lib/components/hyTree/style/index.css +1 -1
  245. package/lib/components/hyTree/tree.vue.js +17 -16
  246. package/lib/components/hyUserAvatar/userAvatar.vue.js +3 -6
  247. package/lib/components/hyVideoPlayer/js/index.js +14 -23
  248. package/lib/components/hyVideoPlayer/style/videoPlayer.scss +5 -7
  249. package/lib/components/hyVideoPlayer/videoPlayer.vue.js +16 -26
  250. package/lib/components/index.js +46 -40
  251. package/lib/hooks/index.js +17 -0
  252. package/lib/hooks/useAudioPlayerConfig.js +1 -3
  253. package/lib/hooks/useBaseMainStore.js +32 -0
  254. package/lib/hooks/useCurrentBus.js +23 -0
  255. package/lib/hooks/useDialog.js +331 -0
  256. package/lib/hooks/useExportFile.js +135 -0
  257. package/lib/hooks/useGlobalConfig.js +10 -6
  258. package/lib/hooks/useLocale.js +25 -11
  259. package/lib/hooks/usePermissionMap.js +1 -3
  260. package/lib/hooks/useResizeHandler.js +1 -4
  261. package/lib/hooks/useResizeObserver.js +3 -1
  262. package/lib/hooks/useSubscribe.js +2 -1
  263. package/lib/hooks/useUserAvatarMap.js +1 -3
  264. package/lib/hooks/useVideoPlayerConfig.js +1 -3
  265. package/lib/index.js +107 -73
  266. package/lib/locale/{en.js → en_US.js} +79 -4
  267. package/lib/locale/index.js +3 -3
  268. package/lib/locale/zh_CN.js +79 -2
  269. package/lib/style/tailwind.scss +7 -3
  270. package/lib/utils/adaptive.js +1 -3
  271. package/lib/utils/form.js +6 -9
  272. package/lib/utils/handler.js +3 -7
  273. package/lib/utils/input.js +7 -8
  274. package/lib/utils/map/hook/bigMap.js +14 -53
  275. package/lib/utils/map/hook/gaode.js +5 -20
  276. package/lib/utils/map/hook/leafletjs.js +23 -79
  277. package/lib/utils/map/index.js +2 -8
  278. package/lib/utils/map/js/webgis.js +12 -12
  279. package/lib/version.js +1 -1
  280. package/package.json +3 -2
@@ -9,10 +9,10 @@ require('../../utils/index.js');
9
9
  var formItem = require('./cpns/formItem.vue.js');
10
10
  var extraItem = require('./cpns/extraItem.vue.js');
11
11
  var arrayItem = require('./cpns/arrayItem.vue.js');
12
+ var arrayItem2 = require('./cpns/arrayItem2.vue.js');
12
13
  var locationSelect = require('./cpns/locationSelect.vue.js');
13
14
  var index = require('./js/index.js');
14
15
  var useAppForm = require('./js/useAppForm.js');
15
- var useLocale = require('../../hooks/useLocale.js');
16
16
  var is = require('../../utils/is.js');
17
17
 
18
18
  import "./style/form.scss";
@@ -58,14 +58,18 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
58
58
  showMessage: {
59
59
  type: Boolean,
60
60
  default: true
61
+ },
62
+ isTableForm: {
63
+ type: Boolean,
64
+ default: false
61
65
  }
62
66
  },
63
- emits: ["on-allMapSelect", "complete"],
67
+ emits: ["on-allMapSelect", "complete", "optionsStatus"],
64
68
  setup(__props, { expose: __expose, emit: __emit }) {
65
69
  const props = __props;
66
70
  const emits = __emit;
67
- const { t } = useLocale.useLocale();
68
71
  const formTemplateRef = vue.useTemplateRef("formTemplateRef");
72
+ const validateTriggerId = vue.inject("validateTriggerId", vue.ref(0));
69
73
  const formColumnMap = vue.computed(() => {
70
74
  return (props.columns || []).reduce((map, column) => {
71
75
  if (is.isArray(column.field)) {
@@ -102,15 +106,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
102
106
  };
103
107
  function filterFields(fields2 = [], keys = []) {
104
108
  const filterKeys = keys.map((prop) => is.isArray(prop) ? prop.join(".") : prop);
105
- return filterKeys.length ? fields2.filter(
106
- (field) => field.propString && filterKeys.includes(field.propString)
107
- ) : fields2;
109
+ return filterKeys.length ? fields2.filter((field) => field.propString && filterKeys.includes(field.propString)) : fields2;
108
110
  }
109
111
  async function obtainOptionsFields(keys, isMountedLoad = false) {
110
112
  const filteredFields = filterFields(fields, keys);
111
- await Promise.allSettled(
112
- filteredFields.map((field) => field.obtainOptions(isMountedLoad))
113
- );
113
+ await Promise.allSettled(filteredFields.map((field) => field.obtainOptions(isMountedLoad)));
114
114
  }
115
115
  async function getOptions(isMountedLoad = false) {
116
116
  await obtainOptionsFields([], isMountedLoad);
@@ -121,9 +121,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
121
121
  emitOptionsStatus();
122
122
  }
123
123
  async function getOptionsError() {
124
- const filteredFields = fields.filter(
125
- (field) => field.propString && field.optionsError
126
- );
124
+ const filteredFields = fields.filter((field) => field.propString && field.optionsError);
127
125
  await Promise.allSettled(filteredFields.map((field) => field.obtainOptions()));
128
126
  emitOptionsStatus();
129
127
  }
@@ -143,6 +141,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
143
141
  );
144
142
  vue.onMounted(() => {
145
143
  getOptions(true);
144
+ vue.watch(validateTriggerId, () => {
145
+ vue.unref(formTemplateRef).validate(() => {
146
+ });
147
+ });
146
148
  });
147
149
  __expose({
148
150
  validate: async (callback) => {
@@ -176,10 +178,19 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
176
178
  await vue.nextTick();
177
179
  return vue.unref(formTemplateRef).getField(fields2);
178
180
  },
179
- setMarker: (latlng) => {
181
+ setMarker: async (latlng, getAddress = false) => {
180
182
  if (locationSelectRef.value) {
181
- is.isArray(locationSelectRef.value) ? locationSelectRef.value.map((item) => item.setMarker(latlng)) : locationSelectRef.value.setMarker(latlng);
183
+ if (is.isArray(locationSelectRef.value)) {
184
+ await Promise.all(
185
+ locationSelectRef.value.map(
186
+ (item) => item.setMarker(latlng, getAddress)
187
+ )
188
+ );
189
+ } else {
190
+ await locationSelectRef.value.setMarker(latlng, getAddress);
191
+ }
182
192
  }
193
+ return 200;
183
194
  },
184
195
  clearMarker: () => {
185
196
  if (locationSelectRef.value) {
@@ -237,10 +248,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
237
248
  "div",
238
249
  {
239
250
  key: 0,
240
- class: vue.normalizeClass(["w-full flex items-center text-theme whitespace-nowrap relative mb-3 mt-1", [
241
- __props.size === "small" ? "text-xs" : "text-sm",
242
- allMapSelect.value ? "hidden" : ""
243
- ]]),
251
+ class: vue.normalizeClass(["w-full flex items-center text-theme whitespace-nowrap relative mb-3 mt-1", [__props.size === "small" ? "text-xs" : "text-sm", allMapSelect.value ? "hidden" : ""]]),
244
252
  style: vue.normalizeStyle(vue.unref(index.columnItemStyle)(props, column))
245
253
  },
246
254
  [
@@ -301,7 +309,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
301
309
  { key: 2 },
302
310
  [
303
311
  vue.createCommentVNode(" \u8868\u5355\u6570\u7EC4 "),
304
- vue.unref(index.columnShowHandler)(props, column) ? (vue.openBlock(), vue.createBlock(arrayItem.default, {
312
+ !__props.isTableForm && vue.unref(index.columnShowHandler)(props, column) ? (vue.openBlock(), vue.createBlock(arrayItem.default, {
305
313
  key: 0,
306
314
  class: vue.normalizeClass([allMapSelect.value ? "hidden" : ""]),
307
315
  model: __props.model,
@@ -325,6 +333,30 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
325
333
  ])
326
334
  };
327
335
  })
336
+ ]), 1032, ["class", "model", "column", "rules", "columnNum", "loading", "disabled", "readonly", "size", "style"])) : __props.isTableForm && vue.unref(index.columnShowHandler)(props, column) ? (vue.openBlock(), vue.createBlock(arrayItem2.default, {
337
+ key: 1,
338
+ class: vue.normalizeClass([allMapSelect.value ? "hidden" : ""]),
339
+ model: __props.model,
340
+ column,
341
+ rules: __props.rules,
342
+ columnNum: __props.columnNum,
343
+ loading: __props.loading,
344
+ disabled: __props.disabled,
345
+ readonly: __props.readonly,
346
+ size: __props.size,
347
+ style: vue.normalizeStyle(vue.unref(index.columnItemStyle)(props, column))
348
+ }, vue.createSlots({
349
+ _: 2
350
+ /* DYNAMIC */
351
+ }, [
352
+ vue.renderList(_ctx.$slots, (_, slotName) => {
353
+ return {
354
+ name: slotName,
355
+ fn: vue.withCtx((scope) => [
356
+ vue.renderSlot(_ctx.$slots, slotName, vue.mergeProps({ ref_for: true }, scope))
357
+ ])
358
+ };
359
+ })
328
360
  ]), 1032, ["class", "model", "column", "rules", "columnNum", "loading", "disabled", "readonly", "size", "style"])) : vue.createCommentVNode("v-if", true)
329
361
  ],
330
362
  64
@@ -90,9 +90,7 @@ function renderText(props, column = {}) {
90
90
  }
91
91
  if (/^(select|radio|checkbox)$/.test(type)) {
92
92
  const optionList = optionsHandler(props, column);
93
- const target = optionList.find(
94
- (item) => item[fieldNames.value] === columnValue
95
- );
93
+ const target = optionList.find((item) => item[fieldNames.value] === columnValue);
96
94
  return target?.[fieldNames.label] || columnValue || "";
97
95
  }
98
96
  if (Array.isArray(field)) {
@@ -104,16 +102,14 @@ function renderText(props, column = {}) {
104
102
  return columnValue || "";
105
103
  }
106
104
  function renderArrayItemLabel(props, column, index) {
107
- const { t } = useLocale.useLocale();
108
105
  const itemLabel = vue.unref(column.itemLabel);
109
106
  if (is.isFunction(itemLabel)) return itemLabel(column, index);
110
- return (itemLabel || t("form.dynamicFormItem")) + ` ${index + 1}`;
107
+ return (itemLabel || useLocale.$t("form.dynamicFormItem")) + ` ${index + 1}`;
111
108
  }
112
109
  function renderAddLabel(props, column) {
113
- const { t } = useLocale.useLocale();
114
110
  let addLabel = vue.unref(column.addLabel);
115
111
  if (is.isFunction(addLabel)) return addLabel();
116
- return addLabel || t("form.addFormItem");
112
+ return addLabel || useLocale.$t("form.addFormItem");
117
113
  }
118
114
  function optionsHandler(props, column) {
119
115
  const options = vue.unref(column.attrs.options);
@@ -1,7 +1,6 @@
1
1
  'use strict';
2
2
 
3
3
  var vue = require('vue');
4
- require('../../../hooks/index.js');
5
4
  require('../../../utils/index.js');
6
5
  var form = require('../../../utils/form.js');
7
6
  var handler = require('../../../utils/handler.js');
@@ -25,11 +24,11 @@ function appFormItemHandler(column = {}) {
25
24
  return {
26
25
  ...column,
27
26
  attrs: {
28
- maxlength: attrs.type === "text" ? 256 : void 0,
27
+ maxlength: attrs.type === "text" ? 255 : void 0,
29
28
  ...attrs
30
29
  }
31
30
  };
32
- } else if (/^(radio|radio-group|checkbox|select|select-v2)$/.test(column.type)) {
31
+ } else if (/^(radio|radio-group|checkbox|checkbox-group|select|select-v2)$/.test(column.type)) {
33
32
  return {
34
33
  ...column,
35
34
  attrs: {
@@ -50,7 +49,7 @@ function appFormItemHandler(column = {}) {
50
49
  };
51
50
  } else if (/^(array)$/.test(column.type)) {
52
51
  return {
53
- height: 500,
52
+ height: void 0,
54
53
  emptyChildren: false,
55
54
  ...column,
56
55
  children: (column.children || []).map((item) => appFormItemHandler(item))
@@ -83,11 +82,7 @@ const resetAppFormValue = (columns = [], obj = {}) => {
83
82
  resetAppFormValue(item.children, obj);
84
83
  } else if (Array.isArray(item.prop)) {
85
84
  for (let i = 0; i < item.prop.length; i++) {
86
- form.genValueByProp(
87
- obj,
88
- item.prop[i],
89
- Array.isArray(value) ? value[i] : void 0
90
- );
85
+ form.genValueByProp(obj, item.prop[i], Array.isArray(value) ? value[i] : void 0);
91
86
  }
92
87
  } else {
93
88
  form.genValueByProp(obj, item.prop, value);
@@ -25,6 +25,7 @@
25
25
  transition: all 0.1s linear;
26
26
  user-select: none;
27
27
  z-index: 2;
28
+ box-sizing: border-box;
28
29
  .hy-form-extra-arrow {
29
30
  transform: rotateZ(90deg) rotateY(0deg);
30
31
  transition: all 0.3s linear;
@@ -34,11 +35,7 @@
34
35
  border-color: rgba(var(--hy-theme));
35
36
  box-shadow: 0px 0px 12px 1px rgba(var(--hy-theme), 0.5);
36
37
  & + .hy-form-extra-line {
37
- background: radial-gradient(
38
- circle,
39
- rgba(var(--hy-theme), 1),
40
- rgba(var(--hy-theme), 0)
41
- );
38
+ background: radial-gradient(circle, rgba(var(--hy-theme), 1), rgba(var(--hy-theme), 0));
42
39
  }
43
40
  }
44
41
  &.expand {
@@ -47,7 +44,7 @@
47
44
  }
48
45
  }
49
46
  }
50
-
47
+
51
48
  .hy-form-extra-line {
52
49
  width: 100%;
53
50
  height: 2px;
@@ -56,12 +53,6 @@
56
53
  top: 50%;
57
54
  transform: translateY(-50%);
58
55
  pointer-events: none;
59
- background: radial-gradient(
60
- circle,
61
- rgba(var(--hy-auxiliary), 1),
62
- rgba(var(--hy-auxiliary), 0)
63
- );
56
+ background: radial-gradient(circle, rgba(var(--hy-auxiliary), 1), rgba(var(--hy-auxiliary), 0));
64
57
  }
65
58
  }
66
-
67
-
@@ -36,11 +36,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
36
36
  }
37
37
  const iconName = vue.computed(() => `#${props.prefix}${props.svgName}`);
38
38
  const svgClass = vue.computed(() => {
39
+ const classList = ["hy-icon"];
39
40
  if (props.className) {
40
- return "hy-icon " + props.className || "";
41
- } else {
42
- return "hy-icon";
41
+ classList.push(props.className);
43
42
  }
43
+ return classList.filter(Boolean).join(" ");
44
44
  });
45
45
  return (_ctx, _cache) => {
46
46
  return vue.openBlock(), vue.createElementBlock("svg", {
@@ -14,14 +14,10 @@
14
14
  user-select: none;
15
15
  border-radius: 100%;
16
16
  background:
17
- radial-gradient(
18
- 142% 47% at 50% 119%,
19
- rgb(var(--hy-theme), 0.5) 0%,
20
- rgb(var(--hy-theme), 0) 100%
21
- ),
17
+ radial-gradient(142% 47% at 50% 119%, rgb(var(--hy-theme), 0.5) 0%, rgb(var(--hy-theme), 0) 100%),
22
18
  rgb(var(--hy-background-3));
23
19
  border: 1px solid rgb(var(--hy-auxiliary), 0.5);
24
20
  box-shadow: 0px 2px 5px 0px rgba(29, 33, 41, 0.5);
21
+ box-sizing: border-box;
25
22
  }
26
23
  }
27
-
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var vue = require('vue');
6
- var elementPlus = require('element-plus');
7
- var iconsVue = require('@element-plus/icons-vue');
8
- var input = require('./input.vue.js');
6
+ require('../../index.js');
7
+ var index = require('./index.js');
8
+ var index$1 = require('../hyIcon/index.js');
9
9
 
10
10
  import "./style/inputSearch.scss";
11
11
 
@@ -79,7 +79,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
79
79
  },
80
80
  [
81
81
  vue.renderSlot(_ctx.$slots, "before"),
82
- vue.createVNode(input.default, vue.mergeProps({
82
+ vue.createVNode(vue.unref(index.HyInput), vue.mergeProps({
83
83
  ref_key: "inputRef",
84
84
  ref: inputRef,
85
85
  modelValue: modelValue.value,
@@ -108,12 +108,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
108
108
  class: "w-[32px] h-[32px] flex-shrink-0 flex items-center justify-center bg-background-3 rounded-[2px] cursor-pointer",
109
109
  onClick: onSearchQueryHandler
110
110
  }, [
111
- vue.createVNode(vue.unref(elementPlus.ElIcon), { size: "18" }, {
112
- default: vue.withCtx(() => [
113
- vue.createVNode(vue.unref(iconsVue.Search))
114
- ]),
115
- _: 1
116
- /* STABLE */
111
+ vue.createVNode(vue.unref(index$1.HyIcon), {
112
+ "svg-name": "dispatch-share-v3-base-search",
113
+ class: "w-[18px] h-[18px]"
117
114
  })
118
115
  ])
119
116
  ],
@@ -10,6 +10,7 @@
10
10
  padding: 2px 4px;
11
11
  overflow: hidden;
12
12
  background: rgba(var(--hy-background-2));
13
+ box-sizing: border-box;
13
14
  &:hover,
14
15
  &.focus {
15
16
  border: 1px solid rgba(var(--hy-theme));
@@ -21,6 +22,7 @@
21
22
  & > .hy-el-input__wrapper {
22
23
  padding-left: 8px;
23
24
  padding-right: 4px;
25
+ box-sizing: border-box;
24
26
  }
25
27
  .hy-el-input__inner::placeholder {
26
28
  font-size: 12px;
@@ -34,6 +36,7 @@
34
36
  box-shadow: none;
35
37
  padding: 4px;
36
38
  min-height: 100%;
39
+ box-sizing: border-box;
37
40
  }
38
41
  }
39
42
  }
@@ -24,8 +24,7 @@ const HyLoading = {
24
24
  directive: {
25
25
  ...elementPlus.ElLoading.directive,
26
26
  mounted: function(el, binding, vnode, prevVnode) {
27
- const { t } = useLocale.useLocale();
28
- el.setAttribute("element-loading-text", `${t("hy.loading")}...`);
27
+ el.setAttribute("element-loading-text", `${useLocale.$t("hy.loading")}...`);
29
28
  el.setAttribute("element-loading-svg", loadingConfig.svg);
30
29
  el.setAttribute("element-loading-svg-view-box", loadingConfig.svgViewBox);
31
30
  el.setAttribute("element-loading-background", loadingConfig.background);
@@ -33,9 +32,8 @@ const HyLoading = {
33
32
  }
34
33
  },
35
34
  service: function(options = {}) {
36
- const { t } = useLocale.useLocale();
37
35
  return elementPlus.ElLoading.service.call(this, {
38
- text: `${t("hy.loading")}...`,
36
+ text: `${useLocale.$t("hy.loading")}...`,
39
37
  ...loadingConfig,
40
38
  ...options
41
39
  });
@@ -7,10 +7,12 @@ const useAppMapWrapper = (hy) => {
7
7
  const {
8
8
  props: { mapConfig },
9
9
  mapRef,
10
- emits
10
+ emits,
11
+ isUnmounted
11
12
  } = hy;
12
13
  let hyMap = vue.shallowRef(null);
13
14
  let map = vue.shallowRef(null);
15
+ let initTimer = null;
14
16
  function newMap(mapType) {
15
17
  const mapFilters = [
16
18
  {
@@ -112,11 +114,27 @@ const useAppMapWrapper = (hy) => {
112
114
  // },
113
115
  // ], // 地图瓦片地址
114
116
  });
115
- setTimeout(() => {
116
- hy.initMap();
117
+ if (initTimer) {
118
+ clearTimeout(initTimer);
119
+ }
120
+ initTimer = setTimeout(() => {
121
+ if (!isUnmounted.value) {
122
+ hy.initMap();
123
+ }
124
+ initTimer = null;
117
125
  }, 800);
118
126
  }
119
127
  function initMap() {
128
+ if (isUnmounted.value || !mapRef.value) {
129
+ return;
130
+ }
131
+ const container = mapRef.value;
132
+ if (container) {
133
+ delete container._leaflet_id;
134
+ delete container._bm_id;
135
+ delete container._amap_id;
136
+ container.innerHTML = "";
137
+ }
120
138
  hy.map.value = hy.hyMap.value.InitMap(mapRef.value, {
121
139
  minZoom: mapConfig.minZoom || 8,
122
140
  maxZoom: mapConfig.maxZoom || 18,
@@ -132,11 +150,18 @@ const useAppMapWrapper = (hy) => {
132
150
  }
133
151
  });
134
152
  }
153
+ function clearInitTimer() {
154
+ if (initTimer) {
155
+ clearTimeout(initTimer);
156
+ initTimer = null;
157
+ }
158
+ }
135
159
  return {
136
160
  hyMap,
137
161
  map,
138
162
  newMap,
139
- initMap
163
+ initMap,
164
+ clearInitTimer
140
165
  };
141
166
  };
142
167
 
@@ -41,11 +41,13 @@ const _sfc_main = {
41
41
  const props = __props;
42
42
  const emits = __emit;
43
43
  const mapRef = vue.ref();
44
- const { newMap, map, hyMap } = useMixins.useMixins(
44
+ const isUnmounted = vue.ref(false);
45
+ const { newMap, map, hyMap, clearInitTimer } = useMixins.useMixins(
45
46
  {
46
47
  props,
47
48
  emits,
48
- mapRef
49
+ mapRef,
50
+ isUnmounted
49
51
  },
50
52
  [index.useAppMapWrapper]
51
53
  );
@@ -55,9 +57,21 @@ const _sfc_main = {
55
57
  }
56
58
  });
57
59
  vue.onBeforeUnmount(() => {
58
- map.value?.removeMap();
60
+ isUnmounted.value = true;
61
+ clearInitTimer();
62
+ try {
63
+ map.value?.removeMap();
64
+ } catch (error) {
65
+ console.warn("\u5730\u56FE\u5378\u8F7D\u8B66\u544A:", error);
66
+ }
59
67
  map.value = null;
60
68
  hyMap.value = null;
69
+ if (mapRef.value) {
70
+ mapRef.value.innerHTML = "";
71
+ delete mapRef.value._leaflet_id;
72
+ delete mapRef.value._bm_id;
73
+ delete mapRef.value._amap_id;
74
+ }
61
75
  });
62
76
  return (_ctx, _cache) => {
63
77
  return vue.openBlock(), vue.createElementBlock("div", { class: "w-full h-full box-border border-border border relative" }, [
@@ -10,12 +10,9 @@
10
10
  transition: all 0.3s linear;
11
11
  background:
12
12
  linear-gradient(180deg, rgba(33, 58, 84, 0.3) 0.08%, #213a54 100%),
13
- radial-gradient(
14
- 21% 31% at 150% 40%,
15
- rgba(61, 98, 134, 0.5) 0%,
16
- rgba(61, 98, 134, 0) 100%
17
- );
13
+ radial-gradient(21% 31% at 150% 40%, rgba(61, 98, 134, 0.5) 0%, rgba(61, 98, 134, 0) 100%);
18
14
  border-right: 1px solid rgba(var(--hy-border));
15
+ box-sizing: border-box;
19
16
 
20
17
  .operator-menu-list {
21
18
  width: 100%;
@@ -34,6 +31,7 @@
34
31
  font-size: 16px;
35
32
  position: relative;
36
33
  cursor: pointer;
34
+ box-sizing: border-box;
37
35
 
38
36
  .operator-label {
39
37
  width: 100%;
@@ -72,11 +70,7 @@
72
70
  position: absolute;
73
71
  left: 0;
74
72
  top: 3px;
75
- background: linear-gradient(
76
- 90deg,
77
- rgba(var(--hy-theme), 0) 2%,
78
- rgba(var(--hy-theme), 0.4) 100%
79
- );
73
+ background: linear-gradient(90deg, rgba(var(--hy-theme), 0) 2%, rgba(var(--hy-theme), 0.4) 100%);
80
74
  border-radius: 0px 4px 4px 0px;
81
75
  }
82
76
  }
@@ -135,11 +129,7 @@
135
129
  position: absolute;
136
130
  left: 0;
137
131
  top: 0;
138
- background: linear-gradient(
139
- 90deg,
140
- rgba(var(--hy-theme), 0) 2%,
141
- rgba(var(--hy-theme), 0.4) 100%
142
- );
132
+ background: linear-gradient(90deg, rgba(var(--hy-theme), 0) 2%, rgba(var(--hy-theme), 0.4) 100%);
143
133
  //border-radius: 0px 4px 4px 0px;
144
134
  }
145
135
  }
@@ -5,8 +5,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var vue = require('vue');
6
6
  require('../../hooks/index.js');
7
7
  require('../index.js');
8
- var useLocale = require('../../hooks/useLocale.js');
9
8
  var index = require('../hyIcon/index.js');
9
+ var useLocale = require('../../hooks/useLocale.js');
10
10
 
11
11
  import "./style/noPermissions.scss";
12
12
 
@@ -24,7 +24,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
24
24
  setup(__props, { expose: __expose, emit: __emit }) {
25
25
  const props = __props;
26
26
  const emits = __emit;
27
- const { t } = useLocale.useLocale();
28
27
  __expose({});
29
28
  return (_ctx, _cache) => {
30
29
  return vue.openBlock(), vue.createElementBlock("div", { class: "w-full h-full bg-background-2 text-auxiliary text-base flex flex-col items-center justify-center" }, [
@@ -36,14 +35,14 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
36
35
  vue.createElementVNode(
37
36
  "p",
38
37
  null,
39
- vue.toDisplayString(vue.unref(t)("permissino.youDoNotHaveSubordinatePermissionsForThisModule")),
38
+ vue.toDisplayString(vue.unref(useLocale.$t)("permissino.youDoNotHaveSubordinatePermissionsForThisModule")),
40
39
  1
41
40
  /* TEXT */
42
41
  ),
43
42
  vue.createElementVNode(
44
43
  "p",
45
44
  null,
46
- vue.toDisplayString(vue.unref(t)("permissino.pleaseContactTheAdministrator")),
45
+ vue.toDisplayString(vue.unref(useLocale.$t)("permissino.pleaseContactTheAdministrator")),
47
46
  1
48
47
  /* TEXT */
49
48
  )
@@ -5,8 +5,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var vue = require('vue');
6
6
  require('../../hooks/index.js');
7
7
  require('../index.js');
8
- var useLocale = require('../../hooks/useLocale.js');
9
8
  var index = require('../hyIcon/index.js');
9
+ var useLocale = require('../../hooks/useLocale.js');
10
10
 
11
11
  import "./style/noPermissionsMap.scss";
12
12
 
@@ -24,7 +24,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
24
24
  setup(__props, { expose: __expose, emit: __emit }) {
25
25
  const props = __props;
26
26
  const emits = __emit;
27
- const { t } = useLocale.useLocale();
28
27
  __expose({});
29
28
  return (_ctx, _cache) => {
30
29
  return vue.openBlock(), vue.createElementBlock("div", { class: "w-full h-full bg-background-2 text-auxiliary text-base flex flex-col items-center justify-center" }, [
@@ -36,16 +35,14 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
36
35
  vue.createElementVNode(
37
36
  "p",
38
37
  null,
39
- vue.toDisplayString(vue.unref(t)("permissino.youDoNotHaveAMapConfigurationForThisModule")),
38
+ vue.toDisplayString(vue.unref(useLocale.$t)("permissino.youDoNotHaveAMapConfigurationForThisModule")),
40
39
  1
41
40
  /* TEXT */
42
41
  ),
43
42
  vue.createElementVNode(
44
43
  "p",
45
44
  null,
46
- vue.toDisplayString(vue.unref(t)(
47
- "permissino.pleaseContactTheAdministratorToGoToTheSettingsCenterForConfiguration"
48
- )),
45
+ vue.toDisplayString(_ctx.t("permissino.pleaseContactTheAdministratorToGoToTheSettingsCenterForConfiguration")),
49
46
  1
50
47
  /* TEXT */
51
48
  )
@@ -15,11 +15,7 @@ function getOrgTreeSimple() {
15
15
  }
16
16
  cancelSource = Axios.CancelToken.source();
17
17
  throttleFn = new Promise((resolve, reject) => {
18
- vue.unref(api).post(
19
- "organization/orgTreeSimple",
20
- {},
21
- { cancelToken: cancelSource.token }
22
- ).then((res) => {
18
+ vue.unref(api).post("organization/orgTreeSimple", {}, { cancelToken: cancelSource.token }).then((res) => {
23
19
  resolve(res.data);
24
20
  throttleFn = null;
25
21
  }).catch((err) => {