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

下载插件

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