Commit 3c3aa7d0 by zhaochengxiang

模型基本信息调整

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