1
13693261870
2022-09-16 762f2fb45db004618ba099aa3c0bd89dba1eb843
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!DOCTYPE html>
<html>
    <head>
        <title>系统字典字段</title>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
        <script src="../../../js/paramconfig.js"></script>
        <script type="text/javascript">
        remoteToLoadCss('BootStrap4/assets/css/style.css');
        remoteToLoadCss('BootStrap4/expand/css/bootstrap-extract.css');
        remoteToLoadCss('BootStrap4/expand/plugins/jqgrid/ui.jqgrid-bootstrap.css');
        remoteToLoadCss('BootStrap4/expand/css/jqGridCommon.css');
        remoteToLoadJs('BootStrap4/assets/js/jquery.min.js');
        remoteToLoadJs('BootStrap4/expand/plugins/layer/layer.js');
        remoteToLoadJs('BootStrap4/assets/js/tether.min.js');
        remoteToLoadJs('BootStrap4/assets/js/bootstrap.min.js')
        loadLocalJs('../../../libs/vue.min.js');
        remoteToLoadJs('BootStrap4/expand/plugins/jqgrid/grid.locale-cn.js');
        remoteToLoadJs('BootStrap4/expand/plugins/jqgrid/jquery.jqGrid.min.js');
        loadLocalJs('../../../js/common.js');
 
        </script>
        <style>
            html { overflow-x:hidden; }
 
            body {
                background-color: white;
                padding-bottom: 0;
            }
 
            th {
                text-align: center;
            }
            
            .col-xs-12,
            .col-sm-12,
            .col-md-6,
            .col-lg-4,
            .col-xl-3{
                padding-left: 0;
                padding-right: 0;
            }
 
            #jqGrid {
                width: 100% !important;
            }
        </style>
    </head>
    <body>
        <div id="rapp" v-cloak>
            <div v-show="showList">
                <div class="panel panel-default">
                    <div class="panel-heading">
                        查询区
                    </div>
                    <div class="panel-body SearchBox">
                        <form id="searchForm">
                            <div class="row">
                                <div class="col-xs-12 col-sm-12 col-md-6 col-lg-4 col-xl-3 DivHeight">
                                    <label class="control-label">应用字段key</label>
                                    <div class="controls">
                                        <input class="form-control" type="text"  id="fkey"/>
                                    </div>
                                </div>
                                <div class="col-xs-12 col-sm-12 col-md-6 col-lg-4 col-xl-3 DivHeight">
                                    <label class="control-label" style="width:110px;">应用字段名称</label>
                                    <div class="controls" style="margin-left:110px">
                                        <input class="form-control" type="text"  id="cname"/>
                                    </div>
                                </div>
                            </div>
                            <div class="row" style="display:block;">
                                <div style="float: left;padding-left: 0.75em;">
                                    <a v-if="hasPermission('sys:field:edit')" class="btn btn-success" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
                                </div>
                                <div style="float: right;padding-right: 0.75em;">
                                    <a class="btn btn-primary-outline" @click="query"><i class="fa fa-search"></i>&nbsp;查询</a>
                                    <a class="btn btn-primary-outline" onclick="resetForm('searchForm')"><i class="fa fa-trash-o"></i>&nbsp;清除</a>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
                <table id="jqGrid"></table>
                <div id="jqGridPager"></div>
                <div v-show="!showList" class="panel panel-default">
                    <div class="panel-heading">{{title}}</div>
                    <form class="form-horizontal">
                        <div class="form-group">
                            <label class="col-sm-2 control-label">fkey</label>
                            <div class="col-sm-6">
                                <input type="text" id="#fkey" class="form-control" v-model="field.fkey" placeholder="fkey" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">应用字段名称</label>
                            <div class="col-sm-6">
                                <input type="text" id="#cname" class="form-control" v-model="field.cname" placeholder="应用字段名称" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">备注</label>
                            <div class="col-sm-6">
                                <input type="text" id="#remark" class="form-control" v-model="field.remark" placeholder="备注" />
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
        <script src="../../../js/modules/sys/field.js"></script>
    </body>
</html>