Commit 9d45e58d by zhaochengxiang

bug fix

parent 46587743
...@@ -74,6 +74,12 @@ code { ...@@ -74,6 +74,12 @@ code {
color: white; color: white;
} }
.word-wrap {
overflow: hidden;
word-wrap: break-word;
white-space:normal;
}
div[id^='__qiankun_microapp_wrapper_'] { div[id^='__qiankun_microapp_wrapper_'] {
height: 100%; height: 100%;
} }
......
...@@ -279,7 +279,7 @@ const ImportActionHeader = (props) => { ...@@ -279,7 +279,7 @@ const ImportActionHeader = (props) => {
style={{ marginBottom }} style={{ marginBottom }}
> >
{ {
editable ? <InputDebounce /> : <span> editable ? <InputDebounce /> : <span className='word-wrap'>
{highlightSearchContentByTerms(modelerData?.cnName, terms)} {highlightSearchContentByTerms(modelerData?.cnName, terms)}
</span> </span>
} }
...@@ -293,7 +293,7 @@ const ImportActionHeader = (props) => { ...@@ -293,7 +293,7 @@ const ImportActionHeader = (props) => {
style={{ marginBottom }} 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> </Form.Item>
</Col> </Col>
...@@ -305,7 +305,7 @@ const ImportActionHeader = (props) => { ...@@ -305,7 +305,7 @@ const ImportActionHeader = (props) => {
style={{ marginBottom }} 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> </Form.Item>
</Col> </Col>
...@@ -316,7 +316,7 @@ const ImportActionHeader = (props) => { ...@@ -316,7 +316,7 @@ const ImportActionHeader = (props) => {
style={{ marginBottom }} 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> </Form.Item>
</Col> </Col>
...@@ -327,7 +327,7 @@ const ImportActionHeader = (props) => { ...@@ -327,7 +327,7 @@ const ImportActionHeader = (props) => {
style={{ marginBottom }} 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> </Form.Item>
</Col> </Col>
...@@ -345,11 +345,15 @@ const ImportActionHeader = (props) => { ...@@ -345,11 +345,15 @@ const ImportActionHeader = (props) => {
onDetail={() => { onDetail={() => {
setRuleParams({ visible: true }) setRuleParams({ visible: true })
}} }}
/> : <Space> /> : <Space align='start'>
{modelerData?.easyDataModelerModelingConstraint?.cnName} {modelerData?.easyDataModelerModelingConstraint?.cnName}
<a onClick={() => { <a onClick={() => {
setRuleParams({ visible: true }) setRuleParams({ visible: true })
}}>查看</a> }}>
<div style={{ width: 30 }}>
查看
</div>
</a>
</Space> </Space>
} }
</Form.Item> </Form.Item>
...@@ -366,7 +370,7 @@ const ImportActionHeader = (props) => { ...@@ -366,7 +370,7 @@ const ImportActionHeader = (props) => {
modelerData={modelerData} modelerData={modelerData}
templates={templates} templates={templates}
onChange={onTemplateChange} onChange={onTemplateChange}
/> : <span>{modelerData?.tableType}</span> /> : <span className='word-wrap'>{modelerData?.tableType}</span>
} }
</Form.Item> </Form.Item>
</Col> </Col>
...@@ -416,7 +420,7 @@ const ImportActionHeader = (props) => { ...@@ -416,7 +420,7 @@ const ImportActionHeader = (props) => {
style={{ marginBottom }} 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> </Form.Item>
</Col> </Col>
...@@ -427,7 +431,7 @@ const ImportActionHeader = (props) => { ...@@ -427,7 +431,7 @@ const ImportActionHeader = (props) => {
style={{ marginBottom }} 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> </Form.Item>
</Col> </Col>
...@@ -438,7 +442,7 @@ const ImportActionHeader = (props) => { ...@@ -438,7 +442,7 @@ const ImportActionHeader = (props) => {
style={{ marginBottom }} 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> </Form.Item>
</Col> </Col>
...@@ -449,7 +453,7 @@ const ImportActionHeader = (props) => { ...@@ -449,7 +453,7 @@ const ImportActionHeader = (props) => {
style={{ marginBottom }} 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> </Form.Item>
</Col> </Col>
...@@ -460,7 +464,7 @@ const ImportActionHeader = (props) => { ...@@ -460,7 +464,7 @@ const ImportActionHeader = (props) => {
style={{ marginBottom }} 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> </Form.Item>
</Col> </Col>
...@@ -478,7 +482,7 @@ const ImportActionHeader = (props) => { ...@@ -478,7 +482,7 @@ const ImportActionHeader = (props) => {
{item} {item}
</Option>) </Option>)
} }
</Select> : <span>{highlightSearchContentByTerms(modelerData?.dataType, terms)}</span> </Select> : <span className='word-wrap'>{highlightSearchContentByTerms(modelerData?.dataType, terms)}</span>
} }
</Form.Item> </Form.Item>
</Col> </Col>
...@@ -496,7 +500,7 @@ const ImportActionHeader = (props) => { ...@@ -496,7 +500,7 @@ const ImportActionHeader = (props) => {
{item} {item}
</Option>) </Option>)
} }
</Select> : <span>{highlightSearchContentByTerms(modelerData?.bindingLoadRang, terms)}</span> </Select> : <span className='word-wrap'>{highlightSearchContentByTerms(modelerData?.bindingLoadRang, terms)}</span>
} }
</Form.Item> </Form.Item>
</Col> </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