|
@@ -162,6 +162,12 @@ class Content extends Component {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
{
|
|
{
|
|
|
|
+ title: "上传时间",
|
|
|
|
+ dataIndex: "createTimeStr",
|
|
|
|
+ key: "createTimeStr",
|
|
|
|
+ width: 120,
|
|
|
|
+ },
|
|
|
|
+ {
|
|
title: "咨询师名称",
|
|
title: "咨询师名称",
|
|
dataIndex: "consultantName",
|
|
dataIndex: "consultantName",
|
|
key: "consultantName",
|
|
key: "consultantName",
|
|
@@ -213,13 +219,13 @@ class Content extends Component {
|
|
this.loadData();
|
|
this.loadData();
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
- message.success(data.error[0].message);
|
|
|
|
|
|
+ message.error(data.error[0].message);
|
|
}
|
|
}
|
|
}.bind(this)
|
|
}.bind(this)
|
|
).always(
|
|
).always(
|
|
function (err) {
|
|
function (err) {
|
|
if (err.status === 404) {
|
|
if (err.status === 404) {
|
|
- message.warning('数据错误');
|
|
|
|
|
|
+ message.error('数据错误');
|
|
}
|
|
}
|
|
this.setState({
|
|
this.setState({
|
|
upLoadFileLoading: false,
|
|
upLoadFileLoading: false,
|
|
@@ -433,6 +439,34 @@ class Content extends Component {
|
|
});
|
|
});
|
|
}}
|
|
}}
|
|
/>
|
|
/>
|
|
|
|
+ <span>上传时间:</span>
|
|
|
|
+ <RangePicker
|
|
|
|
+ style={{ width: 200 }}
|
|
|
|
+ value={[
|
|
|
|
+ searchInfor.startTime ? moment(searchInfor.startTime) : null,
|
|
|
|
+ searchInfor.endTime ? moment(searchInfor.endTime) : null,
|
|
|
|
+ ]}
|
|
|
|
+ onChange={(data, dataString) => {
|
|
|
|
+ this.setState({
|
|
|
|
+ searchInfor: Object.assign(searchInfor, {
|
|
|
|
+ startTime: dataString[0],
|
|
|
|
+ endTime: dataString[1],
|
|
|
|
+ }),
|
|
|
|
+ });
|
|
|
|
+ }}
|
|
|
|
+ />
|
|
|
|
+ <Input
|
|
|
|
+ placeholder={"请输入单位名称"}
|
|
|
|
+ style={{ width: 180 }}
|
|
|
|
+ value={searchInfor.userName}
|
|
|
|
+ onChange={(e) => {
|
|
|
|
+ this.setState({
|
|
|
|
+ searchInfor: Object.assign(searchInfor, {
|
|
|
|
+ userName: e.target.value,
|
|
|
|
+ }),
|
|
|
|
+ });
|
|
|
|
+ }}
|
|
|
|
+ />
|
|
<Button
|
|
<Button
|
|
type="primary"
|
|
type="primary"
|
|
onClick={() => {
|
|
onClick={() => {
|
|
@@ -481,7 +515,7 @@ class Content extends Component {
|
|
size="middle"
|
|
size="middle"
|
|
bordered
|
|
bordered
|
|
columns={columns}
|
|
columns={columns}
|
|
- scroll={{ x: window.innerWidth > 1536 ? '130%' : window.innerWidth < 1152 ? '280%' : '200%' }}
|
|
|
|
|
|
+ scroll={{ x: window.innerWidth > 1536 ? '140%' : window.innerWidth < 1152 ? '290%' : '210%' }}
|
|
dataSource={this.state.dataSource}
|
|
dataSource={this.state.dataSource}
|
|
pagination={this.state.pagination}
|
|
pagination={this.state.pagination}
|
|
onRowDoubleClick={this.onRowDoubleClick.bind(this)}
|
|
onRowDoubleClick={this.onRowDoubleClick.bind(this)}
|