Browse Source

图片上传更爱

liting2017 7 years ago
parent
commit
928e86b6e1

+ 1 - 1
js/component/manageCenter/customer/customerData/companyCustomer.jsx

@@ -49,7 +49,7 @@ const PicturesWall = React.createClass({
 			<div style={{display:"inline-block"}}>
                 <Upload
                     action={globalConfig.context + "/api/admin/customer/uploadCustomerImg"}
-                    data={{ 'sign': this.props.pictureSign }}
+                    data={{ 'sign': '' }}
                     listType="picture-card"
                     fileList={fileList}
                     onPreview={this.handlePreview}

+ 1 - 1
js/component/manageCenter/customer/customerData/myClient.jsx

@@ -49,7 +49,7 @@ const PicturesWall = React.createClass({
 			<div style={{display:"inline-block"}}>
                 <Upload
                     action={globalConfig.context + "/api/admin/customer/uploadCustomerImg"}
-                    data={{ 'sign': this.props.pictureSign }}
+                    data={{ 'sign': '' }}
                     listType="picture-card"
                     fileList={fileList}
                     onPreview={this.handlePreview}

+ 1 - 4
js/component/manageCenter/customer/individualCustomer/individualCustomer.jsx

@@ -50,7 +50,7 @@ const PicturesWall = React.createClass({
 			<div style={{display:"inline-block"}}>
                 <Upload
                     action={globalConfig.context + "/api/admin/customer/uploadCustomerImg"}
-                    data={{ 'sign': this.props.pictureSign }}
+                    data={{ 'sign': '' }}
                     listType="picture-card"
                     fileList={fileList}
                     onPreview={this.handlePreview}
@@ -2513,7 +2513,6 @@ const IndividualCustomer = Form.create()(React.createClass({
 							                        wrapperCol={{ span: 10 }}
 							                        label="身份证正面" >
 							                        <PicturesWall
-							                            pictureSign="ID"
 							                            fileList={this.getPositiveIdUrl}
 							                            pictureUrl={this.state.positiveIdUrl} />
 							                            <p>建议:图片要清晰。</p>
@@ -2523,7 +2522,6 @@ const IndividualCustomer = Form.create()(React.createClass({
 							                        wrapperCol={{ span: 10 }}
 							                        label="身份证反面" > 
 							                        <PicturesWall
-							                            pictureSign="ID"
 							                            fileList={this.getOppositeIdUrl}
 							                            pictureUrl={this.state.oppositeIdUrl} />
 							                            <p>建议:图片要清晰。</p>
@@ -2533,7 +2531,6 @@ const IndividualCustomer = Form.create()(React.createClass({
 							                        wrapperCol={{ span: 10 }}
 							                        label="客户照片" > 
 							                        <PicturesWall
-							                            pictureSign="portrait"
 							                            fileList={this.getHeadPortraitUrl}
 							                            pictureUrl={this.state.headPortraitUrl} />
 							                            <p>建议:图片要清晰。</p>

+ 1 - 1
js/component/manageCenter/customer/individualCustomer/queryCustomer.jsx

@@ -49,7 +49,7 @@ const PicturesWall = React.createClass({
 			<div style={{display:"inline-block"}}>
                 <Upload
                     action={globalConfig.context + "/api/admin/customer/uploadCustomerImg"}
-                    data={{ 'sign': this.props.pictureSign }}
+                    data={{ 'sign': '' }}
                     listType="picture-card"
                     fileList={fileList}
                     onPreview={this.handlePreview}