Admin/system/!/rms/com/tree.master
(完整代码) 1KB<%@ Master Language="C#" MasterPageFile="~/!/MasterPage.master" AutoEventWireup="false" CodeFile="tree.master.cs" Inherits="__com_tree" %>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="Server">
<title>请选择</title>
<script type="text/javascript">
var tree = uap(function () {
tree = uap.miniui.tree('#uaptree');
tree.set({
url: '??=Query'
, textField: 's'
, idField: 'i'
, parentField: 'p'
, resultAsTree: false
, ondrawnode: function (e) {
var node = e.node;
e.iconCls = 't' + node.t + '-' + (node.a > 0 ? 1 : 0);
window['ondrawnode'] && ondrawnode(e);
}
});
});
function ok(e) {
var v = window['onok'] ? onok(e) : tree.getValue();
window.CloseOwnerWindow ? uap.ret({ ok: v }) : uap.view(v);
}
</script>
<asp:ContentPlaceHolder ID="head" runat="server"></asp:ContentPlaceHolder>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="body" runat="Server">
<div class="mini-fit" style="padding: 6px;">
<asp:ContentPlaceHolder ID="body" runat="server"></asp:ContentPlaceHolder>
</div>
<div style="text-align: right; position: absolute; top: 4px; right: 4px">
<input id="k" class="mini-textbox" style="width: 80px;" onenter="tree.search(this.value)" />
<a class="mini-button" style="width: 40px;" onclick="tree.search('k',1)">查询</a>
</div>
<div style="padding: 6px; text-align: center">
<a class="mini-button" iconcls="icon-ok" onclick="ok">确认</a>
<a class="mini-button" iconcls="icon-no" onclick="uap.ret(false)">取消</a>
</div>
</asp:Content>
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。