Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ethan
/
ant-admin-pro
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit e9ed9b36
authored
2018-02-07 11:46:55 +0800
by
ethanlamzs
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加学校二维码
1 parent
ee5b9593
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
12 deletions
src/routes/devutil/schoolmgr.js
src/routes/devutil/schoolmgr.less
src/routes/devutil/schoolmgr.js
View file @
e9ed9b3
...
...
@@ -43,6 +43,7 @@ import linkman from '../../../mock/linkman';
const
{
Search
}
=
Input
;
const
TreeNode
=
Tree
.
TreeNode
;
const
{
Meta
}
=
Card
;
@
connect
(({
linkman
,
wxdata
,
loading
})
=>
({
linkman
,
...
...
@@ -298,23 +299,13 @@ export default class schoolmgr extends Component{
render
(){
const
topColResponsiveProps
=
{
xs
:
24
,
sm
:
12
,
md
:
12
,
lg
:
12
,
xl
:
16
,
style
:
{
marginBottom
:
24
},
};
const
{
linkman
:{
groups
,
schoolDetail
},
wxdata
:{
applist
}}
=
this
.
props
;
this
.
cacheGroupsInfo
(
groups
);
return
<
div
>
<
Row
gutter
=
{
24
}
>
<
Col
{...
topColResponsiveProps
}
>
<
Col
xl
=
{
14
}
lg
=
{
24
}
md
=
{
24
}
sm
=
{
24
}
xs
=
{
24
}
>
<
ChartCard
bordered
=
{
false
}
title
=
{
`
${
schoolDetail
.
sysName
}
-- (学校码:
${
this
.
state
.
schoolCode
}
企业id:
${
schoolDetail
.
corpid
}
)`
}
...
...
@@ -335,6 +326,18 @@ export default class schoolmgr extends Component{
<
/Trend
>
<
/ChartCard
>
<
/Col
>
<
Col
xl
=
{
10
}
>
<
Card
hoverable
style
=
{{
width
:
340
}}
cover
=
{
<
img
alt
=
"企业号二维码"
width
=
"160"
height
=
"220"
src
=
{
schoolDetail
.
wxqrcodeUrl
}
/>
}
>
<
Meta
title
=
{
schoolDetail
.
sysName
}
description
=
"企业二维码"
/>
<
/Card
>
<
/Col
>
<
/Row
>
<
Row
gutter
=
{
24
}
>
<
Col
xl
=
{
14
}
lg
=
{
24
}
md
=
{
24
}
sm
=
{
24
}
xs
=
{
24
}
>
...
...
src/routes/devutil/schoolmgr.less
View file @
e9ed9b3
...
...
@@ -19,7 +19,7 @@
}
.func_block{
.func_block{
margin: 2px 0;
vertical-align: middle;
.ant-btn{
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment