235 lines
7.5 KiB
C#
235 lines
7.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.Mvc;
|
|
|
|
namespace dccdc.Controllers
|
|
{
|
|
/// <summary>
|
|
/// 慢病分析
|
|
/// </summary>
|
|
public class mbfxController : Controller
|
|
{
|
|
// GET: mbfx
|
|
public ActionResult Index()
|
|
{
|
|
return View();
|
|
}
|
|
#region 肿瘤地区分析
|
|
/// <summary>
|
|
/// 肿瘤地区分析
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public ActionResult zldqfx()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
public string getzldqfx(string bdt,string edt)
|
|
{
|
|
return Newtonsoft.Json.JsonConvert.SerializeObject( new { Rows = new DAL.DataInput().getzldqfx(bdt, edt) });
|
|
}
|
|
#endregion
|
|
|
|
#region 传染病地区分析
|
|
public ActionResult crbdqfx()
|
|
{
|
|
return View();
|
|
}
|
|
public string getcrbdqfx(string bdt, string edt,string bz="全部")
|
|
{
|
|
return Newtonsoft.Json.JsonConvert.SerializeObject(new {Rows=new DAL.DataInput().getcrbdqfx(bdt,edt,bz) });
|
|
}
|
|
public ActionResult crbmap()
|
|
{
|
|
return View();
|
|
}
|
|
#endregion
|
|
|
|
#region 脑卒中地区分析
|
|
public ActionResult nczdqfx()
|
|
{
|
|
return View();
|
|
}
|
|
public string getnczdqfx(string bdt,string edt)
|
|
{
|
|
return Newtonsoft.Json.JsonConvert.SerializeObject(new { Rows = new DAL.DataInput().getnczdqfx(bdt, edt) });
|
|
}
|
|
#endregion
|
|
|
|
#region 冠心病地区分析
|
|
public ActionResult gxbdqfx()
|
|
{
|
|
return View();
|
|
}
|
|
public string getgxbdqfx(string bdt, string edt)
|
|
{
|
|
return Newtonsoft.Json.JsonConvert.SerializeObject(new { Rows = new DAL.DataInput().getgxbdqfx(bdt, edt) });
|
|
}
|
|
#endregion
|
|
|
|
#region 月度传染病分类统计
|
|
public ActionResult ydcrbfltj()
|
|
{
|
|
return View();
|
|
}
|
|
public string getydcrbfltj(string bdt)
|
|
{
|
|
return Newtonsoft.Json.JsonConvert.SerializeObject(new { Rows=new DAL.DataInput().getydcrbfltj(bdt)});
|
|
}
|
|
#endregion
|
|
|
|
#region 传染病单病种时间段发病分析
|
|
public ActionResult crbdbzsjdfx()
|
|
{
|
|
return View();
|
|
}
|
|
public string getcrbdbzsjdfx(string bdt,string edt,string bz)
|
|
{
|
|
return Newtonsoft.Json.JsonConvert.SerializeObject(new { Rows = new DAL.DataInput().getcrbdbzsjdfx(bdt,edt,bz) });
|
|
}
|
|
#endregion
|
|
#region 获取传染病病种
|
|
public string getbz()
|
|
{
|
|
return Newtonsoft.Json.JsonConvert.SerializeObject(new DAL.DataInput().getbz());
|
|
}
|
|
#endregion
|
|
|
|
#region 传染病病种月份发病分析
|
|
public ActionResult crbbzydfx()
|
|
{
|
|
return View();
|
|
}
|
|
public string getcrbbzydfx(string bdt)
|
|
{
|
|
return Newtonsoft.Json.JsonConvert.SerializeObject(new { Rows = new DAL.DataInput().getcrbbzydfx(bdt) });
|
|
}
|
|
#endregion
|
|
|
|
#region 传染病病种上报单位统计
|
|
public ActionResult crbbzsbdwfx()
|
|
{
|
|
return View();
|
|
}
|
|
public string getcrbbzsbdwfx(string bdt,string bz)
|
|
{
|
|
return Newtonsoft.Json.JsonConvert.SerializeObject(new { Rows = new DAL.DataInput().crbbzsbdwfx(bdt,bz) });
|
|
}
|
|
#endregion
|
|
#region 传染病患者的分布分析
|
|
public ActionResult crbyfdqfbtj()
|
|
{
|
|
return View();
|
|
}
|
|
public string getcrbyfdqfbtj(string bdt, string bz)
|
|
{
|
|
return Newtonsoft.Json.JsonConvert.SerializeObject(new { Rows = new DAL.DataInput().getcrbyfdqfbtj(bdt, bz) });
|
|
}
|
|
#endregion
|
|
|
|
#region 慢病月数据分析
|
|
public ActionResult mbysjfx()
|
|
{
|
|
return View();
|
|
}
|
|
public string getmbysjfx(string bdt)
|
|
{
|
|
return Newtonsoft.Json.JsonConvert.SerializeObject(new { Rows=new DAL.DataInput().getmbysjfx(bdt) });
|
|
}
|
|
#endregion
|
|
|
|
#region 慢病时间段统计
|
|
public ActionResult mbsjdfx()
|
|
{
|
|
return View();
|
|
}
|
|
public string getmbsjdfx(string bdt,string edt,string mb)
|
|
{
|
|
return Newtonsoft.Json.JsonConvert.SerializeObject(new { Rows = new DAL.DataInput().getmbsjdfx(bdt,edt,mb) });
|
|
}
|
|
#endregion
|
|
|
|
#region 慢病上报单位月度分析
|
|
public ActionResult mbsbdwydfx()
|
|
{
|
|
return View();
|
|
}
|
|
public string getmbsbdwydfx(string bdt,string mb)
|
|
{
|
|
return Newtonsoft.Json.JsonConvert.SerializeObject(new { Rows = new DAL.DataInput().getmbsbdwydfx(bdt, mb) });
|
|
}
|
|
#endregion
|
|
|
|
#region 慢病地区月度分布分析
|
|
public ActionResult mbyddqfx()
|
|
{
|
|
return View();
|
|
}
|
|
public string getmbyddqfx(string bdt,string mb)
|
|
{
|
|
return Newtonsoft.Json.JsonConvert.SerializeObject(new { Rows = new DAL.DataInput().getmbyddqfx(bdt, mb) });
|
|
}
|
|
|
|
public ActionResult mbmap()
|
|
{
|
|
return View();
|
|
}
|
|
#endregion
|
|
#region 获取地图GEO信息
|
|
public string getxzgeo()
|
|
{
|
|
string s= Newtonsoft.Json.JsonConvert.SerializeObject(new DAL.townDal().getgeo());
|
|
return s;
|
|
}
|
|
#endregion
|
|
|
|
#region 传染病查重
|
|
public ActionResult crbcc()
|
|
{
|
|
return View();
|
|
}
|
|
public ActionResult mbcl()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
public string getorg(string key)
|
|
{
|
|
return Newtonsoft.Json.JsonConvert.SerializeObject(new DAL.ordDAL().getorgs(key));
|
|
}
|
|
|
|
public string getmzzd(string org_code,string outpat_form_no)
|
|
{
|
|
return Newtonsoft.Json.JsonConvert.SerializeObject(new { Rows=new DAL.DataInput().getmzzd(org_code,outpat_form_no)}, new Newtonsoft.Json.JsonSerializerSettings { DateFormatString = "yyyy-MM-dd HH:mm" });
|
|
}
|
|
public string getzyzd(string org_code, string inpat_form_no)
|
|
{
|
|
return Newtonsoft.Json.JsonConvert.SerializeObject(new { Rows = new DAL.DataInput().getzyzd(org_code, inpat_form_no) }, new Newtonsoft.Json.JsonSerializerSettings { DateFormatString = "yyyy-MM-dd HH:mm" });
|
|
}
|
|
|
|
public string getmzlb(string org_code,string bt,string et, string jblx = "0")
|
|
{
|
|
return Newtonsoft.Json.JsonConvert.SerializeObject( new { Rows =new DAL.DataInput().getmzlb(org_code,bt,et,jblx) },new Newtonsoft.Json.JsonSerializerSettings { DateFormatString = "yyyy-MM-dd" });
|
|
}
|
|
|
|
public string getzylb(string org_code, string bt, string et,string jblx="0")
|
|
{
|
|
return Newtonsoft.Json.JsonConvert.SerializeObject(new { Rows = new DAL.DataInput().getzylb(org_code, bt, et,jblx) }, new Newtonsoft.Json.JsonSerializerSettings { DateFormatString = "yyyy-MM-dd" });
|
|
}
|
|
|
|
public string getswlb(string org_code, string bt, string et, string jblx = "0")
|
|
{
|
|
return Newtonsoft.Json.JsonConvert.SerializeObject(new { Rows = new DAL.DataInput().getswlb(org_code, bt, et, jblx) }, new Newtonsoft.Json.JsonSerializerSettings { DateFormatString = "yyyy-MM-dd" });
|
|
}
|
|
#endregion
|
|
|
|
#region 死亡数据查询
|
|
public ActionResult sysjcx()
|
|
{
|
|
return View();
|
|
}
|
|
#endregion
|
|
}
|
|
} |