Kaynağa Gözat

还原图片查看

mentoswzq 4 yıl önce
ebeveyn
işleme
a44bade2d4
28 değiştirilmiş dosya ile 563 ekleme ve 569 silme
  1. 12 12
      js/component/account/demand/techDemandDesc.jsx
  2. 11 11
      js/component/common/imgList/index.js
  3. 24 24
      js/component/manageCenter/demand/demandAudit/demandAuditDesc.jsx
  4. 24 24
      js/component/manageCenter/demand/techDemandDesc.jsx
  5. 42 43
      js/component/manageCenter/financialManage/distribute/approvedOutsourcingAll.jsx
  6. 24 24
      js/component/manageCenter/financialManage/distribute/examine.jsx
  7. 14 14
      js/component/manageCenter/financialManage/distribute/inSpecial.jsx
  8. 14 14
      js/component/manageCenter/financialManage/distribute/kaiPiaoModal.jsx
  9. 13 13
      js/component/manageCenter/order/departmentOrder/servicesOrder/addService.jsx
  10. 13 13
      js/component/manageCenter/order/myOrder/servicesOrder/addService.jsx
  11. 57 57
      js/component/manageCenter/order/orderNew/addService.jsx
  12. 14 14
      js/component/manageCenter/order/orderNew/billing.jsx
  13. 14 14
      js/component/manageCenter/order/orderNew/changeComponent/changeDetailCwjl.js
  14. 14 14
      js/component/manageCenter/order/orderNew/changeComponent/changeDetailCwzj.js
  15. 14 14
      js/component/manageCenter/order/orderNew/changeComponent/changeDetailCwzy.js
  16. 14 14
      js/component/manageCenter/order/orderNew/changeComponent/changeDetailJsjl.js
  17. 14 14
      js/component/manageCenter/order/orderNew/changeComponent/changeDetailJsy.js
  18. 14 14
      js/component/manageCenter/order/orderNew/changeComponent/changeDetailJszj.js
  19. 15 18
      js/component/manageCenter/order/orderNew/changeComponent/changeDetailYxgly.js
  20. 14 14
      js/component/manageCenter/order/orderNew/changeComponent/changeDetailYxy.js
  21. 35 40
      js/component/manageCenter/order/orderNew/changeComponent/orderDetail.js
  22. 14 14
      js/component/manageCenter/order/orderNew/changeComponent/refund.js
  23. 42 42
      js/component/manageCenter/order/orderNew/checkOutsourcing.jsx
  24. 28 28
      js/component/manageCenter/order/orderNew/examine.jsx
  25. 5 2
      js/component/manageCenter/order/orderNew/inquiry.jsx
  26. 24 24
      js/component/portal/search/achievementDesc.jsx
  27. 12 12
      js/component/portal/search/demandDesc.jsx
  28. 28 28
      js/component/project.jsx

+ 12 - 12
js/component/account/demand/techDemandDesc.jsx

