hy-dispatch-ui-v3 0.2.61 → 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 (66) hide show
  1. package/dist/tailwind.css +66 -0
  2. package/es/api/device.mjs +18 -0
  3. package/es/api/index.mjs +1 -1
  4. package/es/api/sypct.mjs +18 -0
  5. package/es/api/task.mjs +18 -0
  6. package/es/bussiness/hyMapAearchPlace/index.mjs +6 -0
  7. package/es/bussiness/hyMapAearchPlace/js/index.mjs +653 -0
  8. package/es/bussiness/hyMapAearchPlace/mapAearchPlace.vue.mjs +347 -0
  9. package/es/bussiness/hyMapAearchPlace/mapAearchPlaceItem.vue.mjs +99 -0
  10. package/es/bussiness/hyMapAearchPlace/style/mapAearchPlace.scss +71 -0
  11. package/es/bussiness/index.mjs +1 -0
  12. package/es/components/hyBatchUploadDialog/batchUploadDialog.vue.mjs +22 -3
  13. package/es/components/hyButton/style/button.scss +1 -1
  14. package/es/components/hyConfigProvider/configProvider.vue.mjs +4 -0
  15. package/es/components/hyConfirmDialog/confirmDialog.vue.mjs +2 -2
  16. package/es/components/hyDialog/dialog.vue.mjs +24 -4
  17. package/es/components/hyForm/cpns/locationSelect.vue.mjs +3 -1
  18. package/es/components/hyMap/map.vue.mjs +10 -3
  19. package/es/components/hySearch/cpns/searchItem.vue.mjs +17 -1
  20. package/es/components/hyTable/table.vue.mjs +8 -1
  21. package/es/components/hyTableForm/batchTableForm.vue.mjs +36 -59
  22. package/es/components/hyTableForm/js/index.mjs +8 -58
  23. package/es/components/hyTableForm/tableForm.vue.mjs +9 -3
  24. package/es/hooks/index.mjs +1 -0
  25. package/es/hooks/useGlobalConfig.mjs +5 -0
  26. package/es/hooks/useMapConfig.mjs +18 -0
  27. package/es/index.mjs +2 -0
  28. package/es/static/hy-svg-icons/hy-icon-ops-list-editorialdownsizing.js +14 -0
  29. package/es/static/hy-svg-icons/hy-icon-ops-list-suoxiao.js +14 -0
  30. package/es/style/element/hy-element.scss +10 -1
  31. package/es/utils/form.mjs +5 -1
  32. package/es/utils/map/js/webgis.mjs +1 -1
  33. package/es/version.mjs +1 -1
  34. package/lib/api/device.js +20 -0
  35. package/lib/api/index.js +1 -1
  36. package/lib/api/sypct.js +20 -0
  37. package/lib/api/task.js +20 -0
  38. package/lib/bussiness/hyMapAearchPlace/index.js +11 -0
  39. package/lib/bussiness/hyMapAearchPlace/js/index.js +655 -0
  40. package/lib/bussiness/hyMapAearchPlace/mapAearchPlace.vue.js +351 -0
  41. package/lib/bussiness/hyMapAearchPlace/mapAearchPlaceItem.vue.js +103 -0
  42. package/lib/bussiness/hyMapAearchPlace/style/mapAearchPlace.scss +71 -0
  43. package/lib/bussiness/index.js +2 -0
  44. package/lib/components/hyBatchUploadDialog/batchUploadDialog.vue.js +22 -3
  45. package/lib/components/hyButton/style/button.scss +1 -1
  46. package/lib/components/hyConfigProvider/configProvider.vue.js +4 -0
  47. package/lib/components/hyConfirmDialog/confirmDialog.vue.js +2 -2
  48. package/lib/components/hyDialog/dialog.vue.js +23 -3
  49. package/lib/components/hyForm/cpns/locationSelect.vue.js +3 -1
  50. package/lib/components/hyMap/map.vue.js +10 -3
  51. package/lib/components/hySearch/cpns/searchItem.vue.js +16 -0
  52. package/lib/components/hyTable/table.vue.js +8 -1
  53. package/lib/components/hyTableForm/batchTableForm.vue.js +33 -56
  54. package/lib/components/hyTableForm/js/index.js +7 -58
  55. package/lib/components/hyTableForm/tableForm.vue.js +8 -2
  56. package/lib/hooks/index.js +3 -0
  57. package/lib/hooks/useGlobalConfig.js +5 -0
  58. package/lib/hooks/useMapConfig.js +21 -0
  59. package/lib/index.js +31 -26
  60. package/lib/static/hy-svg-icons/hy-icon-ops-list-editorialdownsizing.js +14 -0
  61. package/lib/static/hy-svg-icons/hy-icon-ops-list-suoxiao.js +14 -0
  62. package/lib/style/element/hy-element.scss +10 -1
  63. package/lib/utils/form.js +4 -0
  64. package/lib/utils/map/js/webgis.js +1 -0
  65. package/lib/version.js +1 -1
  66. 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,6 +365,10 @@
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
  }
