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 ee5b9593
authored
2018-02-07 11:01:11 +0800
by
ethanlamzs
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加新的通讯录刷新功能
1 parent
776105dc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
7 deletions
.webpackrc
src/routes/devutil/schoolmgr.js
src/routes/devutil/schoolmgr.less
.webpackrc
View file @
ee5b959
...
...
@@ -16,7 +16,7 @@
"html": {
"template": "./src/index.ejs"
},
"publicPath": "/",
"publicPath": "
.
/",
"disableDynamicImport": true,
"hash": true
}
src/routes/devutil/schoolmgr.js
View file @
ee5b959
...
...
@@ -199,10 +199,21 @@ export default class schoolmgr extends Component{
type
:
'linkman/sysOperation'
,
payload
:{
schoolCode
:
schoolCode
,
CMD
:
'force_update'
,
CMD
:
'force_update
_lk
'
,
content
:
""
},
});
}
else
if
(
action
==
3
){
//触发操作事件
dispatch
({
type
:
'linkman/sysOperation'
,
payload
:{
schoolCode
:
schoolCode
,
CMD
:
'force_update_cache'
,
content
:
""
},
});
}
}
...
...
@@ -357,11 +368,11 @@ export default class schoolmgr extends Component{
<
ChartCard
bordered
=
{
false
}
title
=
'操作/功能区'
contentHeight
=
{
4
6
}
>
<
div
>
<
Button
style
=
{{
marginLeft
:
8
}}
onClick
=
{()
=>
this
.
specopation
(
1
)}
>
删除联系
人
<
/Button
>
<
Button
style
=
{{
marginLeft
:
8
}}
onClick
=
{()
=>
this
.
specopation
(
2
)}
>
头像强刷
<
/Button
>
<
Button
style
=
{{
marginLeft
:
8
}}
onClick
=
{()
=>
this
.
specopation
(
2
)}
>
通讯录
强刷
<
/Button
>
contentHeight
=
{
4
0
}
>
<
div
className
=
{
styles
.
func_block
}
>
<
Button
onClick
=
{()
=>
this
.
specopation
(
1
)}
>
删除已选的
人
<
/Button
>
<
Button
onClick
=
{()
=>
this
.
specopation
(
2
)}
>
头像
/
关注强刷
<
/Button>
<
Button
onClick
=
{()
=>
this
.
specopation
(
3
)}
>
通讯录缓存
强刷
<
/Button
>
<
/div
>
<
/ChartCard
>
<
br
/>
...
...
src/routes/devutil/schoolmgr.less
View file @
ee5b959
...
...
@@ -16,4 +16,16 @@
.applist{
padding: 5px 0;
& > *{display: inline-block;vertical-align: middle;}
}
.func_block{
margin: 2px 0;
vertical-align: middle;
.ant-btn{
padding-top: 4px;
margin: 5px 0;
background-color: aquamarine;
color: brown;
}
}
\ No newline at end of file
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