Showing
2 changed files
with
5 additions
and
3 deletions
@@ -631,8 +631,9 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'soulTable', 'sessions', 'comm | @@ -631,8 +631,9 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'soulTable', 'sessions', 'comm | ||
631 | }); | 631 | }); |
632 | } | 632 | } |
633 | $('#' + targetId).html(optons); | 633 | $('#' + targetId).html(optons); |
634 | - form.render("select"); | 634 | + |
635 | $('#biz_reslist_res_cluster').val(parentId); | 635 | $('#biz_reslist_res_cluster').val(parentId); |
636 | + form.render("select"); | ||
636 | }) | 637 | }) |
637 | } | 638 | } |
638 | 639 | ||
@@ -788,8 +789,9 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'soulTable', 'sessions', 'comm | @@ -788,8 +789,9 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'soulTable', 'sessions', 'comm | ||
788 | } else { | 789 | } else { |
789 | $('#' + domStr).find('.div-link-state').show(); | 790 | $('#' + domStr).find('.div-link-state').show(); |
790 | } | 791 | } |
791 | - form.render("select"); | 792 | + |
792 | $('#biz_reslist_res_cluster').val(parentId); | 793 | $('#biz_reslist_res_cluster').val(parentId); |
794 | + form.render("select"); | ||
793 | 795 | ||
794 | }) | 796 | }) |
795 | } | 797 | } |
@@ -243,7 +243,7 @@ layui.define(['table', 'form', 'admin', 'layer', 'common', 'sessions', 'xmSelect | @@ -243,7 +243,7 @@ layui.define(['table', 'form', 'admin', 'layer', 'common', 'sessions', 'xmSelect | ||
243 | method: 'GET', | 243 | method: 'GET', |
244 | success: function (res) { | 244 | success: function (res) { |
245 | // 资源类型下拉框 | 245 | // 资源类型下拉框 |
246 | - if (res && res.success && response.data.length > 0) { | 246 | + if (res && res.success && res.data.length > 0) { |
247 | var resTypeList = res.data; | 247 | var resTypeList = res.data; |
248 | resTypeSelect = xmSelect.render({ | 248 | resTypeSelect = xmSelect.render({ |
249 | el: '#notice_search_resType', | 249 | el: '#notice_search_resType', |
-
Please register or login to post a comment