| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <script src="~/Content/js/jquery-1.8.3.min.js"></script>
- <script src="~/Content/layui/layui.js"></script>
- <link href="/Content/layui/css/layui.css" rel="stylesheet" />
- @using YTSoft.BaseCallCenter.Model;
- <link href="/Content/css/callscreen/selectform.css" rel="stylesheet" />
- <div style="height:100%;width:100%;overflow-x:hidden">
- <div class="layui-collapse" lay-filter="test" lay-accordion="">
- @if (Model != null && Model.modelList != null && Model.modelList.Count > 0)
- {
- foreach (T_Sys_DictionaryValue dicvalue in Model.modelList)
- {
- <div class="layui-colla-item">
- <h2 class="layui-colla-title">@dicvalue.F_Name</h2>
- <div class="layui-colla-content">
- <table class="layui-table" lay-size="sm">
- <colgroup>
- <col width="150">
- <col>
- </colgroup>
- <tbody>
- @if (dicvalue.DictionaryValueModelList != null && dicvalue.DictionaryValueModelList.Count > 0)
- {
- foreach (T_Sys_DictionaryValue dicchild in dicvalue.DictionaryValueModelList)
- {
- <tr>
- <td code="@dicchild.F_DictionaryValueId">@dicchild.F_Name</td>
- </tr>
- }
- }
- </tbody>
- </table>
- </div>
- </div>
- }
- }
- </div>
- </div>
- <script>
- layui.use(['table', 'element', 'layer'], function () {
- var element = layui.element;
- var layer = layui.layer;
- //监听折叠
- element.on('collapse(test)', function (data) {
- //layer.msg('展开状态:' + data.show);
- });
- });
-
- $(".layui-table tr td").on('click', function () {
- $(".layui-breadcrumb a .citeselect").find("span").text($(this).text());
- window.parent.saveParams($(this).attr("code"), $(this).text());
- var index = parent.layer.getFrameIndex(window.name); //获取窗口索引
- parent.layer.close(index);
- });
-
- </script>
|