|
@@ -21,19 +21,18 @@ export const projectSchema = {
|
|
|
shortName: {
|
|
|
type: 'string',
|
|
|
title: '项目简称',
|
|
|
- required: true,
|
|
|
'x-decorator': 'FormItem',
|
|
|
'x-component': 'Input',
|
|
|
'x-index': 2
|
|
|
- },
|
|
|
- projectTypeID: {
|
|
|
- type: 'string',
|
|
|
- title: '项目类型',
|
|
|
- required: true,
|
|
|
- 'x-decorator': 'FormItem',
|
|
|
- 'x-component': 'Select',
|
|
|
- 'x-index': 3
|
|
|
}
|
|
|
+ // projectTypeID: {
|
|
|
+ // type: 'string',
|
|
|
+ // title: '项目类型',
|
|
|
+ // required: true,
|
|
|
+ // 'x-decorator': 'FormItem',
|
|
|
+ // 'x-component': 'Select',
|
|
|
+ // 'x-index': 3
|
|
|
+ // }
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -46,95 +45,97 @@ export const institutionSchema = {
|
|
|
title: '企事业单位名称',
|
|
|
required: true,
|
|
|
'x-decorator': 'FormItem',
|
|
|
- 'x-component': 'Input',
|
|
|
- 'x-decorator-props': {
|
|
|
- // labelWidth: '131px'
|
|
|
- labelCol: 4
|
|
|
- }
|
|
|
+ 'x-component': 'Input'
|
|
|
},
|
|
|
- layout: {
|
|
|
- type: 'void',
|
|
|
- 'x-component': 'FormLayout',
|
|
|
- 'x-component-props': {
|
|
|
- labelCol: 8,
|
|
|
- layout: 'horizontal'
|
|
|
- },
|
|
|
- properties: {
|
|
|
- gird: {
|
|
|
- type: 'void',
|
|
|
- 'x-component': 'FormGrid',
|
|
|
- 'x-component-props': {
|
|
|
- minColumns: 1,
|
|
|
- maxColumns: 2,
|
|
|
- columnGap: 0
|
|
|
- },
|
|
|
- properties: {
|
|
|
- acronym: {
|
|
|
- type: 'string',
|
|
|
- title: '企事业单位简称',
|
|
|
- required: true,
|
|
|
- 'x-decorator': 'FormItem',
|
|
|
- 'x-component': 'Input'
|
|
|
- },
|
|
|
- enterpriseCode: {
|
|
|
- type: 'string',
|
|
|
- title: '企业编码',
|
|
|
- required: true,
|
|
|
- 'x-decorator': 'FormItem',
|
|
|
- 'x-component': 'Input'
|
|
|
- },
|
|
|
- phone: {
|
|
|
- type: 'string',
|
|
|
- title: '办公电话',
|
|
|
- 'x-decorator': 'FormItem',
|
|
|
- 'x-component': 'Input'
|
|
|
- },
|
|
|
- address: {
|
|
|
- type: 'string',
|
|
|
- title: '地址',
|
|
|
- 'x-decorator': 'FormItem',
|
|
|
- 'x-component': 'Input'
|
|
|
- },
|
|
|
- fax: {
|
|
|
- type: 'string',
|
|
|
- title: '传真号码',
|
|
|
- 'x-decorator': 'FormItem',
|
|
|
- 'x-component': 'Input'
|
|
|
- },
|
|
|
- organizationCode: {
|
|
|
- type: 'string',
|
|
|
- title: '组织架构代码',
|
|
|
- 'x-decorator': 'FormItem',
|
|
|
- 'x-component': 'Input'
|
|
|
- },
|
|
|
- bank: {
|
|
|
- type: 'string',
|
|
|
- title: '银行',
|
|
|
- 'x-decorator': 'FormItem',
|
|
|
- 'x-component': 'Input'
|
|
|
- },
|
|
|
- idCard: {
|
|
|
- type: 'string',
|
|
|
- title: '身份证号码',
|
|
|
- 'x-decorator': 'FormItem',
|
|
|
- 'x-component': 'Input'
|
|
|
- },
|
|
|
- bankAccount: {
|
|
|
- type: 'string',
|
|
|
- title: '银行账号',
|
|
|
- 'x-decorator': 'FormItem',
|
|
|
- 'x-component': 'Input'
|
|
|
- },
|
|
|
- legalPerson: {
|
|
|
- type: 'string',
|
|
|
- title: '法人代表',
|
|
|
- 'x-decorator': 'FormItem',
|
|
|
- 'x-component': 'Input'
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
+ acronym: {
|
|
|
+ type: 'string',
|
|
|
+ title: '企事业单位简称',
|
|
|
+ 'x-decorator': 'FormItem',
|
|
|
+ 'x-component': 'Input'
|
|
|
}
|
|
|
+ // layout: {
|
|
|
+ // type: 'void',
|
|
|
+ // 'x-component': 'FormLayout',
|
|
|
+ // 'x-component-props': {
|
|
|
+ // labelCol: 8,
|
|
|
+ // layout: 'horizontal'
|
|
|
+ // },
|
|
|
+ // properties: {
|
|
|
+ // gird: {
|
|
|
+ // type: 'void',
|
|
|
+ // 'x-component': 'FormGrid',
|
|
|
+ // 'x-component-props': {
|
|
|
+ // minColumns: 1,
|
|
|
+ // maxColumns: 2,
|
|
|
+ // columnGap: 0
|
|
|
+ // },
|
|
|
+ // properties: {
|
|
|
+ // acronym: {
|
|
|
+ // type: 'string',
|
|
|
+ // title: '企事业单位简称',
|
|
|
+ // required: true,
|
|
|
+ // 'x-decorator': 'FormItem',
|
|
|
+ // 'x-component': 'Input'
|
|
|
+ // },
|
|
|
+ // enterpriseCode: {
|
|
|
+ // type: 'string',
|
|
|
+ // title: '企业编码',
|
|
|
+ // required: true,
|
|
|
+ // 'x-decorator': 'FormItem',
|
|
|
+ // 'x-component': 'Input'
|
|
|
+ // },
|
|
|
+ // phone: {
|
|
|
+ // type: 'string',
|
|
|
+ // title: '办公电话',
|
|
|
+ // 'x-decorator': 'FormItem',
|
|
|
+ // 'x-component': 'Input'
|
|
|
+ // },
|
|
|
+ // address: {
|
|
|
+ // type: 'string',
|
|
|
+ // title: '地址',
|
|
|
+ // 'x-decorator': 'FormItem',
|
|
|
+ // 'x-component': 'Input'
|
|
|
+ // },
|
|
|
+ // fax: {
|
|
|
+ // type: 'string',
|
|
|
+ // title: '传真号码',
|
|
|
+ // 'x-decorator': 'FormItem',
|
|
|
+ // 'x-component': 'Input'
|
|
|
+ // },
|
|
|
+ // organizationCode: {
|
|
|
+ // type: 'string',
|
|
|
+ // title: '组织架构代码',
|
|
|
+ // 'x-decorator': 'FormItem',
|
|
|
+ // 'x-component': 'Input'
|
|
|
+ // },
|
|
|
+ // bank: {
|
|
|
+ // type: 'string',
|
|
|
+ // title: '银行',
|
|
|
+ // 'x-decorator': 'FormItem',
|
|
|
+ // 'x-component': 'Input'
|
|
|
+ // },
|
|
|
+ // idCard: {
|
|
|
+ // type: 'string',
|
|
|
+ // title: '身份证号码',
|
|
|
+ // 'x-decorator': 'FormItem',
|
|
|
+ // 'x-component': 'Input'
|
|
|
+ // },
|
|
|
+ // bankAccount: {
|
|
|
+ // type: 'string',
|
|
|
+ // title: '银行账号',
|
|
|
+ // 'x-decorator': 'FormItem',
|
|
|
+ // 'x-component': 'Input'
|
|
|
+ // },
|
|
|
+ // legalPerson: {
|
|
|
+ // type: 'string',
|
|
|
+ // title: '法人代表',
|
|
|
+ // 'x-decorator': 'FormItem',
|
|
|
+ // 'x-component': 'Input'
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // }
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -191,41 +192,33 @@ export const staffSchema = {
|
|
|
'x-component': 'Input',
|
|
|
'x-index': 5
|
|
|
},
|
|
|
- accountType: {
|
|
|
- type: 'string',
|
|
|
- title: '账号类型',
|
|
|
- required: true,
|
|
|
- 'x-decorator': 'FormItem',
|
|
|
- 'x-component': 'Select',
|
|
|
- 'x-index': 6
|
|
|
- },
|
|
|
+ // accountType: {
|
|
|
+ // type: 'string',
|
|
|
+ // title: '账号类型',
|
|
|
+ // required: true,
|
|
|
+ // 'x-decorator': 'FormItem',
|
|
|
+ // 'x-component': 'Select',
|
|
|
+ // 'x-index': 6
|
|
|
+ // },
|
|
|
organizationalStructureID: {
|
|
|
type: 'string',
|
|
|
title: '组织架构',
|
|
|
'x-decorator': 'FormItem',
|
|
|
'x-component': 'TreeSelect',
|
|
|
'x-index': 7
|
|
|
- },
|
|
|
- gender: {
|
|
|
- type: 'string',
|
|
|
- title: '性别',
|
|
|
- required: true,
|
|
|
- 'x-decorator': 'FormItem',
|
|
|
- 'x-component': 'Select',
|
|
|
- 'x-index': 8,
|
|
|
- enum: [
|
|
|
- { label: '男', value: '0' },
|
|
|
- { label: '女', value: '1' }
|
|
|
- ]
|
|
|
- },
|
|
|
- phone: {
|
|
|
- type: 'string',
|
|
|
- title: '手机',
|
|
|
- required: true,
|
|
|
- 'x-decorator': 'FormItem',
|
|
|
- 'x-component': 'Input',
|
|
|
- 'x-index': 9
|
|
|
}
|
|
|
+ // gender: {
|
|
|
+ // type: 'string',
|
|
|
+ // title: '性别',
|
|
|
+ // required: true,
|
|
|
+ // 'x-decorator': 'FormItem',
|
|
|
+ // 'x-component': 'Select',
|
|
|
+ // 'x-index': 8,
|
|
|
+ // enum: [
|
|
|
+ // { label: '男', value: '0' },
|
|
|
+ // { label: '女', value: '1' }
|
|
|
+ // ]
|
|
|
+ // },
|
|
|
}
|
|
|
}
|
|
|
|