Abp(net core+easyui+efcore实现仓储管理系统目录
abp(net core+easyui+efcore实现仓储管理系统——ABP总体介绍(一)
abp(net core+easyui+efcore实现仓储管理系统——解决方案介绍(二
abp(net core+easyui+efcore实现仓储管理系统——领域层创建实体(三
abp(net core+easyui+efcore实现仓储管理系统——定义仓储并实现 (四
abp(net core+easyui+efcore实现仓储管理系统——创建应用服务(五)
abp(net core+easyui+efcore实现仓储管理系统——使用 WEBAPI实现CURD (十一
abp(net core+easyui+efcore实现仓储管理系统——EasyUI之货物管理一 (十九
abp(net core+easyui+efcore实现仓储管理系统——ABP WebAPI与EasyUI结合增删改查之一(二十七
abp(net core+easyui+efcore实现仓储管理系统——入库管理之一(三十七
abp(net core+easyui+efcore实现仓储管理系统——出库管理之一(四十九
abp(net core+easyui+efcore实现仓储管理系统——ABP升级7.3上(五十八
1.在Visual Studio 2022的解决方案资源管理器中,选中“ABP.TPLMS.Web.Mvc”项目,然后单击鼠标右键,在弹出菜单中选中“设为启动项目”。按F5运行应用程序。
2.在浏览器将呈现登录页面,然后输入管理员用户名进行登录。浏览器跳转到首页面。如下图。
4. 在Visual Studio 2017的“解决方案资源管理器”中,右键单击在领域层“ABP.TPLMS.Web.Mvc”项目中的Views\Module目录。 找到Index.cshmtl文件,修改顶部的代码与按钮的代码。具体代码如下:
@using ABP.TPLMS.Web.Startup @model ABP.TPLMS.Web.Models.Module.EditModuleModalViewModel @{ ViewData["Title"] = PageNames.Module; } @section scripts { <script src="~/view-resources/Views/Module/Index.js" asp-append-version="true"></script> } <section class="content-header"> <div class="container-fluid"> <div class="row"> <div class="col-sm-6"> <h2>@L("Module"</h2> </div> <div class="col-sm-4 text-sm-right"> <a id="RefreshButton" href="javascript:void(0;" ><i class="fas fa-redo-alt"></i></a> </div> <div class="col-sm-2"> <a asp-action="Create" class="btn bg-blue float-sm-right"> <i class="fa fa-plus-square"></i> @L("Create" </a> </div> </div> </div> </section> <div class="row clearfix"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> <div class="card"> <div class="body table-responsive"> <table class="table"> <thead> <tr> <th> @Html.DisplayNameFor(model => model.Module.Name </th> <th> @Html.DisplayNameFor(model => model.Module.DisplayName </th> <th> @Html.DisplayNameFor(model => model.Module.HotKey </th> <th> @Html.DisplayNameFor(model => model.Module.IconName </th> <th> @Html.DisplayNameFor(model => model.Module.RequiredPermissionName </th> <th> @Html.DisplayNameFor(model => model.Module.Status </th> <th></th> </tr> </thead> <tbody> @foreach (var item in Model.Modules { <tr> <td> @Html.DisplayFor(modelItem => item.Name </td> <td> @Html.DisplayFor(modelItem => item.DisplayName </td> <td> @Html.DisplayFor(modelItem => item.HotKey </td> <td> @Html.DisplayFor(modelItem => item.IconName </td> <td> @Html.DisplayFor(modelItem => item.RequiredPermissionName </td> <td> @Html.DisplayFor(modelItem => item.Status </td> <td> <a asp-action="Edit" class="btn btn-sm bg-secondary" asp-route-id="@item.Id"><i class="fas fa-pencil-alt"></i>@L("Edit"</a> <a asp-action="Delete" class="btn btn-sm bg-danger" asp-route-id="@item.Id"><i class="fas fa-trash"></i>@L("Delete"</a> </td> </tr> } </tbody> </table> </div> </div> </div> </div>
5.在Visual Studio 2022中按F5运行应用程序。在浏览器将呈现登录页面,然后输入管理员用户名进行登录。浏览器跳转到首页面。
9. 在Visual Studio 2022的“解决方案资源管理器”中,找到“ABP.TPLMS.Core”项目中的Localization目录。 使用鼠标双击打开TPLMS.xml与TPLMS-zh-Hans.xml两个文件。如下图。
图1 英文
图2 中文