@@ -368,6 +377,14 @@
368
377
  margin-left: 1rem;
369
378
  }
370
379
 
380
+ .ml-5 {
381
+ margin-left: 1.25rem;
382
+ }
383
+
384
+ .ml-\[10px\] {
385
+ margin-left: 10px;
386
+ }
387
+
371
388
  .ml-\[4px\] {
372
389
  margin-left: 4px;
373
390
  }
@@ -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
  }
@@ -700,6 +737,10 @@
700
737
  width: 24px !important;
701
738
  }
702
739
 
740
+ .\!w-\[26px\] {
741
+ width: 26px !important;
742
+ }
743
+
703
744
  .\!w-\[37\%\] {
704
745
  width: 37% !important;
705
746
  }
@@ -772,6 +813,10 @@
772
813
  width: 22px;
773
814
  }
774
815
 
816
+ .w-\[26px\] {
817
+ width: 26px;
818
+ }
819
+
775
820
  .w-\[30px\] {
776
821
  width: 30px;
777
822
  }
@@ -828,6 +873,10 @@
828
873
  max-width: 300px;
829
874
  }
830
875
 
876
+ .max-w-full {
877
+ max-width: 100%;
878
+ }
879
+
831
880
  .flex-1 {
832
881
  flex: 1 1 0%;
833
882
  }
@@ -1259,6 +1308,11 @@
1259
1308
  padding-bottom: 0.25rem;
1260
1309
  }
1261
1310
 
1311
+ .py-2 {
1312
+ padding-top: 0.5rem;
1313
+ padding-bottom: 0.5rem;
1314
+ }
1315
+
1262
1316
  .py-4 {
1263
1317
  padding-top: 1rem;
1264
1318
  padding-bottom: 1rem;
@@ -1289,6 +1343,10 @@
1289
1343
  padding-bottom: 27px;
1290
1344
  }
1291
1345
 
1346
+ .pl-2\.5 {
1347
+ padding-left: 0.625rem;
1348
+ }
1349
+
1292
1350
  .pl-3 {
1293
1351
  padding-left: 0.75rem;
1294
1352
  }
@@ -1413,6 +1471,14 @@
1413
1471
  line-height: 20px;
1414
1472
  }
1415
1473
 
1474
+ .leading-\[28px\] {
1475
+ line-height: 28px;
1476
+ }
1477
+
1478
+ .leading-\[32px\] {
1479
+ line-height: 32px;
1480
+ }
1481
+
1416
1482
  .text-\[var\(--hy-el-text-color-disabled\)\] {
1417
1483
  color: var(--hy-el-text-color-disabled);
1418
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 };
package/es/api/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { unref } from 'vue';
2
- import { useApi } from '../hooks/useApi.mjs';
3
2
  import { useLocale } from '../hooks/useLocale.mjs';
3
+ import { useApi } from '../hooks/useApi.mjs';
4
4
 
5
5
  const { t } = useLocale();
6
6
  function selectApi(controller, params) {
@@ -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 };