| | |
| | | using DevExpress.Utils.DirectXPaint; |
| | | using DevExpress.XtraBars; |
| | | using DevExpress.XtraLayout.Customization; |
| | | using DevExpress.XtraReports.Design; |
| | | using Gs.DevApp.Entity; |
| | | using Gs.DevApp.ToolBox; |
| | | using Newtonsoft.Json; |
| | |
| | | } |
| | | if (!MsgHelper.AskQuestion("你选择了1条数据,确定反审核吗?")) |
| | | return; |
| | | var _obj = new |
| | | { |
| | | guid = this.guidKey, |
| | | parameter = this.chkParameter |
| | | }; |
| | | string strJson = UtilityHelper.HttpPost("", "General/GeneralFCheck", JsonConvert.SerializeObject(_obj)); |
| | | ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.ReturnToDynamic(strJson); |
| | | if (_rtn.rtnCode > 0) |
| | | { |
| | | ToolBox.MsgHelper.Warning("提示:" + _rtn.rtnData["outMsg"].ToString()); |
| | | } |
| | | else |
| | | { |
| | | ToolBox.MsgHelper.Warning("提示:" + _rtn.rtnMsg); |
| | | } |
| | | _ckService(0.ToString()); |
| | | } |
| | | private void BtnChk_ItemClick(object sender, ItemClickEventArgs e) |
| | | { |
| | |
| | | } |
| | | if (!MsgHelper.AskQuestion("你选择了1条数据,确定审核吗?")) |
| | | return; |
| | | var _obj = new |
| | | { |
| | | guid = this.guidKey, |
| | | parameter = this.chkParameter |
| | | }; |
| | | string strJson = UtilityHelper.HttpPost("", "General/GeneralCheck", JsonConvert.SerializeObject(_obj)); |
| | | ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.ReturnToDynamic(strJson); |
| | | if (_rtn.rtnCode > 0) |
| | | { |
| | | ToolBox.MsgHelper.Warning("提示:" + _rtn.rtnData["outMsg"].ToString()); |
| | | } |
| | | else |
| | | { |
| | | ToolBox.MsgHelper.Warning("提示:" + _rtn.rtnMsg); |
| | | } |
| | | _ckService(1.ToString()); |
| | | } |
| | | |
| | | private void BtnFjianYan_ItemClick(object sender, ItemClickEventArgs e) |
| | |
| | | } |
| | | if (!MsgHelper.AskQuestion("你选择了1条数据,确定反检验吗?")) |
| | | return; |
| | | var _obj = new |
| | | { |
| | | guid = this.guidKey, |
| | | parameter = this.chkParameter |
| | | }; |
| | | string strJson = UtilityHelper.HttpPost("", "General/GeneralFCheck", JsonConvert.SerializeObject(_obj)); |
| | | ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.ReturnToDynamic(strJson); |
| | | if (_rtn.rtnCode > 0) |
| | | { |
| | | ToolBox.MsgHelper.Warning("提示:" + _rtn.rtnData["outMsg"].ToString()); |
| | | } |
| | | else |
| | | { |
| | | ToolBox.MsgHelper.Warning("提示:" + _rtn.rtnMsg); |
| | | } |
| | | _ckService(0.ToString()); |
| | | } |
| | | |
| | | private void BtnJianYan_ItemClick(object sender, ItemClickEventArgs e) |
| | |
| | | guid = this.guidKey, |
| | | parameter = this.chkParameter |
| | | }; |
| | | string strJson = UtilityHelper.HttpPost("", "General/GeneralCheck", JsonConvert.SerializeObject(_obj)); |
| | | ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.ReturnToDynamic(strJson); |
| | | if (_rtn.rtnCode > 0) |
| | | { |
| | | ToolBox.MsgHelper.Warning("提示:" + _rtn.rtnData["outMsg"].ToString()); |
| | | } |
| | | else |
| | | { |
| | | ToolBox.MsgHelper.Warning("提示:" + _rtn.rtnMsg); |
| | | } |
| | | _ckService(1.ToString()); |
| | | } |
| | | |
| | | private async void BtnIn_ItemClick(object sender, ItemClickEventArgs e) |
| | |
| | | } |
| | | return false; |
| | | } |
| | | |
| | | private void _ckService(string _ckValue) |
| | | { |
| | | var _obj = new |
| | | { |
| | | guid = this.guidKey, |
| | | parameter = this.chkParameter, |
| | | ckValue = _ckValue |
| | | }; |
| | | string strJson = UtilityHelper.HttpPost("", "General/GeneralCheck", JsonConvert.SerializeObject(_obj)); |
| | | ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.ReturnToDynamic(strJson); |
| | | ToolBox.MsgHelper.Warning("提示:" + _rtn.rtnData["outMsg"].ToString()); |
| | | if (_rtn.rtnCode > 0) |
| | | { |
| | | |
| | | } |
| | | else |
| | | { |
| | | |
| | | } |
| | | } |
| | | } |
| | | } |