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/selectcity.html | 16 +++++++++++----- 1 files changed, 11 insertions(+), 5 deletions(-) diff --git a/gx_tieta/WebRoot/mobil/selectcity.html b/gx_tieta/WebRoot/mobil/selectcity.html index 8c330d6..15aebf6 100644 --- a/gx_tieta/WebRoot/mobil/selectcity.html +++ b/gx_tieta/WebRoot/mobil/selectcity.html @@ -74,21 +74,27 @@ $(function(){ var data = [ {url: 'javascript:JumpHomePage();', txt: '棣栭〉'}, - {url: 'javascript:JumpFirstPage();', txt: '鐪�'}, + {url: 'javascript:JumpFirstPage();', txt: temp.StationName1}, {url: 'javascript:;', txt: '甯�'} ]; addBreadCrumb($('.breadcrumb').eq(0),data); }); - + var temp=getCookie("StationName1"); + temp = JSON.parse(temp); + console.info(temp); //鏌ヨ鎵�鏈夋満鎴� function seachAllCity(){ loadshow(); + var data = { + StationName1: temp.StationName1 + }; + console.info(data); $.ajax({ type: "post", - url: "", + url: "BattInfAction!serchStationName2", async:true, dataType:'text', - data:null, + data:"json = "+JSON.stringify(data), success: function(data){ data = eval('('+data+')'); var model = eval('('+data.result+')'); @@ -125,7 +131,7 @@ for (var i = 0; i < dataList.length; i++){ var _li = $('<li></li'); - var _a = $('<a href="#page1" value="" data-transition="slide">'+dataList[i].StationName+'</a>'); + var _a = $('<a href="#page1" value="" data-transition="slide">'+dataList[i].StationName2+'</a>'); // 灏哶a娣诲姞鍒癬li锛屽皢_li娣诲姞鍒癬ul涓� _li.append(_a); -- Gitblit v1.9.1