public async void FeedTappedCommand(FeedBackListDto dto)
 {
     try
     {
         /*if (NotifiFeedBackItem.Status == "U")
          * {
          *  await Navigation.PushAsync<NotifiMngViewModel>((vm, v) => vm.Init(NotifiFeedBackItem.NoticeId.ToString(),int.Parse(NotifiFeedBackItem.DisId), int.Parse(NotifiFeedBackItem.DepartId), "Y", NotifiFeedBackItem.Status), true);
          *  MessagingCenter.Send<string>(NotifiFeedBackItem.Status, MessageConst.NOTICE_MADE_SETCONTROLROLE);
          * }
          * else
          * {
          *  await Navigation.PushAsync<NotifiFeedbackViewModel>((vm, v) => vm.Init(NotifiFeedBackItem.NoticeId,int.Parse(NotifiFeedBackItem.DisId),int.Parse(NotifiFeedBackItem.DepartId), NotifiFeedBackItem.Status, CommonContext.Account.UserId.ToString()), true);
          * }*/
         /* if (NotifiFeedBackItem.Status == "U")
          * {
          *   await Navigation.PushAsync<NotifiMngViewModel>((vm, v) => vm.Init(NotifiFeedBackItem.NoticeId.ToString(),int.Parse(NotifiFeedBackItem.DisId), "Y", NotifiFeedBackItem.Status), true);
          *   MessagingCenter.Send<string>(NotifiFeedBackItem.Status, MessageConst.NOTICE_MADE_SETCONTROLROLE);
          * }
          * else
          * {
          *   await Navigation.PushAsync<NotifiFeedbackViewModel>((vm, v) => vm.Init(NotifiFeedBackItem.NoticeId,int.Parse(NotifiFeedBackItem.DisId),int.Parse(NotifiFeedBackItem.DepartId), NotifiFeedBackItem.Status, CommonContext.Account.UserId.ToString()), true);
          * }*/
         //await Navigation.PopAsync();
         //List<RequestParameter> parameterLst = new List<RequestParameter>();
         //parameterLst.Add(new RequestParameter { Name = "caseId", Value = SelectedCaseItem.Id.ToString() });
         //MessagingCenter.Send<List<RequestParameter>>(parameterLst, "GetCaseInfoDetail");
         await Navigation.PushAsync <NotifiFeedbackViewModel>((vm, v) => vm.Init(NotifiFeedBackItem.NoticeId, int.Parse(NotifiFeedBackItem.DisId), int.Parse(NotifiFeedBackItem.DepartId), NotifiFeedBackItem.Status, CommonContext.Account.UserId.ToString()), true);
     }
     catch (Exception)
     {
     }
 }
Ejemplo n.º 2
0
 public void Init(int NoticeId, int disId, int departId, string Status, string FeedBackId = "")
 {
     IsLoading         = false;
     NoticeListInfoDto = new FeedBackListDto {
         NoticeId = NoticeId, DisId = disId.ToString(), DepartId = departId.ToString(), Status = Status
     };
     AttachList      = new List <AttachDto>();
     ISshowYN        = false;
     FeedbackContent = "";
     CaseAttachList  = new List <AttachDto>();
     ReplyContent    = "";
     LstHeight       = 0;
     FBkId           = int.Parse(CommonContext.Account.UserId);
     searchFeedBackDtl();
 }