Commit 5642572e authored by 王康's avatar 王康

form

parent 1e9195fa
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
```jsx ```jsx
<hm-complex-form :tableId="tableId" <hm-complex-form :tableId="tableId"
:columns="['username', 'loginid', 'password', 'mobile', 'email']" :columns="['username', 'loginid', 'password', 'mobile', 'email','avatar','createTime','lastUpdateTime','lastLoginTime','securityLevel','type','departmentId']"
:schema="{ :schema="{
'model': 'HmUser', 'model': 'HmUser',
'modelPlural': 'HmUsers', 'modelPlural': 'HmUsers',
...@@ -196,7 +196,24 @@ ...@@ -196,7 +196,24 @@
'codeUnderscore': 'type', 'codeUnderscore': 'type',
'codeUnderscorePlural': 'types', 'codeUnderscorePlural': 'types',
'type': 'number' 'type': 'number'
} },
{
'id': 'o340',
'objectId': 'B5BCB5C5-192F-4BD0-8215-BB65A8288168',
'name': '部门id',
'code': 'department_id',
'creationDate': '1503476586',
'creator': 'yide',
'modificationDate': '1517186153',
'modifier': 'yide',
'dataType': 'varchar(128)',
'length': '128',
'codeCamel': 'departmentId',
'codeCamelPlural': 'departmentIds',
'codeUnderscore': 'department_id',
'codeUnderscorePlural': 'department_ids',
'type': 'string'
}
] ]
}"></hm-complex-form> }"></hm-complex-form>
``` ```
...@@ -207,7 +224,7 @@ ...@@ -207,7 +224,7 @@
<div> <div>
<hm-complex-form <hm-complex-form
:tableId="tableId" :tableId="tableId"
:schema="schema['CcHmUser']" :schema="schema['HmUser2']"
:columns="showUserColumns"> :columns="showUserColumns">
</hm-complex-form> </hm-complex-form>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment