Commit ed84754e authored by 黄奎's avatar 黄奎

页面修改

parent 886a226b
......@@ -179,15 +179,12 @@ var calendarUtils = {
*/
isDateBetween: function (dateString, startDateString, endDateString) {
if (calendarUtils.isEmpty(dateString)) {
console.log("dateString不能为空");
return;
}
if (calendarUtils.isEmpty(startDateString)) {
console.log("startDateString不能为空");
return;
}
if (calendarUtils.isEmpty(endDateString)) {
console.log("endDateString不能为空");
return;
}
var flag = false;
......@@ -208,11 +205,9 @@ var calendarUtils = {
*/
dateCompare: function (dateString, compareDateString) {
if (calendarUtils.isEmpty(dateString)) {
console.log("dateString不能为空");
return;
}
if (calendarUtils.isEmpty(compareDateString)) {
console.log("compareDateString不能为空");
return;
}
var dateTime = calendarUtils.dateParse(dateString).getTime();
......
......@@ -132,9 +132,7 @@ var googleMap = {
googleMap.geocoder.geocode({ 'address': address }, function (results, status) {
if (status == google.maps.GeocoderStatus.OK) {
googleMap.getAddress(results,1);
} else {
console.log("对不起没有找到相关的地理位置信息,请点击地图上的准确位置,进行定位!");
}
}
});
},
placeMarker: function (location) {
......@@ -143,9 +141,7 @@ var googleMap = {
googleMap.geocoder.geocode({ 'location': location }, function (results, status) {
if (status == google.maps.GeocoderStatus.OK) {
googleMap.getAddress(results, 1);
} else {
console.log("对不起没有找到相关的地理位置信息,请点击地图上的准确位置,进行定位!");
}
}
});
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment