fix(vcasino)

This commit is contained in:
wang_yp 2025-05-27 00:01:03 +08:00
parent 7ad043e9ab
commit 9906e9d6b5
22 changed files with 720 additions and 118 deletions

View File

@ -0,0 +1,128 @@
# Details
Date : 2025-04-27 14:32:08
Directory /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src
Total : 113 files, 5043 codes, 84 comments, 408 blanks, all 5535 lines
[Summary](results.md) / Details / [Diff Summary](diff.md) / [Diff Details](diff-details.md)
## Files
| filename | language | code | comment | blank | total |
| :--- | :--- | ---: | ---: | ---: | ---: |
| [src/App.tsx](/src/App.tsx) | TypeScript JSX | 9 | 0 | 2 | 11 |
| [src/components/ali\_upload.tsx](/src/components/ali_upload.tsx) | TypeScript JSX | 71 | 0 | 7 | 78 |
| [src/components/b\_table.tsx](/src/components/b_table.tsx) | TypeScript JSX | 101 | 0 | 4 | 105 |
| [src/components/edittor.tsx](/src/components/edittor.tsx) | TypeScript JSX | 69 | 6 | 8 | 83 |
| [src/components/errorComp.tsx](/src/components/errorComp.tsx) | TypeScript JSX | 20 | 1 | 5 | 26 |
| [src/components/form/dump\_seleft.tsx](/src/components/form/dump_seleft.tsx) | TypeScript JSX | 33 | 0 | 3 | 36 |
| [src/components/form/featch\_select.tsx](/src/components/form/featch_select.tsx) | TypeScript JSX | 51 | 0 | 10 | 61 |
| [src/components/form/interface.ts](/src/components/form/interface.ts) | TypeScript | 67 | 0 | 8 | 75 |
| [src/components/form/select.tsx](/src/components/form/select.tsx) | TypeScript JSX | 30 | 0 | 1 | 31 |
| [src/components/form/simple\_form.tsx](/src/components/form/simple_form.tsx) | TypeScript JSX | 199 | 1 | 4 | 204 |
| [src/components/layout/layout.less](/src/components/layout/layout.less) | Less | 34 | 0 | 5 | 39 |
| [src/components/layout/layout.tsx](/src/components/layout/layout.tsx) | TypeScript JSX | 94 | 1 | 6 | 101 |
| [src/components/layout/layout\_config.tsx](/src/components/layout/layout_config.tsx) | TypeScript JSX | 87 | 0 | 2 | 89 |
| [src/components/map/MapComponent.tsx](/src/components/map/MapComponent.tsx) | TypeScript JSX | 49 | 3 | 8 | 60 |
| [src/components/map/MapContainer.less](/src/components/map/MapContainer.less) | Less | 5 | 0 | 0 | 5 |
| [src/components/map/MapFrom.tsx](/src/components/map/MapFrom.tsx) | TypeScript JSX | 59 | 2 | 6 | 67 |
| [src/components/map/mapUtil.ts](/src/components/map/mapUtil.ts) | TypeScript | 127 | 4 | 7 | 138 |
| [src/components/video\_select.tsx](/src/components/video_select.tsx) | TypeScript JSX | 3 | 26 | 5 | 34 |
| [src/create/create\_page.js](/src/create/create_page.js) | JavaScript | 82 | 1 | 4 | 87 |
| [src/create/create\_store.js](/src/create/create_store.js) | JavaScript | 23 | 0 | 3 | 26 |
| [src/index.less](/src/index.less) | Less | 78 | 0 | 10 | 88 |
| [src/index.tsx](/src/index.tsx) | TypeScript JSX | 16 | 0 | 4 | 20 |
| [src/model/userModel.ts](/src/model/userModel.ts) | TypeScript | 34 | 0 | 2 | 36 |
| [src/pages/charity/af/index.tsx](/src/pages/charity/af/index.tsx) | TypeScript JSX | 8 | 0 | 0 | 8 |
| [src/pages/charity/artic/artic\_config.tsx](/src/pages/charity/artic/artic_config.tsx) | TypeScript JSX | 55 | 0 | 2 | 57 |
| [src/pages/charity/artic/index.tsx](/src/pages/charity/artic/index.tsx) | TypeScript JSX | 102 | 0 | 4 | 106 |
| [src/pages/charity/index.tsx](/src/pages/charity/index.tsx) | TypeScript JSX | 9 | 0 | 3 | 12 |
| [src/pages/charity/setting/index.tsx](/src/pages/charity/setting/index.tsx) | TypeScript JSX | 8 | 0 | 0 | 8 |
| [src/pages/city/config.tsx](/src/pages/city/config.tsx) | TypeScript JSX | 62 | 0 | 2 | 64 |
| [src/pages/city/food/config.tsx](/src/pages/city/food/config.tsx) | TypeScript JSX | 67 | 0 | 3 | 70 |
| [src/pages/city/food/index.tsx](/src/pages/city/food/index.tsx) | TypeScript JSX | 75 | 1 | 4 | 80 |
| [src/pages/city/history/config.tsx](/src/pages/city/history/config.tsx) | TypeScript JSX | 67 | 0 | 3 | 70 |
| [src/pages/city/history/index.tsx](/src/pages/city/history/index.tsx) | TypeScript JSX | 74 | 1 | 4 | 79 |
| [src/pages/city/hum\_intro/config.tsx](/src/pages/city/hum_intro/config.tsx) | TypeScript JSX | 67 | 0 | 3 | 70 |
| [src/pages/city/hum\_intro/index.tsx](/src/pages/city/hum_intro/index.tsx) | TypeScript JSX | 75 | 1 | 4 | 80 |
| [src/pages/city/index.tsx](/src/pages/city/index.tsx) | TypeScript JSX | 9 | 0 | 3 | 12 |
| [src/pages/city/list.tsx](/src/pages/city/list.tsx) | TypeScript JSX | 71 | 1 | 4 | 76 |
| [src/pages/dashbord/index.less](/src/pages/dashbord/index.less) | Less | 8 | 0 | 0 | 8 |
| [src/pages/dashbord/index.tsx](/src/pages/dashbord/index.tsx) | TypeScript JSX | 19 | 0 | 3 | 22 |
| [src/pages/login/login.less](/src/pages/login/login.less) | Less | 68 | 0 | 8 | 76 |
| [src/pages/login/login.tsx](/src/pages/login/login.tsx) | TypeScript JSX | 71 | 0 | 2 | 73 |
| [src/pages/order/config.tsx](/src/pages/order/config.tsx) | TypeScript JSX | 62 | 0 | 2 | 64 |
| [src/pages/order/index.tsx](/src/pages/order/index.tsx) | TypeScript JSX | 71 | 1 | 4 | 76 |
| [src/pages/rbac/dep/index.tsx](/src/pages/rbac/dep/index.tsx) | TypeScript JSX | 4 | 0 | 1 | 5 |
| [src/pages/rbac/index.tsx](/src/pages/rbac/index.tsx) | TypeScript JSX | 9 | 0 | 3 | 12 |
| [src/pages/rbac/menu/index.tsx](/src/pages/rbac/menu/index.tsx) | TypeScript JSX | 45 | 0 | 6 | 51 |
| [src/pages/rbac/menu/menu.less](/src/pages/rbac/menu/menu.less) | Less | 8 | 0 | 0 | 8 |
| [src/pages/rbac/menu/menu\_config.tsx](/src/pages/rbac/menu/menu_config.tsx) | TypeScript JSX | 91 | 0 | 7 | 98 |
| [src/pages/rbac/org/index.tsx](/src/pages/rbac/org/index.tsx) | TypeScript JSX | 4 | 0 | 1 | 5 |
| [src/pages/rbac/role/index.tsx](/src/pages/rbac/role/index.tsx) | TypeScript JSX | 45 | 0 | 6 | 51 |
| [src/pages/rbac/role/role.less](/src/pages/rbac/role/role.less) | Less | 8 | 0 | 0 | 8 |
| [src/pages/rbac/role/role\_config.tsx](/src/pages/rbac/role/role_config.tsx) | TypeScript JSX | 91 | 0 | 7 | 98 |
| [src/pages/rbac/staff/index.tsx](/src/pages/rbac/staff/index.tsx) | TypeScript JSX | 4 | 0 | 1 | 5 |
| [src/pages/sku/brand/index.tsx](/src/pages/sku/brand/index.tsx) | TypeScript JSX | 8 | 0 | 2 | 10 |
| [src/pages/sku/cat/config.tsx](/src/pages/sku/cat/config.tsx) | TypeScript JSX | 50 | 0 | 2 | 52 |
| [src/pages/sku/cat/index.tsx](/src/pages/sku/cat/index.tsx) | TypeScript JSX | 78 | 1 | 6 | 85 |
| [src/pages/sku/index.tsx](/src/pages/sku/index.tsx) | TypeScript JSX | 9 | 0 | 3 | 12 |
| [src/pages/sku/sku/config.tsx](/src/pages/sku/sku/config.tsx) | TypeScript JSX | 35 | 4 | 2 | 41 |
| [src/pages/sku/sku/index.tsx](/src/pages/sku/sku/index.tsx) | TypeScript JSX | 36 | 1 | 4 | 41 |
| [src/pages/sku/sku/sku\_add.tsx](/src/pages/sku/sku/sku_add.tsx) | TypeScript JSX | 143 | 1 | 4 | 148 |
| [src/pages/sku/sku/sku\_add\_config.tsx](/src/pages/sku/sku/sku_add_config.tsx) | TypeScript JSX | 60 | 0 | 3 | 63 |
| [src/pages/sku/spec/config.tsx](/src/pages/sku/spec/config.tsx) | TypeScript JSX | 39 | 0 | 2 | 41 |
| [src/pages/sku/spec/index.tsx](/src/pages/sku/spec/index.tsx) | TypeScript JSX | 71 | 1 | 5 | 77 |
| [src/pages/sku/tag/config.tsx](/src/pages/sku/tag/config.tsx) | TypeScript JSX | 41 | 0 | 2 | 43 |
| [src/pages/sku/tag/index.tsx](/src/pages/sku/tag/index.tsx) | TypeScript JSX | 71 | 1 | 5 | 77 |
| [src/pages/sys/app/banner.tsx](/src/pages/sys/app/banner.tsx) | TypeScript JSX | 46 | 0 | 3 | 49 |
| [src/pages/sys/app/hp\_banner.tsx](/src/pages/sys/app/hp_banner.tsx) | TypeScript JSX | 46 | 0 | 3 | 49 |
| [src/pages/sys/app/index.tsx](/src/pages/sys/app/index.tsx) | TypeScript JSX | 25 | 0 | 3 | 28 |
| [src/pages/sys/don/don\_rule\_setting.tsx](/src/pages/sys/don/don_rule_setting.tsx) | TypeScript JSX | 8 | 0 | 1 | 9 |
| [src/pages/sys/don/don\_setting.tsx](/src/pages/sys/don/don_setting.tsx) | TypeScript JSX | 8 | 0 | 1 | 9 |
| [src/pages/sys/don/index.tsx](/src/pages/sys/don/index.tsx) | TypeScript JSX | 25 | 0 | 3 | 28 |
| [src/pages/sys/index.tsx](/src/pages/sys/index.tsx) | TypeScript JSX | 9 | 0 | 3 | 12 |
| [src/pages/sys/keywod/index.tsx](/src/pages/sys/keywod/index.tsx) | TypeScript JSX | 8 | 0 | 2 | 10 |
| [src/pages/sys/notic/index.tsx](/src/pages/sys/notic/index.tsx) | TypeScript JSX | 8 | 0 | 2 | 10 |
| [src/pages/sys/version/index.tsx](/src/pages/sys/version/index.tsx) | TypeScript JSX | 8 | 0 | 2 | 10 |
| [src/pages/user/user.less](/src/pages/user/user.less) | Less | 8 | 0 | 0 | 8 |
| [src/pages/user/user.tsx](/src/pages/user/user.tsx) | TypeScript JSX | 68 | 1 | 6 | 75 |
| [src/pages/user/user\_config.tsx](/src/pages/user/user_config.tsx) | TypeScript JSX | 84 | 0 | 4 | 88 |
| [src/react-app-env.d.ts](/src/react-app-env.d.ts) | TypeScript | 54 | 3 | 15 | 72 |
| [src/reportWebVitals.ts](/src/reportWebVitals.ts) | TypeScript | 13 | 0 | 3 | 16 |
| [src/router/index.tsx](/src/router/index.tsx) | TypeScript JSX | 48 | 3 | 3 | 54 |
| [src/router/routers/charity.tsx](/src/router/routers/charity.tsx) | TypeScript JSX | 31 | 0 | 1 | 32 |
| [src/router/routers/city\_router.tsx](/src/router/routers/city_router.tsx) | TypeScript JSX | 38 | 0 | 1 | 39 |
| [src/router/routers/home\_router.tsx](/src/router/routers/home_router.tsx) | TypeScript JSX | 15 | 0 | 1 | 16 |
| [src/router/routers/rbac\_router.tsx](/src/router/routers/rbac_router.tsx) | TypeScript JSX | 45 | 0 | 1 | 46 |
| [src/router/routers/sku\_router.tsx](/src/router/routers/sku_router.tsx) | TypeScript JSX | 52 | 0 | 1 | 53 |
| [src/router/routers/sys\_router.tsx](/src/router/routers/sys_router.tsx) | TypeScript JSX | 45 | 0 | 3 | 48 |
| [src/service/base.ts](/src/service/base.ts) | TypeScript | 96 | 3 | 3 | 102 |
| [src/service/config.ts](/src/service/config.ts) | TypeScript | 80 | 0 | 10 | 90 |
| [src/setupTests.ts](/src/setupTests.ts) | TypeScript | 1 | 4 | 1 | 6 |
| [src/store/artic.ts](/src/store/artic.ts) | TypeScript | 12 | 0 | 3 | 15 |
| [src/store/baseStore.ts](/src/store/baseStore.ts) | TypeScript | 108 | 5 | 6 | 119 |
| [src/store/city.ts](/src/store/city.ts) | TypeScript | 33 | 0 | 4 | 37 |
| [src/store/index.ts](/src/store/index.ts) | TypeScript | 24 | 0 | 2 | 26 |
| [src/store/order.tsx](/src/store/order.tsx) | TypeScript JSX | 12 | 0 | 3 | 15 |
| [src/store/sku.ts](/src/store/sku.ts) | TypeScript | 26 | 1 | 1 | 28 |
| [src/store/skuCat.ts](/src/store/skuCat.ts) | TypeScript | 12 | 0 | 1 | 13 |
| [src/store/skuSpec.ts](/src/store/skuSpec.ts) | TypeScript | 12 | 0 | 1 | 13 |
| [src/store/sysStore.ts](/src/store/sysStore.ts) | TypeScript | 36 | 1 | 5 | 42 |
| [src/store/tag.ts](/src/store/tag.ts) | TypeScript | 12 | 0 | 1 | 13 |
| [src/store/user.ts](/src/store/user.ts) | TypeScript | 66 | 0 | 5 | 71 |
| [src/util/config.ts](/src/util/config.ts) | TypeScript | 4 | 1 | 1 | 6 |
| [src/util/context/auth\_context.tsx](/src/util/context/auth_context.tsx) | TypeScript JSX | 25 | 0 | 5 | 30 |
| [src/util/context/index.tsx](/src/util/context/index.tsx) | TypeScript JSX | 6 | 0 | 3 | 9 |
| [src/util/hooks/friend.tsx](/src/util/hooks/friend.tsx) | TypeScript JSX | 10 | 0 | 5 | 15 |
| [src/util/hooks/use\_async.ts](/src/util/hooks/use_async.ts) | TypeScript | 50 | 0 | 4 | 54 |
| [src/util/hooks/use\_permission.ts](/src/util/hooks/use_permission.ts) | TypeScript | 12 | 0 | 1 | 13 |
| [src/util/hooks/use\_project.ts](/src/util/hooks/use_project.ts) | TypeScript | 2 | 0 | 1 | 3 |
| [src/util/model/interface.ts](/src/util/model/interface.ts) | TypeScript | 33 | 1 | 9 | 43 |
| [src/util/oss.ts](/src/util/oss.ts) | TypeScript | 24 | 0 | 1 | 25 |
| [src/util/socket.ts](/src/util/socket.ts) | TypeScript | 126 | 0 | 18 | 144 |
| [src/util/util.ts](/src/util/util.ts) | TypeScript | 16 | 0 | 3 | 19 |
| [src/util/webRtc.ts](/src/util/webRtc.ts) | TypeScript | 174 | 2 | 5 | 181 |
[Summary](results.md) / Details / [Diff Summary](diff.md) / [Diff Details](diff-details.md)

