| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- using System.Threading.Tasks;
- using System.Web.Mvc;
- using Abp.Web.Mvc.Authorization;
- using Abp.Runtime.Caching;
- using WePlatform.BaseSystem.Query;
- namespace WePlatform.Controllers
- {
- [AbpMvcAuthorize]
- public class EngineModelController : IwbControllerBase
- {
- public QueryAppService QueryApp { get; }
- public EngineModelController( ICacheManager cacheManager, QueryAppService queryApp)
- {
- QueryApp = queryApp;
- CacheManager = cacheManager;
- }
- [AbpMvcAuthorize]
- public ActionResult Engine()
- {
- return View();
- }
- [AbpMvcAuthorize]
- public ActionResult Component()
- {
- return View();
- }
- [AbpMvcAuthorize]
- public async Task<ActionResult> EvalModel()
- {
- ViewBag.Target = await QueryApp.GetEvalTargetSelectStr();
- return View();
- }
- [AbpMvcAuthorize]
- public async Task<ActionResult> Model()
- {
- ViewBag.Engine = await QueryApp.GetEngineSelectStr();
- ViewBag.Model = await QueryApp.GetEngineModelTypeSelectStr();
- return View();
- }
- [AbpMvcAuthorize]
- public async Task<ActionResult> EvalTarget()
- {
- ViewBag.TargetType = await QueryApp.GetEvalTargetTypeSelectStr();
- return View();
- }
- [AbpMvcAuthorize]
- public ActionResult ReportTemplate()
- {
- return View();
- }
- }
- }
|