Showing
1 changed file
with
6 additions
and
3 deletions
@@ -117,6 +117,7 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'soulTable', 'sessions', 'comm | @@ -117,6 +117,7 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'soulTable', 'sessions', 'comm | ||
117 | renderSearchCondition(resType, bizId); | 117 | renderSearchCondition(resType, bizId); |
118 | let colResType = resType; | 118 | let colResType = resType; |
119 | if (colResType == 'MIDDLEWARE_WEBLOGIC' && parentId == 'null') { | 119 | if (colResType == 'MIDDLEWARE_WEBLOGIC' && parentId == 'null') { |
120 | + // 展示控制台的表头 | ||
120 | colResType = 'MIDDLEWARE_WEBLOGICCONSOLE' | 121 | colResType = 'MIDDLEWARE_WEBLOGICCONSOLE' |
121 | } | 122 | } |
122 | 123 | ||
@@ -515,7 +516,6 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'soulTable', 'sessions', 'comm | @@ -515,7 +516,6 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'soulTable', 'sessions', 'comm | ||
515 | xmSelect.get('#collProtocolSelect', true).setValue([]); | 516 | xmSelect.get('#collProtocolSelect', true).setValue([]); |
516 | collProtocols = ''; | 517 | collProtocols = ''; |
517 | } | 518 | } |
518 | - form.render('select'); | ||
519 | 519 | ||
520 | var targetId = ''; | 520 | var targetId = ''; |
521 | var searchType = ""; | 521 | var searchType = ""; |
@@ -535,8 +535,8 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'soulTable', 'sessions', 'comm | @@ -535,8 +535,8 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'soulTable', 'sessions', 'comm | ||
535 | $("#biz_reslist_res_cluster_id").show(); | 535 | $("#biz_reslist_res_cluster_id").show(); |
536 | } else if (resType == 'MIDDLEWARE_WEBLOGIC') { | 536 | } else if (resType == 'MIDDLEWARE_WEBLOGIC') { |
537 | searchType = 'MIDDLEWARE_WEBLOGIC'; | 537 | searchType = 'MIDDLEWARE_WEBLOGIC'; |
538 | - optons = "<option value='null'>=全部控制台=</option>" | ||
539 | - optons += "<option value=''>全部服务</option>" | 538 | + optons = "<option value=''>=服务列表=</option>" |
539 | + optons += "<option value='null'>=控制台列表=</option>" | ||
540 | targetId = 'biz_reslist_res_cluster'; | 540 | targetId = 'biz_reslist_res_cluster'; |
541 | $("#biz_reslist_res_cluster_id").show(); | 541 | $("#biz_reslist_res_cluster_id").show(); |
542 | } else { | 542 | } else { |
@@ -632,6 +632,7 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'soulTable', 'sessions', 'comm | @@ -632,6 +632,7 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'soulTable', 'sessions', 'comm | ||
632 | } | 632 | } |
633 | $('#' + targetId).html(optons); | 633 | $('#' + targetId).html(optons); |
634 | form.render("select"); | 634 | form.render("select"); |
635 | + $('#biz_reslist_res_cluster').val(parentId); | ||
635 | }) | 636 | }) |
636 | } | 637 | } |
637 | 638 | ||
@@ -788,6 +789,8 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'soulTable', 'sessions', 'comm | @@ -788,6 +789,8 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'soulTable', 'sessions', 'comm | ||
788 | $('#' + domStr).find('.div-link-state').show(); | 789 | $('#' + domStr).find('.div-link-state').show(); |
789 | } | 790 | } |
790 | form.render("select"); | 791 | form.render("select"); |
792 | + $('#biz_reslist_res_cluster').val(parentId); | ||
793 | + | ||
791 | }) | 794 | }) |
792 | } | 795 | } |
793 | 796 |
-
Please register or login to post a comment