From cc5eabb8129f374d2a9edc0ad01f3f6803ec1a29 Mon Sep 17 00:00:00 2001
From: CJJ <Administrator@192.168.10.23>
Date: 星期二, 20 十一月 2018 10:01:30 +0800
Subject: [PATCH] 检测数据,目录
---
gx_tieta/WebRoot/mobil/selectcity.html | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/gx_tieta/WebRoot/mobil/selectcity.html b/gx_tieta/WebRoot/mobil/selectcity.html
index 8c330d6..2438891 100644
--- a/gx_tieta/WebRoot/mobil/selectcity.html
+++ b/gx_tieta/WebRoot/mobil/selectcity.html
@@ -79,16 +79,22 @@
];
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