|
@@ -3,6 +3,7 @@ import { Input, Menu, Dropdown, Button, Icon, message, Table, Divider, Tag, Sele
|
3
|
3
|
import { FormattedMessage } from 'umi-plugin-react/locale';
|
4
|
4
|
import channels from './channelList.less';
|
5
|
5
|
import router from 'umi/router';
|
|
6
|
+import moment from 'moment';
|
6
|
7
|
import apis from '../../services/apis';
|
7
|
8
|
import request from '../../utils/request'
|
8
|
9
|
|
|
@@ -91,6 +92,16 @@ const columns = [
|
91
|
92
|
dataIndex: 'status',
|
92
|
93
|
key: 'status',
|
93
|
94
|
align: 'center',
|
|
95
|
+ // eslint-disable-next-line consistent-return
|
|
96
|
+ render: (text, records) => {
|
|
97
|
+ if (records.status === 1) { return '报备' }
|
|
98
|
+ if (records.status === 2) { return 'admin.taNews.weight' }
|
|
99
|
+ if (records.status === 3) { return '认购' }
|
|
100
|
+ if (records.status === 4) { return '签约' }
|
|
101
|
+ if (records.verifyStatus === 1) { return '待审核' }
|
|
102
|
+ if (records.verifyStatus === 2) { return '审核同意' }
|
|
103
|
+ if (records.verifyStatus === 3) { return '签约' }
|
|
104
|
+ },
|
94
|
105
|
},
|
95
|
106
|
];
|
96
|
107
|
|