From 2fe250ece8de95b3f70172fe5b45793ab6a3084a Mon Sep 17 00:00:00 2001 From: D:/workspace/chenjingjing/git/gx_tieta/gx_tieta/.gitignore <chenjingjing@LAPTOP-E51P2139> Date: 星期五, 18 一月 2019 17:30:50 +0800 Subject: [PATCH] 未审批可更改 --- gx_tieta/WebRoot/mobil/wcheckAccept-index.html | 17 ++++++++++------- 1 files changed, 10 insertions(+), 7 deletions(-) diff --git a/gx_tieta/WebRoot/mobil/wcheckAccept-index.html b/gx_tieta/WebRoot/mobil/wcheckAccept-index.html index a25ef35..1b7db4b 100644 --- a/gx_tieta/WebRoot/mobil/wcheckAccept-index.html +++ b/gx_tieta/WebRoot/mobil/wcheckAccept-index.html @@ -74,7 +74,7 @@ var arrdata = new Array(); var Page = { - pageSize:20, //姣忛〉鐨勮鏁� + pageSize:100, //姣忛〉鐨勮鏁� pageCurr:1, //褰撳墠椤电爜鏁� pageAll:0, }; @@ -115,15 +115,17 @@ arrdata.push(data[i]);//瀛樺偍鏁版嵁 if(model.length==0){ model.push(data[i].binf.StationName); + stationlist.push(data[i].binf.StationName); }else{ if(model[model.length-1]!=data[i].binf.StationName){//鑻ヤ笉閲嶅锛屽垯PUSH杩涘幓 model.push(data[i].binf.StationName); + stationlist.push(data[i].binf.StationName); } } - console.info(model); - stationlist=model; + console.info(model); } } + //stationlist=model; createUl($('#battList'),model); } } @@ -159,7 +161,7 @@ address:arrdata[i].address,//鍦板潃 binf:{ StationId : arrdata[i].binf.StationId, // 鏈烘埧缂栧彿 - StationName : (arrdata[i].binf.StationName1+"-"+ arrdata[i].binf.StationName2+"-"+arrdata[i].binf.StationName5+"-"+arrdata[i].binf.StationName3), // 鎷兼帴鏈烘埧鍚嶇О + StationName : (arrdata[i].binf.StationName1+"-"+ arrdata[i].binf.StationName2+"-"+arrdata[i].binf.StationName3+"-"+arrdata[i].binf.StationName4), // 鎷兼帴鏈烘埧鍚嶇О StationName1 :arrdata[i].binf.StationName1, // 鐪� StationName2 : arrdata[i].binf.StationName2, // 甯� StationName5 : arrdata[i].binf.StationName5, // 鍖�/鍘� @@ -208,11 +210,12 @@ return arr; } - function createUl(ulCon, dataList) { + function createUl(ulCon, dataList) { //console.info(index); // 娓呯悊瀹瑰櫒涓嬬殑ul - ulCon.find('ul').remove(); - + if(Page.pageCurr==1){ + ulCon.find('ul').remove(); + } // 鍒涘缓ul var _ul = $('<ul data-role="listview" data-inset="true"></ul>'); -- Gitblit v1.9.1