feat: modify department id

This commit is contained in:
wangyaqi 2022-08-08 22:03:22 +08:00
parent 7478693d73
commit 3c4cdc9c33
2 changed files with 9 additions and 3 deletions

View File

@ -130,10 +130,11 @@
"title": "头像文件",
"description": "用file类型方便使用uni-file-picker组件"
},
"department_id": {
"bsonType": "array",
"d_id": {
"bsonType": "string",
"description": "部门ID",
"title": "部门",
"foreignKey": "opendb-department._id",
"enumType": "tree",
"enum": {
"collection": "opendb-department",
@ -141,6 +142,11 @@
"field": "_id as value, name as text"
}
},
"e_id": {
"bsonType": "string",
"description": "企业ID",
"title": "企业"
},
"role": {
"bsonType": "array",
"title": "角色",

View File

@ -1,6 +1,6 @@
{
"name": "@opendb/uni-id-users",
"version": "1.0.0",
"version": "1.0.1",
"description": "uni-id-users",
"keywords": ["uni-id", "用户管理", "登录", "注册"],
"opendb": {