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