private bool CanExecuteSendReplyCommand(object obj)
 {
     return(ReplyContent.Trim().Length > 0);
 }
        private async void ApproalSave(bool type)
        {
            try
            {
                if (ReplyContent == null || (ReplyContent != null && string.IsNullOrEmpty(ReplyContent.Trim())))
                {
                    _commonFun.AlertLongText("请填写审核意见");
                    return;
                }

                NeedApproalParams dto = new NeedApproalParams()
                {
                    NoticeReaderId = NoticeReaderId
                    ,
                    PassYN = type
                    ,
                    ReplyContent = ReplyContent
                    ,
                    UserId = Convert.ToInt32(CommonContext.Account.UserId)
                };

                _commonFun.ShowLoading("保存中...");
                var result = await _notifiMngService.NoticeApprovalS(dto);

                if (result != null)
                {
                    if (result.ResultCode == ResultType.Success)
                    {
                        MessagingCenter.Send <string>("", MessageConst.NOTICE_APPROALDATA_GET);
                        MessagingCenter.Send <string>("", MessageConst.NOTICE_READERLIST_REFRESH);
                        await Navigation.PopAsync(true);

                        _commonFun.AlertLongText("保存成功");
                    }
                    else
                    {
                        _commonFun.AlertLongText(result.Msg);
                    }
                }
                else
                {
                    _commonFun.AlertLongText("保存时服务出现错误,,请重试");
                }
            }
            catch (OperationCanceledException)
            {
                _commonFun.HideLoading();
                _commonFun.AlertLongText("请求超时,请重试");
            }
            catch (Exception)
            {
                _commonFun.HideLoading();
                _commonFun.AlertLongText("保存异常,请重试");
            }
            finally
            {
                _commonFun.HideLoading();
            }
        }