Commit 34165e1d by zhaochengxiang

模型数据内容

parent f120e81a
...@@ -409,25 +409,27 @@ const ImportActionHeader = (props) => { ...@@ -409,25 +409,27 @@ const ImportActionHeader = (props) => {
} }
</Form.Item> </Form.Item>
</Col> </Col>
<Col xs={24} sm={24} lg={24} xl={24}> <Col xs={24} sm={24} lg={12} xl={8}>
<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: 0 }}
> >
{ {
editable ? <TextArea rows={1} placeholder='描述数据表包含的业务数据,包括数据内容业务描述、表的适用范围、数据粒度、数据统计口径、数据来源等。对于原始数据表,可以说明加载的源接口信息。' /> : <span className='word-wrap'> editable ? <TextArea rows={4} placeholder='描述数据表包含的业务数据,包括数据内容业务描述、表的适用范围、数据粒度、数据统计口径、数据来源等。对于原始数据表,可以说明加载的源接口信息。' /> : <div style={{ maxHeight: 85, overflow: 'auto' }}>
{highlightSearchContentByTerms(modelerData?.remark, terms)} <span className='word-wrap'>
</span> {highlightSearchContentByTerms(modelerData?.remark, terms)}
</span>
</div>
} }
</Form.Item> </Form.Item>
</Col> </Col>
{ {
modelerData?.id && modelerData?.state?.id === '4' && <Col xs={24} sm={24} lg={24} xl={24}> modelerData?.id && modelerData?.state?.id === '4' && <Col xs={24} sm={24} lg={12} xl={16}>
<Form.Item <Form.Item
label="标签" label="标签"
style={{ marginBottom }} style={{ marginBottom: 0 }}
> >
<TagItem <TagItem
id={modelerData?.id} id={modelerData?.id}
......
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