Commit c7795c53 by fanyongjun

9.16

parent 3c0987e2
...@@ -200,7 +200,7 @@ class AssetListCOM extends Component { ...@@ -200,7 +200,7 @@ class AssetListCOM extends Component {
<span dangerouslySetInnerHTML={{ __html: item.remarks }} /> <span dangerouslySetInnerHTML={{ __html: item.remarks }} />
</Col> </Col>
<Col md={6}> <Col md={6}>
{item.expireDate && <Text>失效时间:</Text>} {item.expireDate && <Text>数据验收确认时间:</Text>}
{item.expireDate} {item.expireDate}
</Col> </Col>
</Row> </Row>
......
...@@ -103,6 +103,7 @@ export class DataDetail extends Component { ...@@ -103,6 +103,7 @@ export class DataDetail extends Component {
const { tableModel, showApplyButton, isAppling, onApply } = this.props; const { tableModel, showApplyButton, isAppling, onApply } = this.props;
return ( return (
<div>
<Descriptions size="small" column={3}> <Descriptions size="small" column={3}>
<Descriptions.Item label="资产名称"> <Descriptions.Item label="资产名称">
<span dangerouslySetInnerHTML={{ __html: `${tableModel.name}` }} /> <span dangerouslySetInnerHTML={{ __html: `${tableModel.name}` }} />
...@@ -126,10 +127,12 @@ export class DataDetail extends Component { ...@@ -126,10 +127,12 @@ export class DataDetail extends Component {
}} }}
/> />
</Descriptions.Item> </Descriptions.Item>
</Descriptions>
{ {
showApplyButton&&<Descriptions.Item> showApplyButton&&<Button
<span type={isAppling?'':'primary'}
className={ classnames('pointer', isAppling?'text-warning':'text-primary') } style={{height:30,marginBottom:8,}}
onClick={e => { onClick={e => {
e.preventDefault(); e.preventDefault();
if (onApply) { if (onApply) {
...@@ -137,11 +140,10 @@ export class DataDetail extends Component { ...@@ -137,11 +140,10 @@ export class DataDetail extends Component {
} }
}} }}
> >
申请 申请授权
</span> </Button>
</Descriptions.Item>
} }
</Descriptions> </div>
); );
} }
} }
...@@ -181,7 +183,7 @@ const ApplyDescFunc = ({ dataDesc, form, apply }) => { ...@@ -181,7 +183,7 @@ const ApplyDescFunc = ({ dataDesc, form, apply }) => {
let options = []; let options = [];
options = dataSource.map((o,i) => { options = dataSource.map((o,i) => {
return { return {
label: o.name, label: o.displayName,
value: o.ordinalPosition, value: o.ordinalPosition,
}; };
}); });
...@@ -224,8 +226,8 @@ const ApplyDescFunc = ({ dataDesc, form, apply }) => { ...@@ -224,8 +226,8 @@ const ApplyDescFunc = ({ dataDesc, form, apply }) => {
return ( return (
<Fragment> <Fragment>
<Row> <Row>
<Col md={4}><h3>字段概览</h3></Col> <Col md={4} style={{lineHeight:'32px'}}><h3>字段概览</h3></Col>
<Col md={20} className='text-right pt-4'> <Col md={20}>
<Search <Search
placeholder="请输入字段过滤" placeholder="请输入字段过滤"
style={{ width: 200 }} style={{ width: 200 }}
......
...@@ -145,7 +145,7 @@ export default class ListBox extends Component { ...@@ -145,7 +145,7 @@ export default class ListBox extends Component {
<Row> <Row>
<Col md={18}> <Text>资产备注:</Text> <span dangerouslySetInnerHTML={{ __html: item.remarks }} /> </Col> <Col md={18}> <Text>资产备注:</Text> <span dangerouslySetInnerHTML={{ __html: item.remarks }} /> </Col>
<Col md={6}> <Col md={6}>
{item.expireDate && <Text>失效时间:</Text>} {item.expireDate && <Text>数据验收确认时间:</Text>}
{item.expireDate} {item.expireDate}
</Col> </Col>
</Row> </Row>
......
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