View File

@ -0,0 +1,15 @@
# Diff Details
Date : 2025-04-27 14:32:08
Directory /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src
Total : 0 files, 0 codes, 0 comments, 0 blanks, all 0 lines
[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details
## Files
| filename | language | code | comment | blank | total |
| :--- | :--- | ---: | ---: | ---: | ---: |
[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details

View File

@ -0,0 +1,2 @@
"filename", "language", "", "comment", "blank", "total"
"Total", "-", , 0, 0, 0
1 filename language comment blank total
2 Total - 0 0 0

View File

@ -0,0 +1,19 @@
# Diff Summary
Date : 2025-04-27 14:32:08
Directory /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src
Total : 0 files, 0 codes, 0 comments, 0 blanks, all 0 lines
[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md)
## Languages
| language | files | code | comment | blank | total |
| :--- | ---: | ---: | ---: | ---: | ---: |
## Directories
| path | files | code | comment | blank | total |
| :--- | ---: | ---: | ---: | ---: | ---: |
[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md)

View File

@ -0,0 +1,22 @@
Date : 2025-04-27 14:32:08
Directory : /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src
Total : 0 files, 0 codes, 0 comments, 0 blanks, all 0 lines
Languages
+----------+------------+------------+------------+------------+------------+
| language | files | code | comment | blank | total |
+----------+------------+------------+------------+------------+------------+
+----------+------------+------------+------------+------------+------------+
Directories
+------+------------+------------+------------+------------+------------+
| path | files | code | comment | blank | total |
+------+------------+------------+------------+------------+------------+
+------+------------+------------+------------+------------+------------+
Files
+----------+----------+------------+------------+------------+------------+
| filename | language | code | comment | blank | total |
+----------+----------+------------+------------+------------+------------+
| Total | | 0 | 0 | 0 | 0 |
+----------+----------+------------+------------+------------+------------+

View File

@ -0,0 +1,115 @@
"filename", "language", "TypeScript JSX", "TypeScript", "Less", "JavaScript", "comment", "blank", "total"
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/App.tsx", "TypeScript JSX", 9, 0, 0, 0, 0, 2, 11
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/ali_upload.tsx", "TypeScript JSX", 71, 0, 0, 0, 0, 7, 78
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/b_table.tsx", "TypeScript JSX", 101, 0, 0, 0, 0, 4, 105
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/edittor.tsx", "TypeScript JSX", 69, 0, 0, 0, 6, 8, 83
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/errorComp.tsx", "TypeScript JSX", 20, 0, 0, 0, 1, 5, 26
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/form/dump_seleft.tsx", "TypeScript JSX", 33, 0, 0, 0, 0, 3, 36
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/form/featch_select.tsx", "TypeScript JSX", 51, 0, 0, 0, 0, 10, 61
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/form/interface.ts", "TypeScript", 0, 67, 0, 0, 0, 8, 75
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/form/select.tsx", "TypeScript JSX", 30, 0, 0, 0, 0, 1, 31
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/form/simple_form.tsx", "TypeScript JSX", 199, 0, 0, 0, 1, 4, 204
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/layout/layout.less", "Less", 0, 0, 34, 0, 0, 5, 39
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/layout/layout.tsx", "TypeScript JSX", 94, 0, 0, 0, 1, 6, 101
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/layout/layout_config.tsx", "TypeScript JSX", 87, 0, 0, 0, 0, 2, 89
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/map/MapComponent.tsx", "TypeScript JSX", 49, 0, 0, 0, 3, 8, 60
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/map/MapContainer.less", "Less", 0, 0, 5, 0, 0, 0, 5
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/map/MapFrom.tsx", "TypeScript JSX", 59, 0, 0, 0, 2, 6, 67
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/map/mapUtil.ts", "TypeScript", 0, 127, 0, 0, 4, 7, 138
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/video_select.tsx", "TypeScript JSX", 3, 0, 0, 0, 26, 5, 34
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/create/create_page.js", "JavaScript", 0, 0, 0, 82, 1, 4, 87
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/create/create_store.js", "JavaScript", 0, 0, 0, 23, 0, 3, 26
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/index.less", "Less", 0, 0, 78, 0, 0, 10, 88
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/index.tsx", "TypeScript JSX", 16, 0, 0, 0, 0, 4, 20
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/model/userModel.ts", "TypeScript", 0, 34, 0, 0, 0, 2, 36
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/charity/af/index.tsx", "TypeScript JSX", 8, 0, 0, 0, 0, 0, 8
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/charity/artic/artic_config.tsx", "TypeScript JSX", 55, 0, 0, 0, 0, 2, 57
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/charity/artic/index.tsx", "TypeScript JSX", 102, 0, 0, 0, 0, 4, 106
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/charity/index.tsx", "TypeScript JSX", 9, 0, 0, 0, 0, 3, 12
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/charity/setting/index.tsx", "TypeScript JSX", 8, 0, 0, 0, 0, 0, 8
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/city/config.tsx", "TypeScript JSX", 62, 0, 0, 0, 0, 2, 64
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/city/food/config.tsx", "TypeScript JSX", 67, 0, 0, 0, 0, 3, 70
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/city/food/index.tsx", "TypeScript JSX", 75, 0, 0, 0, 1, 4, 80
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/city/history/config.tsx", "TypeScript JSX", 67, 0, 0, 0, 0, 3, 70
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/city/history/index.tsx", "TypeScript JSX", 74, 0, 0, 0, 1, 4, 79
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/city/hum_intro/config.tsx", "TypeScript JSX", 67, 0, 0, 0, 0, 3, 70
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/city/hum_intro/index.tsx", "TypeScript JSX", 75, 0, 0, 0, 1, 4, 80
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/city/index.tsx", "TypeScript JSX", 9, 0, 0, 0, 0, 3, 12
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/city/list.tsx", "TypeScript JSX", 71, 0, 0, 0, 1, 4, 76
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/dashbord/index.less", "Less", 0, 0, 8, 0, 0, 0, 8
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/dashbord/index.tsx", "TypeScript JSX", 19, 0, 0, 0, 0, 3, 22
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/login/login.less", "Less", 0, 0, 68, 0, 0, 8, 76
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/login/login.tsx", "TypeScript JSX", 71, 0, 0, 0, 0, 2, 73
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/order/config.tsx", "TypeScript JSX", 62, 0, 0, 0, 0, 2, 64
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/order/index.tsx", "TypeScript JSX", 71, 0, 0, 0, 1, 4, 76
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/rbac/dep/index.tsx", "TypeScript JSX", 4, 0, 0, 0, 0, 1, 5
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/rbac/index.tsx", "TypeScript JSX", 9, 0, 0, 0, 0, 3, 12
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/rbac/menu/index.tsx", "TypeScript JSX", 45, 0, 0, 0, 0, 6, 51
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/rbac/menu/menu.less", "Less", 0, 0, 8, 0, 0, 0, 8
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/rbac/menu/menu_config.tsx", "TypeScript JSX", 91, 0, 0, 0, 0, 7, 98
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/rbac/org/index.tsx", "TypeScript JSX", 4, 0, 0, 0, 0, 1, 5
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/rbac/role/index.tsx", "TypeScript JSX", 45, 0, 0, 0, 0, 6, 51
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/rbac/role/role.less", "Less", 0, 0, 8, 0, 0, 0, 8
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/rbac/role/role_config.tsx", "TypeScript JSX", 91, 0, 0, 0, 0, 7, 98
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/rbac/staff/index.tsx", "TypeScript JSX", 4, 0, 0, 0, 0, 1, 5
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/brand/index.tsx", "TypeScript JSX", 8, 0, 0, 0, 0, 2, 10
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/cat/config.tsx", "TypeScript JSX", 50, 0, 0, 0, 0, 2, 52
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/cat/index.tsx", "TypeScript JSX", 78, 0, 0, 0, 1, 6, 85
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/index.tsx", "TypeScript JSX", 9, 0, 0, 0, 0, 3, 12
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/sku/config.tsx", "TypeScript JSX", 35, 0, 0, 0, 4, 2, 41
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/sku/index.tsx", "TypeScript JSX", 36, 0, 0, 0, 1, 4, 41
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/sku/sku_add.tsx", "TypeScript JSX", 143, 0, 0, 0, 1, 4, 148
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/sku/sku_add_config.tsx", "TypeScript JSX", 60, 0, 0, 0, 0, 3, 63
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/spec/config.tsx", "TypeScript JSX", 39, 0, 0, 0, 0, 2, 41
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/spec/index.tsx", "TypeScript JSX", 71, 0, 0, 0, 1, 5, 77
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/tag/config.tsx", "TypeScript JSX", 41, 0, 0, 0, 0, 2, 43
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/tag/index.tsx", "TypeScript JSX", 71, 0, 0, 0, 1, 5, 77
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sys/app/banner.tsx", "TypeScript JSX", 46, 0, 0, 0, 0, 3, 49
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sys/app/hp_banner.tsx", "TypeScript JSX", 46, 0, 0, 0, 0, 3, 49
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sys/app/index.tsx", "TypeScript JSX", 25, 0, 0, 0, 0, 3, 28
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sys/don/don_rule_setting.tsx", "TypeScript JSX", 8, 0, 0, 0, 0, 1, 9
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sys/don/don_setting.tsx", "TypeScript JSX", 8, 0, 0, 0, 0, 1, 9
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sys/don/index.tsx", "TypeScript JSX", 25, 0, 0, 0, 0, 3, 28
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sys/index.tsx", "TypeScript JSX", 9, 0, 0, 0, 0, 3, 12
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sys/keywod/index.tsx", "TypeScript JSX", 8, 0, 0, 0, 0, 2, 10
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sys/notic/index.tsx", "TypeScript JSX", 8, 0, 0, 0, 0, 2, 10
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sys/version/index.tsx", "TypeScript JSX", 8, 0, 0, 0, 0, 2, 10
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/user/user.less", "Less", 0, 0, 8, 0, 0, 0, 8
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/user/user.tsx", "TypeScript JSX", 68, 0, 0, 0, 1, 6, 75
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/user/user_config.tsx", "TypeScript JSX", 84, 0, 0, 0, 0, 4, 88
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/react-app-env.d.ts", "TypeScript", 0, 54, 0, 0, 3, 15, 72
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/reportWebVitals.ts", "TypeScript", 0, 13, 0, 0, 0, 3, 16
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/router/index.tsx", "TypeScript JSX", 48, 0, 0, 0, 3, 3, 54
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/router/routers/charity.tsx", "TypeScript JSX", 31, 0, 0, 0, 0, 1, 32
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/router/routers/city_router.tsx", "TypeScript JSX", 38, 0, 0, 0, 0, 1, 39
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/router/routers/home_router.tsx", "TypeScript JSX", 15, 0, 0, 0, 0, 1, 16
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/router/routers/rbac_router.tsx", "TypeScript JSX", 45, 0, 0, 0, 0, 1, 46
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/router/routers/sku_router.tsx", "TypeScript JSX", 52, 0, 0, 0, 0, 1, 53
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/router/routers/sys_router.tsx", "TypeScript JSX", 45, 0, 0, 0, 0, 3, 48
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/service/base.ts", "TypeScript", 0, 96, 0, 0, 3, 3, 102
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/service/config.ts", "TypeScript", 0, 80, 0, 0, 0, 10, 90
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/setupTests.ts", "TypeScript", 0, 1, 0, 0, 4, 1, 6
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/store/artic.ts", "TypeScript", 0, 12, 0, 0, 0, 3, 15
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/store/baseStore.ts", "TypeScript", 0, 108, 0, 0, 5, 6, 119
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/store/city.ts", "TypeScript", 0, 33, 0, 0, 0, 4, 37
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/store/index.ts", "TypeScript", 0, 24, 0, 0, 0, 2, 26
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/store/order.tsx", "TypeScript JSX", 12, 0, 0, 0, 0, 3, 15
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/store/sku.ts", "TypeScript", 0, 26, 0, 0, 1, 1, 28
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/store/skuCat.ts", "TypeScript", 0, 12, 0, 0, 0, 1, 13
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/store/skuSpec.ts", "TypeScript", 0, 12, 0, 0, 0, 1, 13
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/store/sysStore.ts", "TypeScript", 0, 36, 0, 0, 1, 5, 42
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/store/tag.ts", "TypeScript", 0, 12, 0, 0, 0, 1, 13
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/store/user.ts", "TypeScript", 0, 66, 0, 0, 0, 5, 71
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/config.ts", "TypeScript", 0, 4, 0, 0, 1, 1, 6
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/context/auth_context.tsx", "TypeScript JSX", 25, 0, 0, 0, 0, 5, 30
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/context/index.tsx", "TypeScript JSX", 6, 0, 0, 0, 0, 3, 9
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/hooks/friend.tsx", "TypeScript JSX", 10, 0, 0, 0, 0, 5, 15
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/hooks/use_async.ts", "TypeScript", 0, 50, 0, 0, 0, 4, 54
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/hooks/use_permission.ts", "TypeScript", 0, 12, 0, 0, 0, 1, 13
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/hooks/use_project.ts", "TypeScript", 0, 2, 0, 0, 0, 1, 3
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/model/interface.ts", "TypeScript", 0, 33, 0, 0, 1, 9, 43
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/oss.ts", "TypeScript", 0, 24, 0, 0, 0, 1, 25
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/socket.ts", "TypeScript", 0, 126, 0, 0, 0, 18, 144
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/util.ts", "TypeScript", 0, 16, 0, 0, 0, 3, 19
"/Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/webRtc.ts", "TypeScript", 0, 174, 0, 0, 2, 5, 181
"Total", "-", 3467, 1254, 217, 105, 84, 408, 5535
1 filename language TypeScript JSX TypeScript Less JavaScript comment blank total
2 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/App.tsx TypeScript JSX 9 0 0 0 0 2 11
3 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/ali_upload.tsx TypeScript JSX 71 0 0 0 0 7 78
4 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/b_table.tsx TypeScript JSX 101 0 0 0 0 4 105
5 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/edittor.tsx TypeScript JSX 69 0 0 0 6 8 83
6 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/errorComp.tsx TypeScript JSX 20 0 0 0 1 5 26
7 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/form/dump_seleft.tsx TypeScript JSX 33 0 0 0 0 3 36
8 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/form/featch_select.tsx TypeScript JSX 51 0 0 0 0 10 61
9 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/form/interface.ts TypeScript 0 67 0 0 0 8 75
10 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/form/select.tsx TypeScript JSX 30 0 0 0 0 1 31
11 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/form/simple_form.tsx TypeScript JSX 199 0 0 0 1 4 204
12 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/layout/layout.less Less 0 0 34 0 0 5 39
13 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/layout/layout.tsx TypeScript JSX 94 0 0 0 1 6 101
14 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/layout/layout_config.tsx TypeScript JSX 87 0 0 0 0 2 89
15 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/map/MapComponent.tsx TypeScript JSX 49 0 0 0 3 8 60
16 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/map/MapContainer.less Less 0 0 5 0 0 0 5
17 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/map/MapFrom.tsx TypeScript JSX 59 0 0 0 2 6 67
18 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/map/mapUtil.ts TypeScript 0 127 0 0 4 7 138
19 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/video_select.tsx TypeScript JSX 3 0 0 0 26 5 34
20 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/create/create_page.js JavaScript 0 0 0 82 1 4 87
21 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/create/create_store.js JavaScript 0 0 0 23 0 3 26
22 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/index.less Less 0 0 78 0 0 10 88
23 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/index.tsx TypeScript JSX 16 0 0 0 0 4 20
24 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/model/userModel.ts TypeScript 0 34 0 0 0 2 36
25 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/charity/af/index.tsx TypeScript JSX 8 0 0 0 0 0 8
26 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/charity/artic/artic_config.tsx TypeScript JSX 55 0 0 0 0 2 57
27 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/charity/artic/index.tsx TypeScript JSX 102 0 0 0 0 4 106
28 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/charity/index.tsx TypeScript JSX 9 0 0 0 0 3 12
29 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/charity/setting/index.tsx TypeScript JSX 8 0 0 0 0 0 8
30 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/city/config.tsx TypeScript JSX 62 0 0 0 0 2 64
31 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/city/food/config.tsx TypeScript JSX 67 0 0 0 0 3 70
32 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/city/food/index.tsx TypeScript JSX 75 0 0 0 1 4 80
33 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/city/history/config.tsx TypeScript JSX 67 0 0 0 0 3 70
34 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/city/history/index.tsx TypeScript JSX 74 0 0 0 1 4 79
35 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/city/hum_intro/config.tsx TypeScript JSX 67 0 0 0 0 3 70
36 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/city/hum_intro/index.tsx TypeScript JSX 75 0 0 0 1 4 80
37 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/city/index.tsx TypeScript JSX 9 0 0 0 0 3 12
38 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/city/list.tsx TypeScript JSX 71 0 0 0 1 4 76
39 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/dashbord/index.less Less 0 0 8 0 0 0 8
40 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/dashbord/index.tsx TypeScript JSX 19 0 0 0 0 3 22
41 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/login/login.less Less 0 0 68 0 0 8 76
42 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/login/login.tsx TypeScript JSX 71 0 0 0 0 2 73
43 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/order/config.tsx TypeScript JSX 62 0 0 0 0 2 64
44 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/order/index.tsx TypeScript JSX 71 0 0 0 1 4 76
45 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/rbac/dep/index.tsx TypeScript JSX 4 0 0 0 0 1 5
46 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/rbac/index.tsx TypeScript JSX 9 0 0 0 0 3 12
47 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/rbac/menu/index.tsx TypeScript JSX 45 0 0 0 0 6 51
48 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/rbac/menu/menu.less Less 0 0 8 0 0 0 8
49 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/rbac/menu/menu_config.tsx TypeScript JSX 91 0 0 0 0 7 98
50 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/rbac/org/index.tsx TypeScript JSX 4 0 0 0 0 1 5
51 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/rbac/role/index.tsx TypeScript JSX 45 0 0 0 0 6 51
52 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/rbac/role/role.less Less 0 0 8 0 0 0 8
53 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/rbac/role/role_config.tsx TypeScript JSX 91 0 0 0 0 7 98
54 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/rbac/staff/index.tsx TypeScript JSX 4 0 0 0 0 1 5
55 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/brand/index.tsx TypeScript JSX 8 0 0 0 0 2 10
56 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/cat/config.tsx TypeScript JSX 50 0 0 0 0 2 52
57 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/cat/index.tsx TypeScript JSX 78 0 0 0 1 6 85
58 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/index.tsx TypeScript JSX 9 0 0 0 0 3 12
59 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/sku/config.tsx TypeScript JSX 35 0 0 0 4 2 41
60 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/sku/index.tsx TypeScript JSX 36 0 0 0 1 4 41
61 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/sku/sku_add.tsx TypeScript JSX 143 0 0 0 1 4 148
62 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/sku/sku_add_config.tsx TypeScript JSX 60 0 0 0 0 3 63
63 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/spec/config.tsx TypeScript JSX 39 0 0 0 0 2 41
64 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/spec/index.tsx TypeScript JSX 71 0 0 0 1 5 77
65 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/tag/config.tsx TypeScript JSX 41 0 0 0 0 2 43
66 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/tag/index.tsx TypeScript JSX 71 0 0 0 1 5 77
67 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sys/app/banner.tsx TypeScript JSX 46 0 0 0 0 3 49
68 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sys/app/hp_banner.tsx TypeScript JSX 46 0 0 0 0 3 49
69 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sys/app/index.tsx TypeScript JSX 25 0 0 0 0 3 28
70 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sys/don/don_rule_setting.tsx TypeScript JSX 8 0 0 0 0 1 9
71 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sys/don/don_setting.tsx TypeScript JSX 8 0 0 0 0 1 9
72 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sys/don/index.tsx TypeScript JSX 25 0 0 0 0 3 28
73 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sys/index.tsx TypeScript JSX 9 0 0 0 0 3 12
74 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sys/keywod/index.tsx TypeScript JSX 8 0 0 0 0 2 10
75 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sys/notic/index.tsx TypeScript JSX 8 0 0 0 0 2 10
76 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sys/version/index.tsx TypeScript JSX 8 0 0 0 0 2 10
77 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/user/user.less Less 0 0 8 0 0 0 8
78 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/user/user.tsx TypeScript JSX 68 0 0 0 1 6 75
79 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/user/user_config.tsx TypeScript JSX 84 0 0 0 0 4 88
80 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/react-app-env.d.ts TypeScript 0 54 0 0 3 15 72
81 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/reportWebVitals.ts TypeScript 0 13 0 0 0 3 16
82 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/router/index.tsx TypeScript JSX 48 0 0 0 3 3 54
83 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/router/routers/charity.tsx TypeScript JSX 31 0 0 0 0 1 32
84 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/router/routers/city_router.tsx TypeScript JSX 38 0 0 0 0 1 39
85 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/router/routers/home_router.tsx TypeScript JSX 15 0 0 0 0 1 16
86 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/router/routers/rbac_router.tsx TypeScript JSX 45 0 0 0 0 1 46
87 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/router/routers/sku_router.tsx TypeScript JSX 52 0 0 0 0 1 53
88 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/router/routers/sys_router.tsx TypeScript JSX 45 0 0 0 0 3 48
89 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/service/base.ts TypeScript 0 96 0 0 3 3 102
90 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/service/config.ts TypeScript 0 80 0 0 0 10 90
91 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/setupTests.ts TypeScript 0 1 0 0 4 1 6
92 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/store/artic.ts TypeScript 0 12 0 0 0 3 15
93 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/store/baseStore.ts TypeScript 0 108 0 0 5 6 119
94 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/store/city.ts TypeScript 0 33 0 0 0 4 37
95 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/store/index.ts TypeScript 0 24 0 0 0 2 26
96 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/store/order.tsx TypeScript JSX 12 0 0 0 0 3 15
97 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/store/sku.ts TypeScript 0 26 0 0 1 1 28
98 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/store/skuCat.ts TypeScript 0 12 0 0 0 1 13
99 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/store/skuSpec.ts TypeScript 0 12 0 0 0 1 13
100 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/store/sysStore.ts TypeScript 0 36 0 0 1 5 42
101 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/store/tag.ts TypeScript 0 12 0 0 0 1 13
102 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/store/user.ts TypeScript 0 66 0 0 0 5 71
103 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/config.ts TypeScript 0 4 0 0 1 1 6
104 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/context/auth_context.tsx TypeScript JSX 25 0 0 0 0 5 30
105 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/context/index.tsx TypeScript JSX 6 0 0 0 0 3 9
106 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/hooks/friend.tsx TypeScript JSX 10 0 0 0 0 5 15
107 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/hooks/use_async.ts TypeScript 0 50 0 0 0 4 54
108 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/hooks/use_permission.ts TypeScript 0 12 0 0 0 1 13
109 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/hooks/use_project.ts TypeScript 0 2 0 0 0 1 3
110 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/model/interface.ts TypeScript 0 33 0 0 1 9 43
111 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/oss.ts TypeScript 0 24 0 0 0 1 25
112 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/socket.ts TypeScript 0 126 0 0 0 18 144
113 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/util.ts TypeScript 0 16 0 0 0 3 19
114 /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/webRtc.ts TypeScript 0 174 0 0 2 5 181
115 Total - 3467 1254 217 105 84 408 5535

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,78 @@
# Summary
Date : 2025-04-27 14:32:08
Directory /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src
Total : 113 files, 5043 codes, 84 comments, 408 blanks, all 5535 lines
Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md)
## Languages
| language | files | code | comment | blank | total |
| :--- | ---: | ---: | ---: | ---: | ---: |
| TypeScript JSX | 76 | 3,467 | 58 | 257 | 3,782 |
| TypeScript | 27 | 1,254 | 25 | 121 | 1,400 |
| Less | 8 | 217 | 0 | 23 | 240 |
| JavaScript | 2 | 105 | 1 | 7 | 113 |
## Directories
| path | files | code | comment | blank | total |
| :--- | ---: | ---: | ---: | ---: | ---: |
| . | 113 | 5,043 | 84 | 408 | 5,535 |
| . (Files) | 6 | 171 | 7 | 35 | 213 |
| components | 17 | 1,099 | 44 | 89 | 1,232 |
| components (Files) | 5 | 264 | 33 | 29 | 326 |
| components/form | 5 | 380 | 1 | 26 | 407 |
| components/layout | 3 | 215 | 1 | 13 | 229 |
| components/map | 4 | 240 | 9 | 21 | 270 |
| create | 2 | 105 | 1 | 7 | 113 |
| model | 1 | 34 | 0 | 2 | 36 |
| pages | 55 | 2,349 | 15 | 163 | 2,527 |
| pages/charity | 5 | 182 | 0 | 9 | 191 |
| pages/charity (Files) | 1 | 9 | 0 | 3 | 12 |
| pages/charity/af | 1 | 8 | 0 | 0 | 8 |
| pages/charity/artic | 2 | 157 | 0 | 6 | 163 |
| pages/charity/setting | 1 | 8 | 0 | 0 | 8 |
| pages/city | 9 | 567 | 4 | 30 | 601 |
| pages/city (Files) | 3 | 142 | 1 | 9 | 152 |
| pages/city/food | 2 | 142 | 1 | 7 | 150 |
| pages/city/history | 2 | 141 | 1 | 7 | 149 |
| pages/city/hum_intro | 2 | 142 | 1 | 7 | 150 |
| pages/dashbord | 2 | 27 | 0 | 3 | 30 |
| pages/login | 2 | 139 | 0 | 10 | 149 |
| pages/order | 2 | 133 | 1 | 6 | 140 |
| pages/rbac | 10 | 309 | 0 | 32 | 341 |
| pages/rbac (Files) | 1 | 9 | 0 | 3 | 12 |
| pages/rbac/dep | 1 | 4 | 0 | 1 | 5 |
| pages/rbac/menu | 3 | 144 | 0 | 13 | 157 |
| pages/rbac/org | 1 | 4 | 0 | 1 | 5 |
| pages/rbac/role | 3 | 144 | 0 | 13 | 157 |
| pages/rbac/staff | 1 | 4 | 0 | 1 | 5 |
| pages/sku | 12 | 641 | 9 | 40 | 690 |
| pages/sku (Files) | 1 | 9 | 0 | 3 | 12 |
| pages/sku/brand | 1 | 8 | 0 | 2 | 10 |
| pages/sku/cat | 2 | 128 | 1 | 8 | 137 |
| pages/sku/sku | 4 | 274 | 6 | 13 | 293 |
| pages/sku/spec | 2 | 110 | 1 | 7 | 118 |
| pages/sku/tag | 2 | 112 | 1 | 7 | 120 |
| pages/sys | 10 | 191 | 0 | 23 | 214 |
| pages/sys (Files) | 1 | 9 | 0 | 3 | 12 |
| pages/sys/app | 3 | 117 | 0 | 9 | 126 |
| pages/sys/don | 3 | 41 | 0 | 5 | 46 |
| pages/sys/keywod | 1 | 8 | 0 | 2 | 10 |
| pages/sys/notic | 1 | 8 | 0 | 2 | 10 |
| pages/sys/version | 1 | 8 | 0 | 2 | 10 |
| pages/user | 3 | 160 | 1 | 10 | 171 |
| router | 7 | 274 | 3 | 11 | 288 |
| router (Files) | 1 | 48 | 3 | 3 | 54 |
| router/routers | 6 | 226 | 0 | 8 | 234 |
| service | 2 | 176 | 3 | 13 | 192 |
| store | 11 | 353 | 7 | 32 | 392 |
| util | 12 | 482 | 4 | 56 | 542 |
| util (Files) | 5 | 344 | 3 | 28 | 375 |
| util/context | 2 | 31 | 0 | 8 | 39 |
| util/hooks | 4 | 74 | 0 | 11 | 85 |
| util/model | 1 | 33 | 1 | 9 | 43 |
Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md)

View File

@ -0,0 +1,194 @@
Date : 2025-04-27 14:32:08
Directory : /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src
Total : 113 files, 5043 codes, 84 comments, 408 blanks, all 5535 lines
Languages
+----------------+------------+------------+------------+------------+------------+
| language | files | code | comment | blank | total |
+----------------+------------+------------+------------+------------+------------+
| TypeScript JSX | 76 | 3,467 | 58 | 257 | 3,782 |
| TypeScript | 27 | 1,254 | 25 | 121 | 1,400 |
| Less | 8 | 217 | 0 | 23 | 240 |
| JavaScript | 2 | 105 | 1 | 7 | 113 |
+----------------+------------+------------+------------+------------+------------+
Directories
+------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
| path | files | code | comment | blank | total |
+------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
| . | 113 | 5,043 | 84 | 408 | 5,535 |
| . (Files) | 6 | 171 | 7 | 35 | 213 |
| components | 17 | 1,099 | 44 | 89 | 1,232 |
| components (Files) | 5 | 264 | 33 | 29 | 326 |
| components/form | 5 | 380 | 1 | 26 | 407 |
| components/layout | 3 | 215 | 1 | 13 | 229 |
| components/map | 4 | 240 | 9 | 21 | 270 |
| create | 2 | 105 | 1 | 7 | 113 |
| model | 1 | 34 | 0 | 2 | 36 |
| pages | 55 | 2,349 | 15 | 163 | 2,527 |
| pages/charity | 5 | 182 | 0 | 9 | 191 |
| pages/charity (Files) | 1 | 9 | 0 | 3 | 12 |
| pages/charity/af | 1 | 8 | 0 | 0 | 8 |
| pages/charity/artic | 2 | 157 | 0 | 6 | 163 |
| pages/charity/setting | 1 | 8 | 0 | 0 | 8 |
| pages/city | 9 | 567 | 4 | 30 | 601 |
| pages/city (Files) | 3 | 142 | 1 | 9 | 152 |
| pages/city/food | 2 | 142 | 1 | 7 | 150 |
| pages/city/history | 2 | 141 | 1 | 7 | 149 |
| pages/city/hum_intro | 2 | 142 | 1 | 7 | 150 |
| pages/dashbord | 2 | 27 | 0 | 3 | 30 |
| pages/login | 2 | 139 | 0 | 10 | 149 |
| pages/order | 2 | 133 | 1 | 6 | 140 |
| pages/rbac | 10 | 309 | 0 | 32 | 341 |
| pages/rbac (Files) | 1 | 9 | 0 | 3 | 12 |
| pages/rbac/dep | 1 | 4 | 0 | 1 | 5 |
| pages/rbac/menu | 3 | 144 | 0 | 13 | 157 |
| pages/rbac/org | 1 | 4 | 0 | 1 | 5 |
| pages/rbac/role | 3 | 144 | 0 | 13 | 157 |
| pages/rbac/staff | 1 | 4 | 0 | 1 | 5 |
| pages/sku | 12 | 641 | 9 | 40 | 690 |
| pages/sku (Files) | 1 | 9 | 0 | 3 | 12 |
| pages/sku/brand | 1 | 8 | 0 | 2 | 10 |
| pages/sku/cat | 2 | 128 | 1 | 8 | 137 |
| pages/sku/sku | 4 | 274 | 6 | 13 | 293 |
| pages/sku/spec | 2 | 110 | 1 | 7 | 118 |
| pages/sku/tag | 2 | 112 | 1 | 7 | 120 |
| pages/sys | 10 | 191 | 0 | 23 | 214 |
| pages/sys (Files) | 1 | 9 | 0 | 3 | 12 |
| pages/sys/app | 3 | 117 | 0 | 9 | 126 |
| pages/sys/don | 3 | 41 | 0 | 5 | 46 |
| pages/sys/keywod | 1 | 8 | 0 | 2 | 10 |
| pages/sys/notic | 1 | 8 | 0 | 2 | 10 |
| pages/sys/version | 1 | 8 | 0 | 2 | 10 |
| pages/user | 3 | 160 | 1 | 10 | 171 |
| router | 7 | 274 | 3 | 11 | 288 |
| router (Files) | 1 | 48 | 3 | 3 | 54 |
| router/routers | 6 | 226 | 0 | 8 | 234 |
| service | 2 | 176 | 3 | 13 | 192 |
| store | 11 | 353 | 7 | 32 | 392 |
| util | 12 | 482 | 4 | 56 | 542 |
| util (Files) | 5 | 344 | 3 | 28 | 375 |
| util/context | 2 | 31 | 0 | 8 | 39 |
| util/hooks | 4 | 74 | 0 | 11 | 85 |
| util/model | 1 | 33 | 1 | 9 | 43 |
+------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
Files
+------------------------------------------------------------------------------------------------+----------------+------------+------------+------------+------------+
| filename | language | code | comment | blank | total |
+------------------------------------------------------------------------------------------------+----------------+------------+------------+------------+------------+
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/App.tsx | TypeScript JSX | 9 | 0 | 2 | 11 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/ali_upload.tsx | TypeScript JSX | 71 | 0 | 7 | 78 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/b_table.tsx | TypeScript JSX | 101 | 0 | 4 | 105 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/edittor.tsx | TypeScript JSX | 69 | 6 | 8 | 83 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/errorComp.tsx | TypeScript JSX | 20 | 1 | 5 | 26 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/form/dump_seleft.tsx | TypeScript JSX | 33 | 0 | 3 | 36 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/form/featch_select.tsx | TypeScript JSX | 51 | 0 | 10 | 61 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/form/interface.ts | TypeScript | 67 | 0 | 8 | 75 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/form/select.tsx | TypeScript JSX | 30 | 0 | 1 | 31 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/form/simple_form.tsx | TypeScript JSX | 199 | 1 | 4 | 204 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/layout/layout.less | Less | 34 | 0 | 5 | 39 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/layout/layout.tsx | TypeScript JSX | 94 | 1 | 6 | 101 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/layout/layout_config.tsx | TypeScript JSX | 87 | 0 | 2 | 89 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/map/MapComponent.tsx | TypeScript JSX | 49 | 3 | 8 | 60 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/map/MapContainer.less | Less | 5 | 0 | 0 | 5 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/map/MapFrom.tsx | TypeScript JSX | 59 | 2 | 6 | 67 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/map/mapUtil.ts | TypeScript | 127 | 4 | 7 | 138 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/components/video_select.tsx | TypeScript JSX | 3 | 26 | 5 | 34 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/create/create_page.js | JavaScript | 82 | 1 | 4 | 87 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/create/create_store.js | JavaScript | 23 | 0 | 3 | 26 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/index.less | Less | 78 | 0 | 10 | 88 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/index.tsx | TypeScript JSX | 16 | 0 | 4 | 20 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/model/userModel.ts | TypeScript | 34 | 0 | 2 | 36 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/charity/af/index.tsx | TypeScript JSX | 8 | 0 | 0 | 8 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/charity/artic/artic_config.tsx | TypeScript JSX | 55 | 0 | 2 | 57 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/charity/artic/index.tsx | TypeScript JSX | 102 | 0 | 4 | 106 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/charity/index.tsx | TypeScript JSX | 9 | 0 | 3 | 12 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/charity/setting/index.tsx | TypeScript JSX | 8 | 0 | 0 | 8 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/city/config.tsx | TypeScript JSX | 62 | 0 | 2 | 64 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/city/food/config.tsx | TypeScript JSX | 67 | 0 | 3 | 70 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/city/food/index.tsx | TypeScript JSX | 75 | 1 | 4 | 80 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/city/history/config.tsx | TypeScript JSX | 67 | 0 | 3 | 70 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/city/history/index.tsx | TypeScript JSX | 74 | 1 | 4 | 79 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/city/hum_intro/config.tsx | TypeScript JSX | 67 | 0 | 3 | 70 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/city/hum_intro/index.tsx | TypeScript JSX | 75 | 1 | 4 | 80 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/city/index.tsx | TypeScript JSX | 9 | 0 | 3 | 12 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/city/list.tsx | TypeScript JSX | 71 | 1 | 4 | 76 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/dashbord/index.less | Less | 8 | 0 | 0 | 8 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/dashbord/index.tsx | TypeScript JSX | 19 | 0 | 3 | 22 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/login/login.less | Less | 68 | 0 | 8 | 76 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/login/login.tsx | TypeScript JSX | 71 | 0 | 2 | 73 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/order/config.tsx | TypeScript JSX | 62 | 0 | 2 | 64 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/order/index.tsx | TypeScript JSX | 71 | 1 | 4 | 76 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/rbac/dep/index.tsx | TypeScript JSX | 4 | 0 | 1 | 5 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/rbac/index.tsx | TypeScript JSX | 9 | 0 | 3 | 12 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/rbac/menu/index.tsx | TypeScript JSX | 45 | 0 | 6 | 51 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/rbac/menu/menu.less | Less | 8 | 0 | 0 | 8 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/rbac/menu/menu_config.tsx | TypeScript JSX | 91 | 0 | 7 | 98 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/rbac/org/index.tsx | TypeScript JSX | 4 | 0 | 1 | 5 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/rbac/role/index.tsx | TypeScript JSX | 45 | 0 | 6 | 51 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/rbac/role/role.less | Less | 8 | 0 | 0 | 8 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/rbac/role/role_config.tsx | TypeScript JSX | 91 | 0 | 7 | 98 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/rbac/staff/index.tsx | TypeScript JSX | 4 | 0 | 1 | 5 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/brand/index.tsx | TypeScript JSX | 8 | 0 | 2 | 10 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/cat/config.tsx | TypeScript JSX | 50 | 0 | 2 | 52 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/cat/index.tsx | TypeScript JSX | 78 | 1 | 6 | 85 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/index.tsx | TypeScript JSX | 9 | 0 | 3 | 12 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/sku/config.tsx | TypeScript JSX | 35 | 4 | 2 | 41 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/sku/index.tsx | TypeScript JSX | 36 | 1 | 4 | 41 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/sku/sku_add.tsx | TypeScript JSX | 143 | 1 | 4 | 148 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/sku/sku_add_config.tsx | TypeScript JSX | 60 | 0 | 3 | 63 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/spec/config.tsx | TypeScript JSX | 39 | 0 | 2 | 41 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/spec/index.tsx | TypeScript JSX | 71 | 1 | 5 | 77 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/tag/config.tsx | TypeScript JSX | 41 | 0 | 2 | 43 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sku/tag/index.tsx | TypeScript JSX | 71 | 1 | 5 | 77 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sys/app/banner.tsx | TypeScript JSX | 46 | 0 | 3 | 49 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sys/app/hp_banner.tsx | TypeScript JSX | 46 | 0 | 3 | 49 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sys/app/index.tsx | TypeScript JSX | 25 | 0 | 3 | 28 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sys/don/don_rule_setting.tsx | TypeScript JSX | 8 | 0 | 1 | 9 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sys/don/don_setting.tsx | TypeScript JSX | 8 | 0 | 1 | 9 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sys/don/index.tsx | TypeScript JSX | 25 | 0 | 3 | 28 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sys/index.tsx | TypeScript JSX | 9 | 0 | 3 | 12 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sys/keywod/index.tsx | TypeScript JSX | 8 | 0 | 2 | 10 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sys/notic/index.tsx | TypeScript JSX | 8 | 0 | 2 | 10 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/sys/version/index.tsx | TypeScript JSX | 8 | 0 | 2 | 10 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/user/user.less | Less | 8 | 0 | 0 | 8 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/user/user.tsx | TypeScript JSX | 68 | 1 | 6 | 75 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/pages/user/user_config.tsx | TypeScript JSX | 84 | 0 | 4 | 88 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/react-app-env.d.ts | TypeScript | 54 | 3 | 15 | 72 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/reportWebVitals.ts | TypeScript | 13 | 0 | 3 | 16 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/router/index.tsx | TypeScript JSX | 48 | 3 | 3 | 54 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/router/routers/charity.tsx | TypeScript JSX | 31 | 0 | 1 | 32 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/router/routers/city_router.tsx | TypeScript JSX | 38 | 0 | 1 | 39 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/router/routers/home_router.tsx | TypeScript JSX | 15 | 0 | 1 | 16 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/router/routers/rbac_router.tsx | TypeScript JSX | 45 | 0 | 1 | 46 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/router/routers/sku_router.tsx | TypeScript JSX | 52 | 0 | 1 | 53 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/router/routers/sys_router.tsx | TypeScript JSX | 45 | 0 | 3 | 48 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/service/base.ts | TypeScript | 96 | 3 | 3 | 102 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/service/config.ts | TypeScript | 80 | 0 | 10 | 90 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/setupTests.ts | TypeScript | 1 | 4 | 1 | 6 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/store/artic.ts | TypeScript | 12 | 0 | 3 | 15 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/store/baseStore.ts | TypeScript | 108 | 5 | 6 | 119 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/store/city.ts | TypeScript | 33 | 0 | 4 | 37 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/store/index.ts | TypeScript | 24 | 0 | 2 | 26 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/store/order.tsx | TypeScript JSX | 12 | 0 | 3 | 15 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/store/sku.ts | TypeScript | 26 | 1 | 1 | 28 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/store/skuCat.ts | TypeScript | 12 | 0 | 1 | 13 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/store/skuSpec.ts | TypeScript | 12 | 0 | 1 | 13 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/store/sysStore.ts | TypeScript | 36 | 1 | 5 | 42 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/store/tag.ts | TypeScript | 12 | 0 | 1 | 13 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/store/user.ts | TypeScript | 66 | 0 | 5 | 71 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/config.ts | TypeScript | 4 | 1 | 1 | 6 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/context/auth_context.tsx | TypeScript JSX | 25 | 0 | 5 | 30 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/context/index.tsx | TypeScript JSX | 6 | 0 | 3 | 9 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/hooks/friend.tsx | TypeScript JSX | 10 | 0 | 5 | 15 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/hooks/use_async.ts | TypeScript | 50 | 0 | 4 | 54 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/hooks/use_permission.ts | TypeScript | 12 | 0 | 1 | 13 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/hooks/use_project.ts | TypeScript | 2 | 0 | 1 | 3 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/model/interface.ts | TypeScript | 33 | 1 | 9 | 43 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/oss.ts | TypeScript | 24 | 0 | 1 | 25 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/socket.ts | TypeScript | 126 | 0 | 18 | 144 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/util.ts | TypeScript | 16 | 0 | 3 | 19 |
| /Users/wang_yp/Documents/work/wang_yp/ball/ball_admin/src/util/webRtc.ts | TypeScript | 174 | 2 | 5 | 181 |
| Total | | 5,043 | 84 | 408 | 5,535 |
+------------------------------------------------------------------------------------------------+----------------+------------+------------+------------+------------+

