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

58 lines
2.4 KiB
HTML
Raw Normal View History

2022-07-12 08:49:40 +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(!htmlWebpackPlugin.options.isproduction) {%>
var mainPage = 'replace';// create 批量创建 replace 批量替换
var wsId = 'f391f672-100b-4d4b-89d1-ba1b4b3d0132';
var teamId = '';
var methodCategory = 'process';
var appId = 'com.actionsoft.apps.coe.pal.batch';
var repositoryName = 'tmp';
var groupValue = 'upload';
var processFileValue = '1234';
var shapeFileValue = '5678';
var palId = '241e1259-2bf9-4e33-a362-bb94b7ec27b7';// 流程id不为空则为设计器内单只流程形状属性替换
var wHref = "http://localhost:8088/portal/r/w";
var jdHref = "http://localhost:8088/portal/r/jd";
<%}else {%>
var mainPage = '<#mainPage>';// create 批量创建 replace 批量替换
var wsId = '<#wsId>';
var teamId = '<#teamId>';
var methodCategory = '<#methodCategory>';
var appId = '<#appId>';
var repositoryName = '<#repositoryName>';
var groupValue = '<#groupValue>';
var processFileValue = '<#processFileValue>';
var shapeFileValue = '<#shapeFileValue>';
var palId = '<#palId>';// 流程id不为空则为设计器内单只流程形状属性替换
var wHref = "./w";
var jdHref = "./jd";
<%}%>
</script>
</head>
<body style="margin:0;">
<div id="app"></div>
</body>
</html>