懒羊羊
2023-08-30 1ac2bc1590406d9babec036e154d8d08f34a6aa1
提交 | 用户 | 时间
1ac2bc 1 @layout("/common/_form.html",{js:["/assets/modular/excel/excelExportDeploy_add.js"]}){
2
3 <form class="layui-form" id="excelExportDeployForm" lay-filter="excelExportDeployForm">
4     <div class="layui-fluid" style="padding-bottom: 75px;">
5         <div class="layui-card">
6             <div class="layui-card-header">基本信息</div>
7             <div class="layui-card-body">
8                 <div class="layui-form-item layui-row">
9                     <input name="id" type="hidden"/>
10                     <div class="layui-inline layui-col-md12">
11                         <label class="layui-form-label">导出配置名称<span style="color: red;">*</span></label>
12                         <div class="layui-input-block">
13                             <input id="name" name="name" placeholder="请输入excel导出配置名称" type="text" class="layui-input" lay-verify="required" required/>
14                         </div>
15                     </div>
16                     <div class="layui-inline layui-col-md12">
17                         <label class="layui-form-label">导出文件名称<span style="color: red;">*</span></label>
18                         <div class="layui-input-block">
19                             <input id="title" name="title" placeholder="请输入导出文件名称" type="text" class="layui-input" lay-verify="required" required/>
20                         </div>
21                     </div>
22                     <div class="layui-inline layui-col-md12">
23                         <label class="layui-form-label">唯一标识<span style="color: red;">*</span></label>
24                         <div class="layui-input-block">
25                             <input id="nid" name="nid" placeholder="请输入唯一标识" type="text" class="layui-input" lay-verify="required" required/>
26                         </div>
27                     </div>
28                     <div class="layui-inline layui-col-md12">
29                         <label class="layui-form-label">Excel模版<span style="color: red;">*</span></label>
30                         <div class="layui-input-block">
31                             <button type="button" class="layui-btn" id="templateUplod">上传Excel模版</button><span id="src"></span>
32                             <input id="template" name="template" placeholder="请输入模版路径" type="hidden" class="layui-input" lay-verify="required" required/>
33                         </div>
34                     </div>
35                     <div class="layui-inline layui-col-md12">
36                         <label class="layui-form-label">数据源<span style="color: red;">*</span></label>
37                         <div class="layui-input-block">
38                             <textarea rows="20" cols="100" name="dataSource"  id="dataSource" lay-verify="required"></textarea>
39                         </div>
40                     </div>
41                     <div class="layui-inline layui-col-md12">
42                         <label class="layui-form-label">状态<span style="color: red;">*</span></label>
43                         <div class="layui-input-block">
44                             <div class="layui-input-inline"
45                                 style="display: block; width: auto; float: none;">
46                                 <input type="radio" name="status" value="0" title="开启" checked="checked">
47                                 <div class="layui-unselect layui-form-radio layui-form-radioed">
48                                     <i class="layui-anim layui-icon"></i>
49                                     <div>开启</div>
50                                 </div>
51                                 <input type="radio" name="status" value="1" title="关闭">
52                                 <div class="layui-unselect layui-form-radio">
53                                     <i class="layui-anim layui-icon"></i>
54                                     <div>关闭</div>
55                                 </div>
56                             </div>
57                         </div>
58                     </div>
59                 </div>
60             </div>
61         </div>
62     </div>
63     <div class="form-group-bottom text-center">
64         <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
65         <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
66     </div>
67
68 </form>
69
70 @}