import React, { Component } from "react";
import { Form, Radio } from "antd";
import PicturesWall from "./changeComponent/picturesWall.js";
/**
* 订单保密&违约说明
*/
const FormItem = Form.Item;
class ConfidenBreach extends Component {
constructor(props) {
super(props);
}
onChange(value, updateKey) {
this.props.onChange(value, updateKey)
}
render() {
const { orderNo, data: { nda, ndaUrl, breachClauseUrl, breachClause1, breachClause2 } } = this.props;
let ndaString = nda !== null && nda !== undefined ? nda.toString() : ''
return (
保密&违约说明
营销说明:未如实填报,责任由营销本人全部承担
技术说明:请认真阅读保密/违约条款,并规避相关事项,含保密要求的企业,发送任何资料必须脱密
*是否签订保密协议}
>
{ this.onChange(e.target.value, 'nda') }}
value={ndaString}
>
无
有
{nda == 1 ? (
{ this.onChange(e, 'ndaUrl') }}
pictureUrl={ndaUrl}
url="/api/admin/orderChange/uploadFile"
sign="nda"
/>
图片建议:要清晰。
) : null}
*是否有违约条款}
>
{this.onChange(e.target.value, 'breachClause1')}}
value={breachClause1}
>
无
有,有限责任违约条款
有,无限责任违约条款
{breachClause1 && '1,2'.indexOf(breachClause1) > -1 ? (
{ this.onChange(e.target.value, 'breachClause2') }}
value={breachClause2}
>
与技术服务有关
与技术服务无关
{ this.onChange(e, 'breachClauseUrl') }}
pictureUrl={breachClauseUrl}
url="/api/admin/orderChange/uploadFile"
sign="breach_clause"
/>
图片建议:要清晰。
) : null}
);
}
}
export default ConfidenBreach;