From ce03f4c9239b9530a462501d6e1a30d1661ac65e Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Mon, 27 Jun 2022 16:16:49 +0800 Subject: [PATCH] feat: user creation support Signed-off-by: Ryan Wang --- package.json | 4 +- .../shared/src/layouts/UserProfileLayout.vue | 23 +-- pnpm-lock.yaml | 14 +- src/App.vue | 5 +- src/modules/system/roles/RoleDetail.vue | 9 +- src/modules/system/users/UserList.vue | 18 +- .../users/components/UserCreationModal.vue | 167 ++++++++++++++++++ 7 files changed, 197 insertions(+), 43 deletions(-) create mode 100644 src/modules/system/users/components/UserCreationModal.vue diff --git a/package.json b/package.json index 6c54c2db..a0f4e5f4 100644 --- a/package.json +++ b/package.json @@ -34,11 +34,11 @@ "floating-vue": "2.0.0-beta.16", "lodash.clonedeep": "^4.5.0", "pinia": "^2.0.14", + "uuid": "^8.3.2", "vue": "^3.2.37", "vue-filepond": "^7.0.3", "vue-grid-layout": "3.0.0-beta1", - "vue-router": "^4.0.16", - "vue-starport": "^0.3.0" + "vue-router": "^4.0.16" }, "devDependencies": { "@rushstack/eslint-patch": "^1.1.3", diff --git a/packages/shared/src/layouts/UserProfileLayout.vue b/packages/shared/src/layouts/UserProfileLayout.vue index 6e781405..0e7501aa 100644 --- a/packages/shared/src/layouts/UserProfileLayout.vue +++ b/packages/shared/src/layouts/UserProfileLayout.vue @@ -1,9 +1,8 @@