hy-dispatch-ui-v3 0.2.60 → 0.2.62

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 (80) hide show
  1. package/dist/tailwind.css +70 -8
  2. package/es/api/device.mjs +18 -0
  3. package/es/api/sypct.mjs +18 -0
  4. package/es/api/task.mjs +18 -0
  5. package/es/bussiness/hyMapAearchPlace/index.mjs +6 -0
  6. package/es/bussiness/hyMapAearchPlace/js/index.mjs +653 -0
  7. package/es/bussiness/hyMapAearchPlace/mapAearchPlace.vue.mjs +347 -0
  8. package/es/bussiness/hyMapAearchPlace/mapAearchPlaceItem.vue.mjs +99 -0
  9. package/es/bussiness/hyMapAearchPlace/style/mapAearchPlace.scss +71 -0
  10. package/es/bussiness/index.mjs +1 -0
  11. package/es/components/hyBatchUploadDialog/batchUploadDialog.vue.mjs +22 -3
  12. package/es/components/hyButton/style/button.scss +1 -1
  13. package/es/components/hyConfigProvider/configProvider.vue.mjs +4 -0
  14. package/es/components/hyConfirmDialog/confirmDialog.vue.mjs +2 -2
  15. package/es/components/hyDialog/dialog.vue.mjs +24 -4
  16. package/es/components/hyForm/cpns/locationSelect.vue.mjs +3 -1
  17. package/es/components/hyMap/map.vue.mjs +10 -3
  18. package/es/components/hyMenu/menu.vue.mjs +38 -23
  19. package/es/components/hyMenu/style/menu.scss +3 -1
  20. package/es/components/hyOrgCascader/js/index.mjs +2 -2
  21. package/es/components/hySearch/cpns/searchItem.vue.mjs +17 -1
  22. package/es/components/hyTable/table.vue.mjs +8 -1
  23. package/es/components/hyTableForm/batchTableForm.vue.mjs +36 -59
  24. package/es/components/hyTableForm/js/index.mjs +8 -58
  25. package/es/components/hyTableForm/tableForm.vue.mjs +9 -3
  26. package/es/components/hyVideoPlayer/js/index.mjs +0 -1
  27. package/es/hooks/index.mjs +1 -0
  28. package/es/hooks/useApi.mjs +2 -2
  29. package/es/hooks/useGlobalConfig.mjs +6 -1
  30. package/es/hooks/useMapConfig.mjs +18 -0
  31. package/es/index.mjs +3 -0
  32. package/es/static/hy-svg-icons/hy-icon-ops-list-editorialdownsizing.js +14 -0
  33. package/es/static/hy-svg-icons/hy-icon-ops-list-suoxiao.js +14 -0
  34. package/es/style/element/hy-element.scss +10 -1
  35. package/es/utils/form.mjs +5 -1
  36. package/es/utils/handler.mjs +5 -0
  37. package/es/utils/index.mjs +1 -0
  38. package/es/utils/map/js/webgis.mjs +1 -1
  39. package/es/utils/tree.mjs +1 -0
  40. package/es/version.mjs +1 -1
  41. package/lib/api/device.js +20 -0
  42. package/lib/api/sypct.js +20 -0
  43. package/lib/api/task.js +20 -0
  44. package/lib/bussiness/hyMapAearchPlace/index.js +11 -0
  45. package/lib/bussiness/hyMapAearchPlace/js/index.js +655 -0
  46. package/lib/bussiness/hyMapAearchPlace/mapAearchPlace.vue.js +351 -0
  47. package/lib/bussiness/hyMapAearchPlace/mapAearchPlaceItem.vue.js +103 -0
  48. package/lib/bussiness/hyMapAearchPlace/style/mapAearchPlace.scss +71 -0
  49. package/lib/bussiness/index.js +2 -0
  50. package/lib/components/hyBatchUploadDialog/batchUploadDialog.vue.js +22 -3
  51. package/lib/components/hyButton/style/button.scss +1 -1
  52. package/lib/components/hyConfigProvider/configProvider.vue.js +4 -0
  53. package/lib/components/hyConfirmDialog/confirmDialog.vue.js +2 -2
  54. package/lib/components/hyDialog/dialog.vue.js +23 -3
  55. package/lib/components/hyForm/cpns/locationSelect.vue.js +3 -1
  56. package/lib/components/hyMap/map.vue.js +10 -3
  57. package/lib/components/hyMenu/menu.vue.js +37 -22
  58. package/lib/components/hyMenu/style/menu.scss +3 -1
  59. package/lib/components/hyOrgCascader/js/index.js +2 -2
  60. package/lib/components/hySearch/cpns/searchItem.vue.js +16 -0
  61. package/lib/components/hyTable/table.vue.js +8 -1
  62. package/lib/components/hyTableForm/batchTableForm.vue.js +33 -56
  63. package/lib/components/hyTableForm/js/index.js +7 -58
  64. package/lib/components/hyTableForm/tableForm.vue.js +8 -2
  65. package/lib/components/hyVideoPlayer/js/index.js +0 -1
  66. package/lib/hooks/index.js +3 -0
  67. package/lib/hooks/useApi.js +2 -2
  68. package/lib/hooks/useGlobalConfig.js +5 -0
  69. package/lib/hooks/useMapConfig.js +21 -0
  70. package/lib/index.js +36 -26
  71. package/lib/static/hy-svg-icons/hy-icon-ops-list-editorialdownsizing.js +14 -0
  72. package/lib/static/hy-svg-icons/hy-icon-ops-list-suoxiao.js +14 -0
  73. package/lib/style/element/hy-element.scss +10 -1
  74. package/lib/utils/form.js +4 -0
  75. package/lib/utils/handler.js +5 -0
  76. package/lib/utils/index.js +5 -0
  77. package/lib/utils/map/js/webgis.js +1 -0
  78. package/lib/utils/tree.js +10 -0
  79. package/lib/version.js +1 -1
  80. package/package.json +1 -1
