Commit Graph

41 Commits

Author SHA1 Message Date
yangsy
0c6db1fb8c refactor: remove useless pageCount in pagination config 2025-09-05 14:26:47 +08:00
yangsy
3e45bb212a refactor: reorganize device card components 2025-09-03 14:56:33 +08:00
yangsy
bd9ddf2473 refactor: extract DeviceRenderer 2025-09-03 13:07:01 +08:00
yangsy
9bf8229bf6 feat: device cards 2025-09-02 23:35:54 +08:00
yangsy
7afb79f826 refactor:
- extend NdmDeviceAlarmLogVO
- only query alarm counts
- separate request and store update in useQuery
- refactor station card and alarm modal, data fetching is now inside modal
- optimize device tree
- optimize query station list
- make export size follow page size
- fix query sequence and make them follow stations -> devices -> alarms
2025-09-02 14:21:13 +08:00
yangsy
54a150ec07 perf: optimize data sync of route.query and DevicePage & DeviceTree 2025-08-29 18:55:06 +08:00
yangsy
ac7100c408 fix: remove condition render wrapped around modals, which leads to @after-enter and v-model:show not working 2025-08-29 18:52:46 +08:00
yangsy
a6124d951c refactor: move modals from StationCard to DashboardPage 2025-08-29 11:55:44 +08:00
yangsy
5a148910af feat: current-alarms-store & move ThemeSwitch 2025-08-29 11:53:46 +08:00
yangsy
d948c96047 refactor: extend device-type.ts 2025-08-27 14:43:04 +08:00
yangsy
b4e49c0104 fix: selectedKeys doesnot update when select device 2025-08-27 10:52:10 +08:00
yangsy
a4392da641 refactor: extract station card modals to DashboardPage 2025-08-27 10:13:41 +08:00
yangsy
9ec22b883b refactor: extract device tree 2025-08-27 10:10:38 +08:00
yangsy
40bc4b76ef style 2025-08-26 11:38:49 +08:00
yangsy
b17e7b589a fix 2025-08-26 04:20:44 +08:00
yangsy
9a050f08f6 feat: apply new stores to UI and hope it works 2025-08-26 03:28:20 +08:00
yangsy
55e9efce7e chore: extract types 2025-08-25 23:44:39 +08:00
yangsy
3cfb829608 fix: queries continue running after page unmounted 2025-08-25 23:32:25 +08:00
yangsy
2ad2c4d4a3 fix: ban close-on-esc in modal 2025-08-25 15:56:55 +08:00
yangsy
d0658580a0 refactor&perf
- proxy config
- query export
- optimize station card request
2025-08-25 15:49:21 +08:00
yangsy
d15c3c2edf perf: optimize station card interaction 2025-08-25 10:31:51 +08:00
yangsy
5d131ee1df perf: remove suffix of offline device count; optimize routes; optimize station Select option 2025-08-22 15:54:51 +08:00
yangsy
0fd9f17366 style 2025-08-22 01:22:14 +08:00
yangsy
a52899b052 chore: reorder import 2025-08-22 00:24:05 +08:00
yangsy
a6f2a0a54e feat: add total device count 2025-08-21 21:12:31 +08:00
yangsy
fa213940d6 style: add some comments 2025-08-21 21:12:11 +08:00
yangsy
9cfc5924f9 style 2025-08-21 21:11:45 +08:00
yangsy
303c5812de feat: device params config modal 2025-08-21 16:47:34 +08:00
yangsy
1f12babd02 fix: device type filter not work in DeviceAlarmDetailModal 2025-08-21 11:08:45 +08:00
yangsy
c4c7d0f7a6 feat: support searching device id 2025-08-20 23:28:27 +08:00
yangsy
1707d2c66f feat: alarm records query 2025-08-20 23:27:24 +08:00
yangsy
c4e7baea95 feat: get alarms from all stations 2025-08-20 01:18:01 +08:00
yangsy
d0168f84bc fix: remove dblclick of device node 2025-08-18 14:49:24 +08:00
yangsy
78dcbf9fa9 style: remove TODO comment 2025-08-18 12:22:46 +08:00
yangsy
b6ed3dabca style: chage color when hover on statistics label of StationCard 2025-08-18 12:20:04 +08:00
yangsy
4e14eb3590 feat: migrate id and improve interaction
- use DB id of device to mark tree node key
- dblclick offlien device node to jump to DevicePage
- dblclick device node to view device detail
2025-08-18 11:05:26 +08:00
yangsy
7de9d5ea5c feat: enhance device tree 2025-08-18 02:16:41 +08:00
yangsy
22f57773e2 fix: polling doesnot resumed after router.push 2025-08-17 02:06:21 +08:00
yangsy
8c8a791409 feat: ui 2025-08-17 01:22:08 +08:00
yangsy
dd317df58a chore 2025-08-14 13:06:22 +08:00
yangsy
0b3877797d chore 2025-08-14 12:51:31 +08:00