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