Replace UserTaskDashBoard.jsp

parent 042c05e2
<!doctype html>
<html lang="en" style="height: 100%; background-color: #fff; overflow: auto; --primary: #5fdeb2; --primaryGradient: #38c796; --primaryDark: #158E6A;">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href='css/vision_ui.css' rel='stylesheet' type='text/css' />
<script type="text/javascript" language="JavaScript" src="user-task/assets/js/pluginWrapper.js"></script>
<script src="user-task/polyfills.js" type="module"></script>
<script src="user-task/main.js" type="module"></script>
<script src="user-task/runtime.js" type="module"></script>
<script type="text/javascript" src="user-task/ang-plugins.js"></script>
</head>
<body style="background-color: #fff !important;" onload="initializeDashboard()">
<app-root></app-root>
<div id="user-task" name="bbContentPlugin" class="bbContentPlugin"></div>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href='css/vision_ui.css' rel='stylesheet' type='text/css' />
<script type="text/javascript" language="JavaScript" src="user-task/assets/js/pluginWrapper.js"></script>
<script src="user-task/polyfills.js" type="module"></script>
<script src="user-task/main.js" type="module"></script>
<script src="user-task/runtime.js" type="module"></script>
<script type="text/javascript" src="user-task/ang-plugins.js"></script>
<body style="background-color: #fff !important;" onload="loaddashboardComponent()">
<app-root></app-root>
<div id="user-task" name="bbContentPlugin" class="bbContentPlugin"></div>
</body>
<script>
let componentData;
function initializeDashboard() {
let componentJson = {
targetId: "dashboard",
cacheComp: "false",
showHeader: "false",
componentName: "dashboard",
intentId: "WELCOME"
};
console.log('print value componentJson line no 61::::', componentJson);
componentData = JSON.stringify(componentJson);
console.log('print componentData 25:::::', componentData);
loadDashboardComponent('dashboard', componentData, '');
}
function loadDashboardComponent(targetId, componentData, additionalParams) {
// Assuming loadDashboardComponent is defined somewhere else in your included scripts
if (typeof window.loadDashboardComponent === "function") {
window.loadDashboardComponent(targetId, componentData, additionalParams);
} else {
console.error("loadDashboardComponent function is not defined.");
}
}
let componentData;
function loaddashboardComponent()
{
let componentJson = {};
componentJson['targetId'] = "dashboard";
componentJson['cacheComp'] = "false";
componentJson['showHeader'] = "false";
componentJson['componentName'] = "dashboard";
componentJson['intentId'] = "WELCOME";
console.log('print value componentJson line no 61::::',componentJson);
componentData = JSON.stringify(componentJson);
console.log('print componentData 25:::::',componentData);
window.loaddashboardComponent('dashboard',componentData,'');
}
</script>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment