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.
- package/dist/tailwind.css +66 -0
- package/es/api/device.mjs +18 -0
- package/es/api/index.mjs +1 -1
- package/es/api/sypct.mjs +18 -0
- package/es/api/task.mjs +18 -0
- package/es/bussiness/hyMapAearchPlace/index.mjs +6 -0
- package/es/bussiness/hyMapAearchPlace/js/index.mjs +653 -0
- package/es/bussiness/hyMapAearchPlace/mapAearchPlace.vue.mjs +347 -0
- package/es/bussiness/hyMapAearchPlace/mapAearchPlaceItem.vue.mjs +99 -0
- package/es/bussiness/hyMapAearchPlace/style/mapAearchPlace.scss +71 -0
- package/es/bussiness/index.mjs +1 -0
- package/es/components/hyBatchUploadDialog/batchUploadDialog.vue.mjs +22 -3
- package/es/components/hyButton/style/button.scss +1 -1
- package/es/components/hyConfigProvider/configProvider.vue.mjs +4 -0
- package/es/components/hyConfirmDialog/confirmDialog.vue.mjs +2 -2
- package/es/components/hyDialog/dialog.vue.mjs +24 -4
- package/es/components/hyForm/cpns/locationSelect.vue.mjs +3 -1
- package/es/components/hyMap/map.vue.mjs +10 -3
- package/es/components/hySearch/cpns/searchItem.vue.mjs +17 -1
- package/es/components/hyTable/table.vue.mjs +8 -1
- package/es/components/hyTableForm/batchTableForm.vue.mjs +36 -59
- package/es/components/hyTableForm/js/index.mjs +8 -58
- package/es/components/hyTableForm/tableForm.vue.mjs +9 -3
- package/es/hooks/index.mjs +1 -0
- package/es/hooks/useGlobalConfig.mjs +5 -0
- package/es/hooks/useMapConfig.mjs +18 -0
- package/es/index.mjs +2 -0
- package/es/static/hy-svg-icons/hy-icon-ops-list-editorialdownsizing.js +14 -0
- package/es/static/hy-svg-icons/hy-icon-ops-list-suoxiao.js +14 -0
- package/es/style/element/hy-element.scss +10 -1
- package/es/utils/form.mjs +5 -1
- package/es/utils/map/js/webgis.mjs +1 -1
- package/es/version.mjs +1 -1
- package/lib/api/device.js +20 -0
- package/lib/api/index.js +1 -1
- package/lib/api/sypct.js +20 -0
- package/lib/api/task.js +20 -0
- package/lib/bussiness/hyMapAearchPlace/index.js +11 -0
- package/lib/bussiness/hyMapAearchPlace/js/index.js +655 -0
- package/lib/bussiness/hyMapAearchPlace/mapAearchPlace.vue.js +351 -0
- package/lib/bussiness/hyMapAearchPlace/mapAearchPlaceItem.vue.js +103 -0
- package/lib/bussiness/hyMapAearchPlace/style/mapAearchPlace.scss +71 -0
- package/lib/bussiness/index.js +2 -0
- package/lib/components/hyBatchUploadDialog/batchUploadDialog.vue.js +22 -3
- package/lib/components/hyButton/style/button.scss +1 -1
- package/lib/components/hyConfigProvider/configProvider.vue.js +4 -0
- package/lib/components/hyConfirmDialog/confirmDialog.vue.js +2 -2
- package/lib/components/hyDialog/dialog.vue.js +23 -3
- package/lib/components/hyForm/cpns/locationSelect.vue.js +3 -1
- package/lib/components/hyMap/map.vue.js +10 -3
- package/lib/components/hySearch/cpns/searchItem.vue.js +16 -0
- package/lib/components/hyTable/table.vue.js +8 -1
- package/lib/components/hyTableForm/batchTableForm.vue.js +33 -56
- package/lib/components/hyTableForm/js/index.js +7 -58
- package/lib/components/hyTableForm/tableForm.vue.js +8 -2
- package/lib/hooks/index.js +3 -0
- package/lib/hooks/useGlobalConfig.js +5 -0
- package/lib/hooks/useMapConfig.js +21 -0
- package/lib/index.js +31 -26
- package/lib/static/hy-svg-icons/hy-icon-ops-list-editorialdownsizing.js +14 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-list-suoxiao.js +14 -0
- package/lib/style/element/hy-element.scss +10 -1
- package/lib/utils/form.js +4 -0
- package/lib/utils/map/js/webgis.js +1 -0
- package/lib/version.js +1 -1
- 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
package/es/api/sypct.mjs
ADDED
|
@@ -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 };
|
package/es/api/task.mjs
ADDED
|
@@ -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 };
|