<!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>
    <%= 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 (process.env.NODE_ENV === "development") {%>
              var wsId = '497710ef-5514-4ff1-89af-3054380f7b43';
              var teamId = '';
              var levelSelect = [{
                  value: 1,
                  label: '一级流程'
              }, {
                  value: 2,
                  label: '二级流程'
              }, {
                  value: 3,
                  label: '三级流程'
              }, {
                  value: 4,
                  label: '四级流程'
              }, {
                  value: 5,
                  label: '五级流程'
              }];
              var defaultSelectVal = [1,2,3];
              var wHref = "http://localhost:8088/portal/r/w";
          <%}else {%>
              var wsId = "<#wsId>";
              var teamId = "<#teamId>";
              var levelSelect = <#levelSelect>;
              var defaultSelectVal = <#defaultSelectVal>;
              var wHref = "./w";
          <%}%>
      </script>
  </head>
  <body style="margin:0;">
    <div id="app"></div>
  </body>
</html>
