hy-dispatch-ui-v3 0.2.67 → 0.2.69

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 (282) 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 +178 -0
  14. package/es/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.vue.mjs +316 -0
  15. package/es/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersItem.vue.mjs +119 -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/hyElectronicFence/style/electronicFenceAssociatedUsersDialog.scss +25 -0
  20. package/es/bussiness/hyMapAearchPlace/js/index.mjs +1 -1
  21. package/es/bussiness/hyMapAearchPlace/mapAearchPlace.vue.mjs +4 -6
  22. package/es/bussiness/hyMapAearchPlace/style/mapAearchPlace.scss +4 -3
  23. package/es/bussiness/hyRuleSetting/cpns/gatheringPeople/gatheringPeople.vue.mjs +270 -0
  24. package/es/bussiness/hyRuleSetting/cpns/missionInRule/missionInRule.vue.mjs +251 -0
  25. package/es/bussiness/hyRuleSetting/cpns/missionOutRule/missionOutRule.vue.mjs +251 -0
  26. package/es/bussiness/hyRuleSetting/cpns/ruleAssignDialog/ruleAssignDialog.vue.mjs +395 -0
  27. package/es/bussiness/hyRuleSetting/cpns/ruleFenceDialog/ruleFenceDialog.vue.mjs +651 -0
  28. package/es/bussiness/hyRuleSetting/cpns/ruleSettingDialog/ruleSettingDialog.vue.mjs +357 -0
  29. package/es/bussiness/hyRuleSetting/cpns/sedentary/sedentary.vue.mjs +261 -0
  30. package/es/bussiness/hyRuleSetting/cpns/setRuleAggregationAlarmDialog/setRuleAggregationAlarmDialog.vue.mjs +360 -0
  31. package/es/bussiness/hyRuleSetting/cpns/timedVideo/timedVideo.vue.mjs +240 -0
  32. package/es/bussiness/hyRuleSetting/cpns/timerCamera/timerCamera.vue.mjs +258 -0
  33. package/es/bussiness/hyRuleSetting/cpns/timingReturn/timingReturn.vue.mjs +240 -0
  34. package/es/bussiness/hyRuleSetting/index.mjs +15 -0
  35. package/es/bussiness/hyRuleSetting/js/ruleSetting.mjs +65 -0
  36. package/es/bussiness/hyRuleSetting/ruleSetting.vue.mjs +129 -0
  37. package/es/bussiness/hyRuleSetting/style/ruleSetting.scss +0 -0
  38. package/es/bussiness/index.mjs +2 -0
  39. package/es/components/hyAudioPlayer/audioPlayer.vue.mjs +5 -13
  40. package/es/components/hyAudioPlayer/js/index.mjs +9 -14
  41. package/es/components/hyAudioPlayer/style/audioPlayer.scss +7 -2
  42. package/es/components/hyButton/button.vue.mjs +2 -2
  43. package/es/components/hyButton/style/button.scss +48 -74
  44. package/es/components/hyCheckboxGroup/checkboxGroup.vue.mjs +119 -0
  45. package/es/components/hyCheckboxGroup/index.mjs +7 -0
  46. package/es/components/hyCheckboxGroup/style/checkboxGroup.scss +58 -0
  47. package/es/components/hyConfigProvider/configProvider.vue.mjs +51 -38
  48. package/es/components/hyConfirmDialog/confirmDialog.vue.mjs +57 -62
  49. package/es/components/hyConfirmDialog/confirmMethod.mjs +24 -22
  50. package/es/components/hyCutter/cutter.vue.mjs +9 -23
  51. package/es/components/hyDatePicker/datePicker.vue.mjs +12 -17
  52. package/es/components/hyDialog/dialog.vue.mjs +5 -9
  53. package/es/components/hyDialog/style/dialog.scss +12 -13
  54. package/es/components/hyDrawer/drawer.vue.mjs +100 -0
  55. package/es/components/hyDrawer/index.mjs +7 -0
  56. package/es/components/hyDrawer/style/drawer.scss +0 -0
  57. package/es/components/hyForm/cpns/arrayItem.vue.mjs +10 -28
  58. package/es/components/hyForm/cpns/arrayItem2.vue.mjs +198 -0
  59. package/es/components/hyForm/cpns/extraItem.vue.mjs +2 -3
  60. package/es/components/hyForm/cpns/formItem.vue.mjs +75 -37
  61. package/es/components/hyForm/cpns/locationSelect.vue.mjs +26 -26
  62. package/es/components/hyForm/form.vue.mjs +58 -24
  63. package/es/components/hyForm/js/index.mjs +4 -8
  64. package/es/components/hyForm/js/useAppForm.mjs +5 -9
  65. package/es/components/hyForm/style/form.scss +4 -13
  66. package/es/components/hyIcon/icon.vue.mjs +3 -3
  67. package/es/components/hyIconBox/style/iconBox.scss +2 -6
  68. package/es/components/hyInput/inputSearch.vue.mjs +8 -11
  69. package/es/components/hyInput/style/inputSearch.scss +3 -0
  70. package/es/components/hyLoading/index.mjs +3 -5
  71. package/es/components/hyMap/js/index.mjs +29 -4
  72. package/es/components/hyMap/map.vue.mjs +17 -3
  73. package/es/components/hyMenu/style/menu.scss +5 -15
  74. package/es/components/hyNoPermissions/noPermissions.vue.mjs +3 -4
  75. package/es/components/hyNoPermissionsMap/noPermissionsMap.vue.mjs +3 -6
  76. package/es/components/hyOrgCascader/js/index.mjs +1 -5
  77. package/es/components/hyOrgCascader/orgCascader.vue.mjs +25 -11
  78. package/es/components/hyOrgCascader/style/orgCascader.scss +7 -0
  79. package/es/components/hyRadioGroup/radioGroup.vue.mjs +48 -41
  80. package/es/components/hyRadioGroup/style/radioGroup.scss +9 -0
  81. package/es/components/hySearch/cpns/searchItem.vue.mjs +33 -20
  82. package/es/components/hySearch/js/index.mjs +1 -4
  83. package/es/components/hySearch/js/useAppSearch.mjs +6 -10
  84. package/es/components/hySearch/search.vue.mjs +9 -16
  85. package/es/components/hySearch/style/search.scss +2 -0
  86. package/es/components/hyStatus/index.mjs +7 -0
  87. package/es/components/hyStatus/status.vue.mjs +110 -0
  88. package/es/components/hyStatus/style/status.scss +0 -0
  89. package/es/components/hyTable/cpns/columnSelect.vue.mjs +24 -28
  90. package/es/components/hyTable/cpns/columnSelectItem.vue.mjs +8 -9
  91. package/es/components/hyTable/cpns/headerItem.vue.mjs +2 -2
  92. package/es/components/hyTable/cpns/virtualTable.vue.mjs +18 -28
  93. package/es/components/hyTable/js/index.mjs +56 -59
  94. package/es/components/hyTable/js/useAppTable.mjs +3 -4
  95. package/es/components/hyTable/style/table.scss +8 -0
  96. package/es/components/hyTable/table.vue.mjs +35 -41
  97. package/es/components/hyTableActionButton/tableActionButton.vue.mjs +4 -4
  98. package/es/components/hyTableForm/batchTableForm.vue.mjs +3 -7
  99. package/es/components/hyTableForm/js/index.mjs +3 -11
  100. package/es/components/hyTableForm/js/useAppTableForm.mjs +2 -7
  101. package/es/components/hyTableForm/style/batchTableForm.scss +26 -54
  102. package/es/components/hyTableForm/style/tableForm.scss +3 -2
  103. package/es/components/hyTableForm/tableForm.vue.mjs +90 -46
  104. package/es/components/hyTimePicker/timePicker.vue.mjs +4 -5
  105. package/es/components/hyTree/js/index.mjs +13 -40
  106. package/es/components/hyTree/style/index.css +1 -1
  107. package/es/components/hyTree/tree.vue.mjs +17 -16
  108. package/es/components/hyUserAvatar/userAvatar.vue.mjs +3 -6
  109. package/es/components/hyVideoPlayer/js/index.mjs +14 -23
  110. package/es/components/hyVideoPlayer/style/videoPlayer.scss +5 -7
  111. package/es/components/hyVideoPlayer/videoPlayer.vue.mjs +16 -26
  112. package/es/components/index.mjs +3 -0
  113. package/es/hooks/index.mjs +6 -2
  114. package/es/hooks/useAudioPlayerConfig.mjs +1 -3
  115. package/es/hooks/useBaseMainStore.mjs +29 -0
  116. package/es/hooks/useCurrentBus.mjs +20 -0
  117. package/es/hooks/useDialog.mjs +327 -0
  118. package/es/hooks/useExportFile.mjs +133 -0
  119. package/es/hooks/useGlobalConfig.mjs +10 -6
  120. package/es/hooks/useLocale.mjs +22 -12
  121. package/es/hooks/usePermissionMap.mjs +1 -3
  122. package/es/hooks/useResizeHandler.mjs +1 -4
  123. package/es/hooks/useResizeObserver.mjs +3 -1
  124. package/es/hooks/useSubscribe.mjs +2 -2
  125. package/es/hooks/useUserAvatarMap.mjs +1 -3
  126. package/es/hooks/useVideoPlayerConfig.mjs +1 -3
  127. package/es/index.mjs +11 -2
  128. package/es/locale/{en.mjs → en_US.mjs} +81 -5
  129. package/es/locale/index.mjs +2 -2
  130. package/es/locale/zh_CN.mjs +81 -3
  131. package/es/style/tailwind.scss +7 -3
  132. package/es/utils/adaptive.mjs +1 -3
  133. package/es/utils/form.mjs +19 -12
  134. package/es/utils/handler.mjs +4 -8
  135. package/es/utils/input.mjs +8 -9
  136. package/es/utils/map/hook/bigMap.mjs +14 -53
  137. package/es/utils/map/hook/gaode.mjs +5 -20
  138. package/es/utils/map/hook/leafletjs.mjs +23 -79
  139. package/es/utils/map/index.mjs +2 -8
  140. package/es/utils/map/js/webgis.mjs +12 -12
  141. package/es/version.mjs +1 -1
  142. package/lib/api/device.js +2 -3
  143. package/lib/api/exportExcel.js +62 -0
  144. package/lib/api/index.js +27 -16
  145. package/lib/api/mapRail.js +34 -0
  146. package/lib/api/organization.js +17 -8
  147. package/lib/api/rule.js +33 -0
  148. package/lib/api/sypct.js +2 -3
  149. package/lib/api/task.js +2 -3
  150. package/lib/bussiness/hyAddDepartmentType/addDepartmentType.vue.js +17 -18
  151. package/lib/bussiness/hyAddDepartmentType/style/addDepartmentType.scss +28 -28
  152. package/lib/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.js +515 -0
  153. package/lib/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.vue.js +182 -0
  154. package/lib/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.vue.js +320 -0
  155. package/lib/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersItem.vue.js +123 -0
  156. package/lib/bussiness/hyElectronicFence/electronicFence.vue.js +362 -0
  157. package/lib/bussiness/hyElectronicFence/index.js +21 -0
  158. package/lib/bussiness/hyElectronicFence/style/electronicFence.scss +0 -0
  159. package/lib/bussiness/hyElectronicFence/style/electronicFenceAssociatedUsersDialog.scss +25 -0
  160. package/lib/bussiness/hyMapAearchPlace/js/index.js +1 -1
  161. package/lib/bussiness/hyMapAearchPlace/mapAearchPlace.vue.js +4 -6
  162. package/lib/bussiness/hyMapAearchPlace/style/mapAearchPlace.scss +4 -3
  163. package/lib/bussiness/hyRuleSetting/cpns/gatheringPeople/gatheringPeople.vue.js +274 -0
  164. package/lib/bussiness/hyRuleSetting/cpns/missionInRule/missionInRule.vue.js +255 -0
  165. package/lib/bussiness/hyRuleSetting/cpns/missionOutRule/missionOutRule.vue.js +255 -0
  166. package/lib/bussiness/hyRuleSetting/cpns/ruleAssignDialog/ruleAssignDialog.vue.js +399 -0
  167. package/lib/bussiness/hyRuleSetting/cpns/ruleFenceDialog/ruleFenceDialog.vue.js +655 -0
  168. package/lib/bussiness/hyRuleSetting/cpns/ruleSettingDialog/ruleSettingDialog.vue.js +361 -0
  169. package/lib/bussiness/hyRuleSetting/cpns/sedentary/sedentary.vue.js +265 -0
  170. package/lib/bussiness/hyRuleSetting/cpns/setRuleAggregationAlarmDialog/setRuleAggregationAlarmDialog.vue.js +364 -0
  171. package/lib/bussiness/hyRuleSetting/cpns/timedVideo/timedVideo.vue.js +244 -0
  172. package/lib/bussiness/hyRuleSetting/cpns/timerCamera/timerCamera.vue.js +262 -0
  173. package/lib/bussiness/hyRuleSetting/cpns/timingReturn/timingReturn.vue.js +244 -0
  174. package/lib/bussiness/hyRuleSetting/index.js +24 -0
  175. package/lib/bussiness/hyRuleSetting/js/ruleSetting.js +68 -0
  176. package/lib/bussiness/hyRuleSetting/ruleSetting.vue.js +133 -0
  177. package/lib/bussiness/hyRuleSetting/style/ruleSetting.scss +0 -0
  178. package/lib/bussiness/index.js +21 -10
  179. package/lib/components/hyAudioPlayer/audioPlayer.vue.js +5 -13
  180. package/lib/components/hyAudioPlayer/js/index.js +9 -14
  181. package/lib/components/hyAudioPlayer/style/audioPlayer.scss +7 -2
  182. package/lib/components/hyButton/button.vue.js +2 -2
  183. package/lib/components/hyButton/style/button.scss +48 -74
  184. package/lib/components/hyCheckboxGroup/checkboxGroup.vue.js +123 -0
  185. package/lib/components/hyCheckboxGroup/index.js +12 -0
  186. package/lib/components/hyCheckboxGroup/style/checkboxGroup.scss +58 -0
  187. package/lib/components/hyConfigProvider/configProvider.vue.js +50 -56
  188. package/lib/components/hyConfirmDialog/confirmDialog.vue.js +56 -61
  189. package/lib/components/hyConfirmDialog/confirmMethod.js +23 -21
  190. package/lib/components/hyCutter/cutter.vue.js +8 -22
  191. package/lib/components/hyDatePicker/datePicker.vue.js +11 -16
  192. package/lib/components/hyDialog/dialog.vue.js +5 -9
  193. package/lib/components/hyDialog/style/dialog.scss +12 -13
  194. package/lib/components/hyDrawer/drawer.vue.js +104 -0
  195. package/lib/components/hyDrawer/index.js +12 -0
  196. package/lib/components/hyDrawer/style/drawer.scss +0 -0
  197. package/lib/components/hyForm/cpns/arrayItem.vue.js +9 -27
  198. package/lib/components/hyForm/cpns/arrayItem2.vue.js +202 -0
  199. package/lib/components/hyForm/cpns/extraItem.vue.js +2 -3
  200. package/lib/components/hyForm/cpns/formItem.vue.js +76 -38
  201. package/lib/components/hyForm/cpns/locationSelect.vue.js +26 -26
  202. package/lib/components/hyForm/form.vue.js +53 -19
  203. package/lib/components/hyForm/js/index.js +3 -7
  204. package/lib/components/hyForm/js/useAppForm.js +5 -9
  205. package/lib/components/hyForm/style/form.scss +4 -13
  206. package/lib/components/hyIcon/icon.vue.js +3 -3
  207. package/lib/components/hyIconBox/style/iconBox.scss +2 -6
  208. package/lib/components/hyInput/inputSearch.vue.js +7 -10
  209. package/lib/components/hyInput/style/inputSearch.scss +3 -0
  210. package/lib/components/hyLoading/index.js +2 -4
  211. package/lib/components/hyMap/js/index.js +29 -4
  212. package/lib/components/hyMap/map.vue.js +17 -3
  213. package/lib/components/hyMenu/style/menu.scss +5 -15
  214. package/lib/components/hyNoPermissions/noPermissions.vue.js +3 -4
  215. package/lib/components/hyNoPermissionsMap/noPermissionsMap.vue.js +3 -6
  216. package/lib/components/hyOrgCascader/js/index.js +1 -5
  217. package/lib/components/hyOrgCascader/orgCascader.vue.js +23 -9
  218. package/lib/components/hyOrgCascader/style/orgCascader.scss +7 -0
  219. package/lib/components/hyRadioGroup/radioGroup.vue.js +47 -40
  220. package/lib/components/hyRadioGroup/style/radioGroup.scss +9 -0
  221. package/lib/components/hySearch/cpns/searchItem.vue.js +33 -20
  222. package/lib/components/hySearch/js/index.js +1 -4
  223. package/lib/components/hySearch/js/useAppSearch.js +6 -10
  224. package/lib/components/hySearch/search.vue.js +9 -16
  225. package/lib/components/hySearch/style/search.scss +2 -0
  226. package/lib/components/hyStatus/index.js +12 -0
  227. package/lib/components/hyStatus/status.vue.js +114 -0
  228. package/lib/components/hyStatus/style/status.scss +0 -0
  229. package/lib/components/hyTable/cpns/columnSelect.vue.js +22 -26
  230. package/lib/components/hyTable/cpns/columnSelectItem.vue.js +7 -8
  231. package/lib/components/hyTable/cpns/headerItem.vue.js +2 -2
  232. package/lib/components/hyTable/cpns/virtualTable.vue.js +17 -27
  233. package/lib/components/hyTable/js/index.js +54 -57
  234. package/lib/components/hyTable/js/useAppTable.js +2 -3
  235. package/lib/components/hyTable/style/table.scss +8 -0
  236. package/lib/components/hyTable/table.vue.js +35 -41
  237. package/lib/components/hyTableActionButton/tableActionButton.vue.js +4 -4
  238. package/lib/components/hyTableForm/batchTableForm.vue.js +3 -7
  239. package/lib/components/hyTableForm/js/index.js +3 -11
  240. package/lib/components/hyTableForm/js/useAppTableForm.js +2 -7
  241. package/lib/components/hyTableForm/style/batchTableForm.scss +26 -54
  242. package/lib/components/hyTableForm/style/tableForm.scss +3 -2
  243. package/lib/components/hyTableForm/tableForm.vue.js +89 -45
  244. package/lib/components/hyTimePicker/timePicker.vue.js +3 -4
  245. package/lib/components/hyTree/js/index.js +13 -40
  246. package/lib/components/hyTree/style/index.css +1 -1
  247. package/lib/components/hyTree/tree.vue.js +17 -16
  248. package/lib/components/hyUserAvatar/userAvatar.vue.js +3 -6
  249. package/lib/components/hyVideoPlayer/js/index.js +14 -23
  250. package/lib/components/hyVideoPlayer/style/videoPlayer.scss +5 -7
  251. package/lib/components/hyVideoPlayer/videoPlayer.vue.js +16 -26
  252. package/lib/components/index.js +46 -40
  253. package/lib/hooks/index.js +17 -0
  254. package/lib/hooks/useAudioPlayerConfig.js +1 -3
  255. package/lib/hooks/useBaseMainStore.js +32 -0
  256. package/lib/hooks/useCurrentBus.js +23 -0
  257. package/lib/hooks/useDialog.js +331 -0
  258. package/lib/hooks/useExportFile.js +135 -0
  259. package/lib/hooks/useGlobalConfig.js +10 -6
  260. package/lib/hooks/useLocale.js +25 -11
  261. package/lib/hooks/usePermissionMap.js +1 -3
  262. package/lib/hooks/useResizeHandler.js +1 -4
  263. package/lib/hooks/useResizeObserver.js +3 -1
  264. package/lib/hooks/useSubscribe.js +2 -1
  265. package/lib/hooks/useUserAvatarMap.js +1 -3
  266. package/lib/hooks/useVideoPlayerConfig.js +1 -3
  267. package/lib/index.js +107 -73
  268. package/lib/locale/{en.js → en_US.js} +81 -5
  269. package/lib/locale/index.js +3 -3
  270. package/lib/locale/zh_CN.js +81 -3
  271. package/lib/style/tailwind.scss +7 -3
  272. package/lib/utils/adaptive.js +1 -3
  273. package/lib/utils/form.js +17 -10
  274. package/lib/utils/handler.js +3 -7
  275. package/lib/utils/input.js +7 -8
  276. package/lib/utils/map/hook/bigMap.js +14 -53
  277. package/lib/utils/map/hook/gaode.js +5 -20
  278. package/lib/utils/map/hook/leafletjs.js +23 -79
  279. package/lib/utils/map/index.js +2 -8
  280. package/lib/utils/map/js/webgis.js +12 -12
  281. package/lib/version.js +1 -1
  282. package/package.json +3 -2