package/dist/tailwind.css CHANGED
@@ -295,6 +295,11 @@
295
295
  margin-bottom: 0px;
296
296
  }
297
297
 
298
+ .my-1 {
299
+ margin-top: 0.25rem;
300
+ margin-bottom: 0.25rem;
301
+ }
302
+
298
303
  .my-1\.5 {
299
304
  margin-top: 0.375rem;
300
305
  margin-bottom: 0.375rem;
@@ -360,10 +365,26 @@
360
365
  margin-left: 0.5rem;
361
366
  }
362
367
 
368
+ .ml-2\.5 {
369
+ margin-left: 0.625rem;
370
+ }
371
+
363
372
  .ml-3 {
364
373
  margin-left: 0.75rem;
365
374
  }
366
375
 
376
+ .ml-4 {
377
+ margin-left: 1rem;
378
+ }
379
+
380
+ .ml-5 {
381
+ margin-left: 1.25rem;
382
+ }
383
+
384
+ .ml-\[10px\] {
385
+ margin-left: 10px;
386
+ }
387
+
367
388
  .ml-\[4px\] {
368
389
  margin-left: 4px;
369
390
  }
@@ -484,10 +505,6 @@
484
505
  height: 1rem !important;
485
506
  }
486
507
 
487
- .\!h-5 {
488
- height: 1.25rem !important;
489
- }
490
-
491
508
  .\!h-\[12px\] {
492
509
  height: 12px !important;
493
510
  }
@@ -508,6 +525,10 @@
508
525
  height: 24px !important;
509
526
  }
510
527
 
528
+ .\!h-\[26px\] {
529
+ height: 26px !important;
530
+ }
531
+
511
532
  .\!h-\[40px\] {
512
533
  height: 40px !important;
513
534
  }
@@ -572,6 +593,10 @@
572
593
  height: 24px;
573
594
  }
574
595
 
596
+ .h-\[26px\] {
597
+ height: 26px;
598
+ }
599
+
575
600
  .h-\[280px\] {
576
601
  height: 280px;
577
602
  }
@@ -588,6 +613,10 @@
588
613
  height: 364px;
589
614
  }
590
615
 
616
+ .h-\[365px\] {
617
+ height: 365px;
618
+ }
619
+
591
620
  .h-\[36px\] {
592
621
  height: 36px;
593
622
  }
@@ -624,6 +653,10 @@
624
653
  height: 54px;
625
654
  }
626
655
 
656
+ .h-\[60px\] {
657
+ height: 60px;
658
+ }
659
+
627
660
  .h-\[96vh\] {
628
661
  height: 96vh;
629
662
  }
@@ -632,6 +665,10 @@
632
665
  height: 100%;
633
666
  }
634
667
 
668
+ .max-h-\[400px\] {
669
+ max-height: 400px;
670
+ }
671
+
635
672
  .max-h-\[500px\] {
636
673
  max-height: 500px;
637
674
  }
@@ -680,10 +717,6 @@
680
717
  width: 1rem !important;
681
718
  }
682
719
 
683
- .\!w-5 {
684
- width: 1.25rem !important;
685
- }
686
-
687
720
  .\!w-9 {
688
721
  width: 2.25rem !important;
689
722
  }
@@ -704,6 +737,10 @@
704
737
  width: 24px !important;
