| | |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px;display:none;">éç½®</button> |
| | | <!--æ¾ç¤ºå½åè¿æ»¤æ¹æ¡--> |
| | | <div class="layui-inline" style="margin-left:5px;"> |
| | | <div style="text-align:center;font-size:15px;font-weight:bold;color:#fc9393" id="HFilterScheme_Now"></div> |
| | | </div> |
| | | |
| | | </div> |
| | | <div class="layui-colla-content"> |
| | | <div class="layui-row"> |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <!--æ¾ç¤ºå½åè¿æ»¤æ¹æ¡--> |
| | | <div style="text-align:center;font-size:15px;font-weight:bold;color:#fc9393" id="HFilterScheme_Now" ></div> |
| | | </div> |
| | | <table class="" id="mainTable" lay-filter="mainTable"></table> |
| | | <script type="text/html" id="toolbarDemo"> |
| | | <!--<div class="layui-btn-container"> |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Xt_FastICScheme/Chooselist', |
| | | type: "GET", |
| | | data: { "user": sessionStorage["Czybm"], "HModuleName": "éè´è®¢å", "HInterID": 0, "Type": "Default" }, |
| | | data: { "user": sessionStorage["Czybm"], "HModuleName": "ç产订å", "HInterID": 0, "Type": "Default" }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | var data = data1.data; |
| | |
| | | for (var i = 0; i < Filter.length; i++) { |
| | | HFilterIdList = Filter[i].id; //è¿æ»¤æ¡ä»¶ID |
| | | HFilterIdLists += Filter[i].id + ","; //è¿æ»¤æ¡ä»¶ID(æ¼æ¥) |
| | | HValue += $("#" + HFilterIdList).val() + ","; //è¿æ»¤æ¡ä»¶ä¸è¾å
¥çå¼ |
| | | HValue += $("#" + HFilterIdList).val() + ","; //è¿æ»¤æ¡ä»¶ä¸è¾å
¥çå¼ |
| | | HElement_type += document.getElementById(HFilterIdList).tagName + ",";//éè¿æ ç¾idè·åæ ç¾ç±»å |
| | | } |
| | | |
| | | //对æ°ç»è¿è¡ç¼ç |
| | | HFilterIdLists = encodeURI(HFilterIdLists.substring(0, HFilterIdLists.length - 1));//对 URI è¿è¡ç¼ç |
| | | HValue = encodeURI(HValue.substring(0, HValue.length - 1));//对 URI è¿è¡ç¼ç |
| | | HElement_type = encodeURI(HElement_type.substring(0, HElement_type.length - 1));//对 URI è¿è¡ç¼ç |
| | | HFilterIdLists = HFilterIdLists.substring(0, HFilterIdLists.length - 1); |
| | | HValue = HValue.substring(0, HValue.length - 1); |
| | | HElement_type = HElement_type.substring(0, HElement_type.length - 1); |
| | | |
| | | if (HDefaultFilter == "") { |
| | | layer.open({ |
| | |
| | | , area: ['40%', '80%'] |
| | | , title: 'è¿æ»¤æ¹æ¡' |
| | | , shift: 0//å¼¹åºå¨ç» |
| | | , content: '../../ç³»ç»ç®¡ç/è¿æ»¤æ¹æ¡è®¾ç½®/Xt_FastICScheme.html?OperationType=1&HModuleName=éè´è®¢å&HFilterIdLists=' + HFilterIdLists + '&HValue=' + HValue + '&HElement_type=' + HElement_type |
| | | , content: '../../ç³»ç»ç®¡ç/è¿æ»¤æ¹æ¡è®¾ç½®/Xt_FastICScheme.html?OperationType=1&HModuleName=ç产订å&HFilterIdLists=' + HFilterIdLists + '&HValue=' + HValue + '&HElement_type=' + HElement_type |
| | | , cancel: function () { |
| | | // å³ä¸è§å
³éäºä»¶çé»è¾ |
| | | HIsClose_Manual = true; |
| | |
| | | , area: ['40%', '80%'] |
| | | , title: 'è¿æ»¤æ¹æ¡' |
| | | , shift: 0//å¼¹åºå¨ç» |
| | | , content: '../../ç³»ç»ç®¡ç/è¿æ»¤æ¹æ¡è®¾ç½®/Xt_FastICScheme.html?OperationType=1&HModuleName=éè´è®¢å&HFilterIdLists=' + HFilterIdLists + '&HValue=' + HValue + '&HElement_type=' + HElement_type |
| | | , content: '../../ç³»ç»ç®¡ç/è¿æ»¤æ¹æ¡è®¾ç½®/Xt_FastICScheme.html?OperationType=1&HModuleName=ç产订å&HFilterIdLists=' + HFilterIdLists + '&HValue=' + HValue + '&HElement_type=' + HElement_type |
| | | , end: function () { |
| | | get_FastQuery() |
| | | //æ¾ç¤ºå½åçè¿æ»¤æ¹æ¡ |
| | |
| | | layer.close(index) |
| | | }, function (index) { |
| | | var Filter_Edit = document.getElementsByClassName("ForFilteringSchemes"); //è·åæ¬é¡µææè¿æ»¤æ¡ä»¶å¯¹è±¡(classä¸å
å«"ForFilteringSchemes"çå
ç´ ) |
| | | HFilterIdList = ""; |
| | | HFilterIdLists = ""; |
| | | HValue = ""; |
| | | HElement_type = ""; |
| | | for (var i = 0; i < Filter_Edit.length; i++) { |
| | | HFilterIdList = Filter_Edit[i].id; //è¿æ»¤æ¡ä»¶ID |
| | | HFilterIdLists += Filter_Edit[i].id + ","; //è¿æ»¤æ¡ä»¶ID(æ¼æ¥) |
| | |
| | | HElement_type += document.getElementById(HFilterIdList).tagName + ",";//éè¿æ ç¾idè·åæ ç¾ç±»å |
| | | } |
| | | //对æ°ç»è¿è¡ç¼ç |
| | | HFilterIdLists = encodeURI(HFilterIdLists.substring(0, HFilterIdLists.length - 1));//对 URI è¿è¡ç¼ç |
| | | HValue = encodeURI(HValue.substring(0, HValue.length - 1));//对 URI è¿è¡ç¼ç |
| | | HElement_type = encodeURI(HElement_type.substring(0, HElement_type.length - 1));//对 URI è¿è¡ç¼ç |
| | | HFilterIdLists = HFilterIdLists.substring(0, HFilterIdLists.length - 1); |
| | | HValue = HValue.substring(0, HValue.length - 1); |
| | | HElement_type = HElement_type.substring(0, HElement_type.length - 1); |
| | | var sMainSub = HInterID_Choose + ';' + HFilterIdLists + ';' + HValue + ';' + HElement_type + ';' + sessionStorage["HUserName"] + ';' + 3; |
| | | |
| | | //ä¿®æ¹ |
| | |
| | | HElement_type += document.getElementById(HFilterIdList).tagName + ",";//éè¿æ ç¾idè·åæ ç¾ç±»å |
| | | } |
| | | //对æ°ç»è¿è¡ç¼ç |
| | | HFilterIdLists = encodeURI(HFilterIdLists.substring(0, HFilterIdLists.length - 1));//对 URI è¿è¡ç¼ç |
| | | HValue = encodeURI(HValue.substring(0, HValue.length - 1));//对 URI è¿è¡ç¼ç |
| | | HElement_type = encodeURI(HElement_type.substring(0, HElement_type.length - 1));//对 URI è¿è¡ç¼ç |
| | | HFilterIdLists = HFilterIdLists.substring(0, HFilterIdLists.length - 1); |
| | | HValue = HValue.substring(0, HValue.length - 1); |
| | | HElement_type = HElement_type.substring(0, HElement_type.length - 1); |
| | | |
| | | layer.open({ |
| | | type: 2 |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Xt_FastICScheme/Chooselist', |
| | | type: "GET", |
| | | data: { "user": sessionStorage["Czybm"], "HModuleName": "éè´è®¢å", "HInterID": HInterID, "Type": "Select" }, |
| | | data: { "user": sessionStorage["Czybm"], "HModuleName": "ç产订å", "HInterID": HInterID, "Type": "Select" }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | var data = data1.data; |