@@ -0,0 +1,360 @@
1
+ import { useTemplateRef, ref, openBlock, createBlock, unref, isRef, withCtx, createElementVNode, createVNode, createTextVNode, createElementBlock, Fragment, renderList, toDisplayString, createCommentVNode } from 'vue';
2
+ import { ElMessage, ElColorPicker } from 'element-plus';
3
+ import { findAllApi } from '../../../../api/index.mjs';
4
+ import { ruleDictSaveApi } from '../../../../api/rule.mjs';
5
+ import '../../../../hooks/index.mjs';
6
+ import '../../../../components/index.mjs';
7
+ import { HyConfirmDialog } from '../../../../components/hyConfirmDialog/index.mjs';
8
+ import { useMixins } from '../../../../hooks/useMixins.mjs';
9
+ import { useDialog, useDialogIsEdit } from '../../../../hooks/useDialog.mjs';
10
+ import { HyDialog } from '../../../../components/hyDialog/index.mjs';
11
+ import { HyButton } from '../../../../components/hyButton/index.mjs';
12
+ import { HyInput } from '../../../../components/hyInput/index.mjs';
13
+ import { $t } from '../../../../hooks/useLocale.mjs';
14
+ import { HyIconBox } from '../../../../components/hyIconBox/index.mjs';
15
+
16
+ const _sfc_main = {
17
+ __name: "setRuleAggregationAlarmDialog",
18
+ props: {
19
+ ifDraggable: {
20
+ type: Boolean,
21
+ default: false
22
+ },
23
+ ifShrink: {
24
+ type: Boolean,
25
+ default: false
26
+ }
27
+ },
28
+ setup(__props, { expose: __expose }) {
29
+ const props = __props;
30
+ const useSetRuleAggregationAlarmDialog = (hy) => {
31
+ const HyDialogRef2 = useTemplateRef("HyDialogRef");
32
+ const dialogVisible2 = ref(false);
33
+ const loading2 = ref(false);
34
+ const tableData2 = ref([]);
35
+ async function show2() {
36
+ if (hy.loading.value) {
37
+ ElMessage.error("\u6570\u636E\u52A0\u8F7D\u4E2D\uFF0C\u8BF7\u52FF\u91CD\u590D\u70B9\u51FB");
38
+ return;
39
+ }
40
+ await hy.watchPause();
41
+ hy.loading.value = true;
42
+ hy.tableData.value = [];
43
+ await hy.getData();
44
+ hy.dialogVisible.value = true;
45
+ hy.loading.value = false;
46
+ hy.watchResume();
47
+ }
48
+ async function onSubmit2() {
49
+ const isValidate = hy.checkData();
50
+ if (!isValidate) {
51
+ ElMessage.warning(`\u8BF7\u68C0\u67E5\u8F93\u5165\u7684\u6570\u636E`);
52
+ return Promise.reject();
53
+ }
54
+ const form = {
55
+ gatherRuleDictList: hy.tableData.value.map((v) => ({
56
+ gatherMin: v.gatherMin,
57
+ gatherMax: v.gatherMax,
58
+ gatherColor: v.gatherColor
59
+ }))
60
+ };
61
+ const res = await ruleDictSaveApi(form);
62
+ if (res.code === 200) {
63
+ ElMessage.success("\u4FDD\u5B58\u6210\u529F");
64
+ } else {
65
+ ElMessage.error(res.msg);
66
+ return Promise.reject();
67
+ }
68
+ }
69
+ const getData2 = async () => {
70
+ try {
71
+ const res = await findAllApi("rule/ruleDict");
72
+ if (res.code === 200) {
73
+ hy.tableData.value = res.data ? res.data.map((v) => ({
74
+ ...hy.createEmptyRow(),
75
+ gatherMin: v.gatherMin,
76
+ gatherMax: v.gatherMax,
77
+ gatherColor: v.gatherColor
78
+ })) : [];
79
+ }
80
+ } catch (err) {
81
+ hy.tableData.value = [];
82
+ console.error(err);
83
+ }
84
+ };
85
+ const createEmptyRow2 = () => {
86
+ return {
87
+ gatherMin: "",
88
+ gatherMax: "",
89
+ gatherColor: "",
90
+ isNoData: false,
91
+ isNoColor: false,
92
+ isNumber: false,
93
+ isCompare: false,
94
+ isOverlap: false,
95
+ isColor: false
96
+ };
97
+ };
98
+ function enterTheMumber2(data, key) {
99
+ data[key] = data[key].replace(/[^\d]/g, "");
100
+ }
101
+ const setNormalData2 = () => {
102
+ HyConfirmDialog.confirm({
103
+ content: `<div><p>\u786E\u5B9A\u4F7F\u7528\u7CFB\u7EDF\u9ED8\u8BA4\u8BBE\u7F6E\uFF1F</p></div>`,
104
+ onSubmit: () => {
105
+ hy.tableData.value = [
106
+ {
107
+ ...hy.createEmptyRow(),
108
+ gatherMin: "3",
109
+ gatherMax: "3",
110
+ gatherColor: "#ffff00"
111
+ },
112
+ {
113
+ ...hy.createEmptyRow(),
114
+ gatherMin: "4",
115
+ gatherMax: "6",
116
+ gatherColor: "#ffa500"
117
+ },
118
+ {
119
+ ...hy.createEmptyRow(),
120
+ gatherMin: "7",
121
+ gatherMax: "9999",
122
+ gatherColor: "#ff0000"
123
+ }
124
+ ];
125
+ }
126
+ });
127
+ };
128
+ const addData2 = () => {
129
+ if (hy.tableData.value.length === 5) {
130
+ return ElMessage.warning(`\u6700\u591A\u53EA\u80FD\u8BBE\u7F6E5\u4E2A\u7B49\u7EA7`);
131
+ }
132
+ hy.tableData.value.push(hy.createEmptyRow());
133
+ };
134
+ const deleteFn2 = (index) => {
135
+ hy.tableData.value.splice(index, 1);
136
+ };
137
+ const checkData2 = () => {
138
+ let isValidate = true;
139
+ hy.tableData.value.forEach((v, index) => {
140
+ const gatherMin = parseInt(v.gatherMin);
141
+ const gatherMax = parseInt(v.gatherMax);
142
+ if (v.gatherMin === "" || v.gatherMax === "") {
143
+ hy.tableData.value[index].isNoData = true;
144
+ isValidate = false;
145
+ } else {
146
+ hy.tableData.value[index].isNoData = false;
147
+ }
148
+ if (!v.gatherColor) {
149
+ hy.tableData.value[index].isNoColor = true;
150
+ isValidate = false;
151
+ } else {
152
+ hy.tableData.value[index].isNoColor = false;
153
+ }
154
+ if (gatherMin > 9999 || gatherMax > 9999) {
155
+ hy.tableData.value[index].isNumber = true;
156
+ isValidate = false;
157
+ } else {
158
+ hy.tableData.value[index].isNumber = false;
159
+ }
160
+ if (gatherMin > gatherMax) {
161
+ hy.tableData.value[index].isCompare = true;
162
+ isValidate = false;
163
+ } else {
164
+ hy.tableData.value[index].isCompare = false;
165
+ }
166
+ const isOverlap = hy.tableData.value.every((item, vIndex) => {
167
+ if (vIndex === index) return true;
168
+ return hy.checkOverlap(
169
+ { gatherMin, gatherMax },
170
+ {
171
+ gatherMin: parseInt(item.gatherMin),
172
+ gatherMax: parseInt(item.gatherMax)
173
+ }
174
+ );
175
+ });
176
+ if (!isOverlap) {
177
+ hy.tableData.value[index].isOverlap = true;
178
+ isValidate = false;
179
+ } else {
180
+ hy.tableData.value[index].isOverlap = false;
181
+ }
182
+ const isColor = hy.tableData.value.every((item, vIndex) => {
183
+ if (vIndex === index) return true;
184
+ return item.gatherColor !== v.gatherColor;
185
+ });
186
+ if (!isColor) {
187
+ hy.tableData.value[index].isColor = true;
188
+ isValidate = false;
189
+ } else {
190
+ hy.tableData.value[index].isColor = false;
191
+ }
192
+ });
193
+ return isValidate;
194
+ };
195
+ const checkOverlap2 = (range1, range2) => {
196
+ if (!Number.isInteger(range1.gatherMax) || !Number.isInteger(range1.gatherMin) || !Number.isInteger(range2.gatherMax) || !Number.isInteger(range2.gatherMin)) {
197
+ return true;
198
+ }
199
+ if (range1.gatherMax > range2.gatherMax && range1.gatherMin > range2.gatherMax) {
200
+ return true;
201
+ }
202
+ if (range2.gatherMax > range1.gatherMax && range2.gatherMin > range1.gatherMax) {
203
+ return true;
204
+ }
205
+ return false;
206
+ };
207
+ return {
208
+ HyDialogRef: HyDialogRef2,
209
+ dialogVisible: dialogVisible2,
210
+ loading: loading2,
211
+ tableData: tableData2,
212
+ show: show2,
213
+ onSubmit: onSubmit2,
214
+ getData: getData2,
215
+ createEmptyRow: createEmptyRow2,
216
+ enterTheMumber: enterTheMumber2,
217
+ setNormalData: setNormalData2,
218
+ addData: addData2,
219
+ deleteFn: deleteFn2,
220
+ checkData: checkData2,
221
+ checkOverlap: checkOverlap2
222
+ };
223
+ };
224
+ const {
225
+ onMinimized,
226
+ setDragLevelIndex,
227
+ HyDialogRef,
228
+ dialogVisible,
229
+ loading,
230
+ tableData,
231
+ show,
232
+ onSubmit,
233
+ getData,
234
+ createEmptyRow,
235
+ enterTheMumber,
236
+ setNormalData,
237
+ addData,
238
+ deleteFn,
239
+ checkData,
240
+ checkOverlap
241
+ } = useMixins({}, [useDialog, useDialogIsEdit, useSetRuleAggregationAlarmDialog]);
242
+ __expose({
243
+ show,
244
+ setDragLevelIndex
245
+ });
246
+ return (_ctx, _cache) => {
247
+ return openBlock(), createBlock(unref(HyDialog), {
248
+ ref_key: "HyDialogRef",
249
+ ref: HyDialogRef,
250
+ modelValue: unref(dialogVisible),
251
+ "onUpdate:modelValue": ($event) => isRef(dialogVisible) ? dialogVisible.value = $event : null,
252
+ loading: unref(loading),
253
+ "onUpdate:loading": ($event) => isRef(loading) ? loading.value = $event : null,
254
+ title: "\u544A\u8B66\u7B49\u7EA7\u8BBE\u7F6E",
255
+ width: "700",
256
+ "dialog-type": "default",
257
+ "show-operate": true,
258
+ "if-draggable": __props.ifDraggable,
259
+ "if-shrink": __props.ifShrink,
260
+ "on-submit": unref(onSubmit),
261
+ onOnMinimized: unref(onMinimized),
262
+ onOnDialogMousedown: ($event) => unref(setDragLevelIndex)("HyDialogRef")
263
+ }, {
264
+ default: withCtx(() => [
265
+ createElementVNode("div", { class: "w-full" }, [
266
+ createElementVNode("div", { class: "flex justify-end" }, [
267
+ createVNode(unref(HyButton), {
268
+ type: "default",
269
+ onClick: unref(setNormalData)
270
+ }, {
271
+ default: withCtx(() => [
272
+ createTextVNode("\u4F7F\u7528\u7CFB\u7EDF\u9ED8\u8BA4\u8BBE\u7F6E")
273
+ ]),
274
+ _: 1
275
+ /* STABLE */
276
+ }, 8, ["onClick"]),
277
+ createVNode(unref(HyButton), {
278
+ type: "success",
279
+ onClick: unref(addData)
280
+ }, {
281
+ default: withCtx(() => [
282
+ createTextVNode("\u6DFB\u52A0\u544A\u8B66\u7B49\u7EA7")
283
+ ]),
284
+ _: 1
285
+ /* STABLE */
286
+ }, 8, ["onClick"])
287
+ ]),
288
+ createElementVNode("div", { class: "min-h-40 flex flex-col gap-4 mt-4" }, [
289
+ (openBlock(true), createElementBlock(
290
+ Fragment,
291
+ null,
292
+ renderList(unref(tableData), (data, index) => {
293
+ return openBlock(), createElementBlock("div", {
294
+ key: `tableData${index}`,
295
+ class: "w-full h-12 rounded bg-background-2 flex items-center box-border px-3 relative"
296
+ }, [
297
+ createElementVNode("span", null, "\u544A\u8B66\u4EBA\u5458\u6570\u91CF\uFF1A"),
298
+ createVNode(unref(HyInput), {
299
+ modelValue: data.gatherMin,
300
+ "onUpdate:modelValue": ($event) => data.gatherMin = $event,
301
+ size: "small",
302
+ class: "w-[100px]",
303
+ placeholder: "\u6700\u5C11\u4EBA\u6570",
304
+ onInput: ($event) => unref(enterTheMumber)(data, "gatherMin")
305
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "onInput"]),
306
+ createElementVNode(
307
+ "span",
308
+ { class: "mx-2" },
309
+ toDisplayString(unref($t)("hy.to")),
310
+ 1
311
+ /* TEXT */
312
+ ),
313
+ createVNode(unref(HyInput), {
314
+ modelValue: data.gatherMax,
315
+ "onUpdate:modelValue": ($event) => data.gatherMax = $event,
316
+ size: "small",
317
+ class: "w-[100px]",
318
+ placeholder: "\u6700\u591A\u4EBA\u6570",
319
+ onInput: ($event) => unref(enterTheMumber)(data, "gatherMax")
320
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "onInput"]),
321
+ createElementVNode("span", { class: "ml-16" }, "\u544A\u8B66\u989C\u8272\uFF1A"),
322
+ createVNode(unref(ElColorPicker), {
323
+ modelValue: data.gatherColor,
324
+ "onUpdate:modelValue": ($event) => data.gatherColor = $event,
325
+ "color-format": "hex",
326
+ size: "small",
327
+ predefine: ["#008c00", "#1900ff", "#feff00", "#ffb000", "#ff1100"]
328
+ }, null, 8, ["modelValue", "onUpdate:modelValue"]),
329
+ createVNode(unref(HyIconBox), {
330
+ "alt-text": unref($t)("bussiness.delete"),
331
+ "svg-name": "ops-linear-delete",
332
+ "class-name": "!text-danger-2 !bg-background",
333
+ class: "ml-auto",
334
+ onClick: ($event) => unref(deleteFn)(index)
335
+ }, null, 8, ["alt-text", "onClick"]),
336
+ createElementVNode("div", { class: "absolute w-full left-0 -bottom-4 flex text-dangerv2 truncate" }, [
337
+ data.isNoData ? (openBlock(), createElementBlock("span", { key: 0 }, "\u8BF7\u8F93\u5165\u5B8C\u6574\u6570\u636E")) : data.isNumber ? (openBlock(), createElementBlock("span", { key: 1 }, "\u8BF7\u8F93\u5165 0-9999 \u6B63\u786E\u4EBA\u5458\u6570\u91CF")) : data.isNoColor ? (openBlock(), createElementBlock("span", { key: 2 }, "\u8BF7\u9009\u62E9\u544A\u8B66\u989C\u8272")) : data.isCompare ? (openBlock(), createElementBlock("span", { key: 3 }, "\u5DE6\u8FB9\u8F93\u5165\u6846\u6570\u5B57\u5927\u5C0F\u5E94\u8BE5\u5C0F\u4E8E\u6216\u7B49\u4E8E\u53F3\u8FB9")) : data.isOverlap ? (openBlock(), createElementBlock("span", { key: 4 }, "\u4E0E\u5176\u4ED6\u8BBE\u7F6E\u9879\u4EBA\u6570\u6570\u91CF\u91CD\u53E0")) : data.isColor ? (openBlock(), createElementBlock("span", { key: 5 }, "\u6B64\u544A\u8B66\u989C\u8272\u5DF2\u88AB\u4F7F\u7528\uFF0C\u8BF7\u9009\u62E9\u65B0\u7684\u544A\u8B66\u989C\u8272")) : createCommentVNode("v-if", true)
338
+ ])
339
+ ]);
340
+ }),
341
+ 128
342
+ /* KEYED_FRAGMENT */
343
+ )),
344
+ !unref(tableData).length ? (openBlock(), createElementBlock("div", {
345
+ key: 0,
346
+ class: "w-full h-0 flex-grow flex flex-col justify-center items-center"
347
+ }, [
348
+ createElementVNode("span", { class: "text-auxiliary text-base" }, "\u6682\u65E0\u7B49\u7EA7\u8BBE\u7F6E")
349
+ ])) : createCommentVNode("v-if", true)
350
+ ])
351
+ ])
352
+ ]),
353
+ _: 1
354
+ /* STABLE */
355
+ }, 8, ["modelValue", "onUpdate:modelValue", "loading", "onUpdate:loading", "if-draggable", "if-shrink", "on-submit", "onOnMinimized", "onOnDialogMousedown"]);
356
+ };
357
+ }
358
+ };
359
+
360
+ export { _sfc_main as default };
@@ -0,0 +1,240 @@
1
+ import { useTemplateRef, ref, openBlock, createElementBlock, createVNode, unref, withCtx, createTextVNode, toDisplayString, createElementVNode, createCommentVNode } from 'vue';
2
+ import { ElMessage, ElPopover } from 'element-plus';
3
+ import { deleteBatchApi } from '../../../../api/index.mjs';
4
+ import '../../../../hooks/index.mjs';
5
+ import { weekDateFn } from '../../js/ruleSetting.mjs';
6
+ import '../../../../components/index.mjs';
7
+ import { useAppTable } from '../../../../components/hyTable/js/useAppTable.mjs';
8
+ import { $t } from '../../../../hooks/useLocale.mjs';
9
+ import { HyConfirmDialog } from '../../../../components/hyConfirmDialog/index.mjs';
10
+ import { useMixins } from '../../../../hooks/useMixins.mjs';
11
+ import { HyTable } from '../../../../components/hyTable/index.mjs';
12
+ import { HyTableActionButton } from '../../../../components/hyTableActionButton/index.mjs';
13
+ import { HyIcon } from '../../../../components/hyIcon/index.mjs';
14
+
15
+ const _sfc_main = {
16
+ __name: "timedVideo",
17
+ emits: ["on-add", "on-edit", "on-rule-assign"],
18
+ setup(__props, { expose: __expose, emit: __emit }) {
19
+ const emits = __emit;
20
+ const tableRef = useTemplateRef("tableRef");
21
+ function useTimedVideo(hy) {
22
+ const { tableRef: tableRef2 } = hy;
23
+ const { tableColumns: tableColumns2, filterModel: filterModel2, filterColumns: filterColumns2 } = useAppTable({
24
+ columns: [
25
+ {
26
+ prop: "ruleName",
27
+ label: $t("ruleSetting.ruleName"),
28
+ isSearch: true
29
+ },
30
+ {
31
+ prop: "attendanceTime",
32
+ label: $t("ruleSetting.workingHours"),
33
+ slot: "attendanceTime"
34
+ },
35
+ {
36
+ type: "operator",
37
+ operator: [
38
+ {
39
+ label: $t("ruleSetting.distribution"),
40
+ desc: $t("ruleSetting.assignRules"),
41
+ svgName: "ops-linear-fen-pei",
42
+ handler: ({ row }) => {
43
+ hy.assingRules(row);
44
+ }
45
+ },
46
+ {
47
+ label: $t("bussiness.edit"),
48
+ desc: $t("bussiness.edit"),
49
+ svgName: "ops-button-edit",
50
+ handler: ({ row }) => {
51
+ emits("on-edit", row);
52
+ }
53
+ },
54
+ {
55
+ desc: $t("bussiness.delete"),
56
+ label: $t("bussiness.delete"),
57
+ svgName: "ops-linear-delete",
58
+ className: "text-danger-2",
59
+ handler: ({ row }) => {
60
+ hy.deleteShow(row);
61
+ }
62
+ }
63
+ ]
64
+ }
65
+ ],
66
+ filterColumns: [],
67
+ filterModel: {
68
+ type: 5
69
+ }
70
+ });
71
+ const searchArr2 = ref([]);
72
+ function showAddRuleSettingDialog2(row) {
73
+ emits("on-add", row);
74
+ }
75
+ function assingRules(row) {
76
+ emits("on-rule-assign", row);
77
+ }
78
+ function deleteShow(data) {
79
+ HyConfirmDialog.danger({
80
+ title: "\u786E\u8BA4\u5220\u9664",
81
+ content: `<div><p>\u5220\u9664\u540E\u65E0\u6CD5\u8FD8\u539F\uFF0C\u662F\u5426\u786E\u8BA4\u5220\u9664\u8BE5\u89C4\u5219\uFF1F</p><p class="text-theme mt-1">"${data.ruleName}"</p></div>`,
82
+ onSubmit() {
83
+ return new Promise((resolve, reject) => {
84
+ deleteBatchApi("rule", data.id).then((res) => {
85
+ if (res.code === 200) {
86
+ ElMessage.success($t("bussiness.successfulDeletion"));
87
+ hy.getData();
88
+ resolve();
89
+ }
90
+ }).catch(() => {
91
+ reject();
92
+ });
93
+ });
94
+ }
95
+ });
96
+ }
97
+ function getData2(page = null) {
98
+ tableRef2.value.getData(page);
99
+ }
100
+ return {
101
+ // data
102
+ tableColumns: tableColumns2,
103
+ filterModel: filterModel2,
104
+ filterColumns: filterColumns2,
105
+ searchArr: searchArr2,
106
+ // methods
107
+ assingRules,
108
+ showAddRuleSettingDialog: showAddRuleSettingDialog2,
109
+ deleteShow,
110
+ getData: getData2
111
+ };
112
+ }
113
+ const { tableColumns, filterModel, filterColumns, searchArr, showAddRuleSettingDialog, getData } = useMixins({ tableRef }, [useTimedVideo]);
114
+ __expose({
115
+ getData
116
+ });
117
+ return (_ctx, _cache) => {
118
+ return openBlock(), createElementBlock("div", { class: "w-full h-full" }, [
119
+ createVNode(unref(HyTable), {
120
+ ref_key: "tableRef",
121
+ ref: tableRef,
122
+ controller: "rule",
123
+ "table-columns": unref(tableColumns),
124
+ "filter-model": unref(filterModel),
125
+ "filter-columns": unref(filterColumns),
126
+ "search-arr": unref(searchArr),
127
+ "show-editable": false
128
+ }, {
129
+ "operator-left-box": withCtx(() => [
130
+ createVNode(unref(HyTableActionButton), {
131
+ type: "success",
132
+ "svg-name": "ops-button-add",
133
+ label: "\u6DFB\u52A0",
134
+ "operate-list": [
135
+ {
136
+ children: [
137
+ {
138
+ label: "\u6DFB\u52A0\u5B9A\u65F6\u5F55\u50CF",
139
+ value: "showAddRuleSettingDialog",
140
+ altText: ``
141
+ }
142
+ ]
143
+ }
144
+ ],
145
+ onChange: ($event) => unref(showAddRuleSettingDialog)({ type: unref(filterModel).type })
146
+ }, null, 8, ["onChange"]),
147
+ createVNode(unref(ElPopover), {
148
+ placement: "bottom-start",
149
+ width: "200",
150
+ trigger: "hover"
151
+ }, {
152
+ reference: withCtx(() => [
153
+ createElementVNode("span", { class: "text-xs text-theme ml-2" }, [
154
+ createVNode(unref(HyIcon), {
155
+ "svg-name": "dispatch-share-v3-base-help",
156
+ class: "!w-3 !h-3 mr-1"
157
+ }),
158
+ createElementVNode(
159
+ "span",
160
+ null,
161
+ toDisplayString(unref($t)("hy.help")),
162
+ 1
163
+ /* TEXT */
164
+ )
165
+ ])
166
+ ]),
167
+ default: withCtx(() => [
168
+ createElementVNode("div", { class: "p-[10px_20px] text-xs" }, [
169
+ createElementVNode("div", { class: "mb-2 break-keep" }, "\u89C4\u5219\u4F7F\u7528\u8BF4\u660E\uFF1A"),
170
+ createElementVNode("ul", null, [
171
+ createElementVNode("li", { class: "flex mb_10" }, [
172
+ createElementVNode("span", null, "1\u3001"),
173
+ createElementVNode("span", null, "\u6DFB\u52A0\u89C4\u5219")
174
+ ]),
175
+ createElementVNode("li", { class: "flex mb_10" }, [
176
+ createElementVNode("span", null, "2\u3001"),
177
+ createElementVNode("span", null, "\u8BBE\u7F6E\u81EA\u5B9A\u4E49\u7684\u89C4\u5219\u6761\u4EF6")
178
+ ]),
179
+ createElementVNode("li", { class: "flex mb_10" }, [
180
+ createElementVNode("span", null, "3\u3001"),
181
+ createElementVNode("span", null, "\u5E76\u628A\u9700\u8981\u6267\u884C\u6B64\u89C4\u5219\u7684\u4EBA\u5458\u6388\u6743\u7ED9\u5B83")
182
+ ])
183
+ ])
184
+ ])
185
+ ]),
186
+ _: 1
187
+ /* STABLE */
188
+ })
189
+ ]),
190
+ attendanceTime: withCtx(({ row }) => [
191
+ row.ruleDateType === 1 || !row.ruleDateType ? (openBlock(), createElementBlock("div", { key: 0 }, [
192
+ createTextVNode(
193
+ toDisplayString(unref($t)("ruleSetting.everyDay")) + " ",
194
+ 1
195
+ /* TEXT */
196
+ ),
197
+ createElementVNode(
198
+ "span",
199
+ { class: "text-auxiliary text-xs" },
200
+ "(" + toDisplayString(row.startDtm1) + "-" + toDisplayString(row.endDtm1) + ")",
201
+ 1
202
+ /* TEXT */
203
+ )
204
+ ])) : row.ruleDateType === 2 ? (openBlock(), createElementBlock("div", { key: 1 }, [
205
+ createTextVNode(
206
+ toDisplayString(unref(weekDateFn)(row.weekDate)) + " ",
207
+ 1
208
+ /* TEXT */
209
+ ),
210
+ createElementVNode(
211
+ "span",
212
+ { class: "text-auxiliary text-xs" },
213
+ "(" + toDisplayString(row.startDtm1) + "-" + toDisplayString(row.endDtm1) + "})",
214
+ 1
215
+ /* TEXT */
216
+ )
217
+ ])) : row.ruleDateType === 4 ? (openBlock(), createElementBlock("div", { key: 2 }, [
218
+ createTextVNode(
219
+ toDisplayString(row.apStartDtm.split(" 00:00:00")[0]) + " ~ " + toDisplayString(row.apEndDtm.split(" 00:00:00")[0]) + " ",
220
+ 1
221
+ /* TEXT */
222
+ ),
223
+ createElementVNode(
224
+ "span",
225
+ { class: "text-auxiliary text-xs" },
226
+ "(" + toDisplayString(row.startDtm1) + "-" + toDisplayString(row.endDtm1) + "})",
227
+ 1
228
+ /* TEXT */
229
+ )
230
+ ])) : createCommentVNode("v-if", true)
231
+ ]),
232
+ _: 1
233
+ /* STABLE */
234
+ }, 8, ["table-columns", "filter-model", "filter-columns", "search-arr"])
235
+ ]);
236
+ };
237
+ }
238
+ };
239
+
240
+ export { _sfc_main as default };