123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174 |
- using PMS.BusinessModels.Problem;
- using PMS.Interface;
- using PMS.Interface.Problems;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- using System.Web.Mvc;
- namespace PMS.WebUI.Controllers
- {
- /// <summary>
- /// 创 建 人:伍莲魁
- /// 创建日期:2019-5-19
- /// 功能描述:统计报表控制器
- /// </summary>
- public class ReportController : BaseController
- {
- IReport IReport = InterfaceFactory.CreateBusinessInstance<IReport>();
- #region 售后问题绩效分值评定表
- // GET: Report
- public ActionResult AfterSale()
- {
- return View();
- }
- public ActionResult GetAfterSale(AfterSaleModel model)
- {
- model.ChannelId = GetCurrentUser().CompanyID;
- var json = IReport.GetAfterSale(model);
- return Content(json, "application/json");
- }
- #endregion
- #region 问题监控
- public ActionResult ProblemMonitoring()
- {
- ViewBag.RYXZ = GetCurrentUser().PersonProperty;
- return View();
- }
- public ActionResult GetMonitoring(MonitoringModel model)
- {
- var json = IReport.GetMonitoring(model);
- return Content(json, "application/json");
- }
- public ActionResult GetChannel()
- {
- return Content(IReport.GetChannel(), "application/json");
- }
- public ActionResult GetRing()
- {
- return Content(IReport.GetRing(), "application/json");
- }
- #endregion
- #region 渠道服务问题统计
- // GET: Report
- public ActionResult ChannelStatistics()
- {
- return View();
- }
- public ActionResult GetChannelStatistics(MonitoringModel model)
- {
- var json = IReport.GetChannelStatistics(model);
- return Content(json, "application/json");
- }
- #endregion
- #region 反馈人服务问题统计
- // GET: Report
- public ActionResult FeedbackStatistics()
- {
- return View();
- }
- public ActionResult GetFeedbackStatistics(MonitoringModel model)
- {
- var json = IReport.GetFeedbackStatistics(model);
- return Content(json, "application/json");
- }
- #endregion
- #region 未完成问题统计
- // GET: Report
- public ActionResult NotYetStatistics()
- {
- return View();
- }
- public ActionResult GetNotYetStatistics(MonitoringModel model)
- {
- var json = IReport.GetNotYetStatistics(model);
- return Content(json, "application/json");
- }
- #endregion
- #region 技术中心服务问题统计
- public ActionResult SupportStatistics()
- {
- return View();
- }
- public ActionResult GetSupportStatistics(MonitoringModel model)
- {
- var json = IReport.GetSupportStatistics(model);
- return Content(json, "application/json");
- }
- #endregion
- #region 研发问题统计
- public ActionResult DevelopStatistics()
- {
- return View();
- }
- public ActionResult GetDevelopStatistics(MonitoringModel model)
- {
- var json = IReport.GetDevelopStatistics(model);
- return Content(json, "application/json");
- }
- #endregion
- #region 提交受理超时30分钟统计
- public ActionResult TimeoutWindow()
- {
- return View();
- }
- public ActionResult TimeoutStatistics(MonitoringModel model)
- {
- var json = IReport.TimeoutStatistics(model);
- return Content(json, "application/json");
- }
- #endregion
- #region 贵阳问题分统计
- public ActionResult GuiyangProblems()
- {
- return View();
- }
- /// <summary>
- /// 贵阳售后统计问题积分
- /// </summary>
- /// <param name="model"></param>
- /// <returns></returns>
- public ActionResult GetGuiyangProblems(AfterSaleModel model)
- {
- model.ChannelId = GetCurrentUser().CompanyID;
- var json = IReport.GuiyangProblems(model);
- return Content(json, "application/json");
- }
- #endregion
- #region 渠道维保项目查看
- public ActionResult MaintenanceInquiry()
- {
- return View();
- }
- /// <summary>
- /// 渠道客户维保数据
- /// </summary>
- /// <param name="model"></param>
- /// <returns></returns>
- public ActionResult GeMaintenanceInquiry(MaintenanceModel model)
- {
- model.ChannelId = GetCurrentUser().CompanyID;
- model.PersonProperty = GetCurrentUser().PersonProperty;
- var json = IReport.GeMaintenanceInquiry(model);
- return Content(json, "application/json");
- }
- #endregion
- }
- }
|