Commit 131fe054 authored by baixian's avatar baixian

学员管理增加录入时间

parent e5138d9a
......@@ -18,5 +18,5 @@
</head>
<body>
<div id="root"></div>
<script type="text/javascript" src="https://cdn.s.shangjiadao.cn/qingxiao/biz/dist/main.71bf0f.js"></script></body>
<script type="text/javascript" src="https://cdn.s.shangjiadao.cn/qingxiao/biz/dist/main.a7d5ee.js"></script></body>
</html>
......@@ -869,6 +869,12 @@ class StudentMgt extends React.Component {
);
},
},
{
title: '录入时间',
dataIndex: 'created_at',
key: 'created_at',
width: 150,
},
{
title: '微信绑定',
dataIndex: 'consumer_id',
......
......@@ -10,6 +10,7 @@ function exportExcel(headers, data, fileName = 'XXX.xlsx', type) {
return {
name: item.name,
mobile: item.mobile,
created_at: item.created_at,
consumer_id: item.consumer_id == 0 ? '未绑定' : '已绑定',
integral_count: item.integral_count,
birthday: `${(new Date().getFullYear() + 1) - new Date(item.birthday).getFullYear()}岁`,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment