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

View File

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