SaveCodeFile.cshtml 2.89 KB
@using Hh.Mes.POJO.ViewModel
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@{
    ViewData["Title"] = "代码文件保存路径预览";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@model CodeSavePath

<div class="layui-container">
    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 5px;margin-bottom: 5px;">
        <legend>文件保存路径预览</legend>
    </fieldset>
    <blockquote class="layui-elem-quote">修改文件保存路径可能会导致异常发生,非必要情况下请勿修改。</blockquote>
    <form class="layui-form layui-form-pane" asp-action="SaveCodeFile" method="post">
        <div class="layui-form-item">
            <label asp-for="EntityName" class="layui-form-label"></label>
            <div class="layui-input-block">
                <input asp-for="EntityName" class="layui-input" readonly />
            </div>
        </div>
        <div class="layui-form-item">
            <label asp-for="AreaName" class="layui-form-label"></label>
            <div class="layui-input-block">
                <input asp-for="AreaName" class="layui-input" readonly />
            </div>
        </div>
        <div class="layui-form-item">
            <label asp-for="ModelPath" class="layui-form-label"></label>
            <div class="layui-input-block">
                <input asp-for="ModelPath" placeholder="请输入文件的保存路径" class="layui-input" />
            </div>
        </div>
        <div class="layui-form-item">
            <label asp-for="ControllerPath" class="layui-form-label"></label>
            <div class="layui-input-block">
                <input asp-for="ControllerPath" placeholder="请输入文件的保存路径" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label asp-for="ServicePath" class="layui-form-label"></label>
            <div class="layui-input-block">
                <input asp-for="ServicePath" placeholder="请输入文件的保存路径" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label asp-for="CshtmlPath" class="layui-form-label"></label>
            <div class="layui-input-block">
                <input asp-for="CshtmlPath" autocomplete="off" placeholder="请输入文件的保存路径" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label asp-for="JavaScriptPath" class="layui-form-label"></label>
            <div class="layui-input-block">
                <input asp-for="JavaScriptPath" autocomplete="off" placeholder="请输入文件的保存路径" class="layui-input">
            </div>
        </div>
        <div asp-validation-summary="All" style="color:#FF5722;"></div>
        <div class="layui-form-item">
            <button class="layui-btn layui-btn-normal" type="submit">确认保存</button>
        </div>
    </form>
</div>