|
@@ -162,6 +162,12 @@ class Content extends Component {
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
+ title: "上传时间",
|
|
|
+ dataIndex: "createTimeStr",
|
|
|
+ key: "createTimeStr",
|
|
|
+ width: 120,
|
|
|
+ },
|
|
|
+ {
|
|
|
title: "咨询师名称",
|
|
|
dataIndex: "consultantName",
|
|
|
key: "consultantName",
|
|
@@ -213,13 +219,13 @@ class Content extends Component {
|
|
|
this.loadData();
|
|
|
}
|
|
|
} else {
|
|
|
- message.success(data.error[0].message);
|
|
|
+ message.error(data.error[0].message);
|
|
|
}
|
|
|
}.bind(this)
|
|
|
).always(
|
|
|
function (err) {
|
|
|
if (err.status === 404) {
|
|
|
- message.warning('数据错误');
|
|
|
+ message.error('数据错误');
|
|
|
}
|
|
|
this.setState({
|
|
|
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
|
|
|
type="primary"
|
|
|
onClick={() => {
|
|
@@ -481,7 +515,7 @@ class Content extends Component {
|
|
|
size="middle"
|
|
|
bordered
|
|
|
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}
|
|
|
pagination={this.state.pagination}
|
|
|
onRowDoubleClick={this.onRowDoubleClick.bind(this)}
|