var SetSearchDate = function (sign, sid, eid) {//sign 标识符区分本周本月本年,sid开始时间id,eid结束时间id var now = new Date(); var nowDayOfWeek = now.getDay(); //今天本周的第几天 var nowMonth = now.getMonth() + 1; //当前月 var nowYear = now.getFullYear(); //当前年 if (sign == 1)//本周…