Commit ee5b9593 by ethanlamzs

添加新的通讯录刷新功能

1 parent 776105dc
......@@ -16,7 +16,7 @@
"html": {
"template": "./src/index.ejs"
},
"publicPath": "/",
"publicPath": "./",
"disableDynamicImport": true,
"hash": true
}
......@@ -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={46} >
<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={40} >
<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/>
......
......@@ -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
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!