|
@@ -12,7 +12,12 @@ import BatchImport from './batchImport';
|
|
|
const AchievementList = React.createClass({
|
|
|
loadData(pageNo, apiUrl) {
|
|
|
this.state.data = [];
|
|
|
- this.setState({
|
|
|
+
|
|
|
+ if(this.state.serialNumber&&isNaN(this.state.serialNumber)){
|
|
|
+ message.warning('请输入正确的编号格式');
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ this.setState({
|
|
|
loading: true
|
|
|
});
|
|
|
$.ajax({
|
|
@@ -63,7 +68,10 @@ const AchievementList = React.createClass({
|
|
|
releaseDateFormattedDate: thisdata.releaseDateFormattedDate,
|
|
|
auditStatus: thisdata.auditStatus,
|
|
|
boutique: thisdata.boutique,
|
|
|
- hot: thisdata.hot
|
|
|
+ hot: thisdata.hot,
|
|
|
+ techBrokerId:thisdata.techBrokerId,
|
|
|
+ createTimeFormattedDate: thisdata.createTimeFormattedDate,
|
|
|
+ remark:thisdata.remark
|
|
|
});
|
|
|
};
|
|
|
this.state.pagination.current = data.data.pageNo;
|
|
@@ -124,6 +132,10 @@ const AchievementList = React.createClass({
|
|
|
dataIndex: 'theName',
|
|
|
key: 'theName',
|
|
|
}, {
|
|
|
+ title: '录入人',
|
|
|
+ dataIndex: 'techBrokerId',
|
|
|
+ key: 'techBrokerId',
|
|
|
+ },{
|
|
|
title: '审核状态',
|
|
|
dataIndex: 'auditStatus',
|
|
|
key: 'auditStatus',
|
|
@@ -145,7 +157,12 @@ const AchievementList = React.createClass({
|
|
|
title: '发布时间',
|
|
|
dataIndex: 'releaseDateFormattedDate',
|
|
|
key: 'releaseDateFormattedDate',
|
|
|
- }
|
|
|
+ },{
|
|
|
+ title: '录入时间',
|
|
|
+ dataIndex: 'createTimeFormattedDate',
|
|
|
+ key: 'createTimeFormattedDate',
|
|
|
+ },
|
|
|
+
|
|
|
],
|
|
|
dataSource: [],
|
|
|
searchTime: [,]
|