Merge branch 'master-500-dev-lushangqing' into 'master-500-dev'
【无】业务视图时点击操作系统报错 See merge request !889
Showing
2 changed files
with
6 additions
and
1 deletions
@@ -79,6 +79,11 @@ layui.define(['table', 'form', 'admin', 'layer', 'common', 'sessions', 'treeTabl | @@ -79,6 +79,11 @@ layui.define(['table', 'form', 'admin', 'layer', 'common', 'sessions', 'treeTabl | ||
79 | '<button data-code="{{d.ddicCode}}" class="layui-btn layui-btn-xs layui-btn-normal link-ddic-delete" lay-tips="删除"><i class="layui-icon"></i></button>' + | 79 | '<button data-code="{{d.ddicCode}}" class="layui-btn layui-btn-xs layui-btn-normal link-ddic-delete" lay-tips="删除"><i class="layui-icon"></i></button>' + |
80 | '</div>' | 80 | '</div>' |
81 | }]], | 81 | }]], |
82 | + //lsq 增加排序 | ||
83 | + initSort: { | ||
84 | + field: 'ddicSort',// 需要排序的字段 | ||
85 | + type: 'asc' //排序方式 | ||
86 | + }, | ||
82 | done: function (res) { | 87 | done: function (res) { |
83 | // 点击名称编辑事件 | 88 | // 点击名称编辑事件 |
84 | $('.link-ddic-edit').click(function () { | 89 | $('.link-ddic-edit').click(function () { |
@@ -443,7 +443,7 @@ layui.define(['tree', 'laypage', 'laytpl', 'admin', 'form', 'table', 'commonCols | @@ -443,7 +443,7 @@ layui.define(['tree', 'laypage', 'laytpl', 'admin', 'form', 'table', 'commonCols | ||
443 | }); | 443 | }); |
444 | //start lsq 根据资源类型resType获取动态添加的列表字段 2022-08-05 | 444 | //start lsq 根据资源类型resType获取动态添加的列表字段 2022-08-05 |
445 | admin.req({ | 445 | admin.req({ |
446 | - url: common.domainName + "/api-web/resource/expand/list?resType=" + resType | 446 | + url: common.domainName + "/api-web/resource/expand/list?resType=" + "OperatingSystem" |
447 | , done: function (res) { | 447 | , done: function (res) { |
448 | if (res && res.data ) { | 448 | if (res && res.data ) { |
449 | let arr=res.data; | 449 | let arr=res.data; |
-
Please register or login to post a comment