705
738
  }
706
739
 
740
+ .\!w-\[26px\] {
741
+ width: 26px !important;
742
+ }
743
+
707
744
  .\!w-\[37\%\] {
708
745
  width: 37% !important;
709
746
  }
@@ -776,6 +813,10 @@
776
813
  width: 22px;
777
814
  }
778
815
 
816
+ .w-\[26px\] {
817
+ width: 26px;
818
+ }
819
+
779
820
  .w-\[30px\] {
780
821
  width: 30px;
781
822
  }
@@ -832,6 +873,10 @@
832
873
  max-width: 300px;
833
874
  }
834
875
 
876
+ .max-w-full {
877
+ max-width: 100%;
878
+ }
879
+
835
880
  .flex-1 {
836
881
  flex: 1 1 0%;
837
882
  }
@@ -1263,6 +1308,11 @@
1263
1308
  padding-bottom: 0.25rem;
1264
1309
  }
1265
1310
 
1311
+ .py-2 {
1312
+ padding-top: 0.5rem;
1313
+ padding-bottom: 0.5rem;
1314
+ }
1315
+
1266
1316
  .py-4 {
1267
1317
  padding-top: 1rem;
1268
1318
  padding-bottom: 1rem;
@@ -1293,6 +1343,10 @@
1293
1343
  padding-bottom: 27px;
1294
1344
  }
1295
1345
 
1346
+ .pl-2\.5 {
1347
+ padding-left: 0.625rem;
1348
+ }
1349
+
1296
1350
  .pl-3 {
1297
1351
  padding-left: 0.75rem;
1298
1352
  }
@@ -1417,6 +1471,14 @@
1417
1471
  line-height: 20px;
1418
1472
  }
1419
1473
 
1474
+ .leading-\[28px\] {
1475
+ line-height: 28px;
1476
+ }
1477
+
1478
+ .leading-\[32px\] {
1479
+ line-height: 32px;
1480
+ }
1481
+
1420
1482
  .text-\[var\(--hy-el-text-color-disabled\)\] {
1421
1483
  color: var(--hy-el-text-color-disabled);
1422
1484
  }
@@ -0,0 +1,18 @@
1
+ import { unref } from 'vue';
2
+ import { useLocale } from '../hooks/useLocale.mjs';
3
+ import { useApi } from '../hooks/useApi.mjs';
4
+
5
+ function detailApi(deviceId) {
6
+ return new Promise((resolve, reject) => {
7
+ const { t } = useLocale();
8
+ const { api } = useApi();
9
+ const http = unref(api);
10
+ http.post("device/detail", { deviceId }).then((res) => {
11
+ resolve(res);
12
+ }).catch((res) => {
13
+ reject(new Error(t("interfaceError")));
14
+ });
15
+ });
16
+ }
17
+
18
+ export { detailApi };
@@ -0,0 +1,18 @@
1
+ import { unref } from 'vue';
2
+ import { useLocale } from '../hooks/useLocale.mjs';
3
+ import { useApi } from '../hooks/useApi.mjs';
4
+
5
+ function unbindCphmTaskApi(params) {
6
+ return new Promise((resolve, reject) => {
7
+ const { t } = useLocale();
8
+ const { api } = useApi();
9
+ const http = unref(api);
10
+ http.post("sypct/task/cphmUnBind", params).then((res) => {
11
+ resolve(res);
12
+ }).catch((res) => {
13
+ reject(new Error(t("interfaceError")));
14
+ });
15
+ });
16
+ }
17
+
18
+ export { unbindCphmTaskApi };
@@ -0,0 +1,18 @@
1
+ import { unref } from 'vue';
2
+ import { useLocale } from '../hooks/useLocale.mjs';
3
+ import { useApi } from '../hooks/useApi.mjs';
4
+
5
+ function childTaskFindAllApi(params) {
6
+ return new Promise((resolve, reject) => {
7
+ const { t } = useLocale();
8
+ const { api } = useApi();
9
+ const http = unref(api);
10
+ http.post("gdwj/task/taskOrg/childTaskFindAll", params).then((res) => {
11
+ resolve(res);
12
+ }).catch((res) => {
13
+ reject(new Error(t("interfaceError")));
14
+ });
15
+ });
16
+ }
17
+
18
+ export { childTaskFindAllApi };
@@ -0,0 +1,6 @@
1
+ import _sfc_main from './mapAearchPlace.vue.mjs';
2
+ import { withInstall } from '../../utils/handler.mjs';
3
+
4
+ const HyMapAearchPlace = withInstall(_sfc_main);
5
+
6
+ export { HyMapAearchPlace, HyMapAearchPlace as default };