123456789101112131415161718192021222324252627282930313233 |
- @using Bowin.Web.Controls.Mvc;
- @using EMISOnline.Entities;
- @using EMISOnline.Web.Controls;
- @{
- ViewBag.Title = "QuestionLibaryTree";
- Layout = null;
- }
- <div class="p_title">
- <div style="float: left; margin-left: 10px; color: #333; line-height: 35px; font-size: 12px;">
- 题库</div>
- <div style="margin-right: 10px; float: right; line-height: 30px; font-size: 12px;">
- @Html.Button(new ButtonOptions() { ID = "btnSaveLibary", Text = "保 存" })
- </div>
- </div>
- <div style="margin: 20px; height: 300px; overflow: auto">
- @Html.Tree(new TreeOptions
- {
- ID = "ulTree",
- ItemSourceUrl = Url.Content("~/PaperSetting/ListQuesLibTree"),
- CssClass = "m_video_tree",
- IsCheckTree = true,
- }, null)
- </div>
- <script type="text/javascript">
- $(function () {
- $('#btnSaveLibary').click(function () {
- var nodes = $('#ulTree').tree('getChecked');
- builderLibarys(nodes);
- $('#dialog').dialog('close');
- });
- })
- </script>
|