地铁二期项目正式开始

GetPathInfo.cshtml 2.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <script src="~/Content/js/jquery-1.8.3.min.js"></script>
  2. <script src="~/Content/layui/layui.js"></script>
  3. <link href="/Content/layui/css/layui.css" rel="stylesheet" />
  4. @using YTSoft.BaseCallCenter.Model;
  5. <link href="/Content/css/callscreen/selectform.css" rel="stylesheet" />
  6. <div style="height:100%;width:100%;overflow-x:hidden">
  7. <div class="layui-collapse" lay-filter="test" lay-accordion="">
  8. @if (Model != null && Model.modelList != null && Model.modelList.Count > 0)
  9. {
  10. foreach (T_Sys_DictionaryValue dicvalue in Model.modelList)
  11. {
  12. <div class="layui-colla-item">
  13. <h2 class="layui-colla-title">@dicvalue.F_Name</h2>
  14. <div class="layui-colla-content">
  15. <table class="layui-table" lay-size="sm">
  16. <colgroup>
  17. <col width="150">
  18. <col>
  19. </colgroup>
  20. <tbody>
  21. @if (dicvalue.DictionaryValueModelList != null && dicvalue.DictionaryValueModelList.Count > 0)
  22. {
  23. foreach (T_Sys_DictionaryValue dicchild in dicvalue.DictionaryValueModelList)
  24. {
  25. <tr>
  26. <td code="@dicchild.F_DictionaryValueId">@dicchild.F_Name</td>
  27. </tr>
  28. }
  29. }
  30. </tbody>
  31. </table>
  32. </div>
  33. </div>
  34. }
  35. }
  36. </div>
  37. </div>
  38. <script>
  39. layui.use(['table', 'element', 'layer'], function () {
  40. var element = layui.element;
  41. var layer = layui.layer;
  42. //监听折叠
  43. element.on('collapse(test)', function (data) {
  44. //layer.msg('展开状态:' + data.show);
  45. });
  46. });
  47. $(".layui-table tr td").on('click', function () {
  48. $(".layui-breadcrumb a .citeselect").find("span").text($(this).text());
  49. window.parent.saveParams($(this).attr("code"), $(this).text());
  50. var index = parent.layer.getFrameIndex(window.name); //获取窗口索引
  51. parent.layer.close(index);
  52. });
  53. </script>