@@ -378,18 +378,18 @@ const DemandDetailShow = Form.create()(React.createClass({
                         wrapperCol={{ span: 18 }}
                         label="需求文件(图片)" >
                         <div className="clearfix">
-                            {/*<Upload className="demandDetailShow-upload"*/}
-                            {/*    listType="picture-card"*/}
-                            {/*    fileList={this.state.pictureUrl}*/}
-                            {/*    onPreview={(file) => {*/}
-                            {/*        this.setState({*/}
-                            {/*            previewImage: file.url || file.thumbUrl,*/}
-                            {/*            previewVisible: true,*/}
-                            {/*        });*/}
-                            {/*    }} >*/}
-                                <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-                                    <ImgList fileList={this.state.pictureUrl} ItemWidth={'96px'}/>
-                                </div>
+                            <Upload className="demandDetailShow-upload"
+                                listType="picture-card"
+                                fileList={this.state.pictureUrl}
+                                onPreview={(file) => {
+                                    this.setState({
+                                        previewImage: file.url || file.thumbUrl,
+                                        previewVisible: true,
+                                    });
+                                }} />
+                                {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+                                {/*    <ImgList fileList={this.state.pictureUrl} ItemWidth={'96px'}/>*/}
+                                {/*</div>*/}
                             <Modal maskClosable={false} footer={null}
                                 visible={this.state.previewVisible}
                                 onCancel={() => { this.setState({ previewVisible: false }) }}>

+ 11 - 11
js/component/common/imgList/index.js

@@ -20,7 +20,7 @@ class ImgList extends Component{
     }
 
     componentDidMount() {
-      this.gallery = new Viewer(document.getElementById('images'));
+        this.gallery = new Viewer(document.getElementById('images'));
     }
 
     render() {
@@ -29,16 +29,16 @@ class ImgList extends Component{
             <div className='ImgListComponent'>
                 <div className='ImgList'>
                     <Upload
-                      className="demandDetailShow-upload"
-                      listType="picture-card"
-                      fileList={
-                          this.state.seeMore?
-                              fileList :
-                              fileList.slice(0,10)
-                      }
-                      onPreview={(file) => {
-                          this.gallery.view(file.index).show();
-                      }}
+                        className="demandDetailShow-upload"
+                        listType="picture-card"
+                        fileList={
+                            this.state.seeMore?
+                                fileList :
+                                fileList.slice(0,10)
+                        }
+                        onPreview={(file) => {
+                            this.gallery.view(file.index).show();
+                        }}
                     />
                 </div>
                 {fileList.length > 10 ? <div className='seeMore' onClick={()=>{this.setState({seeMore:!this.state.seeMore})}}>

+ 24 - 24
js/component/manageCenter/demand/demandAudit/demandAuditDesc.jsx

@@ -390,18 +390,18 @@ const DemandDetailShow = Form.create()(React.createClass({
 	                        wrapperCol={{ span: 18 }}
 	                        label="首页展示图片:" >
 	                        <div className="clearfix">
-	                            {/*<Upload className="demandDetailShow-upload"*/}
-	                            {/*    listType="picture-card"*/}
-	                            {/*    fileList={this.state.coverImg}*/}
-	                            {/*    onPreview={(file) => {*/}
-	                            {/*        this.setState({*/}
-	                            {/*            previewImage: file.url || file.thumbUrl,*/}
-	                            {/*            previewVisible: true,*/}
-	                            {/*        });*/}
-	                            {/*    }} />*/}
-                                <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-                                    <ImgList fileList={this.state.coverImg} ItemWidth={'96px'}/>
-                                </div>
+	                            <Upload className="demandDetailShow-upload"
+	                                listType="picture-card"
+	                                fileList={this.state.coverImg}
+	                                onPreview={(file) => {
+	                                    this.setState({
+	                                        previewImage: file.url || file.thumbUrl,
+	                                        previewVisible: true,
+	                                    });
+	                                }} />
+                                {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+                                {/*    <ImgList fileList={this.state.coverImg} ItemWidth={'96px'}/>*/}
+                                {/*</div>*/}
 	                            <Modal maskClosable={false} footer={null}
 	                                visible={this.state.previewVisible}
 	                                onCancel={() => { this.setState({ previewVisible: false }) }}>
@@ -572,18 +572,18 @@ const DemandDetailShow = Form.create()(React.createClass({
                         wrapperCol={{ span: 18 }}
                         label="需求文件(图片)" >
                         <div className="clearfix">
-                            {/*<Upload className="demandDetailShow-upload"*/}
-                            {/*    listType="picture-card"*/}
-                            {/*    fileList={this.state.pictureUrl}*/}
-                            {/*    onPreview={(file) => {*/}
-                            {/*        this.setState({*/}
-                            {/*            previewImage: file.url || file.thumbUrl,*/}
-                            {/*            previewVisible: true,*/}
-                            {/*        });*/}
-                            {/*    }} />*/}
-                            <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-                                <ImgList fileList={this.state.pictureUrl} ItemWidth={'96px'}/>
-                            </div>
+                            <Upload className="demandDetailShow-upload"
+                                listType="picture-card"
+                                fileList={this.state.pictureUrl}
+                                onPreview={(file) => {
+                                    this.setState({
+                                        previewImage: file.url || file.thumbUrl,
+                                        previewVisible: true,
+                                    });
+                                }} />
+                            {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+                            {/*    <ImgList fileList={this.state.pictureUrl} ItemWidth={'96px'}/>*/}
+                            {/*</div>*/}
                             <Modal maskClosable={false} footer={null}
                                 visible={this.state.previewVisible}
                                 onCancel={() => { this.setState({ previewVisible: false }) }}>

+ 24 - 24
js/component/manageCenter/demand/techDemandDesc.jsx

@@ -389,18 +389,18 @@ const DemandDetailShow = Form.create()(React.createClass({
 	                        wrapperCol={{ span: 18 }}
 	                        label="首页展示图片:" >
 	                        <div className="clearfix">
-	                            {/*<Upload className="demandDetailShow-upload"*/}
-	                            {/*    listType="picture-card"*/}
-	                            {/*    fileList={this.state.coverImg}*/}
-	                            {/*    onPreview={(file) => {*/}
-	                            {/*        this.setState({*/}
-	                            {/*            previewImage: file.url || file.thumbUrl,*/}
-	                            {/*            previewVisible: true,*/}
-	                            {/*        });*/}
-	                            {/*    }} />*/}
-                                <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-                                    <ImgList fileList={this.state.coverImg} ItemWidth={'96px'}/>
-                                </div>
+	                            <Upload className="demandDetailShow-upload"
+	                                listType="picture-card"
+	                                fileList={this.state.coverImg}
+	                                onPreview={(file) => {
+	                                    this.setState({
+	                                        previewImage: file.url || file.thumbUrl,
+	                                        previewVisible: true,
+	                                    });
+	                                }} />
+                                {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+                                {/*    <ImgList fileList={this.state.coverImg} ItemWidth={'96px'}/>*/}
+                                {/*</div>*/}
 	                            <Modal maskClosable={false} footer={null}
 	                                visible={this.state.previewVisible}
 	                                onCancel={() => { this.setState({ previewVisible: false }) }}>
@@ -558,18 +558,18 @@ const DemandDetailShow = Form.create()(React.createClass({
                         wrapperCol={{ span: 18 }}
                         label="需求文件(图片)" >
                         <div className="clearfix">
-                            {/*<Upload className="demandDetailShow-upload"*/}
-                            {/*    listType="picture-card"*/}
-                            {/*    fileList={this.state.pictureUrl}*/}
-                            {/*    onPreview={(file) => {*/}
-                            {/*        this.setState({*/}
-                            {/*            previewImage: file.url || file.thumbUrl,*/}
-                            {/*            previewVisible: true,*/}
-                            {/*        });*/}
-                            {/*    }} />*/}
-                            <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-                                <ImgList fileList={this.state.pictureUrl} ItemWidth={'96px'}/>
-                            </div>
+                            <Upload className="demandDetailShow-upload"
+                                listType="picture-card"
+                                fileList={this.state.pictureUrl}
+                                onPreview={(file) => {
+                                    this.setState({
+                                        previewImage: file.url || file.thumbUrl,
+                                        previewVisible: true,
+                                    });
+                                }} />
+                            {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+                            {/*    <ImgList fileList={this.state.pictureUrl} ItemWidth={'96px'}/>*/}
+                            {/*</div>*/}
                             <Modal maskClosable={false} footer={null}
                                 visible={this.state.previewVisible}
                                 onCancel={() => { this.setState({ previewVisible: false }) }}>

+ 42 - 43
js/component/manageCenter/financialManage/distribute/approvedOutsourcingAll.jsx

@@ -133,7 +133,6 @@ const approvedOutsourcing = React.createClass({
               companyId: thisdata.companyId,
               companyName: thisdata.companyName,
               buyerId: thisdata.buyerId,
-              buyerName: thisdata.buyerName,
               contractNo: thisdata.contractNo,
               createTime: thisdata.createTime,
               departmentName: thisdata.departmentName,
@@ -3197,20 +3196,20 @@ const approvedOutsourcing = React.createClass({
                         wrapperCol={{ span: 18 }}
                         label="合同扫描件"
                       >
-                        {/*<Upload*/}
-                        {/*  className="demandDetailShow-upload"*/}
-                        {/*  listType="picture-card"*/}
-                        {/*  fileList={this.state.orgCodeUrl}*/}
-                        {/*  onPreview={(file) => {*/}
-                        {/*    this.setState({*/}
-                        {/*      previewImage: file.url || file.thumbUrl,*/}
-                        {/*      previewVisible: true,*/}
-                        {/*    });*/}
-                        {/*  }}*/}
-                        {/*/>*/}
-                        <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-                          <ImgList fileList={this.state.orgCodeUrl} ItemWidth={'96px'}/>
-                        </div>
+                        <Upload
+                          className="demandDetailShow-upload"
+                          listType="picture-card"
+                          fileList={this.state.orgCodeUrl}
+                          onPreview={(file) => {
+                            this.setState({
+                              previewImage: file.url || file.thumbUrl,
+                              previewVisible: true,
+                            });
+                          }}
+                        />
+                        {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+                        {/*  <ImgList fileList={this.state.orgCodeUrl} ItemWidth={'96px'}/>*/}
+                        {/*</div>*/}
                         <Modal
                           maskClosable={false}
                           footer={null}
@@ -3280,20 +3279,20 @@ const approvedOutsourcing = React.createClass({
                         wrapperCol={{ span: 18 }}
                         label="补充协议"
                       >
-                        {/*<Upload*/}
-                        {/*  className="demandDetailShow-upload"*/}
-                        {/*  listType="picture-card"*/}
-                        {/*  fileList={this.state.replenishUrl}*/}
-                        {/*  onPreview={(file) => {*/}
-                        {/*    this.setState({*/}
-                        {/*      previewImage: file.url || file.thumbUrl,*/}
-                        {/*      previewVisibles: true,*/}
-                        {/*    });*/}
-                        {/*  }}*/}
-                        {/*/>*/}
-                        <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-                          <ImgList fileList={this.state.replenishUrl} ItemWidth={'96px'}/>
-                        </div>
+                        <Upload
+                          className="demandDetailShow-upload"
+                          listType="picture-card"
+                          fileList={this.state.replenishUrl}
+                          onPreview={(file) => {
+                            this.setState({
+                              previewImage: file.url || file.thumbUrl,
+                              previewVisibles: true,
+                            });
+                          }}
+                        />
+                        {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+                        {/*  <ImgList fileList={this.state.replenishUrl} ItemWidth={'96px'}/>*/}
+                        {/*</div>*/}
                         <Modal
                           maskClosable={false}
                           footer={null}
@@ -3629,20 +3628,20 @@ const approvedOutsourcing = React.createClass({
                     wrapperCol={{ span: 18 }}
                     label="合同/协议扫描件"
                   >
-                    {/*<Upload*/}
-                    {/*  className="demandDetailShow-upload"*/}
-                    {/*  listType="picture-card"*/}
-                    {/*  fileList={this.state.pictureUrl}*/}
-                    {/*  onPreview={(file) => {*/}
-                    {/*    this.setState({*/}
-                    {/*      previewImage: file.url || file.thumbUrl,*/}
-                    {/*      previewVisible: true,*/}
-                    {/*    });*/}
-                    {/*  }}*/}
-                    {/*/>*/}
-                    <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-                      <ImgList fileList={this.state.pictureUrl} ItemWidth={'96px'}/>
-                    </div>
+                    <Upload
+                      className="demandDetailShow-upload"
+                      listType="picture-card"
+                      fileList={this.state.pictureUrl}
+                      onPreview={(file) => {
+                        this.setState({
+                          previewImage: file.url || file.thumbUrl,
+                          previewVisible: true,
+                        });
+                      }}
+                    />
+                    {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+                    {/*  <ImgList fileList={this.state.pictureUrl} ItemWidth={'96px'}/>*/}
+                    {/*</div>*/}
                     <Modal
                       maskClosable={false}
                       footer={null}

+ 24 - 24
js/component/manageCenter/financialManage/distribute/examine.jsx

@@ -143,18 +143,18 @@ const Examine=React.createClass({
                                     </FormItem>
                                     <div className="clearfix">
                                         <FormItem labelCol={{ span:5 }} wrapperCol={{ span: 17 }} label="终止合同">
-                                            {/*<Upload className="demandDetailShow-upload"*/}
-                                            {/*    listType="picture-card"*/}
-                                            {/*    fileList={this.state.orgCodeUrl}                               */}
-                                            {/*    onPreview={(file) => {*/}
-                                            {/*        this.setState({*/}
-                                            {/*            previewImage: file.url || file.thumbUrl,*/}
-                                            {/*            previewVisible: true,*/}
-                                            {/*        });*/}
-                                            {/*    }} />*/}
-                                            <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-                                                <ImgList fileList={this.state.orgCodeUrl} ItemWidth={'96px'}/>
-                                            </div>
+                                            <Upload className="demandDetailShow-upload"
+                                                listType="picture-card"
+                                                fileList={this.state.orgCodeUrl}
+                                                onPreview={(file) => {
+                                                    this.setState({
+                                                        previewImage: file.url || file.thumbUrl,
+                                                        previewVisible: true,
+                                                    });
+                                                }} />
+                                            {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+                                            {/*    <ImgList fileList={this.state.orgCodeUrl} ItemWidth={'96px'}/>*/}
+                                            {/*</div>*/}
                                             <Modal maskClosable={false} footer={null}
                                                 visible={this.state.previewVisible}
                                                 onCancel={() => { this.setState({ previewVisible: false }) }}>
@@ -164,18 +164,18 @@ const Examine=React.createClass({
                                     </div>
                                     <div className="clearfix">
                                         <FormItem labelCol={{ span:5 }} wrapperCol={{ span: 17 }} label="退单申请表">
-                                            {/*<Upload className="demandDetailShow-upload"*/}
-                                            {/*    listType="picture-card"*/}
-                                            {/*    fileList={this.state.orgCodeUrlNo}                               */}
-                                            {/*    onPreview={(file) => {*/}
-                                            {/*        this.setState({*/}
-                                            {/*            previewImage: file.url || file.thumbUrl,*/}
-                                            {/*            previewVisible: true,*/}
-                                            {/*        });*/}
-                                            {/*    }} />*/}
-                                            <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-                                                <ImgList fileList={this.state.orgCodeUrlNo} ItemWidth={'96px'}/>
-                                            </div>
+                                            <Upload className="demandDetailShow-upload"
+                                                listType="picture-card"
+                                                fileList={this.state.orgCodeUrlNo}
+                                                onPreview={(file) => {
+                                                    this.setState({
+                                                        previewImage: file.url || file.thumbUrl,
+                                                        previewVisible: true,
+                                                    });
+                                                }} />
+                                            {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+                                            {/*    <ImgList fileList={this.state.orgCodeUrlNo} ItemWidth={'96px'}/>*/}
+                                            {/*</div>*/}
                                             <Modal maskClosable={false} footer={null}
                                                 visible={this.state.previewVisible}
                                                 onCancel={() => { this.setState({ previewVisible: false }) }}>

+ 14 - 14
js/component/manageCenter/financialManage/distribute/inSpecial.jsx

@@ -917,20 +917,20 @@ const inSpecial = React.createClass({
                       </span>
                     }
                   >
-                    {/*<Upload*/}
-                    {/*  className="demandDetailShow-upload"*/}
-                    {/*  listType="picture-card"*/}
-                    {/*  fileList={this.state.orgCodeUrl}*/}
-                    {/*  onPreview={file => {*/}
-                    {/*    this.setState({*/}
-                    {/*      previewImage: file.url || file.thumbUrl,*/}
-                    {/*      previewVisible: true*/}
-                    {/*    });*/}
-                    {/*  }}*/}
-                    {/*/>*/}
-                    <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-                      <ImgList fileList={this.state.orgCodeUrl} ItemWidth={'96px'}/>
-                    </div>
+                    <Upload
+                      className="demandDetailShow-upload"
+                      listType="picture-card"
+                      fileList={this.state.orgCodeUrl}
+                      onPreview={file => {
+                        this.setState({
+                          previewImage: file.url || file.thumbUrl,
+                          previewVisible: true
+                        });
+                      }}
+                    />
+                    {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+                    {/*  <ImgList fileList={this.state.orgCodeUrl} ItemWidth={'96px'}/>*/}
+                    {/*</div>*/}
                     <Modal
                       maskClosable={false}
                       footer={null}

+ 14 - 14
js/component/manageCenter/financialManage/distribute/kaiPiaoModal.jsx

@@ -251,20 +251,20 @@ const KaiPiaoModal = React.createClass({
                     </span>
                   }
                 >
-                  {/*<Upload*/}
-                  {/*  className="demandDetailShow-upload"*/}
-                  {/*  listType="picture-card"*/}
-                  {/*  fileList={this.state.orgCodeUrl}*/}
-                  {/*  onPreview={(file) => {*/}
-                  {/*    this.setState({*/}
-                  {/*      previewImage: file.url || file.thumbUrl,*/}
-                  {/*      previewVisible: true,*/}
-                  {/*    });*/}
-                  {/*  }}*/}
-                  {/*/>*/}
-                  <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-                    <ImgList fileList={this.state.orgCodeUrl} ItemWidth={'96px'}/>
-                  </div>
+                  <Upload
+                    className="demandDetailShow-upload"
+                    listType="picture-card"
+                    fileList={this.state.orgCodeUrl}
+                    onPreview={(file) => {
+                      this.setState({
+                        previewImage: file.url || file.thumbUrl,
+                        previewVisible: true,
+                      });
+                    }}
+                  />
+                  {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+                  {/*  <ImgList fileList={this.state.orgCodeUrl} ItemWidth={'96px'}/>*/}
+                  {/*</div>*/}
                   <Modal
                     maskClosable={false}
                     footer={null}

+ 13 - 13
js/component/manageCenter/order/departmentOrder/servicesOrder/addService.jsx

@@ -1021,19 +1021,19 @@ const NewService = Form.create()(React.createClass({
 										                        wrapperCol={{ span: 18 }}
 										                        label="合同扫描件" >
 										                        <div className="clearfix">
-										                            {/*<Upload className="demandDetailShow-upload"*/}
-										                            {/*    beforeUpload={beforeUploadFile}*/}
-										                            {/*    listType="picture-card"*/}
-										                            {/*    fileList={this.state.orgCodeUrl}*/}
-										                            {/*    onPreview={(file) => {*/}
-										                            {/*        this.setState({*/}
-										                            {/*            previewImage: file.url || file.thumbUrl,*/}
-										                            {/*            previewVisible: true,*/}
-										                            {/*        });*/}
-										                            {/*    }} />*/}
-																	<div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-																		<ImgList fileList={this.state.orgCodeUrl} ItemWidth={'96px'}/>
-																	</div>
+										                            <Upload className="demandDetailShow-upload"
+										                                beforeUpload={beforeUploadFile}
+										                                listType="picture-card"
+										                                fileList={this.state.orgCodeUrl}
+										                                onPreview={(file) => {
+										                                    this.setState({
+										                                        previewImage: file.url || file.thumbUrl,
+										                                        previewVisible: true,
+										                                    });
+										                                }} />
+																	{/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+																	{/*	<ImgList fileList={this.state.orgCodeUrl} ItemWidth={'96px'}/>*/}
+																	{/*</div>*/}
 										                            <Modal maskClosable={false} footer={null}
 										                                visible={this.state.previewVisible}
 										                                onCancel={() => { this.setState({ previewVisible: false }) }}>

+ 13 - 13
js/component/manageCenter/order/myOrder/servicesOrder/addService.jsx

@@ -1480,19 +1480,19 @@ const NewService = Form.create()(React.createClass({
 										                        labelCol={{ span: 4 }}
 										                        wrapperCol={{ span: 18 }}
 										                        label="合同扫描件" >
-									                            {/*<Upload className="demandDetailShow-upload"*/}
-									                            {/*	beforeUpload={beforeUploadFile}*/}
-									                            {/*    listType="picture-card"*/}
-									                            {/*    fileList={this.state.orgCodeUrl}*/}
-									                            {/*    onPreview={(file) => {*/}
-									                            {/*        this.setState({*/}
-									                            {/*            previewImage: file.url || file.thumbUrl,*/}
-									                            {/*            previewVisible: true,*/}
-									                            {/*        });*/}
-									                            {/*    }} />*/}
-                                                                <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-                                                                    <ImgList fileList={this.state.orgCodeUrl} ItemWidth={'96px'}/>
-                                                                </div>
+									                            <Upload className="demandDetailShow-upload"
+									                            	beforeUpload={beforeUploadFile}
+									                                listType="picture-card"
+									                                fileList={this.state.orgCodeUrl}
+									                                onPreview={(file) => {
+									                                    this.setState({
+									                                        previewImage: file.url || file.thumbUrl,
+									                                        previewVisible: true,
+									                                    });
+									                                }} />
+                                                                {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+                                                                {/*    <ImgList fileList={this.state.orgCodeUrl} ItemWidth={'96px'}/>*/}
+                                                                {/*</div>*/}
 									                            <Modal maskClosable={false} footer={null}
 									                                visible={this.state.previewVisible}
 									                                onCancel={() => { this.setState({ previewVisible: false }) }}>

+ 57 - 57
js/component/manageCenter/order/orderNew/addService.jsx

@@ -4818,20 +4818,20 @@ const NewService = Form.create()(
                                   wrapperCol={{ span: 18 }}
                                   label="合同扫描件"
                                 >
-                                  {/*<Upload*/}
-                                  {/*  className="demandDetailShow-upload"*/}
-                                  {/*  listType="picture-card"*/}
-                                  {/*  fileList={this.state.orgCodeUrl}*/}
-                                  {/*  onPreview={(file) => {*/}
-                                  {/*    this.setState({*/}
-                                  {/*      previewImage: file.url || file.thumbUrl,*/}
-                                  {/*      previewVisible: true,*/}
-                                  {/*    });*/}
-                                  {/*  }}*/}
-                                  {/*/>*/}
-                                  <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-                                    <ImgList fileList={this.state.orgCodeUrl} ItemWidth={'96px'}/>
-                                  </div>
+                                  <Upload
+                                    className="demandDetailShow-upload"
+                                    listType="picture-card"
+                                    fileList={this.state.orgCodeUrl}
+                                    onPreview={(file) => {
+                                      this.setState({
+                                        previewImage: file.url || file.thumbUrl,
+                                        previewVisible: true,
+                                      });
+                                    }}
+                                  />
+                                  {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+                                  {/*  <ImgList fileList={this.state.orgCodeUrl} ItemWidth={'96px'}/>*/}
+                                  {/*</div>*/}
                                   <Modal
                                     maskClosable={false}
                                     footer={null}
@@ -4901,20 +4901,20 @@ const NewService = Form.create()(
                                   wrapperCol={{ span: 18 }}
                                   label="补充协议"
                                 >
-                                  {/*<Upload*/}
-                                  {/*  className="demandDetailShow-upload"*/}
-                                  {/*  listType="picture-card"*/}
-                                  {/*  fileList={this.state.replenishUrl}*/}
-                                  {/*  onPreview={(file) => {*/}
-                                  {/*    this.setState({*/}
-                                  {/*      previewImage: file.url || file.thumbUrl,*/}
-                                  {/*      previewVisibles: true,*/}
-                                  {/*    });*/}
-                                  {/*  }}*/}
-                                  {/*/>*/}
-                                  <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-                                    <ImgList fileList={this.state.replenishUrl} ItemWidth={'96px'}/>
-                                  </div>
+                                  <Upload
+                                    className="demandDetailShow-upload"
+                                    listType="picture-card"
+                                    fileList={this.state.replenishUrl}
+                                    onPreview={(file) => {
+                                      this.setState({
+                                        previewImage: file.url || file.thumbUrl,
+                                        previewVisibles: true,
+                                      });
+                                    }}
+                                  />
+                                  {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+                                  {/*  <ImgList fileList={this.state.replenishUrl} ItemWidth={'96px'}/>*/}
+                                  {/*</div>*/}
                                   <Modal
                                     maskClosable={false}
                                     footer={null}
@@ -5912,38 +5912,38 @@ const NewService = Form.create()(
                                 label="变更凭证"
                               >
                                 <div>
-                                  {/*<Upload*/}
-                                  {/*  className="demandDetailShow-upload"*/}
-                                  {/*  listType="picture-card"*/}
-                                  {/*  fileList={*/}
-                                  {/*    this.state.detailChange.voucherUrl*/}
-                                  {/*  }*/}
-                                  {/*  onPreview={(file) => {*/}
-                                  {/*    this.setState({*/}
-                                  {/*      previewImage: file.url || file.thumbUrl,*/}
-                                  {/*      previewVisible: true,*/}
-                                  {/*    });*/}
-                                  {/*  }}*/}
-                                  {/*/>*/}
-                                  <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-                                    <ImgList fileList={this.state.detailChange.voucherUrl} ItemWidth={'96px'}/>
-                                  </div>
-                                  <Modal
-                                    maskClosable={false}
-                                    footer={null}
-                                    visible={this.state.previewVisible}
-                                    onCancel={() => {
+                                  <Upload
+                                    className="demandDetailShow-upload"
+                                    listType="picture-card"
+                                    fileList={
+                                      this.state.detailChange.voucherUrl
+                                    }
+                                    onPreview={(file) => {
                                       this.setState({
-                                        previewVisible: false,
+                                        previewImage: file.url || file.thumbUrl,
+                                        previewVisible: true,
                                       });
                                     }}
-                                  >
-                                    <img
-                                      alt=""
-                                      style={{ width: "100%" }}
-                                      src={this.state.previewImage || ""}
-                                    />
-                                  </Modal>
+                                  />
+                                  {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+                                  {/*  <ImgList fileList={this.state.detailChange.voucherUrl} ItemWidth={'96px'}/>*/}
+                                  {/*</div>*/}
+                                  {/*<Modal*/}
+                                  {/*  maskClosable={false}*/}
+                                  {/*  footer={null}*/}
+                                  {/*  visible={this.state.previewVisible}*/}
+                                  {/*  onCancel={() => {*/}
+                                  {/*    this.setState({*/}
+                                  {/*      previewVisible: false,*/}
+                                  {/*    });*/}
+                                  {/*  }}*/}
+                                  {/*>*/}
+                                  {/*  <img*/}
+                                  {/*    alt=""*/}
+                                  {/*    style={{ width: "100%" }}*/}
+                                  {/*    src={this.state.previewImage || ""}*/}
+                                  {/*  />*/}
+                                  {/*</Modal>*/}
                                 </div>
                               </FormItem>
                             </div>

+ 14 - 14
js/component/manageCenter/order/orderNew/billing.jsx

@@ -3180,20 +3180,20 @@ const MyService = Form.create()(
                           </span>
                         }
                       >
-                        {/*<Upload*/}
-                        {/*  className="demandDetailShow-upload"*/}
-                        {/*  listType="picture-card"*/}
-                        {/*  fileList={this.state.orgCodeUrl}*/}
-                        {/*  onPreview={file => {*/}
-                        {/*    this.setState({*/}
-                        {/*      previewImage: file.url || file.thumbUrl,*/}
-                        {/*      previewVisible: true*/}
-                        {/*    });*/}
-                        {/*  }}*/}
-                        {/*/>*/}
-                        <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-                          <ImgList fileList={this.state.orgCodeUrl} ItemWidth={'96px'}/>
-                        </div>
+                        <Upload
+                          className="demandDetailShow-upload"
+                          listType="picture-card"
+                          fileList={this.state.orgCodeUrl}
+                          onPreview={file => {
+                            this.setState({
+                              previewImage: file.url || file.thumbUrl,
+                              previewVisible: true
+                            });
+                          }}
+                        />
+                        {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+                        {/*  <ImgList fileList={this.state.orgCodeUrl} ItemWidth={'96px'}/>*/}
+                        {/*</div>*/}
                         <Modal
                           maskClosable={false}
                           footer={null}

+ 14 - 14
js/component/manageCenter/order/orderNew/changeComponent/changeDetailCwjl.js

@@ -1137,20 +1137,20 @@ class ChangeDetail extends Component {
             labelCol={{ span: 4 }}
             wrapperCol={{ span: 18 }}
           >
-            {/*<Upload*/}
-            {/*  className="demandDetailShow-upload"*/}
-            {/*  listType="picture-card"*/}
-            {/*  fileList={orgCodeUrl}*/}
-            {/*  onPreview={(file) => {*/}
-            {/*    this.setState({*/}
-            {/*      previewImage: file.url || file.thumbUrl,*/}
-            {/*      previewVisible: true,*/}
-            {/*    });*/}
-            {/*  }}*/}
-            {/*/>*/}
-            <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-              <ImgList fileList={orgCodeUrl} ItemWidth={'96px'}/>
-            </div>
+            <Upload
+              className="demandDetailShow-upload"
+              listType="picture-card"
+              fileList={orgCodeUrl}
+              onPreview={(file) => {
+                this.setState({
+                  previewImage: file.url || file.thumbUrl,
+                  previewVisible: true,
+                });
+              }}
+            />
+            {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+            {/*  <ImgList fileList={orgCodeUrl} ItemWidth={'96px'}/>*/}
+            {/*</div>*/}
             <Modal
               maskClosable={false}
               footer={null}

+ 14 - 14
js/component/manageCenter/order/orderNew/changeComponent/changeDetailCwzj.js

@@ -553,20 +553,20 @@ class ChangeDetail extends Component {
             labelCol={{ span: 4 }}
             wrapperCol={{ span: 18 }}
           >
-            {/*<Upload*/}
-            {/*  className="demandDetailShow-upload"*/}
-            {/*  listType="picture-card"*/}
-            {/*  fileList={orgCodeUrl}*/}
-            {/*  onPreview={(file) => {*/}
-            {/*    this.setState({*/}
-            {/*      previewImage: file.url || file.thumbUrl,*/}
-            {/*      previewVisible: true,*/}
-            {/*    });*/}
-            {/*  }}*/}
-            {/*/>*/}
-            <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-              <ImgList fileList={orgCodeUrl} ItemWidth={'96px'}/>
-            </div>
+            <Upload
+              className="demandDetailShow-upload"
+              listType="picture-card"
+              fileList={orgCodeUrl}
+              onPreview={(file) => {
+                this.setState({
+                  previewImage: file.url || file.thumbUrl,
+                  previewVisible: true,
+                });
+              }}
+            />
+            {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+            {/*  <ImgList fileList={orgCodeUrl} ItemWidth={'96px'}/>*/}
+            {/*</div>*/}
             <Modal
               maskClosable={false}
               footer={null}

+ 14 - 14
js/component/manageCenter/order/orderNew/changeComponent/changeDetailCwzy.js

@@ -1147,20 +1147,20 @@ class ChangeDetail extends Component {
             labelCol={{ span: 4 }}
             wrapperCol={{ span: 18 }}
           >
-            {/*<Upload*/}
-            {/*  className="demandDetailShow-upload"*/}
-            {/*  listType="picture-card"*/}
-            {/*  fileList={orgCodeUrl}*/}
-            {/*  onPreview={(file) => {*/}
-            {/*    this.setState({*/}
-            {/*      previewImage: file.url || file.thumbUrl,*/}
-            {/*      previewVisible: true,*/}
-            {/*    });*/}
-            {/*  }}*/}
-            {/*/>*/}
-            <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-              <ImgList fileList={orgCodeUrl} ItemWidth={'96px'}/>
-            </div>
+            <Upload
+              className="demandDetailShow-upload"
+              listType="picture-card"
+              fileList={orgCodeUrl}
+              onPreview={(file) => {
+                this.setState({
+                  previewImage: file.url || file.thumbUrl,
+                  previewVisible: true,
+                });
+              }}
+            />
+            {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+            {/*  <ImgList fileList={orgCodeUrl} ItemWidth={'96px'}/>*/}
+            {/*</div>*/}
             <Modal
               maskClosable={false}
               footer={null}

+ 14 - 14
js/component/manageCenter/order/orderNew/changeComponent/changeDetailJsjl.js

@@ -439,20 +439,20 @@ class ChangeDetail extends Component {
             labelCol={{ span: 4 }}
             wrapperCol={{ span: 18 }}
           >
-            {/*<Upload*/}
-            {/*  className="demandDetailShow-upload"*/}
-            {/*  listType="picture-card"*/}
-            {/*  fileList={orgCodeUrl}*/}
-            {/*  onPreview={(file) => {*/}
-            {/*    this.setState({*/}
-            {/*      previewImage: file.url || file.thumbUrl,*/}
-            {/*      previewVisible: true,*/}
-            {/*    });*/}
-            {/*  }}*/}
-            {/*/>*/}
-            <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-              <ImgList fileList={orgCodeUrl} ItemWidth={'96px'}/>
-            </div>
+            <Upload
+              className="demandDetailShow-upload"
+              listType="picture-card"
+              fileList={orgCodeUrl}
+              onPreview={(file) => {
+                this.setState({
+                  previewImage: file.url || file.thumbUrl,
+                  previewVisible: true,
+                });
+              }}
+            />
+            {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+            {/*  <ImgList fileList={orgCodeUrl} ItemWidth={'96px'}/>*/}
+            {/*</div>*/}
             <Modal
               maskClosable={false}
               footer={null}

+ 14 - 14
js/component/manageCenter/order/orderNew/changeComponent/changeDetailJsy.js

@@ -424,20 +424,20 @@ class ChangeDetail extends Component {
             labelCol={{ span: 4 }}
             wrapperCol={{ span: 18 }}
           >
-            {/*<Upload*/}
-            {/*  className="demandDetailShow-upload"*/}
-            {/*  listType="picture-card"*/}
-            {/*  fileList={orgCodeUrl}*/}
-            {/*  onPreview={(file) => {*/}
-            {/*    this.setState({*/}
-            {/*      previewImage: file.url || file.thumbUrl,*/}
-            {/*      previewVisible: true,*/}
-            {/*    });*/}
-            {/*  }}*/}
-            {/*/>*/}
-            <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-              <ImgList fileList={orgCodeUrl} ItemWidth={'96px'}/>
-            </div>
+            <Upload
+              className="demandDetailShow-upload"
+              listType="picture-card"
+              fileList={orgCodeUrl}
+              onPreview={(file) => {
+                this.setState({
+                  previewImage: file.url || file.thumbUrl,
+                  previewVisible: true,
+                });
+              }}
+            />
+            {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+            {/*  <ImgList fileList={orgCodeUrl} ItemWidth={'96px'}/>*/}
+            {/*</div>*/}
             <Modal
               maskClosable={false}
               footer={null}

+ 14 - 14
js/component/manageCenter/order/orderNew/changeComponent/changeDetailJszj.js

@@ -430,20 +430,20 @@ class ChangeDetail extends Component {
             labelCol={{ span: 4 }}
             wrapperCol={{ span: 18 }}
           >
-            {/*<Upload*/}
-            {/*  className="demandDetailShow-upload"*/}
-            {/*  listType="picture-card"*/}
-            {/*  fileList={orgCodeUrl}*/}
-            {/*  onPreview={(file) => {*/}
-            {/*    this.setState({*/}
-            {/*      previewImage: file.url || file.thumbUrl,*/}
-            {/*      previewVisible: true,*/}
-            {/*    });*/}
-            {/*  }}*/}
-            {/*/>*/}
-            <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-              <ImgList fileList={orgCodeUrl} ItemWidth={'96px'}/>
-            </div>
+            <Upload
+              className="demandDetailShow-upload"
+              listType="picture-card"
+              fileList={orgCodeUrl}
+              onPreview={(file) => {
+                this.setState({
+                  previewImage: file.url || file.thumbUrl,
+                  previewVisible: true,
+                });
+              }}
+            />
+            {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+            {/*  <ImgList fileList={orgCodeUrl} ItemWidth={'96px'}/>*/}
+            {/*</div>*/}
             <Modal
               maskClosable={false}
               footer={null}

+ 15 - 18
js/component/manageCenter/order/orderNew/changeComponent/changeDetailYxgly.js

@@ -11,7 +11,7 @@ import ProAndCuiList from "./proAndCuiList.jsx";
 import ReactToPrint from "react-to-print";
 const FormItem = Form.Item;
 import Refund from "./refund.js"
-import ImgList from "../../../../common/imgList";
+// import ImgList from "../../../../common/imgList/index";
 const { TextArea } = Input;
 
 const formItemLayout = {
@@ -99,9 +99,6 @@ class ChangeDetail extends Component {
       rejectState: 0,
       // 累计回收退票
       refundInvoice: 0,
-      // 退票数组
-      contactList: [],
-      rejectState: 0,
       // 收款信息
       proceedsData: [],
       proceedsTotal: this.props.proceedsTotal,
@@ -454,20 +451,20 @@ class ChangeDetail extends Component {
             labelCol={{ span: 4 }}
             wrapperCol={{ span: 18 }}
           >
-            {/*<Upload*/}
-            {/*  className="demandDetailShow-upload"*/}
-            {/*  listType="picture-card"*/}
-            {/*  fileList={orgCodeUrl}*/}
-            {/*  onPreview={(file) => {*/}
-            {/*    this.setState({*/}
-            {/*      previewImage: file.url || file.thumbUrl,*/}
-            {/*      previewVisible: true,*/}
-            {/*    });*/}
-            {/*  }}*/}
-            {/*/>*/}
-            <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-              <ImgList fileList={orgCodeUrl} ItemWidth={'96px'}/>
-            </div>
+            <Upload
+              className="demandDetailShow-upload"
+              listType="picture-card"
+              fileList={orgCodeUrl}
+              onPreview={(file) => {
+                this.setState({
+                  previewImage: file.url || file.thumbUrl,
+                  previewVisible: true,
+                });
+              }}
+            />
+            {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+            {/*  <ImgList fileList={orgCodeUrl} ItemWidth={'96px'}/>*/}
+            {/*</div>*/}
             <Modal
               maskClosable={false}
               footer={null}

+ 14 - 14
js/component/manageCenter/order/orderNew/changeComponent/changeDetailYxy.js

@@ -447,20 +447,20 @@ class ChangeDetail extends Component {
             labelCol={{ span: 4 }}
             wrapperCol={{ span: 18 }}
           >
-            {/*<Upload*/}
-            {/*  className="demandDetailShow-upload"*/}
-            {/*  listType="picture-card"*/}
-            {/*  fileList={orgCodeUrl}*/}
-            {/*  onPreview={(file) => {*/}
-            {/*    this.setState({*/}
-            {/*      previewImage: file.url || file.thumbUrl,*/}
-            {/*      previewVisible: true,*/}
-            {/*    });*/}
-            {/*  }}*/}
-            {/*/>*/}
-            <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-              <ImgList fileList={orgCodeUrl} ItemWidth={'96px'}/>
-            </div>
+            <Upload
+              className="demandDetailShow-upload"
+              listType="picture-card"
+              fileList={orgCodeUrl}
+              onPreview={(file) => {
+                this.setState({
+                  previewImage: file.url || file.thumbUrl,
+                  previewVisible: true,
+                });
+              }}
+            />
+            {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+            {/*  <ImgList fileList={orgCodeUrl} ItemWidth={'96px'}/>*/}
+            {/*</div>*/}
             <Modal
               maskClosable={false}
               footer={null}

+ 35 - 40
js/component/manageCenter/order/orderNew/changeComponent/orderDetail.js

@@ -12,7 +12,7 @@ import {
 } from "@/tools.js";
 import img from "./img.png"
 import ResolutionDetail from "@/resolutionDetail";
-import ImgList from "../../../../common/imgList";
+// import ImgList from "../../../../common/imgList";
 
 const FormItem = Form.Item;
 class OrderDetail extends Component {
@@ -529,36 +529,42 @@ class OrderDetail extends Component {
             wrapperCol={{ span: 18 }}
             label="合同扫描件"
           >
-            {/*<Upload*/}
-            {/*  className="demandDetailShow-upload"*/}
-            {/*  listType="picture-card"*/}
-            {/*  fileList={*/}
-            {/*    data.contractPictureUrl*/}
-            {/*      ? splitUrl(*/}
-            {/*          data.contractPictureUrl,*/}
-            {/*          ",",*/}
-            {/*          globalConfig.avatarHost + "/upload"*/}
-            {/*        )*/}
-            {/*      : []*/}
-            {/*  }*/}
-            {/*  onPreview={(file) => {*/}
-            {/*    this.setState({*/}
-            {/*      previewImage: file.url || file.thumbUrl,*/}
-            {/*      previewVisible: true,*/}
-            {/*    });*/}
-            {/*  }}*/}
-            {/*/>*/}
-            <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-              <ImgList fileList={
+            <Upload
+              className="demandDetailShow-upload"
+              listType="picture-card"
+              fileList={
                 data.contractPictureUrl
-                    ? splitUrl(
-                    data.contractPictureUrl,
-                    ",",
-                    globalConfig.avatarHost + "/upload"
+                  ? splitUrl(
+                      data.contractPictureUrl,
+                      ",",
+                      globalConfig.avatarHost + "/upload"
                     )
-                    : []
-              } ItemWidth={'96px'}/>
-            </div>
+                  : []
+              }
+              onPreview={(file) => {
+                this.setState({
+                  previewImage: file.url || file.thumbUrl,
+                  previewVisible: true,
+                });
+              }}
+            />
+            {/*{(data.contractPictureUrl*/}
+            {/*    ? splitUrl(*/}
+            {/*        data.contractPictureUrl,*/}
+            {/*        ",",*/}
+            {/*        globalConfig.avatarHost + "/upload"*/}
+            {/*    )*/}
+            {/*    : []).length > 0 ? <div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+            {/*  <ImgList fileList={*/}
+            {/*    data.contractPictureUrl*/}
+            {/*        ? splitUrl(*/}
+            {/*        data.contractPictureUrl,*/}
+            {/*        ",",*/}
+            {/*        globalConfig.avatarHost + "/upload"*/}
+            {/*        )*/}
+            {/*        : []*/}
+            {/*  } ItemWidth={'96px'}/>*/}
+            {/*</div> : <div/>}*/}
             <Modal
               maskClosable={false}
               footer={null}
@@ -650,17 +656,6 @@ class OrderDetail extends Component {
             {/*    });*/}
             {/*  }}*/}
             {/*/>*/}
-            <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-              <ImgList fileList={
-                data.agreementUrl
-                    ? splitUrl(
-                    data.agreementUrl,
-                    ",",
-                    globalConfig.avatarHost + "/upload"
-                    )
-                    : []
-              } ItemWidth={'96px'}/>
-            </div>
             <Modal
               maskClosable={false}
               footer={null}

+ 14 - 14
js/component/manageCenter/order/orderNew/changeComponent/refund.js

@@ -110,20 +110,20 @@ class Refund extends Component {
             退款凭证
             </h3>
           <div style={{ marginLeft: 20 }}>
-            {/*<Upload*/}
-            {/*  className="demandDetailShow-upload"*/}
-            {/*  listType="picture-card"*/}
-            {/*  fileList={orgCodeUrl}*/}
-            {/*  onPreview={file => {*/}
-            {/*    this.setState({*/}
-            {/*      previewImage: file.url || file.thumbUrl,*/}
-            {/*      previewVisible: true*/}
-            {/*    });*/}
-            {/*  }}*/}
-            {/*/>*/}
-            <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-              <ImgList fileList={orgCodeUrl} ItemWidth={'96px'}/>
-            </div>
+            <Upload
+              className="demandDetailShow-upload"
+              listType="picture-card"
+              fileList={orgCodeUrl}
+              onPreview={file => {
+                this.setState({
+                  previewImage: file.url || file.thumbUrl,
+                  previewVisible: true
+                });
+              }}
+            />
+            {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+            {/*  <ImgList fileList={orgCodeUrl} ItemWidth={'96px'}/>*/}
+            {/*</div>*/}
             <Modal
               maskClosable={false}
               footer={null}

+ 42 - 42
js/component/manageCenter/order/orderNew/checkOutsourcing.jsx

@@ -1371,20 +1371,20 @@ const checkOutsourcing = Form.create()(
                           wrapperCol={{ span: 18 }}
                           label="合同扫描件"
                         >
-                          {/*<Upload*/}
-                          {/*  className="demandDetailShow-upload"*/}
-                          {/*  listType="picture-card"*/}
-                          {/*  fileList={this.state.orgCodeUrl}*/}
-                          {/*  onPreview={(file) => {*/}
-                          {/*    this.setState({*/}
-                          {/*      previewImage: file.url || file.thumbUrl,*/}
-                          {/*      previewVisible: true,*/}
-                          {/*    })*/}
-                          {/*  }}*/}
-                          {/*/>*/}
-                          <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-                            <ImgList fileList={this.state.orgCodeUrl} ItemWidth={'96px'}/>
-                          </div>
+                          <Upload
+                            className="demandDetailShow-upload"
+                            listType="picture-card"
+                            fileList={this.state.orgCodeUrl}
+                            onPreview={(file) => {
+                              this.setState({
+                                previewImage: file.url || file.thumbUrl,
+                                previewVisible: true,
+                              })
+                            }}
+                          />
+                          {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+                          {/*  <ImgList fileList={this.state.orgCodeUrl} ItemWidth={'96px'}/>*/}
+                          {/*</div>*/}
                           <Modal
                             maskClosable={false}
                             footer={null}
@@ -1454,20 +1454,20 @@ const checkOutsourcing = Form.create()(
                           wrapperCol={{ span: 18 }}
                           label="补充协议"
                         >
-                          {/*<Upload*/}
-                          {/*  className="demandDetailShow-upload"*/}
-                          {/*  listType="picture-card"*/}
-                          {/*  fileList={this.state.replenishUrl}*/}
-                          {/*  onPreview={(file) => {*/}
-                          {/*    this.setState({*/}
-                          {/*      previewImage: file.url || file.thumbUrl,*/}
-                          {/*      previewVisibles: true,*/}
-                          {/*    })*/}
-                          {/*  }}*/}
-                          {/*/>*/}
-                          <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-                            <ImgList fileList={this.state.replenishUrl} ItemWidth={'96px'}/>
-                          </div>
+                          <Upload
+                            className="demandDetailShow-upload"
+                            listType="picture-card"
+                            fileList={this.state.replenishUrl}
+                            onPreview={(file) => {
+                              this.setState({
+                                previewImage: file.url || file.thumbUrl,
+                                previewVisibles: true,
+                              })
+                            }}
+                          />
+                          {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+                          {/*  <ImgList fileList={this.state.replenishUrl} ItemWidth={'96px'}/>*/}
+                          {/*</div>*/}
                           <Modal
                             maskClosable={false}
                             footer={null}
@@ -1741,20 +1741,20 @@ const checkOutsourcing = Form.create()(
                     wrapperCol={{ span: 18 }}
                     label="合同/协议扫描件"
                   >
-                    {/*<Upload*/}
-                    {/*  className="demandDetailShow-upload"*/}
-                    {/*  listType="picture-card"*/}
-                    {/*  fileList={this.state.pictureUrl}*/}
-                    {/*  onPreview={(file) => {*/}
-                    {/*    this.setState({*/}
-                    {/*      previewImage: file.url || file.thumbUrl,*/}
-                    {/*      previewVisible: true,*/}
-                    {/*    })*/}
-                    {/*  }}*/}
-                    {/*/>*/}
-                    <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-                      <ImgList fileList={this.state.pictureUrl} ItemWidth={'96px'}/>
-                    </div>
+                    <Upload
+                      className="demandDetailShow-upload"
+                      listType="picture-card"
+                      fileList={this.state.pictureUrl}
+                      onPreview={(file) => {
+                        this.setState({
+                          previewImage: file.url || file.thumbUrl,
+                          previewVisible: true,
+                        })
+                      }}
+                    />
+                    {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+                    {/*  <ImgList fileList={this.state.pictureUrl} ItemWidth={'96px'}/>*/}
+                    {/*</div>*/}
                     <Modal
                       maskClosable={false}
                       footer={null}

+ 28 - 28
js/component/manageCenter/order/orderNew/examine.jsx

@@ -1575,20 +1575,20 @@ const IntentionCustomer = Form.create()(
                               wrapperCol={{ span: 18 }}
                               label="合同扫描件"
                             >
-                              {/*<Upload*/}
-                              {/*  className="demandDetailShow-upload"*/}
-                              {/*  listType="picture-card"*/}
-                              {/*  fileList={this.state.orgCodeUrl}*/}
-                              {/*  onPreview={(file) => {*/}
-                              {/*    this.setState({*/}
-                              {/*      previewImage: file.url || file.thumbUrl,*/}
-                              {/*      previewVisible: true,*/}
-                              {/*    });*/}
-                              {/*  }}*/}
-                              {/*/>*/}
-                              <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-                                <ImgList fileList={this.state.orgCodeUrl} ItemWidth={'96px'}/>
-                              </div>
+                              <Upload
+                                className="demandDetailShow-upload"
+                                listType="picture-card"
+                                fileList={this.state.orgCodeUrl}
+                                onPreview={(file) => {
+                                  this.setState({
+                                    previewImage: file.url || file.thumbUrl,
+                                    previewVisible: true,
+                                  });
+                                }}
+                              />
+                              {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+                              {/*  <ImgList fileList={this.state.orgCodeUrl} ItemWidth={'96px'}/>*/}
+                              {/*</div>*/}
                               <Modal
                                 maskClosable={false}
                                 footer={null}
@@ -1658,20 +1658,20 @@ const IntentionCustomer = Form.create()(
                               wrapperCol={{ span: 18 }}
                               label="补充协议"
                             >
-                              {/*<Upload*/}
-                              {/*  className="demandDetailShow-upload"*/}
-                              {/*  listType="picture-card"*/}
-                              {/*  fileList={this.state.replenishUrl}*/}
-                              {/*  onPreview={(file) => {*/}
-                              {/*    this.setState({*/}
-                              {/*      previewImage: file.url || file.thumbUrl,*/}
-                              {/*      previewVisibles: true,*/}
-                              {/*    });*/}
-                              {/*  }}*/}
-                              {/*/>*/}
-                              <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-                                <ImgList fileList={this.state.replenishUrl} ItemWidth={'96px'}/>
-                              </div>
+                              <Upload
+                                className="demandDetailShow-upload"
+                                listType="picture-card"
+                                fileList={this.state.replenishUrl}
+                                onPreview={(file) => {
+                                  this.setState({
+                                    previewImage: file.url || file.thumbUrl,
+                                    previewVisibles: true,
+                                  });
+                                }}
+                              />
+                              {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+                              {/*  <ImgList fileList={this.state.replenishUrl} ItemWidth={'96px'}/>*/}
+                              {/*</div>*/}
                               <Modal
                                 maskClosable={false}
                                 footer={null}

+ 5 - 2
js/component/manageCenter/order/orderNew/inquiry.jsx

@@ -45,6 +45,7 @@ import ShowModalDiv from "@/showModal.jsx";
 import { ChooseList } from "../orderNew/chooseList";
 import ReactToPrint from "react-to-print";
 import Project from "../../../../component/project";
+import ImgList from "../../../common/imgList";
 const { Option } = Select;
 const { TabPane } = Tabs;
 const PicturesWall = React.createClass({
@@ -1056,7 +1057,6 @@ const IntentionCustomer = Form.create()(
         invoiceType: undefined,
         unitName: "",
         taxNumber: "",
-        unitName: "",
         amount: "",
         banks: "",
         content: "",
@@ -4177,8 +4177,11 @@ const IntentionCustomer = Form.create()(
                       <FormItem
                         labelCol={{ span: 4 }}
                         wrapperCol={{ span: 18 }}
-                        label="合同扫描件"
+                        label={"合同扫描件"}
                       >
+                        {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+                        {/*  <ImgList fileList={this.state.orgCodeUrl} ItemWidth={'96px'}/>*/}
+                        {/*</div>*/}
                         <Upload
                           className="demandDetailShow-upload"
                           listType="picture-card"

+ 24 - 24
js/component/portal/search/achievementDesc.jsx

@@ -296,18 +296,18 @@ const AchievementDetail = React.createClass({
                             <Col span={4}>技术图片</Col>
                             <Col span={20}>
                                 <div className="clearfix">
-                                    {/*<Upload*/}
-                                    {/*    listType="picture-card"*/}
-                                    {/*    fileList={this.state.technicalPictureUrl}*/}
-                                    {/*    onPreview={(file) => {*/}
-                                    {/*        this.setState({*/}
-                                    {/*            previewImage: file.url || file.thumbUrl,*/}
-                                    {/*            previewVisible: true,*/}
-                                    {/*        });*/}
-                                    {/*    }} />*/}
-                                    <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-                                        <ImgList fileList={this.state.technicalPictureUrl} ItemWidth={'96px'}/>
-                                    </div>
+                                    <Upload
+                                        listType="picture-card"
+                                        fileList={this.state.technicalPictureUrl}
+                                        onPreview={(file) => {
+                                            this.setState({
+                                                previewImage: file.url || file.thumbUrl,
+                                                previewVisible: true,
+                                            });
+                                        }} />
+                                    {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+                                    {/*    <ImgList fileList={this.state.technicalPictureUrl} ItemWidth={'96px'}/>*/}
+                                    {/*</div>*/}
                                     <Modal maskClosable={false} footer={null}
                                         visible={this.state.previewVisible}
                                         onCancel={() => { this.setState({ previewVisible: false }) }}>
@@ -325,18 +325,18 @@ const AchievementDetail = React.createClass({
                         <Row>
                             <Col span={4}>成熟度证明材料(图片)</Col>
                             <Col span={20}>
-                                {/*<Upload className="demandDetailShow-upload"*/}
-                                {/*    listType="picture-card"*/}
-                                {/*    fileList={this.state.maturityPictureUrl}*/}
-                                {/*    onPreview={(file) => {*/}
-                                {/*        this.setState({*/}
-                                {/*            previewImage: file.url || file.thumbUrl,*/}
-                                {/*            previewVisible: true,*/}
-                                {/*        });*/}
-                                {/*    }} />*/}
-                                <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-                                    <ImgList fileList={this.state.maturityPictureUrl} ItemWidth={'96px'}/>
-                                </div>
+                                <Upload className="demandDetailShow-upload"
+                                    listType="picture-card"
+                                    fileList={this.state.maturityPictureUrl}
+                                    onPreview={(file) => {
+                                        this.setState({
+                                            previewImage: file.url || file.thumbUrl,
+                                            previewVisible: true,
+                                        });
+                                    }} />
+                                {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+                                {/*    <ImgList fileList={this.state.maturityPictureUrl} ItemWidth={'96px'}/>*/}
+                                {/*</div>*/}
                             </Col>
                         </Row>
                         <Row>

+ 12 - 12
js/component/portal/search/demandDesc.jsx

@@ -292,18 +292,18 @@ const DemandDetail = React.createClass({
                             <Col span={4}>需求相关文件(图片)</Col>
                             <Col span={20}>
                                 <div className="clearfix">
-                                    {/*<Upload*/}
-                                    {/*    listType="picture-card"*/}
-                                    {/*    fileList={this.state.pictureUrl}*/}
-                                    {/*    onPreview={(file) => {*/}
-                                    {/*        this.setState({*/}
-                                    {/*            previewImage: file.url || file.thumbUrl,*/}
-                                    {/*            previewVisible: true,*/}
-                                    {/*        });*/}
-                                    {/*    }} />*/}
-                                    <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-                                        <ImgList fileList={this.state.pictureUrl} ItemWidth={'96px'}/>
-                                    </div>
+                                    <Upload
+                                        listType="picture-card"
+                                        fileList={this.state.pictureUrl}
+                                        onPreview={(file) => {
+                                            this.setState({
+                                                previewImage: file.url || file.thumbUrl,
+                                                previewVisible: true,
+                                            });
+                                        }} />
+                                    {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+                                    {/*    <ImgList fileList={this.state.pictureUrl} ItemWidth={'96px'}/>*/}
+                                    {/*</div>*/}
                                     <Modal maskClosable={false} footer={null}
                                         visible={this.state.previewVisible}
                                         onCancel={() => { this.setState({ previewVisible: false }) }}>

+ 28 - 28
js/component/project.jsx

@@ -1053,20 +1053,20 @@ const project = React.createClass({
                       wrapperCol={{ span: 18 }}
                       label="附件"
                     >
-                      {/*<Upload*/}
-                      {/*  className="demandDetailShow-upload"*/}
-                      {/*  listType="picture-card"*/}
-                      {/*  fileList={this.state.attachmentUrl}*/}
-                      {/*  onPreview={(file) => {*/}
-                      {/*    this.setState({*/}
-                      {/*      previewImage: file.url || file.thumbUrl,*/}
-                      {/*      previewVisible: true,*/}
-                      {/*    })*/}
-                      {/*  }}*/}
-                      {/*/>*/}
-                      <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-                        <ImgList fileList={this.state.attachmentUrl} ItemWidth={'96px'}/>
-                      </div>
+                      <Upload
+                        className="demandDetailShow-upload"
+                        listType="picture-card"
+                        fileList={this.state.attachmentUrl}
+                        onPreview={(file) => {
+                          this.setState({
+                            previewImage: file.url || file.thumbUrl,
+                            previewVisible: true,
+                          })
+                        }}
+                      />
+                      {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+                      {/*  <ImgList fileList={this.state.attachmentUrl} ItemWidth={'96px'}/>*/}
+                      {/*</div>*/}
                       <Modal
                         maskClosable={false}
                         footer={null}
@@ -1181,20 +1181,20 @@ const project = React.createClass({
                       wrapperCol={{ span: 18 }}
                       label="合同/协议扫描件"
                     >
-                      {/*<Upload*/}
-                      {/*  className="demandDetailShow-upload"*/}
-                      {/*  listType="picture-card"*/}
-                      {/*  fileList={this.state.pictureUrl}*/}
-                      {/*  onPreview={(file) => {*/}
-                      {/*    this.setState({*/}
-                      {/*      previewImage: file.url || file.thumbUrl,*/}
-                      {/*      previewVisible: true,*/}
-                      {/*    })*/}
-                      {/*  }}*/}
-                      {/*/>*/}
-                      <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
-                        <ImgList fileList={this.state.pictureUrl} ItemWidth={'96px'}/>
-                      </div>
+                      <Upload
+                        className="demandDetailShow-upload"
+                        listType="picture-card"
+                        fileList={this.state.pictureUrl}
+                        onPreview={(file) => {
+                          this.setState({
+                            previewImage: file.url || file.thumbUrl,
+                            previewVisible: true,
+                          })
+                        }}
+                      />
+                      {/*<div style={{paddingTop:'10px',paddingBottom:'10px'}}>*/}
+                      {/*  <ImgList fileList={this.state.pictureUrl} ItemWidth={'96px'}/>*/}
+                      {/*</div>*/}
                       <Modal
                         maskClosable={false}
                         footer={null}