Commit 3c3aa7d0 by zhaochengxiang

模型基本信息调整

parent 1d026ab4
...@@ -639,7 +639,7 @@ const ImportActionHeader = (props) => { ...@@ -639,7 +639,7 @@ const ImportActionHeader = (props) => {
<Form.Item <Form.Item
label={<ItemTitle name='remark' cnName='数据内容' validateReports={validateReports} />} label={<ItemTitle name='remark' cnName='数据内容' validateReports={validateReports} />}
name="remark" name="remark"
rules={[{ required: true, message: '请输入数据内容!' }]} // rules={[{ required: true, message: '请输入数据内容!' }]}
style={{ marginBottom }} style={{ marginBottom }}
> >
{ {
...@@ -660,12 +660,13 @@ const ImportActionHeader = (props) => { ...@@ -660,12 +660,13 @@ const ImportActionHeader = (props) => {
</Col> </Col>
<Col xs={24} sm={24} lg={12} xl={8}> <Col xs={24} sm={24} lg={12} xl={8}>
<Form.Item <Form.Item
label="数据平台" label="Schema"
name="dataResidence" name="dataResidence"
style={{ marginBottom }} style={{ marginBottom }}
rules={[{ required: true, message: '请输入数据库Schema!' }]}
> >
{ {
editable ? <Input placeholder='描述数据表落地的数据平台及数据库' /> : <span className='word-wrap'>{highlightSearchContentByTerms(modelerData?.dataResidence, terms)}</span> editable ? <Input placeholder='描述数据表落地的数据库Schema' /> : <span className='word-wrap'>{highlightSearchContentByTerms(modelerData?.dataResidence, terms)}</span>
} }
</Form.Item> </Form.Item>
</Col> </Col>
...@@ -1043,7 +1044,7 @@ const PartitionSelect = ({ value = {}, modelerData, partitionTypes = [], onChang ...@@ -1043,7 +1044,7 @@ const PartitionSelect = ({ value = {}, modelerData, partitionTypes = [], onChang
<Select <Select
onChange={(value) => { onAttributeChange && onAttributeChange(value) }} onChange={(value) => { onAttributeChange && onAttributeChange(value) }}
value={attributeIds} value={attributeIds}
placeholder='请选择字段名称' placeholder='请维护分区字段'
mode='multiple' mode='multiple'
allowClear={true} allowClear={true}
> >
...@@ -1105,7 +1106,7 @@ const HivePartitionSelect = ({ value, onChange, partitionTypes, modelerData }) = ...@@ -1105,7 +1106,7 @@ const HivePartitionSelect = ({ value, onChange, partitionTypes, modelerData }) =
<Col span={14}> <Col span={14}>
<Select <Select
mode='multiple' mode='multiple'
placeholder='请选择字段名称' placeholder='请维护分区字段'
onDropdownVisibleChange={(open) => { onDropdownVisibleChange={(open) => {
if (open) { if (open) {
setPopupParams({ setPopupParams({
......
...@@ -432,7 +432,7 @@ export const ImportActionTable = (props) => { ...@@ -432,7 +432,7 @@ export const ImportActionTable = (props) => {
dataIndex: 'remark', dataIndex: 'remark',
editable: true, editable: true,
ellipsis: true, ellipsis: true,
require: true, // require: true,
width: 200, width: 200,
render: (text, record, __) => { render: (text, record, __) => {
return ( return (
......
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