{
 "hidden": false,
 "children": [{
  "configs": {
   "head": "<script  src=\"wb/libs/echarts/echarts5.min.js\"><\/script>\
<script type=\"text/javascript\" src=\"//cdn.staticfile.org/jquery/2.1.1/jquery.min.js\"><\/script>\
<script type=\"text/javascript\" src=\"//static.runoob.com/assets/qrcode/qrcode.min.js\"><\/script>\
<script src=\"admin/js/clipboard.min.js\"><\/script>\
<script type=\"text/javascript\" src=\"wb/libs/math.js\"><\/script>\
<style>\
  .btn-default {\
    color: #333;\
    border-color: #ccc;\
  }\
  #nav { \
    height: 40px; \
    float:left;\
  } \
  #nav ul { \
    margin: 0 0 0 30px; \
    padding: 0px; \
    font-size: 12px; \
    color: #FFF; \
    line-height: 40px; \
    white-space: nowrap; \
  } \
  #nav li { \
    list-style-type: none; \
    display: inline-block; \
    height: 40px;\
    padding: 0 5px; \
  } \
  #nav li a { \
    text-decoration: none; \
    font-size:13px;\
    padding: 7px 5px 7px 4px;\
    cursor: pointer;\
    color: #FFF; \
  } \
  #nav li:hover,#nav li a:hover { \
    color: #65cea7; \
  }\
  #nav li .fa{\
    font-size:13px;\
  }\
  .current{\
    background: rgba(48, 105, 192, 0.5);\
  }\
<\/style>\
<script src=\"admin/js/jquery-1.10.2.min.js\"><\/script>\
<script type=\"text/javascript\" src=\"/admin/js/layui/layui.all.js\"><\/script> \
<link href=\"/admin/js/layui/css/layui.css\" rel=\"stylesheet\">\
<script>\
  $(function () {\
    $(document).on(\"click\", \"#nav li\", function () {\
      var index = $(this).index();\
      $(this).addClass('current').siblings('li').removeClass('current');\
    });\
  });\
<\/script>\
<script src=\"/supcan/binary/dynaload.js?107\"><\/script>\
<script>\
  window.OnReady=  function(id){\
    var fun ='init'+id;\
    if(window[fun]){\
      window[fun](id);\
    }\
  };\
  window.OnEvent=  function(id, Event, p1, p2, p3, p4){\
    var fun ='event'+id;\
    if(window[fun]){\
      window[fun](id, Event, p1, p2, p3, p4);\
    }\
  };\
<\/script>\
<script>\
  // 收到消息弹出\
  function showNotice(title,content,from){\
    layer.open({\
      type: 1,\
      title:'收到关于 '+ title+' 来自 '+from+' 的新消息',\
      offset: 'rb',\
      // content: '<div style=\"padding: 20px 80px;\">内容<\/div>',\
      content:  content,\
      btn: ['查看','关闭'],\
      btnAlign: 'c',\
      area: ['500px', '320px'],\
      time:10000,\
      shade: 0, //不显示遮罩\
      yes: function(){\
        app.openurl('m?xwl=sys/msg/websocketModel/personMsg','个人消息管理');\
        // layer.closeAll();\
      },\
      btn2:function(){\
        layer.closeAll();\
      }\
    });\
  }\
  //  ajax 查询未读个数(有更好的方式欢迎改善)\
  function queryCountNoRd(){\
    var count=0;\
    $.ajax({\
      url:\"/sktmq/queryCountNoRd\",   \
      async:false,\
      data:{\
      },   \
      type:\"POST\",   \
      success:function(res){\
        count=res;\
      },\
      error:function(){\
        Wb.tip('获取消息个数请求错误');\
      }\
    });\
    return count;\
  }\
  function setWidthpanle(){\
    if(app.basicsPanel.getWidth()=='220'){\
      jQuery('.toggle-btn').css({\"margin-left\": '52px'});\
      app.basicsPanel.setWidth(50);\
    }\
    else{\
      app.basicsPanel.setWidth(220);\
      jQuery('.toggle-btn').css({\"marginLeft\": '220px'});\
    }\
    $(\".left-side\").getNiceScroll().hide();\
    if ($('body').hasClass('left-side-collapsed')) {\
      $(\".left-side\").getNiceScroll().hide();\
    }\
    var body = jQuery('body');\
    var bodyposition = body.css('position');\
    if(bodyposition != 'relative') {\
      if(!body.hasClass('left-side-collapsed')) {\
        body.addClass('left-side-collapsed');\
        jQuery('.custom-nav ul').attr('style','');\
        jQuery(this).addClass('menu-collapsed');\
      } else {\
        body.removeClass('left-side-collapsed chat-view');\
        jQuery('.custom-nav li.active ul').css({display: 'block'});\
        jQuery(this).removeClass('menu-collapsed');\
      }\
    } else {\
      if(body.hasClass('left-side-show'))\
        body.removeClass('left-side-show');\
      else\
        body.addClass('left-side-show');\
      mainContentHeightAdjust();\
    }\
  }\
  function changeurl( url,title,iconCls,inframe,pageLink){\
    //  alert(url+\"==\"+title+\"==\"+iconCls+\"===\"+inframe+\"===\"+pageLink);\
    if (pageLink!='null') { \
      pageLink=ReplaceAll(pageLink,\"*\",\"'\");\
      pageLink=Wb.decode(pageLink);\
    }\
    else{\
      pageLink = {\
        url: url,\
        title: title,\
        iconCls: iconCls,\
        inframe: inframe\
      }; \
    }\
    Wb.open(pageLink);\
  }\
  //通过子系统控制左边显示panel\
  function subsclick(subsId,roleId){\
    Wb.requestAg({\
      params: {\
        subsId:subsId,\
        bean: \"permissionService\",\
        method: \"listWbmenuMethod\" //业务方法名 \
      },\
      success: function(resp) { \
        var html='<section class=\"sticky-header\">'\
        +'<div class=\"left-side sticky-left-side\">'\
        +'<div class=\"logo\" style=\"background-color:#4397e6;\">'\
        +'<a onclick=\"changeurl()\"><img src=\"admin/images/comlogo.png\"  style=\"height: 20px;margin-top: 10px;display: block;\" alt=\"\"><\/a>'\
        +'<strong style=\"margin-left:10px;height:40px;display:inline-block;\"><span style=\"line-height:40px;font-size:18px;color:#fff\" >烟台岸基开发平台<\/span><\/strong>'\
        +'<\/div>'\
        +'<div class=\"logo-icon text-center\"  style=\"background-color:#017ada;height:40px\">'\
        +'<a onclick=\"changeurl()\"><p style=\"line-height:40px;font-size:18px;color:#fff\">AG<\/p><\/a>'\
        +'<\/div>'\
        +'<div class=\"left-side-inner\">'\
        +'<div class=\"visible-xs hidden-sm hidden-md hidden-lg\"><\/div>'\
        +'<ul class=\"nav nav-pills nav-stacked custom-nav\">'\
        +' <li class=\"active\"><a href=\"\"><i class=\"fa fa-book\"><\/i> <span>{#Str.home#}<\/span><\/a><\/li>'\
        +resp.responseText+'<\/ul>'\
        +'<\/div>'\
        +'<\/div>'\
        +'<\/section>';\
        var htmls=\"<span>\"+subsId+\"<\/span>\";\
        app.basicsPanel.update(html);\
        Wb.addLink(['admin/js/bootstrap.min.js','admin/js/modernizr.min.js', 'admin/js/scripts.js']);\
      }\
    });\
  }\
  function ReplaceAll(str, sptr, sptr1){\
    while (str.indexOf(sptr) >= 0){\
      str = str.replace(sptr, sptr1);\
    }\
    return str;\
  }\
<\/script>\
",
   "itemId": "sys.home",
   "finalHtml": "<link href=\"admin/css/clndr.css\" rel=\"stylesheet\">\
\
  <!--Morris Chart CSS --> \
<link rel=\"stylesheet\" href=\"admin/js/morris-chart/morris.css\">\
<link href=\"admin/css/font-awesome.css\" rel=\"stylesheet\">\
\
<link href=\"admin/css/style.css\" rel=\"stylesheet\">\
<link href=\"admin/css/style-responsive.css\" rel=\"stylesheet\">\
\
<!--<script src=\"admin/js/jquery-1.10.2.min.js\"><\/script>-->\
<script src=\"admin/js/jquery-migrate-1.2.1.min.js\"><\/script>\
<script src=\"admin/js/jquery-ui-1.9.2.custom.min.js\"><\/script>\
<script src=\"admin/js/jquery.nicescroll.js\"><\/script>\
\
<script  src=\"wb/libs/vue/vue.js\"><\/script>\
<link rel=\"stylesheet\" href=\"wb/libs/elementui/element.css\">\
<script  src=\"wb/libs/elementui/element.js\"><\/script>\
<link href=\"wb/libs/tabulator/tabulator.min.css\" rel=\"stylesheet\">\
<script  type=\"text/javascript\" src=\"wb/libs/tabulator/tabulator.min.js\"><\/script>\
<script  type=\"text/javascript\" src=\"wb/libs/tabulator/xlsx.full.min.js\"><\/script>\
<script  type=\"text/javascript\" src=\"wb/libs/tabulator/luxon.min.js\"><\/script>\
<style>\
input[type=\"search\"]::-webkit-search-cancel-button{\
  -webkit-appearance: button;\
}\
<\/style>",
   "serverMethod": "com.wb.interact.Portal.initHome",
   "title": "业务管理系统"
  },
  "expanded": true,
  "children": [
   {
    "configs": {
     "layout": "absolute",
     "itemId": "window1",
     "dialog": "true",
     "width": "344",
     "height": "136"
    },
    "expanded": true,
    "children": [{
     "configs": {
      "itemId": "text1",
      "labelAlign": "right",
      "fieldLabel": "功能",
      "x": "24",
      "width": "240",
      "y": "24",
      "labelWidth": "50",
      "height": "22"
     },
     "expanded": false,
     "children": [],
     "type": "text"
    }],
    "type": "window"
   },
   {
    "configs": {
     "itemId": "searchBar",
     "hidden": "true"
    },
    "expanded": true,
    "children": [{
     "configs": {
      "itemId": "combo",
      "onTriggerClick": "app.tree.selectPath('/Root/' + this.getValue(), 'fileName');",
      "flex": "1",
      "triggerCls": "x-form-search-trigger",
      "displayField": "title",
      "enterKeyTriggerClick": "true",
      "listConfig": "{\
  itemTpl: [\
    '<div>{fullPath}<\/div>'\
  ]\
}",
      "valueField": "fullFile"
     },
     "expanded": true,
     "children": [{
      "configs": {
       "itemId": "store",
       "fields": "['path', 'title', 'file', 'parentFile', {\
  name: 'fullPath',\
  convert: function(v, rec) {\
    var data = rec.data;\
    if (data.path)\
      return data.path.substring(1) + '/' + data.title;\
    else return data.title;\
  }\
}, {\
  name: 'fullFile',\
  convert: function(v, rec) {\
    var data = rec.data;\
    if (data.parentFile)\
      return data.parentFile.substring(1) + '/' + data.file;\
    else return data.file;\
  }\
}]",
       "url": "m?xwl=sys/portal/home/find"
      },
      "expanded": false,
      "children": [],
      "type": "store"
     }],
     "type": "combo",
     "events": {
      "beforequery": "if (plan.query.indexOf('/') != -1 || plan.query.indexOf('\\\\') != -1) {\
  plan.combo.collapse();\
  return false;\
}",
      "select": "combo.onTriggerClick();"
     }
    }],
    "type": "toolbar"
   },
   {
    "configs": {
     "layout": "border",
     "itemId": "viewport1",
     "html": "<div class=\"header-section\" style=\"background: #427ac0;\">\
  <!--notification menu start -->\
  <div class=\"menu-right\" style=\"background: #426a9b;\">\
    <ul class=\"notification-menu\">\
      <li>\
        <a onclick=\"app.openurl('m?xwl=sys/msg/websocketModel/personMsg','个人消息管理');\" alt=\"close tab\"  style=\"margin-right: -14px;margin-top:-4px\" class=\"btn btn-default dropdown-toggle info-number\" data-toggle=\"dropdown\">\
          <i class=\"fa fa-comments-o\" ><\/i>\
        <\/a>\
        <span id=\"msgSpan\" class=\"layui-badge\"><\/span>\
      <\/li>\
      <li>\
        <a href=\"#\" style=\"\" class=\"btn btn-default dropdown-toggle\" data-toggle=\"dropdown\">\
          <img src=\"wb/images/photos/user-avatar.png\" alt=\"\"/>\
          {#sys.username#}\
          <span class=\"caret\"><\/span>\
        <\/a>\
        <ul class=\"dropdown-menu dropdown-menu-usermenu pull-right\">\
          <li>\
            <a onclick=\"app.colseOtherTab();\">\
              <i class=\"fa  fa-times-circle\"> 关闭其他<\/i>\
            <\/a>\
          <\/li>\
          <li>\
            <a onclick=\"app.openurl('m?xwl=my/account','账户信息');\">\
              <i class=\"fa fa-key\"> 密码修改<\/i>\
            <\/a>\
          <\/li>\t\
          <li>\
            <a onclick=\"app.saveDesktop(1);\">\
              <i>保存桌面<\/i>\
            <\/a>\
          <\/li>\
          <li>\
            <a  onclick=\"app.logout();\">\
              <i class=\"fa fa-power-off\"> 退出<\/i>\
            <\/a>\
          <\/li>\t\t\
        <\/ul>\
      <\/li>\
    <\/ul>\
  <\/div>\
  <!--notification menu end -->\
<\/div>\
<!-- header section end-->\
"
    },
    "expanded": true,
    "children": [
     {
      "configs": {
       "layout": "absolute",
       "border": "false",
       "itemId": "basicsPanel",
       "width": "220",
       "bodyStyle": "background:#424f63",
       "html": "<section class=\"sticky-header\">\
    <!-- left side start-->\
    <div class=\"left-side sticky-left-side\">\
        <!--logo and iconic logo start-->\
        <div class=\"logo\" style=\"background:#017ada;\">\
            <a onclick=\"changeurl()\"><img src=\"admin/images/comlogo.png\"  style=\"height: 20px;margin-top: 10px;display: block;\" alt=\"\"><\/a>\
          <strong style=\"margin-left:10px;height:40px;display:inline-block;\"><span style=\"line-height:40px;font-size:18px;color:#fff\" >烟台岸基开发平台<\/span><\/strong>\
        <\/div>\
\
        <div class=\"logo-icon text-center\"  style=\"background-color: #017ada;height:40px\">\
            <a onclick=\"changeurl()\">\
             <p style=\"line-height:40px;font-size:18px;color:#fff\">AG<\/p>\
          <\/a>\
        <\/div>\
        <!--logo and iconic logo end-->\
\
        <div class=\"left-side-inner\">\
\
            <!-- visible to small devices only -->\
            <div class=\"visible-xs hidden-sm hidden-md hidden-lg\"><\/div>\
            <!--sidebar nav start-->\
            <ul class=\"nav nav-pills nav-stacked custom-nav\">\
               <li class=\"active\"><a href=\"\"><i class=\"fa fa-home\"><\/i> <span>{#Str.home#}<\/span><\/a><\/li>\
               {#basicsLust#}\
            <\/ul>\
        <\/div>\
\
    <\/div>\
    <!-- left side end-->\
   \
    <!-- main content start-->\
    \
<\/section>",
       "style": "border:none !important;",
       "region": "west",
       "autoScroll": "true"
      },
      "expanded": true,
      "children": [],
      "type": "panel",
      "events": {"afterrender": "Wb.addLink(['admin/js/bootstrap.min.js',\
              'admin/js/modernizr.min.js', 'admin/js/scripts.js']);\
\
\
\
"}
     },
     {
      "configs": {
       "layout": "absolute",
       "border": "false",
       "itemId": "userPanel",
       "width": "220",
       "bodyStyle": "background:#424f63",
       "html": "<section class=\"sticky-header\">\
    <!-- left side start-->\
    <div class=\"left-side sticky-left-side\">\
        <!--logo and iconic logo start-->\
       <div class=\"logo\" style=\"background:#017ada;\">\
            <a onclick=\"changeurl()\"><img src=\"admin/images/logoAG.png\"  style=\"height: 24px;margin-top: 8px;display: block;\" alt=\"\"><\/a>\
          <strong style=\"margin-left:10px;height:40px;display:inline-block;\"><span style=\"line-height:40px;font-size:18px;color:#fff\" >烟台岸基开发平台<\/span><\/strong>\
        <\/div>\
\
        <div class=\"logo-icon text-center\"  style=\"background-color: #017ada;height:40px\">\
            <a onclick=\"changeurl()\">\
<!--               <img src=\"admin/images/logohhw.png\"  style=\"width:40px;height:40px;margin-top:4px;\"  alt=\"\"> -->\
             <p style=\"line-height:40px;font-size:18px;color:#fff\">AG<\/p>\
          <\/a>\
        <\/div>\
        <!--logo and iconic logo end-->\
\
        <div class=\"left-side-inner\">\
\
            <!-- visible to small devices only -->\
            <div class=\"visible-xs hidden-sm hidden-md hidden-lg\"><\/div>\
            <!--sidebar nav start-->\
            <ul class=\"nav nav-pills nav-stacked custom-nav\">\
               <li class=\"active\"><a href=\"\"><i class=\"fa fa-home\"><\/i> <span>{#Str.home#}<\/span><\/a><\/li>\
               {#userLust#}\
            <\/ul>\
           <ul class=\"nav nav-pills nav-stacked custom-nav\">\
               <li class=\"active\"><a href=\"\"><i class=\"fa fa-home\"><\/i> <span>1111<\/span><\/a><\/li>\
              aaaaa\
            <\/ul>\
        <\/div>\
    <\/div>\
    <!-- left side end-->\
    \
    <!-- main content start-->\
    \
<\/section>\
",
       "style": "border:none !important;",
       "region": "west"
      },
      "expanded": true,
      "children": [],
      "type": "panel",
      "events": {"afterrender": "Wb.addLink(['admin/js/bootstrap.min.js',\
              'admin/js/modernizr.min.js', 'admin/js/scripts.js']);\
\
 \
\
"}
     },
     {
      "configs": {
       "layout": "absolute",
       "border": "false",
       "itemId": "orderPanel",
       "width": "220",
       "bodyStyle": "background:#424f63",
       "html": "\
\
<section class=\"sticky-header\">\
    <!-- left side start-->\
    <div class=\"left-side sticky-left-side\">\
        <!--logo and iconic logo start-->\
       <div class=\"logo\" style=\"background:#017ada;\">\
            <a onclick=\"changeurl()\"><img src=\"admin/images/logoAG.png\"  style=\"height: 24px;margin-top: 8px;display: block;\" alt=\"\"><\/a>\
          <strong style=\"margin-left:10px;height:40px;display:inline-block;\"><span style=\"line-height:40px;font-size:18px;color:#fff\" >烟台岸基开发平台<\/span><\/strong>\
        <\/div>\
\
        <div class=\"logo-icon text-center\"  style=\"background-color: #017ada;height:40px\">\
            <a onclick=\"changeurl()\">\
<!--               <img src=\"admin/images/logohhw.png\"  style=\"width:40px;height:40px;margin-top:4px;\"  alt=\"\"> -->\
             <p style=\"line-height:40px;font-size:18px;color:#fff\">AG<\/p>\
          <\/a>\
        <\/div>\
        <!--logo and iconic logo end-->\
\
        <div class=\"left-side-inner\">\
\
            <!-- visible to small devices only -->\
            <div class=\"visible-xs hidden-sm hidden-md hidden-lg\"><\/div>\
            <!--sidebar nav start-->\
            <ul class=\"nav nav-pills nav-stacked custom-nav\">\
               <li class=\"active\"><a href=\"\"><i class=\"fa fa-home\"><\/i> <span>{#Str.home#}<\/span><\/a><\/li>\
               {#orderLust#}\
            <\/ul>\
        <\/div>\
    <\/div>\
    <!-- left side end-->\
    \
    <!-- main content start-->\
    \
<\/section>",
       "style": "border:none !important;",
       "region": "west",
       "autoScroll": "true"
      },
      "expanded": true,
      "children": [],
      "type": "panel",
      "events": {"afterrender": "Wb.addLink(['admin/js/bootstrap.min.js',\
              'admin/js/modernizr.min.js', 'admin/js/scripts.js']);\
\
 \
\
"}
     },
     {
      "configs": {
       "layout": "absolute",
       "border": "false",
       "itemId": "settlePanel",
       "width": "220",
       "bodyStyle": "background:#424f63",
       "html": "\
\
<section class=\"sticky-header\">\
    <!-- left side start-->\
    <div class=\"left-side sticky-left-side\">\
        <!--logo and iconic logo start-->\
       <div class=\"logo\" style=\"background:#017ada;\">\
            <a onclick=\"changeurl()\"><img src=\"admin/images/logoAG.png\"  style=\"height: 24px;margin-top: 8px;display: block;\" alt=\"\"><\/a>\
          <strong style=\"margin-left:10px;height:40px;display:inline-block;\"><span style=\"line-height:40px;font-size:18px;color:#fff\" >烟台岸基开发平台<\/span><\/strong>\
        <\/div>\
\
        <div class=\"logo-icon text-center\"  style=\"background-color: #017ada;height:40px\">\
            <a onclick=\"changeurl()\">\
<!--               <img src=\"admin/images/logohhw.png\"  style=\"width:40px;height:40px;margin-top:4px;\"  alt=\"\"> -->\
             <p style=\"line-height:40px;font-size:18px;color:#fff\">AG<\/p>\
          <\/a>\
        <\/div>\
        <!--logo and iconic logo end-->\
\
        <div class=\"left-side-inner\">\
\
            <!-- visible to small devices only -->\
            <div class=\"visible-xs hidden-sm hidden-md hidden-lg\"><\/div>\
            <!--sidebar nav start-->\
            <ul class=\"nav nav-pills nav-stacked custom-nav\">\
               <li class=\"active\"><a href=\"\"><i class=\"fa fa-home\"><\/i> <span>{#Str.home#}<\/span><\/a><\/li>\
               {#settleLust#}\
            <\/ul>\
          \
        <\/div>\
    <\/div>\
    <!-- left side end-->\
    \
    <!-- main content start-->\
    \
<\/section>",
       "style": "border:none !important;",
       "region": "west"
      },
      "expanded": true,
      "children": [],
      "type": "panel",
      "events": {"afterrender": "Wb.addLink(['admin/js/bootstrap.min.js',\
              'admin/js/modernizr.min.js', 'admin/js/scripts.js']);\
\
 \
\
"}
     },
     {
      "configs": {
       "border": "false",
       "itemId": "toolbar1",
       "hidden": "true",
       "enableOverflow": "true",
       "style": "background:#d6d6d6",
       "region": "north",
       "height": "40"
      },
      "expanded": false,
      "children": [
       {
        "configs": {
         "itemId": "blank1",
         "width": "10",
         "text": " 4444"
        },
        "expanded": false,
        "children": [],
        "type": "item",
        "events": {"click": "setWidthpanle();\
\
"}
       },
       {
        "configs": {
         "itemId": "titleLabel",
         "xtype": "tbtext",
         "text": "<font color='white'>{#Var.sys.app.title#}<\/font>"
        },
        "expanded": true,
        "children": [],
        "type": "item"
       },
       {
        "configs": {
         "itemId": "blank2",
         "width": "10",
         "text": " "
        },
        "expanded": false,
        "children": [],
        "type": "item"
       },
       {
        "configs": {
         "itemId": "userBtn",
         "glyph": "f007",
         "text": "<font color='white'>{#sys.dispname#}<\/font>"
        },
        "expanded": false,
        "children": [],
        "type": "item",
        "events": {"click": "Wb.run({\
  url: 'account'\
});"}
       },
       {
        "configs": {
         "itemId": "msgLabel",
         "xtype": "tbtext",
         "flex": "1"
        },
        "expanded": false,
        "children": [],
        "type": "item"
       },
       {
        "configs": {
         "itemId": "backBtn",
         "glyph": "f060",
         "overflowText": "@Str.back",
         "tooltip": "@Str.back",
         "style": "color:#red",
         "text": "<font color='white'>后退<\/font>"
        },
        "expanded": false,
        "children": [],
        "type": "item"
       },
       {
        "configs": {
         "itemId": "forwardBtn",
         "glyph": "f061",
         "overflowText": "@Str.forward",
         "tooltip": "@Str.forward",
         "text": "<font color='white'>前进<\/font>"
        },
        "expanded": false,
        "children": [],
        "type": "item"
       },
       {
        "configs": {
         "itemId": "homeBtn",
         "glyph": "f015",
         "overflowText": "@Str.home",
         "tooltip": "@Str.home",
         "text": "<font color='white'>主页<\/font>"
        },
        "expanded": false,
        "children": [],
        "type": "item",
        "events": {"click": "app.tab.setActiveTab(app.homeCard);"}
       },
       {
        "configs": {
         "itemId": "refreshPageBtn",
         "glyph": "f021",
         "overflowText": "@Str.refreshPage",
         "tooltip": "@Str.refreshPage",
         "text": "<font color='white'>刷新<\/font>"
        },
        "expanded": false,
        "children": [],
        "type": "item",
        "events": {"click": "var card = app.tab.getActiveTab();\
if (card) {\
  if (card == app.homeCard) {\
    Wb.each(app.homeCard.query('portlet'), function(portlet) {\
      app.refreshPortlet(portlet);\
    });\
  } else {\
    Wb.open({\
      reloadCard: card\
    });\
  }\
}"}
       },
       {
        "configs": {
         "itemId": "refreshAppsBtn",
         "glyph": "f16a",
         "overflowText": "@Str.refreshApps",
         "tooltip": "@Str.refreshApps",
         "text": "<font color='white'>刷新应用列表<\/font>"
        },
        "expanded": false,
        "children": [],
        "type": "item",
        "events": {"click": "Wb.reload(app.tree);"}
       },
       {
        "configs": {
         "itemId": "refreshAppsBtn1",
         "glyph": "f16d",
         "overflowText": "@Str.refreshApps",
         "tooltip": "@Str.refreshApps",
         "text": "<font color='white'>添加主页/font>"
        },
        "expanded": false,
        "children": [],
        "type": "item"
       },
       {
        "configs": {
         "itemId": "findModuleBtn",
         "glyph": "f002",
         "hidden": "true",
         "overflowText": "@Str.find",
         "tooltip": "@Str.find"
        },
        "expanded": false,
        "children": [],
        "type": "item",
        "events": {"click": "app.tree.setVisible(true);\
app.searchBar.setVisible(app.searchBar.hidden);\
app.combo.focus(false, true);"}
       },
       {
        "configs": {
         "itemId": "line1",
         "text": "-"
        },
        "expanded": false,
        "children": [],
        "type": "item"
       },
       {
        "configs": {
         "itemId": "operateMenu",
         "glyph": "f0c9",
         "overflowText": "@Str.operate",
         "text": "<font color='white'>应用<\/font>"
        },
        "expanded": true,
        "children": [
         {
          "configs": {
           "itemId": "closeCurrentItem",
           "text": "@Str.close"
          },
          "expanded": false,
          "children": [],
          "type": "item",
          "events": {"click": "if (app.homeCard.isVisible())\
  app.closePortal();\
else\
  Wb.close();"}
         },
         {
          "configs": {
           "itemId": "closeOthersItem",
           "text": "@Str.closeOthers"
          },
          "expanded": false,
          "children": [],
          "type": "item",
          "events": {"click": "Wb.close(false);"}
         },
         {
          "configs": {
           "itemId": "closeAppsItem",
           "text": "@Str.closeApps"
          },
          "expanded": false,
          "children": [],
          "type": "item",
          "events": {"click": "Wb.close(true);"}
         },
         {
          "configs": {
           "itemId": "closeAllItem",
           "text": "@Str.closeAll"
          },
          "expanded": false,
          "children": [],
          "type": "item",
          "events": {"click": "Ext.suspendLayouts();\
Wb.close(true);\
app.closePortal();\
Ext.resumeLayouts(true);"}
         },
         {
          "configs": {
           "itemId": "line1",
           "text": "-"
          },
          "expanded": false,
          "children": [],
          "type": "item"
         },
         {
          "configs": {
           "itemId": "classicItem",
           "checked": "true",
           "text": "@Str.classic",
           "group": "theme"
          },
          "expanded": false,
          "children": [],
          "type": "item"
         },
         {
          "configs": {
           "itemId": "grayItem",
           "checked": "false",
           "text": "@Str.gray",
           "group": "theme"
          },
          "expanded": false,
          "children": [],
          "type": "item"
         },
         {
          "configs": {
           "itemId": "neptuneItem",
           "checked": "false",
           "text": "@Str.neptune",
           "group": "theme"
          },
          "expanded": false,
          "children": [],
          "type": "item"
         },
         {
          "configs": {
           "itemId": "line2",
           "text": "-"
          },
          "expanded": false,
          "children": [],
          "type": "item"
         },
         {
          "configs": {
           "itemId": "appListItem",
           "checked": "true",
           "text": "@Str.appList"
          },
          "expanded": false,
          "children": [],
          "type": "item",
          "events": {"click": "app.tree.setVisible(item.checked);\
app.operateMenu.menu.hide();"}
         },
         {
          "configs": {
           "itemId": "line3",
           "text": "-"
          },
          "expanded": false,
          "children": [],
          "type": "item"
         },
         {
          "configs": {
           "itemId": "saveDesktopBtn",
           "text": "@Str.saveDesktop"
          },
          "expanded": false,
          "children": [],
          "type": "item",
          "events": {"click": "app.saveDesktop(1);"}
         },
         {
          "configs": {
           "itemId": "saveAsDefaultDesktopItem",
           "hidden": "{#hideSetDefaultDesktop#}",
           "text": "@Str.saveAsDefaultDesktop"
          },
          "expanded": false,
          "children": [],
          "type": "item",
          "events": {"click": "Wb.confirm(Wb.format(Str.confirmDo, Str.saveAsDefaultDesktop), function() {\
  app.saveDesktop(2);\
});"}
         },
         {
          "configs": {
           "itemId": "saveAsAllDesktopItem",
           "hidden": "{#hideSetAllDesktop#}",
           "text": "@Str.saveAsAllDesktop"
          },
          "expanded": false,
          "children": [],
          "type": "item",
          "events": {"click": "Wb.confirm(Wb.format(Str.confirmDo, Str.saveAsAllDesktop), function() {\
  app.saveDesktop(3);\
});"}
         }
        ],
        "type": "item",
        "events": {
         "menuclick": "if (item && item.group == 'theme') {\
  var theme = item.itemId.slice(0, -4);\
  Wb.request({\
    url: 'm?xwl=sys/portal/home/set-theme',\
    params: {\
      theme: theme\
    },\
    success: function() {\
      Wb.confirm(Str.refreshWindow, function() {\
        location.reload();\
      });\
    }\
  });\
}",
         "menushow": "app[Wb.theme + 'Item'].setChecked(true);\
app.appListItem.setChecked(app.tree.isVisible());"
        }
       },
       {
        "configs": {
         "itemId": "winMenu",
         "glyph": "f17a",
         "overflowText": "@Str.currentAppList",
         "text": "<font color='white'>窗体<\/font>"
        },
        "expanded": true,
        "children": [{
         "configs": {"itemId": "item1"},
         "expanded": false,
         "children": [],
         "type": "item"
        }],
        "type": "item",
        "events": {
         "menubeforeshow": "var items = [];\
app.tab.items.each(function(card) {\
  items.push({\
    iconCls: card.iconCls,\
    icon: card.icon,\
    text: card.title,\
    cardId: card.id,\
    tooltip: card.title == card.tab.tooltip ? '' : card.tab.tooltip\
  });\
});\
menu.removeAll(true);\
if (items.length === 0)\
  items.push({\
    text: Str.emptyHint\
  });\
Wb.sort(items, 'text');\
menu.add(items);",
         "menuclick": "if (item.cardId)\
  app.tab.setActiveTab(Ext.getCmp(item.cardId));"
        }
       },
       {
        "configs": {
         "itemId": "line2",
         "text": "-"
        },
        "expanded": true,
        "children": [],
        "type": "item"
       },
       {
        "configs": {
         "itemId": "logoutBtn",
         "overflowText": "@Str.logout",
         "tooltip": "@Str.logout",
         "text": "<font color='white'>退出<\/font>",
         "iconCls": "logout_icon"
        },
        "expanded": false,
        "children": [],
        "type": "item",
        "events": {"click": "Wb.request({\
  url: 'logout',\
  success: function(resp) {\
    window.location.replace('./');\
  }\
});"}
       }
      ],
      "type": "toolbar"
     },
     {
      "configs": {
       "itemId": "panel2",
       "hidden": "false",
       "bodyStyle": "border:none !important;padding:0;",
       "html": "<!--   <div class=\"header-section\" style=\"background: #4397e6;\">\
<div class=\"menu-right\">\
    <ul class=\"notification-menu\"> -->\
<!--       <li>\
        <a onclick=\"app.openurl('m?xwl=websocketModel/personMsg','个人消息管理');\" alt=\"close tab\"  style=\"margin-right: -14px\" class=\"btn btn-default dropdown-toggle info-number\" data-toggle=\"dropdown\">\
          <i class=\"fa fa-comments-o\" ><\/i>\
        <\/a>\
        <span id=\"msgSpan\" class=\"layui-badge\"><\/span>\
      <\/li> -->\
<!--       <li>\
        <a href=\"#\" style=\"\" class=\"btn btn-default dropdown-toggle\" data-toggle=\"dropdown\">\
          <img src=\"wb/images/photos/user-avatar.png\" alt=\"\"/>\
          {#sys.username#}\
          <span class=\"caret\"><\/span>\
        <\/a>\
        <ul class=\"dropdown-menu dropdown-menu-usermenu pull-right\">\
          <li>\
            <a onclick=\"app.colseOtherTab();\">\
              <i class=\"fa  fa-times-circle\"> 关闭其他<\/i>\
            <\/a>\
          <\/li>\
          <li>\
            <a onclick=\"app.openurl('m?xwl=my/account','账户信息');\">\
              <i class=\"fa fa-key\"> 密码修改<\/i>\
            <\/a>\
          <\/li>\t\
          <li>\
            <a  onclick=\"app.logout();\">\
              <i class=\"fa fa-power-off\"> 退出<\/i>\
            <\/a>\
          <\/li>\t\t\
        <\/ul>\
      <\/li>\
    <\/ul>\
  <\/div>\
<\/div> -->\
      <div class=\"header-section\" style=\"background: #4397e6;overflow:hidden;\">\
            <!--toggle button start-->\
            <a style=\" margin-left:220px \" class=\"toggle-btn\" href=\"javascript:void(0)\" onclick=\"setWidthpanle();\"><i class=\"fa fa-bars\" ><\/i><\/a>\
            <!--toggle button end-->\
\
            <!--search start\
            <form class=\"searchform\" action=\"index.html\" method=\"post\">\
                <input type=\"text\" class=\"form-control\" name=\"keyword\" placeholder=\"Search here...\" />\
            <\/form>-->\
            <!--search end-->\
            <div id=\"nav\"> \
              <ul> \
              \
                    {#subsList#}\
                <\/ul> \
            <\/div> \
               <!--notification menu start -->\
  \
            <!--notification menu start -->\
<!--             <div class=\"menu-right\" style=\"background: #4397e6;\">\
                <ul class=\"notification-menu\">-->\
                 <!--\
                   <li>\
                        <a onclick=\"app.addportMoules();\" alt=\"close tab\"  style=\"background:rgb(53,63,79)\" class=\"btn btn-default dropdown-toggle info-number\" data-toggle=\"dropdown\">\
                            <i class=\"fa fa-rss-square\" aria-hidden=\"true\"><\/i> \
                        <\/a>\
                    <\/li>\
                   <li>\
                        <a onclick=\"app.saveDesktop(1);\" alt=\"close tab\"  style=\"background:rgb(53,63,79)\" class=\"btn btn-default dropdown-toggle info-number\" data-toggle=\"dropdown\">\
                            <i class=\"fa fa-cubes\" aria-hidden=\"true\"><\/i>\
                        <\/a>\
                    <\/li>\
                    <li>\
                        <a onclick=\"app.refreshTab();\" alt=\"close tab\"  style=\"background:rgb(53,63,79)\" class=\"btn btn-default dropdown-toggle info-number\" data-toggle=\"dropdown\">\
                            <i class=\"fa fa-refresh \"><\/i>   \
                        <\/a>\
                    <\/li>\
                    <li>\
                        <a onclick=\"app.colseCurrent();\" alt=\"close tab\"  style=\"background:rgb(53,63,79)\" class=\"btn btn-default dropdown-toggle info-number\" data-toggle=\"dropdown\">\
                            <i class=\"fa  fa-ban \" ><\/i>\
                           \
                        <\/a>\
              \
                    <\/li>\
                  <li>\
                        <a onclick=\"app.colseOtherTab();\" alt=\"close other tab\" style=\"background:rgb(53,63,79)\" class=\"btn btn-default dropdown-toggle info-number\" data-toggle=\"dropdown\">\
                            <i class=\"fa  fa-times-circle\"><\/i>\
                           \
                        <\/a>\
              \
                    <\/li>-->\
<!--                     <li>\
                        <a  onclick=\"app.logout();\" style=\"background: #4397e6;\" class=\"btn btn-default dropdown-toggle info-number\" data-toggle=\"dropdown\">\
                            <i class=\"fa fa-power-off\"><\/i>\
                            \
                        <\/a>\
                       \
                    <\/li>\
                    <li>\
                      <a href=\"#\" onclick=\"app.linkuser()\" style=\"background: #4397e6;\" class=\"btn btn-default dropdown-toggle\" data-toggle=\"dropdown\">\
                        <img src=\"wb/images/photos/user-avatar.png\" alt=\"\"/>\
                        {#sys.username#}\
                        <span class=\"caret\"><\/span>\
                      <\/a>\
                      <ul class=\"dropdown-menu dropdown-menu-usermenu pull-right\">\
                        <li><a href=\"#\"><i class=\"fa fa-user\"><\/i>  Profile<\/a><\/li>\
                        <li><a href=\"#\"><i class=\"fa fa-cog\"><\/i>  Settings<\/a><\/li>\
                        <li><a href=\"#\"><i class=\"fa fa-sign-out\"><\/i> Log Out<\/a><\/li>\
                      <\/ul>\
                    <\/li>\
                <\/ul>\
            <\/div> --> \
            <!--notification menu end -->\
\
        <\/div>\
        <!-- header section end-->\
   \
",
       "style": "height:40px;padding:0;border:none !important;",
       "region": "north",
       "height": "40"
      },
      "expanded": true,
      "children": [],
      "type": "panel"
     },
     {
      "configs": {
       "itemId": "tab",
       "plugins": "'tabreorderer'",
       "region": "center"
      },
      "expanded": true,
      "children": [{
       "configs": {
        "itemId": "panelhome",
        "html": "<div class=\"wrapper\" style=\"padding:10px;background:#eff2f7;overflow:hidden auto;height:100%;\">\
  <div class=\"alert alert-info fade in\">\
    <strong>说明：<\/strong> 目前系统支持IE、360、搜狗等主流浏览器,请保持ie浏览器的版本为ie9以上。    \
    <a style=\"font-size: 12px;color: white;padding: 0px 20px;margin: 0 20px 0 0;line-height:25px;border: 1px solid #3787ff;border-radius: 2px;background: #3787ff;float:right;\" href=\"/supcan/report/supcan.crx\" download id='sqgbl'>报表插件下载<\/a>\
    <a style=\"font-size: 12px;color: white;padding: 0px 20px;margin: 0 20px 0 0px;line-height:25px;border: 1px solid #3787ff;border-radius: 2px;background: #3787ff;float:right;\" href=\"https://browser.360.cn/ee/\" target='_blank' download id='sqgbl'>极速浏览器下载<\/a>\
  <\/div>\
  <div class=\"row\">\
    <div class=\"col-md-3\"  style=\"padding:0 0 0 15px;\">\
      <div class=\"panel tip-head\" style=\"background-color:#2196f3;\">\
      <img src=\"admin/images/index/pannel01.png\"/>\
        <div class=\"pannel-tip\">\
          <span>年度吞吐量<\/span>\
          <p id='home_nttl'>0<\/p>\
        <\/div>\
        <\/div>\
    <\/div>\
    <div class=\"col-md-3\"  style=\"padding:0 0 0 15px;\">\
      <div class=\"panel tip-head\" style=\"background-color:#745af2;\">\
      <img src=\"admin/images/index/pannel02.png\"/>\
         <div class=\"pannel-tip\">\
          <span>月度吞吐量<\/span>\
          <p id='home_yttl'>0<\/p>\
        <\/div>\
        <\/div>\
    <\/div>\
    <div class=\"col-md-3\"  style=\"padding:0 0 0 15px;\">\
      <div class=\"panel tip-head\" style=\"background-color:#21baf3;\">\
      <img src=\"admin/images/index/pannel03.png\"/>\
         <div class=\"pannel-tip\">\
          <span>当前库存量<\/span>\
          <p id='home_kcl'>0<\/p>\
        <\/div>\
        <\/div>\
    <\/div>\
    <div class=\"col-md-3\"  style=\"padding:0 15px 0 15px;\">\
      <div class=\"panel tip-head\" style=\"background-color:#0678c8;\">\
      <img src=\"admin/images/index/pannel04.png\"/>\
         <div class=\"pannel-tip\">\
          <span>泊位船舶数<\/span>\
          <p id='home_cbs'>0/0<\/p>\
        <\/div>\
        <\/div>\
    <\/div>\
  <\/div>\
  <div class=\"row\">\
    <div class=\"col-md-4\"  style=\"padding:0 5px 0 15px;\">\
      <section class=\"panel\" style=\"height:auto;\">\
        <header class=\"panel-heading panel1\">\
          常用功能\
        <\/header>\
        <div class=\"common-img\">\
        <ul>\
          <li>\
          <img src=\"admin/images/index/tip1.png\" />\
            <p>外贸进口委托<\/p>\
          <\/li>\
           <li>\
          <img src=\"admin/images/index/tip2.png\" />\
            <p>外贸出口委托<\/p>\
          <\/li>\
           <li>\
          <img src=\"admin/images/index/tip9.png\" />\
            <p>内贸进口委托<\/p>\
          <\/li>\
           <li>\
          <img src=\"admin/images/index/tip3.png\" />\
            <p>内贸出口委托<\/p>\
          <\/li>\
           <li>\
          <img src=\"admin/images/index/tip9.png\" />\
            <p>船舶航次管理<\/p>\
          <\/li>\
           <li>\
          <img src=\"admin/images/index/tip6.png\" />\
            <p>船舶动态管理<\/p>\
          <\/li>\
           <li>\
          <img src=\"admin/images/index/tip7.png\" />\
            <p>每日散货进仓<\/p>\
          <\/li>\
           <li>\
          <img src=\"admin/images/index/tip8.png\" />\
            <p>库存查询<\/p>\
          <\/li>\
           <li>\
          <img src=\"admin/images/index/tip3.png\" />\
            <p>卸船入库<\/p>\
          <\/li>\
          <li>\
          <img src=\"admin/images/index/tip7.png\" />\
            <p>装船出库<\/p>\
          <\/li>\
          <li>\
          <img src=\"admin/images/index/tip5.png\" />\
            <p>集港入库<\/p>\
          <\/li>\
          <li>\
          <img src=\"admin/images/index/tip2.png\" />\
            <p>疏港出库<\/p>\
          <\/li>\
        <\/ul>\
        <\/div>\
        <\/section>\
    <\/div>\
    <div class=\"col-md-8\"  style=\"padding:0 10px 0 10px;\">\
       \
          <section class=\"panel\"   style=\"height:auto;\">\
        <header class=\"panel-heading panel1\">\
          月份吞吐量\
        <\/header>\
          \
            <div class=\"panel-body\" style=\"color:black;height:320px;\"  id=\"main2\">\
<!--                 <div style=\"width: 500px;height:280px;\"><\/div> -->\
\
            <\/div>\
        \
      <\/section>\
  \
    <\/div>\
  <\/div>\
  <div class=\"row\">\
    <div class=\"col-md-4 box1\" style=\"padding:0 5px 0 15px;\">\
      <section class=\"panel\">\
        <header class=\"panel-heading panel1\">\
          货类吞吐量\
        <\/header>\
         <div class=\"panel-body\" style=\"color:black;height:270px\" id=\"main1\">\
 <!--             \t<div id=\"main1\" style=\"width: 360px;height:280px;margin:auto\"><\/div> -->\
\
        \t<\/div>\
      <\/section>\
    <\/div>\
    <div class=\"col-md-4 box2\" style=\"padding:0 10px 0 10px;\">\
      <section class=\"panel\">\
        <header class=\"panel-heading panel1\">\
          系统消息\
        <\/header>\
        <div class=\"panel-body\" style=\"color:black\">\
          <ul class=\"panel-ul\">\
            <li>\
              <i class=\"dot\"><\/i>\
              <a style=\"display:inline-block;width:72%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap\" href=\"\">库存查询增加条件,请注意确认<\/a>\
              <span style=\"color:#999;display:inline-block;width:20%;font-size:10px;float: right;\">2019-9-8<\/span>\
            <\/li>\
           <li>\
              <i class=\"dot\"><\/i>\
              <a style=\"display:inline-block;width:72%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap\" href=\"\">船舶动态增加\"锁定\",请注意确认<\/a>\
              <span style=\"color:#999;display:inline-block;width:20%;font-size:10px;float: right;\">2019-9-8<\/span>\
            <\/li>\
            <li>\
              <i class=\"dot\"><\/i>\
              <a style=\"display:inline-block;width:72%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap\" href=\"\">舱单查询功能发布,请注意确认<\/a>\
              <span style=\"color:#999;display:inline-block;width:20%;font-size:10px;float: right;\">2019-9-7<\/span>\
            <\/li>\
            <li>\
              <i class=\"dot\"><\/i>\
              <a style=\"display:inline-block;width:72%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap\" href=\"\">船资料功能更新发布,请注意确认<\/a>\
              <span style=\"color:#999;display:inline-block;width:20%;font-size:10px;float: right;\">2019-9-7<\/span>\
            <\/li>\
            <li>\
              <i class=\"dot\"><\/i>\
              <a style=\"display:inline-block;width:72%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap\" href=\"\">委托信息功能更新,请注意确认<\/a>\
              <span style=\"color:#999;display:inline-block;width:20%;font-size:10px;float: right;\">2019-9-6<\/span>\
            <\/li>\
            <li>\
              <i class=\"dot\"><\/i>\
              <a style=\"display:inline-block;width:72%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap\" href=\"\">船舶航次管理更新,请注意确认<\/a>\
              <span style=\"color:#999;display:inline-block;width:20%;font-size:10px;float: right;\">2019-9-6<\/span>\
            <\/li>\
          <\/ul>\
        <\/div>\
      <\/section>\
    <\/div>\
        <div class=\"col-md-4 box3\" style=\"padding:0 10px 0 5px;\">\
      <div class=\"panel\" style=\"color:black\">\
        <header class=\"panel-heading panel1\">\
          业务通知\
<!--           <span class=\"tools pull-right\">\
            <a class=\"fa fa-chevron-down\" href=\"javascript:;\"><\/a>\
            <a class=\"fa fa-times\" href=\"javascript:;\"><\/a>\
          <\/span> -->\
        <\/header>\
        <div class=\"panel-body\">\
          <ul class=\"to-do-list ui-sortable\" id=\"sortable-todo\">\
            <li class=\"clearfix\">\
<!-- \
              <div class=\"todo-check pull-left\">\
                <input type=\"checkbox\" value=\"None\" id=\"todo-check\">\
                <label for=\"todo-check\"><\/label>\
              <\/div> -->\
              <div class=\"list\">\
                <img src=\"admin/images/new.png\" class=\"icon\" style=\"display:inline-block;\">\
                 <p class=\"todo-title\" style=\"display:inline-block;\">顺溢V305手续办妥<\/p>\
                <span style=\"color:#999;display:inline-block;width:18%;font-size:10px;float: right;line-height: 34px;margin-top: 5px;\">2019-9-7<\/span>\
              <\/div>\
             \
<!--               <div class=\"todo-actionlist pull-right clearfix\">\
                <a href=\"#\" class=\"todo-remove\"><i class=\"fa fa-times\"><\/i><\/a>\
              <\/div> -->\
            <\/li>\
            <li class=\"clearfix\">\
<!--               <div class=\"todo-check pull-left\">\
                <input type=\"checkbox\" value=\"None\" id=\"todo-check1\">\
                <label for=\"todo-check1\"><\/label>\
              <\/div> -->\
              <div class=\"list\"><img src=\"admin/images/new.png\" class=\"icon\"  style=\"display:inline-block;\">\
                 <p class=\"todo-title \" style=\"display:inline-block;\">中航927手续办妥<\/p>\
                <span style=\"color:#999;display:inline-block;width:18%;font-size:10px;float: right;line-height: 34px;margin-top: 5px;\">2019-9-7<\/span>\
              <\/div>\
            \
<!--               <div class=\"todo-actionlist pull-right clearfix\">\
                <a href=\"#\" class=\"todo-remove\"><i class=\"fa fa-times\"><\/i><\/a>\
              <\/div> -->\
            <\/li>\
                <li class=\"clearfix\">\
\
<!--               <div class=\"todo-check pull-left\">\
                <input type=\"checkbox\" value=\"None\" id=\"todo-check2\">\
                <label for=\"todo-check2\"><\/label>\
              <\/div> -->\
              <div class=\"list\">\
                <img src=\"admin/images/new.png\" class=\"icon\" style=\"display:inline-block;\">\
                 <p class=\"todo-title\" style=\"display:inline-block;\">振东918靠泊,各作业部门按要求作业<\/p>\
                <span style=\"color:#999;display:inline-block;width:18%;font-size:10px;float: right;line-height: 34px;margin-top: 5px;\">2019-9-6<\/span>\
              <\/div>\
             \
<!--               <div class=\"todo-actionlist pull-right clearfix\">\
                <a href=\"#\" class=\"todo-remove\"><i class=\"fa fa-times\"><\/i><\/a>\
              <\/div> -->\
            <\/li>\
            <li class=\"clearfix\">\
<!--               <div class=\"todo-check pull-left\">\
                <input type=\"checkbox\" value=\"None\" id=\"todo-check3\">\
                <label for=\"todo-check3\"><\/label>\
              <\/div> -->\
              <div class=\"list\"><img src=\"admin/images/new.png\" class=\"icon\"  style=\"display:inline-block;\">\
                 <p class=\"todo-title \" style=\"display:inline-block;\">中航909手续办妥<\/p>\
                 <span style=\"color:#999;display:inline-block;width:18%;font-size:10px;float: right;line-height: 34px;margin-top: 5px;\">2019-9-6<\/span>\
              <\/div>\
            \
<!--               <div class=\"todo-actionlist pull-right clearfix\">\
                <a href=\"#\" class=\"todo-remove\"><i class=\"fa fa-times\"><\/i><\/a>\
              <\/div> -->\
            <\/li>\
          <\/ul>\
        <\/div>\
      <\/div>\
    <\/div>\
  <\/div>\
 \
\
<\/div>",
        "style": "background: white",
        "title": "主页"
       },
       "expanded": false,
       "children": [],
       "type": "panel"
      }],
      "type": "tab",
      "events": {"tabchange": "if (newCard && newCard.notLoaded) {\
  newCard.notLoaded = false;\
  Wb.open({\
    reloadCard: newCard,\
    frameOnly: false,\
    notActiveCard: false\
  });\
}"}
     }
    ],
    "type": "viewport",
    "events": {"afterrender": "app.doAfterRender();\
app.basicsPanel.setVisible(true);\
app.userPanel.setVisible(false);\
app.orderPanel.setVisible(false);\
app.settlePanel.setVisible(false);"}
   }
  ],
  "type": "module",
  "events": {
   "finalize": "if (app.demoVersion) {\
  setTimeout(function() {\
    Wb.tip('<div style=\"text-align:center;\"><b>欢迎使用 WebBuilder！<\/b><br>WebBuilder将带给你卓越的开发体验<\/div>');\
  }, 2000);\
}\
\
var myChart2 = echarts.init(document.getElementById('main2'));\
var option2 = {\
  color: ['#3398DB'],\
  tooltip: {\
    trigger: 'axis',\
    axisPointer: { // 坐标轴指示器，坐标轴触发有效\
      type: 'shadow' // 默认为直线，可选为：'line' | 'shadow'\
    }\
  },\
  grid: {\
    left: '3%',\
    right: '4%',\
    bottom: '4%',\
    top: '6%',\
    containLabel: true\
  },\
  xAxis: [{\
    type: 'category',\
    data: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],\
    axisTick: {\
      show: false,\
      alignWithLabel: true\
    },\
    splitLine: {\
      show: false,\
      lineStyle: {\
        type: 'solid',\
        color: 'rgba(255, 255, 255, 0.5)'\
      }\
    },\
    axisLine: {\
      show: false,\
      lineStyle: {\
        color: '#999'\
      }\
    },\
    splitArea: { // 分隔区域\
      show: false\
    }\
  }],\
  yAxis: [{\
    type: 'value',\
    scale: true,\
    axisTick: {\
      show: false\
    },\
    splitLine: {\
      show: true,\
      lineStyle: {\
        type: 'dashed',\
        color: 'rgba(0, 0, 0, 0.15)'\
      }\
    },\
    axisLine: {\
      show: false,\
      lineStyle: {\
        color: '#999'\
      }\
    },\
    splitArea: { // 分隔区域\
      show: false\
    }\
  }],\
  series: [{\
    name: '月度吞度量',\
    type: 'bar',\
    barWidth: '30%',\
    itemStyle: {\
      normal: {\
        borderColor: 'rgba(255, 255, 255, 0.5)',\
        // padding: [20, 4],\
        //每个柱子的颜色即为colorList数组里的每一项,如果柱子数目多于colorList的长度，则柱子颜色循环使用该数组\
        color: function(params) {\
          //我这边就两个柱子，大体就两个柱子颜色渐变，所以数组只有两个值，多个颜色就多个值\
          var colorList = [\
            ['#7de0fc', '#00c0ff', '#4680fe'],\
            ['#7de0fc', '#00c0ff', '#4680fe'],\
            ['#7de0fc', '#00c0ff', '#4680fe'],\
            ['#7de0fc', '#00c0ff', '#4680fe'],\
            ['#7de0fc', '#00c0ff', '#4680fe'],\
            ['#7de0fc', '#00c0ff', '#4680fe'],\
            ['#7de0fc', '#00c0ff', '#4680fe'],\
            ['#7de0fc', '#00c0ff', '#4680fe'],\
            ['#7de0fc', '#00c0ff', '#4680fe'],\
            ['#7de0fc', '#00c0ff', '#4680fe'],\
            ['#7de0fc', '#00c0ff', '#4680fe'],\
            ['#7de0fc', '#00c0ff', '#4680fe']\
          ];\
          var index = params.dataIndex;\
          if (params.dataIndex >= colorList.length) {\
            index = params.dataIndex - colorList.length;\
          }\
          return new echarts.graphic.LinearGradient(0, 0, 0, 1, [{\
            offset: 0,\
            color: colorList[index][0]\
          }, {\
            offset: 0.5,\
            color: colorList[index][1]\
          }, {\
            offset: 1,\
            color: colorList[index][2]\
          }]);\
        },\
        barBorderRadius: 50 //柱状角成椭圆形\
      }\
    },\
    data: [477820, 338961, 415067, 365273, 604342, 581877, 461661, 696961, 139972, 0, 0, 0]\
  }]\
};\
// 使用刚指定的配置项和数据显示图表。\
myChart2.setOption(option2);\
\
var myChart1 = echarts.init(document.getElementById('main1'));\
var option1 = {\
  tooltip: {\
    trigger: 'item',\
    formatter: \"{a} <br/>{b} : {c} ({d}%)\"\
  },\
  legend: {\
    orient: 'vertical',\
    icon: \"circle\",\
    itemWidth: 6, // 设置宽度\
    itemHeight: 6, // 设置高度\
    x: 'right',\
    y: '16%',\
    textStyle: {\
      color: '#999999',\
      fontSize: 10\
    },\
    data: ['化肥', '粮食', '风电叶片', '设备', '铜矿', '其他']\
  },\
  series: [{\
    name: '吞度量',\
    type: 'pie',\
    radius: ['30%', '70%'],\
    center: ['40%', '40%'],\
    itemStyle: {\
      normal: {\
        label: {\
          show: false\
        },\
        labelLine: {\
          show: false\
        }\
      },\
      emphasis: {\
        label: {\
          show: true,\
          position: 'center',\
          textStyle: {\
            fontSize: '30',\
            fontWeight: 'bold',\
            color: '#333333'\
          }\
        }\
      }\
    },\
    data: [{\
      value: 1880006,\
      name: '化肥',\
      itemStyle: {\
        normal: {\
          color: '#2095f2'\
        }\
      }\
    }, {\
      value: 285579,\
      name: '粮食',\
      itemStyle: {\
        normal: {\
          color: '#745af2'\
        }\
      }\
    }, {\
      value: 26376,\
      name: '风电叶片',\
      itemStyle: {\
        normal: {\
          color: '#febf00'\
        }\
      }\
    }, {\
      value: 38657,\
      name: '设备',\
      itemStyle: {\
        normal: {\
          color: '#61b72d'\
        }\
      }\
    }, {\
      value: 257271,\
      name: '铜矿',\
      itemStyle: {\
        normal: {\
          color: '#00d8ff'\
        }\
      }\
    }, {\
      value: 1594045,\
      name: '其他',\
      itemStyle: {\
        normal: {\
          color: '#1e6ee5'\
        }\
      }\
    }],\
    itemStyle: {\
      emphasis: {\
        shadowBlur: 10,\
        shadowOffsetX: 0,\
        shadowColor: 'rgba(0, 0, 0, 0.5)'\
      }\
    }\
  }]\
};\
// 使用刚指定的配置项和数据显示图表。\
myChart1.setOption(option1);\
window.onresize = function() {\
  myChart1.resize();\
  myChart2.resize();\
\
};\
\
Wb.requestAg({\
  params: {\
    subsId: '-1',\
    bean: \"permissionService\",\
    method: \"listWbmenuMethod\" //业务方法名 \
  },\
  success: function(resp) {\
    var html = '<section class=\"sticky-header\">' + '<div class=\"left-side sticky-left-side\">' + '<div class=\"logo\" style=\"background-color:#4397e6;\">' + '<a onclick=\"changeurl()\"><img src=\"admin/images/comlogo.png\"  style=\"height: 20px;margin-top: 10px;display: block;\" alt=\"\"><\/a>' + '<strong style=\"margin-left:10px;height:40px;display:inline-block;\"><span style=\"line-height:40px;font-size:18px;color:#fff\" >岸基开发平台2.1<\/span><\/strong>' + '<\/div>' + '<div class=\"logo-icon text-center\"  style=\"background-color:#017ada;height:40px\">' + '<a onclick=\"changeurl()\"><p style=\"line-height:40px;font-size:18px;color:#fff\">AG<\/p><\/a>' + '<\/div>' + '<div class=\"left-side-inner\">' + '<div class=\"visible-xs hidden-sm hidden-md hidden-lg\"><\/div>' + '<ul class=\"nav nav-pills nav-stacked custom-nav\">' + ' <li class=\"active\"><a href=\"\"><i class=\"fa fa-book\"><\/i> <span>{#Str.home#}<\/span><\/a><\/li>' + resp.responseText + '<\/ul>' + '<\/div>' + '<\/div>' + '<\/section>';\
    var htmls = \"<span>\" + subsId + \"<\/span>\";\
    app.basicsPanel.update(html);\
    Wb.addLink(['admin/js/bootstrap.min.js', 'admin/js/modernizr.min.js', 'admin/js/scripts.js']);\
  }\
});\
\
\
\
\
\
//消息通知处理\
var countWd = queryCountNoRd();\
if (countWd == 0) {\
  document.getElementById(\"msgSpan\").style.display = \"none\";\
  //\t$(\"#msgSpan\").removeClass(\"layui-badge\");\
} else {\
  document.getElementById('msgSpan').innerText = countWd;\
}\
\
if ('WebSocket' in window) {\
  console.log(\"此浏览器支持websocket \");\
  websocket = new WebSocket(\"ws://\" + document.location.host + \"/echo\");\
} else if ('MozWebSocket' in window) {\
  console(\"此浏览器只支持MozWebSocket\");\
} else {\
  console(\"此浏览器只支持SockJS\");\
}\
// 打开连接时\
websocket.onopen = function(evnt) {\
  console.log(\"  websocket.onopen  \");\
  //$(\"#msgSpan\").removeClass(\"layui-badge\");\
};\
// 收到消息时\
websocket.onmessage = function(evnt) {\
  var resData = Wb.decode(evnt.data);\
  document.getElementById(\"msgSpan\").style.display = \"\";\
  var countOnLine = queryCountNoRd();\
  document.getElementById('msgSpan').innerText = countOnLine;\
  showNotice(resData.businessType, resData.msgInfo, resData.chatName); //title,content,from\
};\
websocket.onerror = function(evnt) {\
  console.log(\"  websocket.onerror  \");\
};\
websocket.onclose = function(evnt) {\
  console.log(\"  websocket.onclose  \");\
};\
\
Wb.requestAg({\
  params: {\
    bean: \"homeDataService\",\
    method: \"getBaseData\" //业务方法名 \
  },\
  success: function(resp) {\
    //console.info(resp.responseText);\
    var data = JSON.parse(resp.responseText);\
    $('#home_nttl').text(data.home_nttl);\
    $('#home_yttl').text(data.home_yttl);\
    $('#home_kcl').text(data.home_kcl);\
    $('#home_cbs').text(data.home_cbs);\
  }\
});\
\
var userDesktopStr = \"{#userDesktop#}\";\
if(!Wb.isEmpty(userDesktopStr)){\
  var userDesktop = JSON.parse(userDesktopStr);\
  console.info(userDesktop);\
  Wb.each(userDesktop, function(item){\
    var pageLink = {\
      url: item.url,\
      title: item.title,\
      iconCls: item.iconCls,\
      inframe: false,\
      reload: false,\
      newTab: false,\
      params: {}\
    };\
    Wb.open(pageLink);\
  });\
}\
\
",
   "initialize": "\
Wb.apply(app, {\
  openurl: function(url) {\
   Wb.open({url: url, title: '账户信息', iconCls: 'myIconCls'});\
  },\
  /*portletHeader: '{#Var.sys.app.portletHeader#}' == 'true',*/\
  refreshTab: function() {\
    var card = app.tab.getActiveTab();\
    if (card) {\
      Wb.open({\
        reloadCard: card\
      });\
    }\
  },\
  colseCurrent: function() {\
    Wb.close();\
  },\
  colseOtherTab: function() {\
    Wb.close(false);\
  },\
\
  doAfterRender: function() {\
    /*Ext.suspendLayouts();\
    Wb.setNavigate(app.tab, app.backBtn, app.forwardBtn);\
    app.portal = app.tab.add({\
      appScope: app,\
      itemId: 'homeCard',\
      xtype: 'portalpanel',\
      iconCls: 'home_icon',\
      title: Str.home,\
      reorderable: false\
    });\
    app.tab.setActiveTab(app.portal);\
    app.portal.add([{\
      xtype: 'portalcolumn'\
    }, {\
      xtype: 'portalcolumn'\
    }, {\
      xtype: 'portalcolumn'\
    }]);\
   app.populatePortlets();\
    app.populatePages();\
    Ext.resumeLayouts(true);\
    */\
  },\
  /**\
   * 加载保存的Portlets。\
   */\
  populatePortlets: function() {\
    var items = \"{#portlets#}\",\
      index = 0;\
    if (items) {\
      items = Wb.decode(items);\
      if (items.length) {\
        Wb.each(items, function(col) {\
          Wb.each(col, function(portlet) {\
            app.addPortlet(portlet, null, index);\
          });\
          index++;\
        });\
      }\
    }\
  },\
  //添加桌面\
  addportMoules: function() {\
\
    var win = new Ext.window.Window(app._window1); //app._win指向配置对象而非实例\
    win.show();\
    win.setIconCls('record_add_icon');\
    Wb.setTitle(win, '添加');\
\
    //'m?xwl=examples/employee/edit'\
    win.mon(win, 'ok', function() {\
      var values = app.text1.getValue();\
      var datavalu = values.split('.');\
      var valfinal = 'm?xwl=' + datavalu[0];\
      var pageLink = {\
        url: values,\
        title: 'abab',\
        iconCls: '',\
        inframe: false\
      };\
\
      app.addPortlet(pageLink, 0);\
      win.close();\
    });\
\
\
\
  },\
  /**\
   * 关闭所有Portlet。\
   */\
  closePortal: function() {\
    Ext.suspendLayouts();\
    app.homeCard.items.each(function(col) {\
      col.items.each(function(item) {\
        item.destroy();\
      });\
    });\
    Ext.resumeLayouts(true);\
  },\
  logout: function() {\
    Wb.request({\
      url: 'logout',\
      success: function(resp) {\
        window.location.replace('./');\
      }\
    });\
\
  },\
  /**\
   * 加载保存的页面。\
   */\
  populatePages: function() {\
    var tab = app.tab;\
    tab.mon(tab.tabBar.el, 'dblclick', function() {\
      var card = tab.getActiveTab(),\
        url = card.bindFile;\
      if (!card.hasParams && url) {\
        if (Ext.String.endsWith(url, '.xwl'))\
          url = 'm?xwl=' + url.slice(0, -4);\
        window.open(url);\
      }\
    }, tab);\
    var card, tabItems = \"{#tabItems#}\";\
    if (tabItems) {\
      tabItems = Wb.decode(tabItems);\
      if (tabItems.length) {\
        Wb.each(tabItems, function(item) {\
          card = Wb.open(Wb.apply(item, {\
            frameOnly: true,\
            notActiveCard: true\
          }));\
          card.notLoaded = true;\
        });\
        app.tab.setActiveTab(parseInt('{#activeIndex#}', 10));\
      }\
    }\
  },\
  showTool: function(panel, visible) {\
    Ext.suspendLayouts();\
    Wb.each(panel.header.query('tool'), function(item) {\
      item.setVisible(visible);\
    });\
    Ext.resumeLayouts(true);\
  },\
  /**\
   * 在Portal首行首列添加指定模块作为Portlet。\
   * @param {Object} config 配置项。\
   * @param {Number} [rowIndex] 行索引号，缺省为最后一行。\
   * @param {Number} [colIndex] 列索引号，缺省为0。\
   */\
  addPortlet: function(config, rowIndex, colIndex) {\
    if (config.newWin || config.inframe || config.container === false || config.download) {\
      Wb.info(Str.invalidPortlet);\
      return;\
    }\
    app.tab.setActiveTab(app.homeCard);\
    var portlet, portletObject = {\
      xtype: 'portlet',\
      layout: 'fit',\
      title: config.title,\
      iconCls: config.iconCls,\
      doRefresh: app.refreshPortlet,\
      doMaximize: app.maxPortlet,\
      pageLink: config,\
      collapsible: app.portletHeader,\
      collapsed: config.collapsed || false,\
      height: config.height || 240,\
      lastHeight: config.height || 240,\
      listeners: {\
        afterrender: {\
          single: true,\
          fn: function(me) {\
            if (app.portletHeader)\
              app.showTool(me, false);\
            else\
              me.header.setVisible(false);\
            me.mon(me.el, 'mouseenter', function() {\
              if (app.portletHeader)\
                app.showTool(me, true);\
              else\
                me.header.setVisible(true);\
            });\
            me.mon(me.el, 'mouseleave', function() {\
              if (app.portletHeader)\
                app.showTool(me, false);\
              else\
                me.header.setVisible(false);\
            });\
          }\
        },\
        resize: function(me) {\
          if (!me.collapsed)\
            me.lastHeight = me.getHeight();\
        },\
        beforecollapse: function(me) {\
          me.lastHeight = me.getHeight();\
        }\
      }\
    };\
    if (rowIndex !== undefined)\
      portlet = app.portal.items.items[colIndex || 0].insert(rowIndex, portletObject);\
    else app.portal.items.items[colIndex || 0].add(portletObject);\
    Wb.run({\
      url: config.url,\
      contextOwner: portlet,\
      success: function(scope) {\
        var entry = Wb.optMain(scope);\
        if (entry)\
          portlet.add(entry);\
      }\
    });\
  },\
  /**\
   * 刷新Portlets。\
   */\
  refreshPortlet: function(portlet) {\
    var me = portlet || this;\
    me.removeAll();\
    Wb.run({\
      url: me.pageLink.url,\
      contextOwner: me,\
      success: function(scope) {\
        var entry = Wb.optMain(scope);\
        if (entry) {\
          me.add(entry);\
        }\
      }\
    });\
  },\
  /**\
   * 最大化Portlets至Tab页。\
   */\
  maxPortlet: function() {\
    Wb.open(this.pageLink);\
  },\
  /**\
   * 保存Portal、Tab页和模块树宽度。\
   * @param {Number} type 必须参数说明。\
   */\
  saveDesktop: function(type) {\
    var pages = [],\
      portlets = [],\
      url;\
    switch (type) {\
      case 1:\
        url = 'save-desktop';\
        break;\
      case 2:\
        url = 'save-default-desktop';\
        break;\
      case 3:\
        url = 'save-all-desktop';\
        break;\
    }\
    app.tab.items.each(function(item) {\
      if (item.lastPortalConfigs !== undefined) {\
        pages.push({\
          url: item.bindFile,\
          params: item.lastPortalConfigs\
        });\
      }\
    });\
//     app.homeCard.items.each(function(col) {\
//       var items = [];\
//       portlets.push(items);\
//       col.items.each(function(portlet) {\
//         items.push({\
//           url: portlet.pageLink.url,\
//           height: portlet.lastHeight,\
//           collapsed: portlet.collapsed\
//         });\
//       });\
//     });\
    Wb.request({\
      url: 'm?xwl=sys/portal/home/' + url,\
      params: {\
//         treeWidth: app.moduleView.width,\
//         treeCollapsed: app.moduleView.collapsed !== false,\
//         treeHidden: !app.moduleView.isVisible(),\
//         viewIndex: app.moduleView.items.indexOf(app.moduleView.getLayout().getActiveItem()),\
        pages: pages,\
        portlets: portlets,\
        active: app.tab.items.indexOf(app.tab.getActiveTab())\
      },\
      success:function(resp){\
        Wb.tip(\"用户页面保存成功！\");\
      }\
    });\
  }\
});"
  }
 }],
 "roles": {
  "default": 1,
  "dev": 1,
  "jj_japan_role": 1,
  "basic": 1,
  "客户管理": 1,
  "salerole": 1
 },
 "title": "主页",
 "iconCls": "",
 "inframe": false,
 "pageLink": "{path:'home', method: 'get', newWin: true}"
}