Commit 0ef372be authored by baixian's avatar baixian

数据中心111

parent 0e1fa403
......@@ -17,6 +17,6 @@
</head>
<body>
<div id="root"></div>
<script src="dist/main.js?1573439173100" charset="utf-8"></script>
<script src="dist/main.js?1573554307209" charset="utf-8"></script>
</body>
</html>
\ No newline at end of file
......@@ -43,17 +43,22 @@ class detailModalForm extends React.Component {
title: '头像',
dataIndex: 'avatar',
key: 'avatar',
render: (text) => {
render: (text, record) => {
return (
<div className={pageStyle.avatarBox}>
<Avatar src={imagify(text)} />
<Avatar size={36} src={imagify(record.wechat_user.avatar)} />
</div>);
},
},
{
title: '姓名',
dataIndex: 'nickname',
key: 'nickname',
dataIndex: 'name',
key: 'name',
render: (text, record) => {
return (
<div>{text || record.wechat_user.nickname}</div>
);
},
},
{
title: '电话号码',
......
......@@ -338,13 +338,18 @@ class DataCenterForm extends React.Component {
return (
<div className={pageStyle.avatarBox}>
<span className={pageStyle.sortNum}>{(customerListParams.perPage * (customerListParams.page - 1)) + index + 1}</span>
<Avatar src={imagify(text)} />
<Avatar size={36} src={imagify(record.wechat_user.avatar)} />
</div>);
},
},
{
title: '微信昵称',
dataIndex: 'nickname',
title: '昵称',
dataIndex: 'name',
render: (text, record) => {
return (
<div>{text || record.wechat_user.nickname}</div>
);
},
},
{
title: '电话号码',
......@@ -368,7 +373,7 @@ class DataCenterForm extends React.Component {
return (
<div className={pageStyle.avatarBox}>
<span className={pageStyle.sortNum}>{(studentListParams.perPage * (studentListParams.page - 1)) + index + 1}</span>
<Avatar src={imagify(text)} />
<Avatar size={36} src={imagify(text)} />
</div>);
},
},
......@@ -492,7 +497,7 @@ class DataCenterForm extends React.Component {
<span>访客数</span>
<Tooltip
placement="top"
title="筛选时间内,店铺所有页面(包括店铺主页、习作广场、个人中心等)被访问的人数,日去重多天累加。一个人在同一天内访问多次只记为一人。"
title="筛选时间内,机构所有页面(包括微官网主页、习作广场、个人中心等)被访问的人数,一个人在统计时间范围内访问多次只记为一个。"
>
<Icon style={{ cursor: 'pointer' }} type="question-circle" />
</Tooltip>
......@@ -506,7 +511,7 @@ class DataCenterForm extends React.Component {
<span>浏览量</span>
<Tooltip
placement="top"
title="筛选时间内,店铺所有页面(包括店铺主页、打卡详情、个人中心等)被访问的次数,一个人在筛选时间内访问多次记为多次。"
title="筛选时间内,机构所有页面(包括机构主页、打卡详情、个人中心等)被访问的次数,一个人在统计时间内访问多次记为多次。"
>
<Icon style={{ cursor: 'pointer' }} type="question-circle" />
</Tooltip>
......@@ -535,30 +540,30 @@ class DataCenterForm extends React.Component {
</div>
<div className={pageStyle.staticItem}>
<div className={pageStyle.staticTitle}>
<span>微官网曝光次数</span>
<span>分享访问次数</span>
<Tooltip
placement="top"
title="通过分享链接以及老学员进入主页,微官网的展示次数"
title="筛选时间内,通过他人分享链接访问被分享页面的浏览量。"
>
<Icon style={{ cursor: 'pointer' }} type="question-circle" />
</Tooltip>
</div>
<div className={pageStyle.staticNum}>
<span>{dashboardObj.micro_website_pv}</span>
<span>{dashboardObj.share_pv}</span>
</div>
</div>
<div className={pageStyle.staticItem}>
<div className={pageStyle.staticTitle}>
<span>分享访问次数</span>
<span>微官网曝光次数</span>
<Tooltip
placement="top"
title="筛选时间内,通过他人分享链接访问被分享页面的浏览量。"
title="通过分享链接以及老学员进入主页,微官网的展示次数"
>
<Icon style={{ cursor: 'pointer' }} type="question-circle" />
</Tooltip>
</div>
<div className={pageStyle.staticNum}>
<span>{dashboardObj.share_pv}</span>
<span>{dashboardObj.micro_website_pv}</span>
</div>
</div>
</div>
......
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