Commit ed84754e authored by 黄奎's avatar 黄奎

页面修改

parent 886a226b
...@@ -179,15 +179,12 @@ var calendarUtils = { ...@@ -179,15 +179,12 @@ var calendarUtils = {
*/ */
isDateBetween: function (dateString, startDateString, endDateString) { isDateBetween: function (dateString, startDateString, endDateString) {
if (calendarUtils.isEmpty(dateString)) { if (calendarUtils.isEmpty(dateString)) {
console.log("dateString不能为空");
return; return;
} }
if (calendarUtils.isEmpty(startDateString)) { if (calendarUtils.isEmpty(startDateString)) {
console.log("startDateString不能为空");
return; return;
} }
if (calendarUtils.isEmpty(endDateString)) { if (calendarUtils.isEmpty(endDateString)) {
console.log("endDateString不能为空");
return; return;
} }
var flag = false; var flag = false;
...@@ -208,11 +205,9 @@ var calendarUtils = { ...@@ -208,11 +205,9 @@ var calendarUtils = {
*/ */
dateCompare: function (dateString, compareDateString) { dateCompare: function (dateString, compareDateString) {
if (calendarUtils.isEmpty(dateString)) { if (calendarUtils.isEmpty(dateString)) {
console.log("dateString不能为空");
return; return;
} }
if (calendarUtils.isEmpty(compareDateString)) { if (calendarUtils.isEmpty(compareDateString)) {
console.log("compareDateString不能为空");
return; return;
} }
var dateTime = calendarUtils.dateParse(dateString).getTime(); var dateTime = calendarUtils.dateParse(dateString).getTime();
......
...@@ -132,8 +132,6 @@ var googleMap = { ...@@ -132,8 +132,6 @@ var googleMap = {
googleMap.geocoder.geocode({ 'address': address }, function (results, status) { googleMap.geocoder.geocode({ 'address': address }, function (results, status) {
if (status == google.maps.GeocoderStatus.OK) { if (status == google.maps.GeocoderStatus.OK) {
googleMap.getAddress(results,1); googleMap.getAddress(results,1);
} else {
console.log("对不起没有找到相关的地理位置信息,请点击地图上的准确位置,进行定位!");
} }
}); });
}, },
...@@ -143,8 +141,6 @@ var googleMap = { ...@@ -143,8 +141,6 @@ var googleMap = {
googleMap.geocoder.geocode({ 'location': location }, function (results, status) { googleMap.geocoder.geocode({ 'location': location }, function (results, status) {
if (status == google.maps.GeocoderStatus.OK) { if (status == google.maps.GeocoderStatus.OK) {
googleMap.getAddress(results, 1); 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