apps/com.actionsoft.apps.addons.xpages/template/page/xpages.linkquickly.register.html
shangxiaoran@qq.com 2608324b68 初始化应用
2022-06-28 01:22:45 +08:00

66 lines
2.4 KiB
HTML
Executable File

<div class="xpageLinkQuickly-wrap" id = "xpageLinkQuickly-wrap">
<link rel="stylesheet" type="text/css" href="../apps/com.actionsoft.apps.addons.xpages/css/xpages.linkquickly.register.css">
<script type="text/javascript" name="xpageLinkjsContext" src="../apps/com.actionsoft.apps.addons.xpages/js/xpages.linkquickly.register.js"></script>
<textarea style="display: none;" class="xpagesContent"></textarea>
<table id="xpageLinkQuicklytable" cellspacing="0" cellpadding="2" style="font-size:13px;width:100%;">
<colgroup>
<col width="24%"/>
<col width="76%"/>
</colgroup>
<tr>
<td>分类</td>
<td class="required">
<select id="groupKey" style="width: 360px;"></select>
</td>
</tr>
<tr>
<td>显示方式</td>
<td>
<select id="viewType" style="width:360px;"></select>
</td>
</tr>
<tr>
<td>个人添加</td>
<td>
<select id="isAllowAdd"></select>
</td>
</tr>
<tr>
<td>设管理员</td>
<td style="position:relative;">
<div id="linkquicklyAC" class="awsui-iconfont" style="position:absolute;left:0px;bottom:3px;font-size:14px;color:#E8574E;cursor:pointer;">&#59212;</div>
<div id="linkgroup_ac_content" class="txt" style="width: 95%;display: none;"></div>
</td>
</tr>
<tr class="urladdress-tr-cls">
<td>URL地址</td>
<td><textarea id="linkquicklyUrlText" type="text" class="txt awsui-textbox" style="height:68px;resize: none;width:244px;" spellcheck="false"></textarea></td>
</tr>
<!--<tr>
<td colspan="2"><span id="saveGroupBtn" class="button blue">保存分类</span></td>
</tr>-->
</table>
<script>
linkQuicklyUrltool.init();
function linkquickly_getUrl(){
var groupKey = $("#select2-groupKey-container").text();
if (typeof (groupKey)=="undefined"||groupKey=="") {
$.simpleAlert("请填写分类");
return false;
}
var params = {
groupKey: groupKey,
viewType:viewTypeVal,
isAllowAdd:isAllowAdd
};
var url = './jd?sid=' + sid + '&cmd=com.actionsoft.apps.addons.xpages_linkquickly_saveconfig';
awsui.ajax.post(url, params, function (responseObject) {
linkQuicklyUrltool.setText();
$.simpleAlert(responseObject['msg'], responseObject['result']);
}, 'json');
}
</script>
</div>