<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
    <!--    <title><%= htmlWebpackPlugin.options.title %></title>-->
    <title>CoE PAL流程资产库</title>
    <%= htmlWebpackPlugin.options.AWSJSAndCSSImport %>
    <!--
      其它的js或css引用方式示例（<%= htmlWebpackPlugin.options.awsjsandcsspath%>）
      <link rel="stylesheet" type="text/css" href="<%= htmlWebpackPlugin.options.awsjsandcsspath%>apps/_bpm.platform/css/model/console.m.dw.design.css"/>
    -->

    <script>
      const settingParam = <%= htmlWebpackPlugin.options.settingParam %>;
      const axiosBaseUrl = "<%= htmlWebpackPlugin.options.axiosBaseUrl %>";
      const production = <%= htmlWebpackPlugin.options.isproduction %>;
    </script>
  <% if(!htmlWebpackPlugin.options.isproduction) {%>
    <script>
      const devUserInfo = <%= JSON.stringify(htmlWebpackPlugin.options.devUserInfo) %>;
    </script>
  <%  }%>

    <script>
      <% if(!htmlWebpackPlugin.options.isproduction) {%>
        var notificationSoundTips = false;	// 是否开启消息到达声音提醒
        var notificationMsgLoadFrequency = 60;	// 通知消息检查频率
        var isSecurityPwdChange = true;	// 是否允许用户修改口令
        var forceChangePwd = false;	// 默认口令验证，是否强制修改默认密码
        var isSecurityPwdComplexity = 10;	// 密码强度
        var securityMinPwdLength = 0;	// 允许账户口令最小长度，0表示无限制
        var securityMaxPwdLength = 32;	// 允许账户口令最大长度，最多32位长度
        var isSecAdminUser = false;// 是否安全保密员，开启三员且该用户为安全保密员为true
        var isManage = true;
        var mainType = '1';// 0:左侧显示资产库文字，中间无输入框，右侧显示所有，1:左侧显示资产库下拉菜单，中间显示输入框，右侧显示所有，2:左侧显示小组文字，中间无输入框，右侧显示所有，3:左侧显示小组下拉菜单，中甲显示输入框，右侧显示所有，4:管理中心
        var uid = "admin";
        var wHref = "http://localhost:8088/portal/r/w";
        var jdHref = "http://localhost:8088/portal/r/jd";
      <%}else {%>
        var isNoticeActive = <#isNoticeActive>;	//是否启用通知中心
        var notificationSoundTips = false;	// 是否开启消息到达声音提醒
        var notificationMsgLoadFrequency = 60;	// 通知消息检查频率
        var isSecurityPwdChange = <#isSecurityPwdChange>;	// 是否允许用户修改口令
        var forceChangePwd = <#forceChangePwd>;	// 默认口令验证，是否强制修改默认密码
        var isSecurityPwdComplexity = <#isSecurityPwdComplexity>;	// 密码强度
        var securityMinPwdLength = <#securityMinPwdLength>;	// 允许账户口令最小长度，0表示无限制
        var securityMaxPwdLength = <#securityMaxPwdLength>;	// 允许账户口令最大长度，最多32位长度
        var isSecAdminUser = <#isSecAdminUser>;// 是否安全保密员，开启三员且该用户为安全保密员为true
        var isManage = <#isManage>;// 是否资产库管理员
        var mainType = "<#mainType>";
        var uid = "<#uid>";
        var wHref = "./w";
        var jdHref = "./jd";
      <%}%>
    </script>
  </head>
  <body style="margin:0;">
    <div id="app"></div>
  </body>
</html>
