Commit 3452668b authored by 李苏's avatar 李苏 💬

下载插件

parent f331cb62
......@@ -36,8 +36,11 @@
</tr>
</table>
<span style="float:right; padding-right: 10px; height: 50px; line-height: 50px;">
<a href="javascript:void(0)" onclick="support()" id="support" class="gui-menubutton"
data-options="iconCls:'fa', hasDownArrow:false" style="color:#fff;">工单系统</a>
<!-- <a href="javascript:void(0)" onclick="support()" id="support" class="gui-menubutton"
data-options="iconCls:'fa', hasDownArrow:false" style="color:#fff;">工单系统</a> -->
<a href="win32/update/download/webbrowser" id="support" class="gui-menubutton"
data-options="iconCls:'fa fa-download', hasDownArrow:false" style="color:#fff;">下载插件</a>
<a href="javascript:void(0)" id="mb3" class="gui-menubutton"
data-options="menu:'#mm3',iconCls:'fa fa-user',hasDownArrow:true" style="color:#fff;">用户</a>
<div id="mm3" style="width:74px;">
......@@ -63,7 +66,7 @@
<div data-options="iconCls:'fa fa-tree orange'" onclick="changeTheme('yellow')">橙色主题</div>
<div data-options="iconCls:'fa fa-tree orange'" onclick="changeTheme('yellowlight')">橙色主题-亮</div>
</div>
<a href="javascript:void(0)" onclick="manlogout()" class="gui-menubutton"
<a href="javascript:void(0)" onclick="logout()" class="gui-menubutton"
data-options="iconCls:'fa fa-sign-out',hasDownArrow:false" style="color:#fff;">注销</a>
</span>
<div style="position: fixed;z-index: 1030!important;float:right;right: 28%;margin-top: 12px">
......@@ -287,20 +290,20 @@
gas.showTips(msg.data)
})
// 退出系统
function manlogout() {
$.iMessager.confirm('提示', '确定要退出吗?', function (r) {
if (r) {
HTTP.post("main/logout",{},function (res) {
if(res.success&&res.data.records){
var url = res.data.records;
localStorage.clear();
window.location.replace(res.data.records);
}
})
// function manlogout() {
// $.iMessager.confirm('提示', '确定要退出吗?', function (r) {
// if (r) {
// HTTP.post("main/logout",{},function (res) {
// if(res.success&&res.data.records){
// var url = res.data.records;
// localStorage.clear();
// window.location.replace(res.data.records);
// }
// })
}
});
}
// }
// });
// }
</script>
......
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