Commit ee5b9593 by ethanlamzs

添加新的通讯录刷新功能

1 parent 776105dc
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
"html": { "html": {
"template": "./src/index.ejs" "template": "./src/index.ejs"
}, },
"publicPath": "/", "publicPath": "./",
"disableDynamicImport": true, "disableDynamicImport": true,
"hash": true "hash": true
} }
...@@ -199,10 +199,21 @@ export default class schoolmgr extends Component{ ...@@ -199,10 +199,21 @@ export default class schoolmgr extends Component{
type: 'linkman/sysOperation', type: 'linkman/sysOperation',
payload:{ payload:{
schoolCode:schoolCode, schoolCode:schoolCode,
CMD:'force_update', CMD:'force_update_lk',
content:"" 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{ ...@@ -357,11 +368,11 @@ export default class schoolmgr extends Component{
<ChartCard <ChartCard
bordered={false} bordered={false}
title='操作/功能区' title='操作/功能区'
contentHeight={46} > contentHeight={40} >
<div> <div className={styles.func_block}>
<Button style={{ marginLeft: 8 }} onClick={() =>this.specopation(1)}>删除联系</Button> <Button onClick={() =>this.specopation(1)}>删除已选的</Button>
<Button style={{ marginLeft: 8 }} onClick={() =>this.specopation(2)}>头像强刷</Button> <Button onClick={() =>this.specopation(2)}>头像/关注强刷</Button>
<Button style={{ marginLeft: 8 }} onClick={() =>this.specopation(2)}>通讯录强刷</Button> <Button onClick={() =>this.specopation(3)}>通讯录缓存强刷</Button>
</div> </div>
</ChartCard> </ChartCard>
<br/> <br/>
......
...@@ -16,4 +16,16 @@ ...@@ -16,4 +16,16 @@
.applist{ .applist{
padding: 5px 0; padding: 5px 0;
& > *{display: inline-block;vertical-align: middle;} & > *{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 \ 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!