151 lines
5.2 KiB
HTML
151 lines
5.2 KiB
HTML
|
|
<!DOCTYPE html>
|
|||
|
|
<html>
|
|||
|
|
<head>
|
|||
|
|
<meta name="renderer" content="webkit">
|
|||
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
|||
|
|
<title>发布(申请)</title>
|
|||
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|||
|
|
<meta name="renderer" content="webkit">
|
|||
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|||
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
|||
|
|
[#AWSImport]
|
|||
|
|
[#AWSUIImport]
|
|||
|
|
<link rel='stylesheet' id='schemeCss' href='../apps/_bpm.platform/css/colorschemes/scheme_aws.css' name='schemeCss'/>
|
|||
|
|
|
|||
|
|
<link type='text/css' rel='stylesheet' id='themeCss' href='../apps/_bpm.platform/css/theme/theme.css' name='themeCss'/>
|
|||
|
|
<link rel="stylesheet" href="../apps/com.actionsoft.apps.kms/css/com.actionsoft.apps.kms.browsecard.css?v=1541398158000" />
|
|||
|
|
<style type="text/css">
|
|||
|
|
#CARDNAME_Readonly {
|
|||
|
|
cursor: pointer;
|
|||
|
|
}
|
|||
|
|
.browse-card-dialog {
|
|||
|
|
z-index: 102;
|
|||
|
|
}
|
|||
|
|
#cardOL li {
|
|||
|
|
cursor: pointer;
|
|||
|
|
color: #0000EE;
|
|||
|
|
list-style-type: decimal;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
</style>
|
|||
|
|
</head>
|
|||
|
|
<body>
|
|||
|
|
<form id="frmMain" name="frmMain" method="post">
|
|||
|
|
<div id="aws-form-container" class="aws-form-ux-container" border="0">
|
|||
|
|
<table id="aws-form-maintable" class="awsui-ux aws-form-ux-maintable" style="table-layout: auto;" align="center" border="0" cellpadding="0" cellspacing="0">
|
|||
|
|
<tbody>
|
|||
|
|
<tr id="aws-form-titlebg" class="aws-form-ux-titlebg">
|
|||
|
|
<td id="aws-form-title" class="aws-form-ux-header">发布(申请)</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr class="aws-form-ux-formcontent" id="aws-form-formcontent">
|
|||
|
|
<td>
|
|||
|
|
<table style="padding: 5px;" width="100%" align="center">
|
|||
|
|
<tbody>
|
|||
|
|
<tr>
|
|||
|
|
<td>
|
|||
|
|
<table id="table_container" class="awsui-ux table-striped" style="padding: 0px;" width="100%" cellspacing="3" cellpadding="0"><colgroup><col class="awsui-ux-title" /><col style="width: 100.0%;" /></colgroup>
|
|||
|
|
<tbody>
|
|||
|
|
<tr id="2555f78f_b830_46c7_a36e_812e64fdbea0">
|
|||
|
|
<td class="awsui-ux-title"><label id="PUBLISHUSERNAMELabel" class="aws-form-ux-label" style="height: 40px;" for="PUBLISHUSERNAME">申请人</label></td>
|
|||
|
|
<td class="aws-form-ux-content">[#APPLYUSERNAME]</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr id="0d8c5f35_17a0_46f5_b4ba_61c55af69451">
|
|||
|
|
<td class="awsui-ux-title"><span style="white-space: nowrap;">知识路径</span></td>
|
|||
|
|
<td class="aws-form-ux-content">[#DIMENSIONNAME]</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr id="6420a64d_7698_45af_957f_3575e3de2cfa">
|
|||
|
|
<td class="awsui-ux-title"><label id="DIMENSIONMGRLabel" class="aws-form-ux-label" for="DIMENSIONMGR">管理员</label></td>
|
|||
|
|
<td class="aws-form-ux-content">[#DIMENSIONADMIN]</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr>
|
|||
|
|
<td class="awsui-ux-title" rowspan="3"><label id="REASONLabel" class="aws-form-ux-label" for="REASON">备注说明</label></td>
|
|||
|
|
<td class="aws-form-ux-content" rowspan="3">[#REASON]</td>
|
|||
|
|
</tr>
|
|||
|
|
</tbody>
|
|||
|
|
</table>
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr>
|
|||
|
|
<td style="padding-left: 29px;">
|
|||
|
|
<h3>知识列表</h3>
|
|||
|
|
<ol id="cardOL"></ol>
|
|||
|
|
</td>
|
|||
|
|
<td> </td>
|
|||
|
|
</tr>
|
|||
|
|
</tbody>
|
|||
|
|
</table>
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr class="aws-form-bottom">
|
|||
|
|
<td class="aws-form-ux-actionsoft">[#Actionsoft]</td>
|
|||
|
|
</tr>
|
|||
|
|
</tbody>
|
|||
|
|
</table>
|
|||
|
|
</div>
|
|||
|
|
</form>
|
|||
|
|
<div id="browseCardDialog" border="0"></div>
|
|||
|
|
[#DIMENSIONID]
|
|||
|
|
<script src="../apps/com.actionsoft.apps.kms/js/com.actionsoft.apps.kms.browsecard.js?v=1541398158000" type="text/javascript"></script>
|
|||
|
|
<script type="text/javascript">
|
|||
|
|
var browseCard;
|
|||
|
|
var sid = '[#sid]';
|
|||
|
|
var mePhoto = "[#mePhoto]";
|
|||
|
|
var isFavoriteAppActive = [#isFavoriteAppActive];
|
|||
|
|
var isOnlinedocAppActive = [#isOnlinedocAppActive];
|
|||
|
|
var canPreviewType = "[#canPreviewType]";
|
|||
|
|
var isNetworkAppActive = [#isNetworkAppActive];
|
|||
|
|
var browserPreview = '[#browserPreview]';
|
|||
|
|
var today = '[#today]';
|
|||
|
|
var maxFileSize = [#maxFileSize];
|
|||
|
|
var blackFileList = "[#blackFileList]";
|
|||
|
|
$(function() {
|
|||
|
|
// 初始化右侧浏览dialog
|
|||
|
|
browseCard = $('#browseCardDialog').browsecard({
|
|||
|
|
mePhoto : mePhoto,
|
|||
|
|
isFavoriteAppActive : isFavoriteAppActive,
|
|||
|
|
isOnlinedocAppActive : isOnlinedocAppActive,
|
|||
|
|
canPreviewType : canPreviewType,
|
|||
|
|
isNetworkAppActive : isNetworkAppActive,
|
|||
|
|
browserPreview : $.grep(browserPreview.split(','),function(n,i){// 浏览器直接预览,不调用onlinedoc
|
|||
|
|
return n != '';
|
|||
|
|
})
|
|||
|
|
});
|
|||
|
|
});
|
|||
|
|
var cardInfoJA = [#cardInfoJA];
|
|||
|
|
for(var i=0;i<cardInfoJA.length;i++){
|
|||
|
|
var cardInfoJO = cardInfoJA[i];
|
|||
|
|
debugger;
|
|||
|
|
if ($('#isMobile').val() == 'true'){
|
|||
|
|
$('#cardOL').append('<li onclick="openCardDialog(\''+cardInfoJO.cardId+'\')">'+cardInfoJO.cardName+'</li>');
|
|||
|
|
}else{
|
|||
|
|
$('#cardOL').append('<li onclick="browseCard.browse(\''+cardInfoJO.cardId+'\',\'\',false,\''+$('#DIMENSIONID').val()+'\')">'+cardInfoJO.cardName+'</li>');
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
//关闭KMS中的发布窗口
|
|||
|
|
function closeParentDialog() {
|
|||
|
|
try{
|
|||
|
|
parent.$('#publishProcessDialog').dialog('close');
|
|||
|
|
}catch(e){
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
AWSFormMainAPI.customCloseFormPage(closeParentDialog);
|
|||
|
|
function openCardDialog(cardId){
|
|||
|
|
var params = {
|
|||
|
|
sid: $("#sid").val(),
|
|||
|
|
cmd: "com.actionsoft.apps.kms_knwl_center_browse_card_page",
|
|||
|
|
cardId:cardId,
|
|||
|
|
isPage:true
|
|||
|
|
}
|
|||
|
|
var head = new String(document.location);
|
|||
|
|
head = head.substring(0, head.indexOf("r/w"));
|
|||
|
|
if (awsWebview.openWebviewPost(head + "r/w", params) === false) {
|
|||
|
|
$("#mobile-header").hide();
|
|||
|
|
$("#form_nav").hide();
|
|||
|
|
$("#grid_data_open_div").show();
|
|||
|
|
$("#aws-form-container").hide();
|
|||
|
|
openUrlByFrame("grid_data_open_frame_mobile", params, true);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
</script>
|
|||
|
|
</body>
|
|||
|
|
</html>
|