apps/com.actionsoft.apps.coe.pal/template/page/pal.pl.repository.outputreport.htm

223 lines
7.6 KiB
HTML
Raw Normal View History

2022-06-27 22:14:40 +08:00
<!Doctype html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<title>报告生成器</title>
<script src="../commons/js/jquery/scripts/jquery.js"></script>
<script type="text/javascript" src="../commons/js/jquery/scripts/jquery.js"></script>
<script type="text/javascript" src="../commons/js/awsui.js"></script>
<script type="text/javascript" src="../commons/js/jquery/scripts/ui/aws.util.js"></script>
<script src="../commons/js/jquery/scripts/ui/awsui.pagination.js"></script>
<script src="../commons/js/jquery/scripts/ui/aws.wizard.js"></script>
<link rel="stylesheet" href="../commons/css/awsui.css">
<style>
#tableContent thead th {
text-align: left;
}
.pagination {
padding-left: 0px;
}
.toolbar-photo img {
height: 15px;
width: 20px;
vertical-align: middle;
margin-left: 10px;
position: relative;
top: 0;
cursor: pointer;
}
.toolbar-title {
display: block;
float: left;
height: 60px;
line-height: 60px;
font-size: 16px;
color: #fff;
background-size: 25px;
padding-left: 30px;
margin: 0 20px 0 10px;
background-repeat: no-repeat;
background-position: 0 17px;
}
.file_pre_toolbars {
height: 60px;
float: right;
padding-right: 20px;
}
.file_pre_listbtn {
display: inline-block;
text-align: center;
width: 24px;
height: 24px;
z-index: 500;
margin: 20px 15px;
background-image: url(../apps/com.actionsoft.apps.coe.pal/img/pre_file_list.png);
background-repeat: no-repeat;
background-size: 21px;
cursor: pointer;
}
.previewpanel{
width: 100%;
position: absolute;
top: 0px;
bottom: 0px;
background: rgba(0, 0, 0, 0.36);
z-index: 500;
}
.fstoolbar{
width: 100%;
height: 60px;
position: absolute;
background-color: rgba(0,0,0,.6);
right: 0;
top: 0;
z-index: 501;
}
.toolbar-photo {
display: block;
float: left;
height: 60px;
line-height: 60px;
}
.button.gray{
background-color: lightgrey;
}
#selectLanguage {
width:552px;
}
@media screen and(-ms-high-contrast:active),(-ms-high-contrast:none) {
#selectLanguage {
width:548px;
}
}
</style>
</head>
<body>
<input type="hidden" value="<#sid>" name="sid" id="sid">
<div style="display: none;" id="tabReportIsIt" data-current="0"><!-- 1代表当前使用0代表不是当前使用 -->
<input id="reportNameIsItName" name="reportNameIsItName" style="width: 400px;" type="text" class="awsui-textbox" maxlength="120"/>
</div>
<div style="display: none;" id="tabReportNotIt" data-current="0">
<input name="reportNameNotItName" class="awsui-textbox" type='text' style="width: 400px;" value="%fileName%_%fileVersion%" maxlength="120"/>
</div>
<div style="width: 96%; margin: 30px auto;" id="contentList">
<div style="width: 100%;">
<div style="float: left;">
<button type="button" id="create" class="button blue">新建</button>
</div>
<div style="float: left;">
<button id="reloadData" type="button" class="button">刷新</button>
</div>
<div style="float: right;">
<input style="width: 500px;" id="buttonedit" placeholder="名称/报告类型" class="awsui-input" type="text">
</div>
</div>
<div style="width: 100%; clear: left; padding-top: 30px;">
<table id="tableContent" style="width: 100%; min-width: 1000px;" class="table table-thin table-hover">
<thead>
<th style="text-align: left; width: 200px;">名称</th>
<th style="min-width: 200px;">报告类型</th>
<th style="min-width: 100px;">小组名</th>
<th style="width: 80px;">创建人</th>
<th style="width: 60px; text-align: left;">耗时</th>
<th style="width: 80px;">状态</th>
<th style="min-width: 280px;text-align: center;" >操作</th>
</thead>
<tbody id="tableContent1">
</tbody>
</table>
</div>
<div id="Pagination" style="margin-top: 10px;"></div>
</div>
<div id="wizard-dig1" style="display: none;" title="报告生成器">
<div id="awsui-wizard1" class="awsui-wizard">
<div class="awsui-wizard-content" style="margin-top: 0px;">
<div class="awsui-wizard-content-item">
<div style="width: 100%; margin: 0px auto;">
<table class="awsui-ux">
<tr>
<td class='awsui-ux-title'>语言</td>
<td>
<select class="awsui-select" id="selectLanguage" onchange="OutputReportWizard.doChange(this);">
<#language>
</select>
</td>
</tr>
<tr>
<td class='awsui-ux-title'>名称</td>
<td><span class='required'><input id="reportName" class="awsui-input" type='text' style="width: 548px;"/></span></td>
</tr>
</table>
<div style="width: 710px; height: 250px; margin-top: 5px; padding: 0px 20px;" class="awsui-ux">
<iframe style="border: 0;height: 100%;width: 100%" src="" name="reportTree" id="reportTree"></iframe>
</div>
</div>
</div>
<div style="display: none;" class="awsui-wizard-content-item">
<div style="width: 100%; margin: 0px auto; overflow: hidden;">
<div style="width: 100%; margin: 0px auto;height: 380px;">
<iframe style="border: 0;height: 380px; width: 750px" src="" name="reportPalFileTree" id="reportPalFileTree"></iframe>
</div>
</div>
</div>
<div style="display: none;" class="awsui-wizard-content-item">
<div style="width: 100%; margin: 0px auto; overflow: hidden;">
<div style="width: 100%; margin: 0px auto;height: 380px;">
<iframe style="border: 0;height: 380px;width: 100%" src="" name="reportPalFileTreeRelation" id="reportPalFileTreeRelation"></iframe>
</div>
</div>
</div>
<div style="display: none;" class="awsui-wizard-content-item">
<div style="width: 100%; margin: 0px auto;">
<div style="width: 340px; margin: 70px auto;height: 150px;">
<div style="float: left;"><img src="../apps/com.actionsoft.apps.coe.pal/img/icon/complete_button.png"></div>
<div style="float: left; height: 150px; padding-top:35px; padding-left:30px; vertical-align:middle;">
<div style="line-height:30px;">点击“完成”将保存这个配置</div>
<div style="line-height:30px;"><input class="awsui-checkbox" checked="checked" onchange="" id="complete" value="complete" type="checkbox">
<label class="awsui-checkbox-label" for="complete">执行这个任务</label>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="fullscreenWrap" style="position: fixed;left: 0px;right: 0px;top: 0px;bottom: 0px;z-index: 600;display: none;">
<div id="fstoolbar" class="fstoolbar">
<div class="toolbar-photo">
<img id="filepre_back" src="../apps/com.actionsoft.apps.coe.pal/img/pre_file_back.png">
</div>
<div class="toolbar-title" style='background-image: url("../commons/img/fileSuffix/doc.png");'></div>
<div class="file_pre_toolbars">
<div id="fslistbtn" class="file_pre_listbtn" title="列表"></div>
</div>
</div>
<div id="previewpanel" class="previewpanel"></div>
</div>
</body>
<script type="text/javascript">
var sid = "<#sid>";
var teamId="<#teamId>"
var wsid ="<#wsid>";
var userId="<#userId>";
var versionRange = "";
var shapeNumberSort = <#shapeNumberSort>;
var totalPage = <#totalPage>;
// 是否支持下载上传模版默认pal后台支持PAL小组中不支持
var templateOperate = (teamId != '' ? '1' : '0');// 支持
$(function(){
var isIE = !+[1,]; //判断ie10及以下版本
var agent = navigator.userAgent.toLowerCase(); //判断ie11
if (isIE || (/trident\/7\./).test(agent)) {
$("#reportName").css({"width": "544px"});
}
})
</script>
<script type='text/javascript' src='../apps/com.actionsoft.apps.coe.pal/js/pal.pl.repository.outputreport.js'></script>
<script type='text/javascript' src='../apps/com.actionsoft.apps.coe.pal/js/pal.pl.repository.outputreport.wizard.js'></script>
</html>