|
@@ -60,13 +60,14 @@ export const staffSchema = {
|
|
|
'x-component': 'Switch',
|
|
|
'x-index': 0
|
|
|
},
|
|
|
- isCreated: {
|
|
|
- type: 'boolean',
|
|
|
- title: '项目创建人',
|
|
|
+ projectLimit: {
|
|
|
+ type: 'number',
|
|
|
required: true,
|
|
|
+ title: '创建数量',
|
|
|
+ default: 3,
|
|
|
'x-decorator': 'FormItem',
|
|
|
- 'x-component': 'Switch',
|
|
|
- 'x-index': 1
|
|
|
+ 'x-component': 'NumberPicker',
|
|
|
+ 'x-index': 2
|
|
|
},
|
|
|
institutionID: {
|
|
|
type: 'string',
|
|
@@ -75,7 +76,7 @@ export const staffSchema = {
|
|
|
'x-decorator': 'FormItem',
|
|
|
'x-component': 'Select',
|
|
|
'x-disabled': true,
|
|
|
- 'x-index': 2
|
|
|
+ 'x-index': 3
|
|
|
},
|
|
|
account: {
|
|
|
type: 'string',
|
|
@@ -83,7 +84,7 @@ export const staffSchema = {
|
|
|
required: true,
|
|
|
'x-decorator': 'FormItem',
|
|
|
'x-component': 'Input',
|
|
|
- 'x-index': 3
|
|
|
+ 'x-index': 4
|
|
|
},
|
|
|
name: {
|
|
|
type: 'string',
|
|
@@ -91,7 +92,7 @@ export const staffSchema = {
|
|
|
required: true,
|
|
|
'x-decorator': 'FormItem',
|
|
|
'x-component': 'Input',
|
|
|
- 'x-index': 4
|
|
|
+ 'x-index': 5
|
|
|
},
|
|
|
password: {
|
|
|
type: 'string',
|
|
@@ -99,7 +100,7 @@ export const staffSchema = {
|
|
|
required: true,
|
|
|
'x-decorator': 'FormItem',
|
|
|
'x-component': 'Input',
|
|
|
- 'x-index': 5
|
|
|
+ 'x-index': 6
|
|
|
},
|
|
|
roleIDs: {
|
|
|
type: 'string',
|
|
@@ -110,28 +111,28 @@ export const staffSchema = {
|
|
|
'x-component-props': {
|
|
|
mode: 'multiple'
|
|
|
},
|
|
|
- 'x-index': 6
|
|
|
+ 'x-index': 7
|
|
|
},
|
|
|
organizationalStructureID: {
|
|
|
type: 'string',
|
|
|
title: '组织架构',
|
|
|
'x-decorator': 'FormItem',
|
|
|
'x-component': 'TreeSelect',
|
|
|
- 'x-index': 7
|
|
|
+ 'x-index': 8
|
|
|
},
|
|
|
position: {
|
|
|
type: 'string',
|
|
|
title: '职位',
|
|
|
'x-decorator': 'FormItem',
|
|
|
'x-component': 'Input',
|
|
|
- 'x-index': 8
|
|
|
+ 'x-index': 9
|
|
|
},
|
|
|
contactMobile: {
|
|
|
type: 'string',
|
|
|
title: '联系手机',
|
|
|
'x-decorator': 'FormItem',
|
|
|
'x-component': 'Input',
|
|
|
- 'x-index': 9,
|
|
|
+ 'x-index': 10,
|
|
|
'x-validator': [
|
|
|
{
|
|
|
pattern: '^(?:(?:\\+|00)86)?1\\d{10}$',
|
|
@@ -145,7 +146,7 @@ export const staffSchema = {
|
|
|
title: '办公电话',
|
|
|
'x-decorator': 'FormItem',
|
|
|
'x-component': 'Input',
|
|
|
- 'x-index': 10,
|
|
|
+ 'x-index': 11,
|
|
|
'x-validator': [
|
|
|
{
|
|
|
pattern: '^(?:(?:\\d{3}-)?\\d{8}|^(?:\\d{4}-)?\\d{7,8})(?:-\\d+)?$',
|