View File

@ -94,7 +94,7 @@
"build": "node scripts/build.js",
"test": "node scripts/test.js"
},
"proxy":"http://127.0.0.1:12214/v1",
"proxy":"http://127.0.0.1:12216/v1",
"eslintConfig": {
"extends": [
"react-app",

View File

@ -23,6 +23,7 @@ export interface FormDatas {
name: string,
value: any,
selectUrl?: string,
key?: string,
selectList?: Array<selectItem>
checkboxData?: Array<any>,
radioData?: Array<any>,

View File

@ -17,10 +17,10 @@ export const FormSelect = (v: FormDatas) => {
return (
<Form.Item key={v.label} label={v.label} name={v.name} rules={v.rules}>
<Select placeholder="">
{list?.map((v: any) => {
{list?.map((item: any) => {
return (
<Option key={v.id} value={v.id}>
{v.name}
<Option key={item.id} value={item.id}>
{item[v.key ?? "name"]}
</Option>
);
})}

View File

@ -0,0 +1,84 @@
import { FormType } from "@/components/form/interface";
import { UserDataType } from "@/model/userModel";
import { DepConfig } from "@/service/user_config";
import { ColumnsType } from "antd/lib/table";
export const defaultConfig = [
{
type: FormType.input,
label: "部门名称",
name: "dep_name",
value: "",
rules: [{ required: true, message: "请输入部门名称!" }],
},
{
type: FormType.input,
label: "部门描述",
name: "desc",
value: "",
rules: [{ required: true, message: "请输入部门描述" }],
},
{
type: FormType.input,
label: "负责人",
name: "head",
value: "",
rules: [{ required: true, message: "请输入负责人" }],
},
{
type: FormType.input,
label: "部门电话",
name: "phone",
value: "",
rules: [{ required: true, message: "请输入部门电话" }],
},
{
type: FormType.input,
label: "部门邮箱",
name: "email",
value: "",
rules: [{ required: true, message: "请输入部门邮箱" }],
},
{
type: FormType.select,
label: "上级部门",
name: "p_id",
value: 0,
selectUrl:DepConfig.LIST,
key:"dep_name",
rules: [],
},
];
export const columns: ColumnsType<UserDataType> = [
{
title: "部门名称",
dataIndex: "dep_name",
width: 200,
fixed: "left",
},
{
title: "部门描述",
dataIndex: "dep_desc",
},
{
title: "负责人",
dataIndex: "head",
},
{
title: "部门电话",
width: 150,
dataIndex: "phone",
},
{
title: "部门邮箱",
width: 150,
dataIndex: "email",
},
{
title: "上级部门名称",
width: 150,
dataIndex: "email",
},
];

View File

@ -4,18 +4,23 @@ import BTable from "@/components/b_table";
import { useEffect, useState } from "react";
import { Store } from "antd/lib/form/interface";
import React from "react";
import { columns } from "./permission_config";
import "./permission.less";
import { columns, defaultConfig } from "./dep_config";
import "./dep.less";
import SimpleForm from "@/components/form/simple_form";
const Dep = (props: Store) => {
const { usrStore } = props;
const { depStore } = props;
const [isModalOpen, setIsModalOpen] = useState<boolean>(false);
const formRef = React.useRef<FormInstance>(null);
const [userId, setId] = useState<Number | null>(null);
const [record, setRecord] = useState<any>(null);
useEffect(() => {
depStore.getlist();
}, []);
useEffect(() => {}, []);
const addHandler = () => {};
const addHandler = () => {
setIsModalOpen(true);
};
return (
<div className="contentBox">
<Space direction="vertical" size="middle" style={{ display: "flex" }}>
@ -23,14 +28,14 @@ const Dep = (props: Store) => {
</Button>
<BTable
store={usrStore}
store={depStore}
scroll={{ x: "max-content" }}
columns={columns}
dataSource={usrStore.list}
dataSource={depStore.list}
/>
<Modal
title={!userId ? "添加权限" : "编辑权限"}
title={!userId ? "添加" : "编辑"}
width={800}
open={isModalOpen}
afterClose={() => formRef.current?.resetFields()}
@ -41,10 +46,23 @@ const Dep = (props: Store) => {
setId(null);
setIsModalOpen(false);
}}
></Modal>
>
<SimpleForm
formName={"user_form"}
formRef={formRef}
colProps={25}
onFinish={() => {
depStore.add(formRef.current?.getFieldsValue());
}}
createCallback={() => {
formRef.current?.setFieldsValue(record);
}}
formDatas={defaultConfig}
></SimpleForm>
</Modal>
</Space>
</div>
);
};
export default inject("usrStore")(observer(Dep));
export default inject("depStore")(observer(Dep));

View File

@ -1,97 +0,0 @@
import { FormType } from "@/components/form/interface";
import { UserDataType } from "@/model/userModel";
import { ColumnsType } from "antd/lib/table";
import { Image } from "antd";
import { getBirthDateAndGender } from "@/util/util";
export const defaultConfig = (team, per) => [
{
type: FormType.input,
label: "用户名",
name: "user_name",
value: "",
rules: [{ required: true, message: "请输入用户名称!" }],
},
{
type: FormType.inputNumber,
label: "年龄",
name: "age",
value: "",
rules: [{ required: true, message: "请输入年龄" }],
},
{
type: FormType.input,
label: "身份证",
name: "id_card",
value: "",
rules: [{ required: true, message: "请输入身份证" }],
},
{
type: FormType.input,
label: "登录账号",
name: "account",
value: "",
rules: [{ required: true, message: "请输入登录账号" }],
},
{
type: FormType.input,
label: "联系电话",
name: "tel",
value: "",
},
{
type: FormType.input,
label: "邮箱",
name: "email",
value: "",
},
{
type: FormType.upload,
label: "头像",
name: "head_img",
value: [],
},
];
export const columns: ColumnsType<UserDataType> = [
{
title: "用户名",
dataIndex: "user_name",
width: 200,
fixed: "left",
},
{
title: "性别",
width: 150,
render: (render) => (
<span>{getBirthDateAndGender(render.id_card)?.gender}</span>
),
},
{
title: "头像",
dataIndex: "head_img",
width: 150,
render: (head_img) => {
return <Image src={head_img}></Image>;
},
},
{
title: "登录账号",
width: 150,
dataIndex: "account",
},
{
title: "身份证",
width: 150,
dataIndex: "id_card",
},
{
title: "联系电话",
width: 150,
dataIndex: "tel",
},
];

View File

@ -7,6 +7,7 @@ import Source from "@/pages/source/source";
import Menu from "@/pages/menu";
import Role from "@/pages/role";
import Permission from "@/pages/permission";
import Dep from "@/pages/dep";
const routers = createHashRouter([
{
@ -35,7 +36,7 @@ const routers = createHashRouter([
}, {
path: "/permi/dep",
index: true,
element: <Permission />,
element: <Dep />,
},
{
path: "/permi/menu",

View File

@ -6,8 +6,6 @@ class UserConfig {
static DELETE: string = "/user";
}
class RoleConfig {
static ADD: string = "/role";
static EDIT: string = "/role";
@ -23,4 +21,12 @@ class MenuConfig {
}
export { RoleConfig, UserConfig,MenuConfig };
class DepConfig {
static ADD: string = "/dep";
static EDIT: string = "/dep";
static LIST: string = "/dep/list";
static DELETE: string = "/dep";
}
export { RoleConfig, UserConfig, MenuConfig, DepConfig };

View File

@ -30,7 +30,6 @@ class BaseStore<B> implements BaseStoreInterface<B> {
add: action,
listStatus: observable,
})
console.log(urlConfig)
this.urlConfig = urlConfig;
}

14
src/store/dep.ts Normal file
View File

@ -0,0 +1,14 @@
import { makeObservable } from "mobx";
import BaseStore from "./baseStore";
import { UserDataType } from "@/model/userModel";
import { DepConfig } from "@/service/user_config";
class DepStore extends BaseStore<UserDataType> {
constructor() {
super(DepConfig)
makeObservable(this, {
})
}
}
const depStore = new DepStore();
export default depStore;

View File

@ -2,12 +2,14 @@ import usrStore from '@/store/user'
import sourceStore from '@/store/source';
import roleStore from './role';
import menuStore from './menu';
import depStore from './dep';
const store = {
usrStore,
sourceStore,
roleStore,
menuStore,
depStore
};
export default store;

View File

@ -1,4 +1,4 @@
class Config {
static baseUrl = "https://hj.quwanya.cn/v1";
static baseUrl = "/";
}
export default Config;