懒羊羊
2024-01-10 39a1dbf748fda65d211fc1f59f41621fc84351ec
提交 | 用户 | 时间
71e81e 1 @layout("/common/_container.html",{js:["/assets/modular/tenantInfo/tenantInfo_add.js"]}){
2
3 <div class="layui-body-header">
4     <span class="layui-body-header-title">添加</span>
5 </div>
6
7 <div class="layui-fluid " style="">
8     <div class="layui-card">
9         <div class="layui-card-body">
10             <form id="tenantInfoForm" lay-filter="tenantInfoForm" class="layui-form model-form" style="max-width: 700px;margin: 40px auto;">
11                 <input name="tenantId" type="hidden"/>
12                 <div class="layui-form-item">
13                     <label class="layui-form-label">租户名称<span style="color: red;">*</span></label>
14                     <div class="layui-input-block">
15                         <input id="name" name="name" placeholder="请输入租户名称" type="text" class="layui-input" autocomplete="off" lay-verify="required" required/>
16                     </div>
17                 </div>
18                 <div class="layui-form-item">
19                     <label class="layui-form-label">租户编码<span style="color: red;">*</span></label>
20                     <div class="layui-input-block">
21                         <input id="code" name="code" placeholder="请输入租户的编码" type="text" class="layui-input" autocomplete="off" lay-verify="required" required/>
22                     </div>
23                 </div>
24                 <div class="layui-form-item">
25                     <label class="layui-form-label">管理账号<span style="color: red;">*</span></label>
26                     <div class="layui-input-block">
27                         <input id="adminUsername" disabled="disabled" value="admin" name="adminUsername" type="text" class="layui-input" autocomplete="off" lay-verify="required" required/>
28                     </div>
29                 </div>
30                 <div class="layui-form-item">
31                     <label class="layui-form-label">管理密码<span style="color: red;">*</span></label>
32                     <div class="layui-input-block">
33                         <input id="adminPassword" name="adminPassword" placeholder="管理密码" type="password" class="layui-input" autocomplete='new-password' lay-verify="required" required/>
34                     </div>
35                     <div class="layui-form-mid layui-word-aux form-tip">提示:创建租户需要初始化数据库,请耐心等待</div>
36                 </div>
37                 <div class="layui-form-item">
38                     <div class="layui-input-block">
39                         <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
40                         <button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;返回&emsp;</button>
41                     </div>
42                 </div>
43             </form>
44         </div>
45     </div>
46 </div>
47
48 @}