|
@@ -12,101 +12,110 @@ Input.Behavior = createBehavior(
|
|
|
{
|
|
|
name: 'Input',
|
|
|
extends: ['Field'],
|
|
|
- selector: node => node.props['name'] === 'gsCode',
|
|
|
+ selector: node => node.props['name'] === 'gcName',
|
|
|
designerProps: {
|
|
|
propsSchema: createFieldSchema(AllSchemas.Input)
|
|
|
},
|
|
|
- designerLocales: { 'zh-CN': { ...AllLocales.Input['zh-CN'], title: '项目编号' } }
|
|
|
+ designerLocales: { 'zh-CN': { ...AllLocales.Input['zh-CN'], title: '工程名称' } }
|
|
|
},
|
|
|
{
|
|
|
name: 'Input',
|
|
|
extends: ['Field'],
|
|
|
- selector: node => node.props['name'] === 'gsName',
|
|
|
+ selector: node => node.props['name'] === 'bScaleUnit',
|
|
|
designerProps: {
|
|
|
propsSchema: createFieldSchema(AllSchemas.Input)
|
|
|
},
|
|
|
- designerLocales: { 'zh-CN': { ...AllLocales.Input['zh-CN'], title: '项目名称' } }
|
|
|
+ designerLocales: { 'zh-CN': { ...AllLocales.Input['zh-CN'], title: '建设规模(单位)' } }
|
|
|
},
|
|
|
{
|
|
|
name: 'Input',
|
|
|
extends: ['Field'],
|
|
|
- selector: node => node.props['name'] === 'gcName',
|
|
|
+ selector: node => node.props['name'] === 'gzAddress',
|
|
|
designerProps: {
|
|
|
propsSchema: createFieldSchema(AllSchemas.Input)
|
|
|
},
|
|
|
- designerLocales: { 'zh-CN': { ...AllLocales.Input['zh-CN'], title: '工程名称' } }
|
|
|
+ designerLocales: { 'zh-CN': { ...AllLocales.Input['zh-CN'], title: '工程地址' } }
|
|
|
},
|
|
|
{
|
|
|
name: 'Input',
|
|
|
extends: ['Field'],
|
|
|
- selector: node => node.props['name'] === 'gzAddress',
|
|
|
+ selector: node => node.props['name'] === 'ministry',
|
|
|
designerProps: {
|
|
|
propsSchema: createFieldSchema(AllSchemas.Input)
|
|
|
},
|
|
|
- designerLocales: { 'zh-CN': { ...AllLocales.Input['zh-CN'], title: '工程地址' } }
|
|
|
+ designerLocales: { 'zh-CN': { ...AllLocales.Input['zh-CN'], title: '行业主管部门' } }
|
|
|
},
|
|
|
{
|
|
|
name: 'Input',
|
|
|
extends: ['Field'],
|
|
|
- selector: node => node.props['name'] === 'institution',
|
|
|
+ selector: node => node.props['name'] === 'institutionID',
|
|
|
designerProps: {
|
|
|
propsSchema: createFieldSchema(AllSchemas.Input)
|
|
|
},
|
|
|
- designerLocales: { 'zh-CN': { ...AllLocales.Input['zh-CN'], title: '单位' } }
|
|
|
+ designerLocales: { 'zh-CN': { ...AllLocales.Input['zh-CN'], title: '建设单位' } }
|
|
|
},
|
|
|
{
|
|
|
name: 'Input',
|
|
|
extends: ['Field'],
|
|
|
- selector: node => node.props['name'] === 'ministry',
|
|
|
+ selector: node => node.props['name'] === 'reviewerMobile',
|
|
|
designerProps: {
|
|
|
propsSchema: createFieldSchema(AllSchemas.Input)
|
|
|
},
|
|
|
- designerLocales: { 'zh-CN': { ...AllLocales.Input['zh-CN'], title: '行业主管部门' } }
|
|
|
+ designerLocales: { 'zh-CN': { ...AllLocales.Input['zh-CN'], title: '报审人手机' } }
|
|
|
},
|
|
|
{
|
|
|
name: 'Input',
|
|
|
extends: ['Field'],
|
|
|
- selector: node => node.props['name'] === 'bUnit',
|
|
|
+ selector: node => node.props['name'] === 'reviewerMail',
|
|
|
designerProps: {
|
|
|
propsSchema: createFieldSchema(AllSchemas.Input)
|
|
|
},
|
|
|
- designerLocales: { 'zh-CN': { ...AllLocales.Input['zh-CN'], title: '建设单位' } }
|
|
|
+ designerLocales: { 'zh-CN': { ...AllLocales.Input['zh-CN'], title: '报审人邮箱' } }
|
|
|
},
|
|
|
{
|
|
|
name: 'Input',
|
|
|
extends: ['Field'],
|
|
|
- selector: node => node.props['name'] === 'fax',
|
|
|
+ selector: node => node.props['name'] === 'reviewerLandline',
|
|
|
designerProps: {
|
|
|
propsSchema: createFieldSchema(AllSchemas.Input)
|
|
|
},
|
|
|
- designerLocales: { 'zh-CN': { ...AllLocales.Input['zh-CN'], title: '传真' } }
|
|
|
+ designerLocales: { 'zh-CN': { ...AllLocales.Input['zh-CN'], title: '报审人座机' } }
|
|
|
},
|
|
|
{
|
|
|
name: 'Input',
|
|
|
extends: ['Field'],
|
|
|
- selector: node => node.props['name'] === 'pCorporation',
|
|
|
+ selector: node => node.props['name'] === 'pMobile',
|
|
|
designerProps: {
|
|
|
propsSchema: createFieldSchema(AllSchemas.Input)
|
|
|
},
|
|
|
- designerLocales: { 'zh-CN': { ...AllLocales.Input['zh-CN'], title: '项目法人' } }
|
|
|
+ designerLocales: { 'zh-CN': { ...AllLocales.Input['zh-CN'], title: '项目联系手机' } }
|
|
|
},
|
|
|
{
|
|
|
name: 'Input',
|
|
|
extends: ['Field'],
|
|
|
- selector: node => node.props['name'] === 'pMobile',
|
|
|
+ selector: node => node.props['name'] === 'pMail',
|
|
|
designerProps: {
|
|
|
propsSchema: createFieldSchema(AllSchemas.Input)
|
|
|
},
|
|
|
- designerLocales: { 'zh-CN': { ...AllLocales.Input['zh-CN'], title: '联系电话' } }
|
|
|
+ designerLocales: { 'zh-CN': { ...AllLocales.Input['zh-CN'], title: '项目联系人邮箱' } }
|
|
|
},
|
|
|
{
|
|
|
name: 'Input',
|
|
|
extends: ['Field'],
|
|
|
- selector: node => node.props['name'] === 'pMail',
|
|
|
+ selector: node => node.props['name'] === 'projectContactLandline',
|
|
|
designerProps: {
|
|
|
propsSchema: createFieldSchema(AllSchemas.Input)
|
|
|
},
|
|
|
- designerLocales: { 'zh-CN': { ...AllLocales.Input['zh-CN'], title: '项目联系人邮箱' } }
|
|
|
+ designerLocales: { 'zh-CN': { ...AllLocales.Input['zh-CN'], title: '项目联系人座机' } }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'Input.TextArea',
|
|
|
+ extends: ['Field'],
|
|
|
+ selector: node => node.props['name'] === 'reportingInstructions',
|
|
|
+ designerProps: {
|
|
|
+ propsSchema: createFieldSchema(AllSchemas.Input.TextArea)
|
|
|
+ },
|
|
|
+ designerLocales: { 'zh-CN': { ...AllLocales.Input['zh-CN'], title: '报审说明' } }
|
|
|
}
|
|
|
)
|
|
|
|
|
@@ -118,9 +127,13 @@ Input.Resource = createResource(
|
|
|
componentName: 'Field',
|
|
|
props: {
|
|
|
type: 'string',
|
|
|
- title: '项目编号',
|
|
|
- name: 'gsCode',
|
|
|
+ title: '工程名称(业务名称)',
|
|
|
+ name: 'gcName',
|
|
|
+ required: true,
|
|
|
'x-decorator': 'FormItem',
|
|
|
+ 'x-component-props': {
|
|
|
+ placeholder: '请输入'
|
|
|
+ },
|
|
|
'x-component': 'Input'
|
|
|
}
|
|
|
}
|
|
@@ -133,9 +146,12 @@ Input.Resource = createResource(
|
|
|
componentName: 'Field',
|
|
|
props: {
|
|
|
type: 'string',
|
|
|
- title: '项目名称',
|
|
|
- name: 'gsName',
|
|
|
+ title: '',
|
|
|
+ name: 'bScaleUnit',
|
|
|
'x-decorator': 'FormItem',
|
|
|
+ 'x-component-props': {
|
|
|
+ placeholder: '请输入单位(㎡)'
|
|
|
+ },
|
|
|
'x-component': 'Input'
|
|
|
}
|
|
|
}
|
|
@@ -148,9 +164,12 @@ Input.Resource = createResource(
|
|
|
componentName: 'Field',
|
|
|
props: {
|
|
|
type: 'string',
|
|
|
- title: '工程名称',
|
|
|
- name: 'gcName',
|
|
|
+ title: '工程地址',
|
|
|
+ name: 'gzAddress',
|
|
|
'x-decorator': 'FormItem',
|
|
|
+ 'x-component-props': {
|
|
|
+ placeholder: '请输入'
|
|
|
+ },
|
|
|
'x-component': 'Input'
|
|
|
}
|
|
|
}
|
|
@@ -163,9 +182,12 @@ Input.Resource = createResource(
|
|
|
componentName: 'Field',
|
|
|
props: {
|
|
|
type: 'string',
|
|
|
- title: '工程地址',
|
|
|
- name: 'gzAddress',
|
|
|
+ title: '建设单位',
|
|
|
+ name: 'institutionID',
|
|
|
'x-decorator': 'FormItem',
|
|
|
+ 'x-component-props': {
|
|
|
+ placeholder: '请输入'
|
|
|
+ },
|
|
|
'x-component': 'Input'
|
|
|
}
|
|
|
}
|
|
@@ -178,9 +200,12 @@ Input.Resource = createResource(
|
|
|
componentName: 'Field',
|
|
|
props: {
|
|
|
type: 'string',
|
|
|
- title: '单位',
|
|
|
- name: 'institution',
|
|
|
+ title: '行业主管部门',
|
|
|
+ name: 'ministry',
|
|
|
'x-decorator': 'FormItem',
|
|
|
+ 'x-component-props': {
|
|
|
+ placeholder: '请输入'
|
|
|
+ },
|
|
|
'x-component': 'Input'
|
|
|
}
|
|
|
}
|
|
@@ -193,9 +218,14 @@ Input.Resource = createResource(
|
|
|
componentName: 'Field',
|
|
|
props: {
|
|
|
type: 'string',
|
|
|
- title: '行业主管部门',
|
|
|
- name: 'ministry',
|
|
|
+ title: '报审人手机',
|
|
|
+ name: 'reviewerMobile',
|
|
|
+ required: true,
|
|
|
+ 'x-validator': 'phone',
|
|
|
'x-decorator': 'FormItem',
|
|
|
+ 'x-component-props': {
|
|
|
+ placeholder: '请输入'
|
|
|
+ },
|
|
|
'x-component': 'Input'
|
|
|
}
|
|
|
}
|
|
@@ -208,9 +238,14 @@ Input.Resource = createResource(
|
|
|
componentName: 'Field',
|
|
|
props: {
|
|
|
type: 'string',
|
|
|
- title: '建设单位',
|
|
|
- name: 'bUnit',
|
|
|
+ title: '报审人邮箱',
|
|
|
+ name: 'reviewerMail',
|
|
|
+ required: true,
|
|
|
+ 'x-validator': 'email',
|
|
|
'x-decorator': 'FormItem',
|
|
|
+ 'x-component-props': {
|
|
|
+ placeholder: '请输入'
|
|
|
+ },
|
|
|
'x-component': 'Input'
|
|
|
}
|
|
|
}
|
|
@@ -223,9 +258,21 @@ Input.Resource = createResource(
|
|
|
componentName: 'Field',
|
|
|
props: {
|
|
|
type: 'string',
|
|
|
- title: '传真',
|
|
|
- name: 'fax',
|
|
|
+ title: '联系座机',
|
|
|
+ name: 'reviewerLandline',
|
|
|
+ required: true,
|
|
|
+ 'x-validator': [
|
|
|
+ {
|
|
|
+ triggerType: 'onInput',
|
|
|
+ message: '请输入正确的座机号',
|
|
|
+ pattern: '^(?:(?:\\d{3}-)?\\d{8}|^(?:\\d{4}-)?\\d{7,8})(?:-\\d+)?$',
|
|
|
+ whitespace: true
|
|
|
+ }
|
|
|
+ ],
|
|
|
'x-decorator': 'FormItem',
|
|
|
+ 'x-component-props': {
|
|
|
+ placeholder: '请输入'
|
|
|
+ },
|
|
|
'x-component': 'Input'
|
|
|
}
|
|
|
}
|
|
@@ -238,9 +285,13 @@ Input.Resource = createResource(
|
|
|
componentName: 'Field',
|
|
|
props: {
|
|
|
type: 'string',
|
|
|
- title: '项目法人',
|
|
|
- name: 'pCorporation',
|
|
|
+ title: '项目联系人邮箱',
|
|
|
+ name: 'pMail',
|
|
|
+ 'x-validator': 'email',
|
|
|
'x-decorator': 'FormItem',
|
|
|
+ 'x-component-props': {
|
|
|
+ placeholder: '请输入'
|
|
|
+ },
|
|
|
'x-component': 'Input'
|
|
|
}
|
|
|
}
|
|
@@ -253,25 +304,43 @@ Input.Resource = createResource(
|
|
|
componentName: 'Field',
|
|
|
props: {
|
|
|
type: 'string',
|
|
|
- title: '联系电话',
|
|
|
- name: 'pMobile',
|
|
|
+ title: '联系座机',
|
|
|
+ name: 'projectContactLandline',
|
|
|
+ required: true,
|
|
|
+ 'x-validator': [
|
|
|
+ {
|
|
|
+ triggerType: 'onInput',
|
|
|
+ message: '请输入正确的座机号',
|
|
|
+ pattern: '^(?:(?:\\d{3}-)?\\d{8}|^(?:\\d{4}-)?\\d{7,8})(?:-\\d+)?$',
|
|
|
+ whitespace: true
|
|
|
+ }
|
|
|
+ ],
|
|
|
'x-decorator': 'FormItem',
|
|
|
+ 'x-component-props': {
|
|
|
+ placeholder: '请输入'
|
|
|
+ },
|
|
|
'x-component': 'Input'
|
|
|
}
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
- icon: 'InputSource',
|
|
|
+ icon: 'TextAreaSource',
|
|
|
elements: [
|
|
|
{
|
|
|
componentName: 'Field',
|
|
|
props: {
|
|
|
type: 'string',
|
|
|
- title: '项目联系人邮箱',
|
|
|
- name: 'pMail',
|
|
|
+ title: '报审说明',
|
|
|
+ name: 'reportingInstructions',
|
|
|
'x-decorator': 'FormItem',
|
|
|
- 'x-component': 'Input'
|
|
|
+ 'x-component': 'Input.TextArea',
|
|
|
+ 'x-component-props': {
|
|
|
+ placeholder: '请输入'
|
|
|
+ },
|
|
|
+ 'x-component-props': {
|
|
|
+ maxLength: 200
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
]
|