|
|
@@ -67,7 +67,7 @@ const PicturesWall = React.createClass({
|
|
|
},
|
|
|
componentWillReceiveProps(nextProps) {
|
|
|
this.state.fileList = nextProps.pictureUrl;
|
|
|
- console.log(nextProps.pictureUrl);
|
|
|
+ // console.log(nextProps.pictureUrl);
|
|
|
},
|
|
|
render() {
|
|
|
const { previewVisible, previewImage, fileList } = this.state;
|
|
|
@@ -386,6 +386,7 @@ const FirmList = Form.create()(
|
|
|
//编辑按钮操作
|
|
|
tableRowClick(record) {
|
|
|
this.setState({
|
|
|
+ flag: true,
|
|
|
editvisible: true,
|
|
|
});
|
|
|
this.edit(record);
|
|
|
@@ -465,7 +466,7 @@ const FirmList = Form.create()(
|
|
|
content: this.state.editorcontext,
|
|
|
status: this.state.status,
|
|
|
releaseTimes: this.state.time,
|
|
|
- releaseStatus: flag ? flag : undefined,
|
|
|
+ releaseStatus: flag,
|
|
|
keywords: this.state.keywords,
|
|
|
},
|
|
|
success: function (data) {
|
|
|
@@ -497,7 +498,7 @@ const FirmList = Form.create()(
|
|
|
pictureUrl: this.state.pictureUrl[0].response.data,
|
|
|
sort: this.state.sort,
|
|
|
content: this.state.editorcontext,
|
|
|
- releaseStatus: flag ? flag : undefined,
|
|
|
+ releaseStatus: flag,
|
|
|
status: 0,
|
|
|
releaseTimes: this.state.time,
|
|
|
keywords: this.state.keywords,
|
|
|
@@ -809,7 +810,7 @@ const FirmList = Form.create()(
|
|
|
}
|
|
|
onChange={(e, f) => {
|
|
|
this.setState({ time: f });
|
|
|
- console.log(e, f);
|
|
|
+ // console.log(e, f);
|
|
|
}}
|
|
|
style={{ width: "240px" }}
|
|
|
/>
|