Commit 9d45e58d by zhaochengxiang

bug fix

parent 46587743
......@@ -74,6 +74,12 @@ code {
color: white;
}
.word-wrap {
overflow: hidden;
word-wrap: break-word;
white-space:normal;
}
div[id^='__qiankun_microapp_wrapper_'] {
height: 100%;
}
......
......@@ -279,7 +279,7 @@ const ImportActionHeader = (props) => {
style={{ marginBottom }}
>
{
editable ? <InputDebounce /> : <span>
editable ? <InputDebounce /> : <span className='word-wrap'>
{highlightSearchContentByTerms(modelerData?.cnName, terms)}
</span>
}
......@@ -293,7 +293,7 @@ const ImportActionHeader = (props) => {
style={{ marginBottom }}
>
{
editable ? <AutoComplete options={options} onSearch={onSearch} /> : <span>{highlightSearchContentByTerms(modelerData?.name, terms)}</span>
editable ? <AutoComplete options={options} onSearch={onSearch} /> : <span className='word-wrap'>{highlightSearchContentByTerms(modelerData?.name, terms)}</span>
}
</Form.Item>
</Col>
......@@ -305,7 +305,7 @@ const ImportActionHeader = (props) => {
style={{ marginBottom }}
>
{
editable ? <TextArea rows={1} placeholder='描述数据表包含的业务数据,包括数据内容业务描述、表的适用范围、数据粒度、数据统计口径、数据来源等。对于原始数据表,可以说明加载的源接口信息。' /> : <span>{highlightSearchContentByTerms(modelerData?.remark, terms)}</span>
editable ? <TextArea rows={1} placeholder='描述数据表包含的业务数据,包括数据内容业务描述、表的适用范围、数据粒度、数据统计口径、数据来源等。对于原始数据表,可以说明加载的源接口信息。' /> : <span className='word-wrap'>{highlightSearchContentByTerms(modelerData?.remark, terms)}</span>
}
</Form.Item>
</Col>
......@@ -316,7 +316,7 @@ const ImportActionHeader = (props) => {
style={{ marginBottom }}
>
{
editable ? <AttributesSelect modelerData={modelerData} mode='tags' /> : <span>{highlightSearchContentByTerms(primaryDescription, terms)}</span>
editable ? <AttributesSelect modelerData={modelerData} mode='tags' /> : <span className='word-wrap'>{highlightSearchContentByTerms(primaryDescription, terms)}</span>
}
</Form.Item>
</Col>
......@@ -327,7 +327,7 @@ const ImportActionHeader = (props) => {
style={{ marginBottom }}
>
{
editable ? <Input placeholder='描述数据表落地的数据平台及数据库' /> : <span>{highlightSearchContentByTerms(modelerData?.dataResidence, terms)}</span>
editable ? <Input placeholder='描述数据表落地的数据平台及数据库' /> : <span className='word-wrap'>{highlightSearchContentByTerms(modelerData?.dataResidence, terms)}</span>
}
</Form.Item>
</Col>
......@@ -345,11 +345,15 @@ const ImportActionHeader = (props) => {
onDetail={() => {
setRuleParams({ visible: true })
}}
/> : <Space>
/> : <Space align='start'>
{modelerData?.easyDataModelerModelingConstraint?.cnName}
<a onClick={() => {
setRuleParams({ visible: true })
}}>查看</a>
}}>
<div style={{ width: 30 }}>
查看
</div>
</a>
</Space>
}
</Form.Item>
......@@ -366,7 +370,7 @@ const ImportActionHeader = (props) => {
modelerData={modelerData}
templates={templates}
onChange={onTemplateChange}
/> : <span>{modelerData?.tableType}</span>
/> : <span className='word-wrap'>{modelerData?.tableType}</span>
}
</Form.Item>
</Col>
......@@ -416,7 +420,7 @@ const ImportActionHeader = (props) => {
style={{ marginBottom }}
>
{
editable ? <AttributesSelect modelerData={modelerData} /> : <span>{highlightSearchContentByTerms(distributionDescription, terms)}</span>
editable ? <AttributesSelect modelerData={modelerData} /> : <span className='word-wrap'>{highlightSearchContentByTerms(distributionDescription, terms)}</span>
}
</Form.Item>
</Col>
......@@ -427,7 +431,7 @@ const ImportActionHeader = (props) => {
style={{ marginBottom }}
>
{
editable ? <PartitionSelect modelerData={modelerData} partitionTypes={supportedPartitionTypes} /> : <span>{highlightSearchContentByTerms(partitionsDescription, terms)}</span>
editable ? <PartitionSelect modelerData={modelerData} partitionTypes={supportedPartitionTypes} /> : <span className='word-wrap'>{highlightSearchContentByTerms(partitionsDescription, terms)}</span>
}
</Form.Item>
</Col>
......@@ -438,7 +442,7 @@ const ImportActionHeader = (props) => {
style={{ marginBottom }}
>
{
editable ? <AttributesSelect modelerData={modelerData} mode='tags' /> : <span>{highlightSearchContentByTerms(semiPrimaryDescription, terms)}</span>
editable ? <AttributesSelect modelerData={modelerData} mode='tags' /> : <span className='word-wrap'>{highlightSearchContentByTerms(semiPrimaryDescription, terms)}</span>
}
</Form.Item>
</Col>
......@@ -449,7 +453,7 @@ const ImportActionHeader = (props) => {
style={{ marginBottom }}
>
{
editable ? <Input placeholder='描述数据表中数据的更新频率、每日增量情况、数据量级和历史数据' /> : <span>{highlightSearchContentByTerms(modelerData?.dataCircumstances, terms)}</span>
editable ? <Input placeholder='描述数据表中数据的更新频率、每日增量情况、数据量级和历史数据' /> : <span className='word-wrap'>{highlightSearchContentByTerms(modelerData?.dataCircumstances, terms)}</span>
}
</Form.Item>
</Col>
......@@ -460,7 +464,7 @@ const ImportActionHeader = (props) => {
style={{ marginBottom }}
>
{
editable ? <UpdateSelect placeholder='描述数据表的更新时间点'/> : <div>{highlightSearchContentByTerms(modelerData?.dataUpdatingTiming, terms)}</div>
editable ? <UpdateSelect placeholder='描述数据表的更新时间点'/> : <span className='word-wrap'>{highlightSearchContentByTerms(modelerData?.dataUpdatingTiming, terms)}</span>
}
</Form.Item>
</Col>
......@@ -478,7 +482,7 @@ const ImportActionHeader = (props) => {
{item}
</Option>)
}
</Select> : <span>{highlightSearchContentByTerms(modelerData?.dataType, terms)}</span>
</Select> : <span className='word-wrap'>{highlightSearchContentByTerms(modelerData?.dataType, terms)}</span>
}
</Form.Item>
</Col>
......@@ -496,7 +500,7 @@ const ImportActionHeader = (props) => {
{item}
</Option>)
}
</Select> : <span>{highlightSearchContentByTerms(modelerData?.bindingLoadRang, terms)}</span>
</Select> : <span className='word-wrap'>{highlightSearchContentByTerms(modelerData?.bindingLoadRang, terms)}</span>
}
</Form.Item>
</Col>
......
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