diff --git a/README.md b/README.md index 5469fe89..895898a6 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,14 @@ `rootadmin` 默认开放多点登录,其他新建的账号默认都是单点登录。建议自己拉后端代码到本地跑,避免多人同时操作时产生冲突和误解。 +### todolist + +- [x] 动态表格(完善中) +- [x] 动态表单(完善中) +- [ ] 电商 SKU 功能演示 +- [ ] 纯前端导出 PDF 动态分页 +- [ ] 其他... + ## Project setup ```shell @@ -30,7 +38,7 @@ yarn install yarn --frozen-lockfile ``` -## 捐赠 +## 赞赏 如果你觉得这个项目对你有帮助,你可以帮作者买一杯咖啡表示支持! diff --git a/package.json b/package.json index d791b185..332f9c20 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "@commitlint/cli": "^15.0.0", "@commitlint/config-conventional": "^15.0.0", "@types/lodash": "^4.14.178", - "@types/node": "^16.11.12", + "@types/node": "^16.11.13", "@typescript-eslint/eslint-plugin": "^5.7.0", "@typescript-eslint/parser": "^5.7.0", "@vitejs/plugin-legacy": "^1.6.4", diff --git a/src/core/permission/utils.ts b/src/core/permission/utils.ts index 7cbcae99..55aa3247 100644 --- a/src/core/permission/utils.ts +++ b/src/core/permission/utils.ts @@ -1,6 +1,6 @@ import type { TreeDataItem as ATreeDataItem } from 'ant-design-vue/lib/tree/Tree'; -interface TreeDataItem extends ATreeDataItem { +export interface TreeDataItem extends ATreeDataItem { children: any; } diff --git a/src/views/system/permission/menu/columns.tsx b/src/views/system/permission/menu/columns.tsx index 8ac28ede..424be833 100644 --- a/src/views/system/permission/menu/columns.tsx +++ b/src/views/system/permission/menu/columns.tsx @@ -92,7 +92,7 @@ export const getColumns = (columnParams: ColumnsParams): TableColumn openMenuModal(record), diff --git a/src/views/system/permission/menu/index.vue b/src/views/system/permission/menu/index.vue index 6feefcc5..4d1eb25a 100644 --- a/src/views/system/permission/menu/index.vue +++ b/src/views/system/permission/menu/index.vue @@ -13,7 +13,9 @@ :scroll="{ x: 2000 }" > diff --git a/src/views/system/permission/role/index.vue b/src/views/system/permission/role/index.vue index de8b52a1..51399aee 100644 --- a/src/views/system/permission/role/index.vue +++ b/src/views/system/permission/role/index.vue @@ -10,7 +10,9 @@ size="small" > diff --git a/src/views/system/permission/user/columns.tsx b/src/views/system/permission/user/columns.tsx index df0b23f9..ce0d2bb9 100644 --- a/src/views/system/permission/user/columns.tsx +++ b/src/views/system/permission/user/columns.tsx @@ -113,14 +113,14 @@ export const getColumns = (columnParams: ColumnsParams): TableColumn openUserModal(record), }, { label: '改密', - auth: 'sys/user/update', + auth: 'sys/user/password', onClick: () => openUpdatePasswordModal(record), }, { diff --git a/src/views/system/permission/user/index.vue b/src/views/system/permission/user/index.vue index 31129582..b1274b99 100644 --- a/src/views/system/permission/user/index.vue +++ b/src/views/system/permission/user/index.vue @@ -4,7 +4,7 @@
组织架构
- + @@ -24,12 +24,18 @@ {{ title }} @@ -53,13 +59,19 @@