vue-apps/com.actionsoft.apps.coe.pal.processlist/public/index.html

57 lines
2.0 KiB
HTML
Raw Normal View History

2022-08-11 22:20:29 +08:00
<!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 = '4645328c-d20e-4a3c-bcb0-4518c9abdd93';
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 levelSelect = <#levelSelect>;
var defaultSelectVal = <#defaultSelectVal>;
var wHref = "./w";
<%}%>
</script>
</head>
<body style="margin:0;">
<div id="app"></div>
</body>
</html>