39 lines
2.3 KiB
HTML
39 lines
2.3 KiB
HTML
{layout name="manager/layout" /}
|
|
<div class="layuimini-container location-operate-page">
|
|
<div class="layuimini-main">
|
|
<div class="layui-form layuimini-form">
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label required">字段标题</label>
|
|
<div class="layui-input-block">
|
|
<input type="text" name="title" lay-verify="required" value="{$item.title ?? ''}" lay-reqtext="标题不能为空" placeholder="请输入标题" class="layui-input">
|
|
</div>
|
|
</div>
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label required">字段名</label>
|
|
<div class="layui-input-block">
|
|
<input type="text" name="name" lay-verify="required" value="{$item.name ?? ''}" lay-reqtext="字段名不能为空" placeholder="字段名一旦创建无法修改" class="layui-input" disabled>
|
|
</div>
|
|
</div>
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label">虚拟字段</label>
|
|
<div class="layui-input-block">
|
|
<input type="radio" name="is_virtual" value="1" title="是" {if $item.is_virtual == 1} checked {/if} disabled>
|
|
<input type="radio" name="is_virtual" value="0" title="否" {if $item.is_virtual == 0} checked {/if} disabled>
|
|
</div>
|
|
<div class="layui-form-mid layui-word-aux">当前表未实际存在的字段均为虚拟字段,如 关联病种 存在于其他关联表中; 目前仅支持添加虚拟字段</div>
|
|
</div>
|
|
<div class="layui-form-item layui-form-text">
|
|
<label class="layui-form-label">备注信息</label>
|
|
<div class="layui-input-block">
|
|
<textarea name="remark" class="layui-textarea" placeholder="请输入备注信息">{$item.remark ?? ''}</textarea>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="layui-form-item">
|
|
<div class="layui-input-block">
|
|
<button class="layui-btn layui-btn-normal" data-url="/manager/archives-model-field/edit?id={$item.id}" lay-submit lay-filter="saveBtn">确认保存</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> |