Beispiel #1
0
 /// <summary>
 /// 查询事件无关的电话
 /// </summary>
 public object GetAlarmCallOthers(int pageIndex, int pageSize, DateTime m_BeginTime, DateTime m_EndTime,
                                  string deskNumber, string attemperCode, string callTypeCode, string callNumber, string recordNumber, string isCallOut
                                  , string remark, Anchor.FA.Utility.ButtonPower p, C_WorkerDetail userDetail)
 {
     return(DAL.BasicInfo.AlarmEvent.GetAlarmCallOthers(pageIndex, pageSize, m_BeginTime, m_EndTime,
                                                        deskNumber, attemperCode, callTypeCode, callNumber, recordNumber, isCallOut
                                                        , remark, p, userDetail));
 }
Beispiel #2
0
 public object GetAccident(int page, int rows, string order, string sort,
                           DateTime startTime, DateTime endTime,
                           string accidentName, string address, int?type, int?level,
                           Anchor.FA.Utility.ButtonPower p, C_WorkerDetail userDetail)
 {
     return(DAL.MajorAccident.Accident.GetAccident(page, rows, order, sort, startTime, endTime,
                                                   accidentName, address, type, level, p, userDetail));
 }
Beispiel #3
0
        public ActionResult DeskLoad(int ActionId)
        {
            BLL.Notice.NoticeList notice = new BLL.Notice.NoticeList();

            //获取页面权限
            Anchor.FA.Utility.ButtonPower p = new Anchor.FA.Utility.ButtonPower();
            p.ActionIDRang = UserInfo.GetRange(ActionId);//新方法
            BLL.BasicInfo.Ambulance am = new BLL.BasicInfo.Ambulance();

            var result = notice.GetAllDesk(p, UserInfo);

            return(Json(result));
        }
Beispiel #4
0
        public ActionResult NoticeSearch(int page, int rows, string order, string sort, DateTime startTime, DateTime endTime,
                                         int?sendType, string station, string vehicle, int ActionId)
        {
            BLL.Notice.NoticeList notice = new BLL.Notice.NoticeList();

            sendType = sendType == null ? -1 : sendType;
            if (station == "--请选择--" || station == "")
            {
                station = "-1";
            }
            if (vehicle == "--请选择--" || vehicle == "")
            {
                vehicle = "-1";
            }

            Anchor.FA.Utility.ButtonPower p = new Anchor.FA.Utility.ButtonPower();
            p.ActionIDRang = UserInfo.GetRange(ActionId);//新方法
            BLL.BasicInfo.Ambulance am = new BLL.BasicInfo.Ambulance();

            var result = notice.GetNoticeList(page, rows, order, sort, startTime, endTime,
                                              (int)sendType, station, vehicle, p, UserInfo);

            return(Json(result));
        }
Beispiel #5
0
 /// <summary>
 /// 根据人员类型(-1全部)和分站编码(-1或""或"--请选择--"时取全部)和是否有效(-1全部、0无效、1有效)获取人员编码、姓名列表
 /// </summary>
 /// <param name="personType">人员类型(-1全部)</param>
 /// <param name="stationCode">分站编码(-1或""或"--请选择--"时取全部)</param>
 /// <param name="isValid">是否有效(-1全部、0无效、1有效)</param>
 /// <returns></returns>
 public static object GetPersonList(int personType, string stationCode,
                                    int isValid, Anchor.FA.Utility.ButtonPower p, C_WorkerDetail userDetail)
 {
     return(Anchor.FA.DAL.BasicInfo.Person.GetPersonList(personType, stationCode, isValid, p, userDetail));
 }
Beispiel #6
0
 public object AlarmEventSearch(DateTime begin, DateTime end, string c_begin, string c_end, string tel, string Addr, string Dri,
                                string Doc, string Nur, string Dis, string sta, string Alum, string type, string ori
                                , string SuffererName, string ZhuSu, string SendAddress, string IllState, string AlarmEventCode
                                , string IsTest, string judge
                                , int page, int rows, string order, string sort, Anchor.FA.Utility.ButtonPower p, int WorkerID)
 {
     return(DAL.BasicInfo.AlarmEvent.AlarmEventSearch(begin, end, c_begin, c_end, tel, Addr, Dri, Doc, Nur,
                                                      Dis, sta, Alum, type, ori, SuffererName, ZhuSu, SendAddress, IllState, AlarmEventCode, IsTest, judge, page, rows, order, sort, p, WorkerID));
 }
Beispiel #7
0
 public List <TPerson> LoadDis(Anchor.FA.Utility.ButtonPower p, C_WorkerDetail userDetail)
 {
     return(DAL.BasicInfo.AlarmEvent.LoadDis(p, userDetail));
 }
Beispiel #8
0
 public List <TDesk> GetAllDesk(Anchor.FA.Utility.ButtonPower bp, C_WorkerDetail UserInfo)
 {
     return(DAL.Notice.NoticeList.GetAllDesk(bp, UserInfo));
 }
Beispiel #9
0
 public List <TAmbulance> GetAmbulanceByStationID(string id, Anchor.FA.Utility.ButtonPower bp, C_WorkerDetail UserInfo)
 {
     return(DAL.Notice.NoticeList.GetAmbulanceByStationID(id, bp, UserInfo));
 }
Beispiel #10
0
 public object GetNoticeList(int page, int rows, string order, string sort, DateTime startTime, DateTime endTime,
                             int sendType, string station, string vehicle, Anchor.FA.Utility.ButtonPower bp, C_WorkerDetail UserInfo)
 {
     return(DAL.Notice.NoticeList.GetNoticeList(page, rows, order, sort, startTime, endTime,
                                                sendType, station, vehicle, bp, UserInfo));
 }
Beispiel #11
0
 //public object LoadAllTelLogByPage(DateTime begin, DateTime end, int page, int rows, string order, string sort)
 //{
 //    return DAL.BasicInfo.TelLog.LoadAllTelLogByPage(begin,end,page, rows, order, sort);
 //}
 public object TelLogSearch(DateTime begin, DateTime end, string tel, string rec, string op, string res, string des,
                            int page, int rows, string order, string sort, Anchor.FA.Utility.ButtonPower p, C_WorkerDetail userDetail)
 {
     return(DAL.BasicInfo.TelLog.Search(begin, end, tel, rec, op, res, des, page, rows, order, sort, p, userDetail));
 }