liujie
2025-05-09 fdec3aa2487acee81ebc80aba88852f0f5036ef4
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
@layout("/common/_container.html"){
<style>
    .layui-btn-disabled {
        background-color: #ccc !important; /* 自定义灰色背景 */
        border-color: #ccc !important; /* 自定义边框颜色,如果需要的话 */
        color: #fff !important; /* 文字颜色,根据背景调整 */
        cursor: not-allowed; /* 鼠标指针样式 */
    }
 
 
</style>
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>用户管理</h5>
            </div>
 
            <form class="layui-form">
 
 
 
 
 
 
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="">
                                <div class="row">
                                    <div class="col-lg-10 col-sm-9">
                                        <div class="row">
                                            <div class="col-lg-4 col-sm-12">
                                                <#NameCon id="name" name="用户名称" />
                                            </div>
                                            <div class="col-lg-4 col-sm-12">
                                                <#NameCon id="phone" name="用户手机号"/>
                                            </div>
                                            <div class="col-lg-4 col-sm-6">
                                                <#TimeCon id="beginTime" name="出生日期" isTime="false"/>
                                            </div>
                                            <div class="col-lg-3 col-sm-2">
                                                <div class="input-group" style="display: flex;">
                                                    <div class="input-group-btn" >
                                                        <button data-toggle="dropdown" class="btn btn-white dropdown-toggle" type="button">身高</button>
                                                    </div>
                                                    <div class="input-group-append" style="flex-grow: 1;margin-left: 50px">
                                                        <input type="number" class="form-control" id="high1" placeholder="" style="width: 100%;">
                                                    </div><span style="font-weight: 1000;font-size: 20px">~</span>
                                                    <div class="input-group-append" style="flex-grow: 1;">
                                                        <input type="number" class="form-control" id="high2" placeholder="" style="width: 100%;">
                                                    </div>
                                                </div>
                                            </div>
 
                                            <div class="col-lg-3 col-sm-2">
                                                <div class="input-group" style="display: flex;">
                                                    <div class="input-group-btn" >
                                                        <button data-toggle="dropdown" class="btn btn-white dropdown-toggle" type="button">体重</button>
                                                    </div>
                                                    <div class="input-group-append" style="flex-grow: 1;margin-left: 50px">
                                                        <input type="number" class="form-control" id="weight1" placeholder="" style="width: 100%;">
                                                    </div><span style="font-weight: 1000;font-size: 20px">~</span>
                                                    <div class="input-group-append" style="flex-grow: 1;">
                                                        <input type="number" class="form-control" id="weight2" placeholder="" style="width: 100%;">
                                                    </div>
                                                </div>
                                            </div>
 
                                            <div class="col-lg-3 col-sm-12">
                                                <#NameCon id="hospital" name="就诊医院" />
                                            </div>
                                            <div class="col-lg-3 col-sm-12">
                                                <div class="col-sm-3">
                                                <button data-toggle="dropdown" class="btn btn-white dropdown-toggle" type="button">用户标签
                                                    </button>
                                                </div>
                                                <div class="col-sm-9">
                                                <select class="form-control" id="tag" name="tag">
                                                    <option value="">全部</option>
                                                    @for(obj in tags){
                                                    <option value="${obj.id}">${obj.tagName}</option>
                                                    @}
                                                </select></div>
 
                                        </div>
                                        </div>
                                    </div>
                                    <div class="col-lg-2 col-sm-3">
                                        <div class="row">
                                            <div class="col-lg-12 col-sm-12">
                                                <#button name="搜索" icon="fa-search" clickFun="MgrUser.search()"/>
                                                <#button name="重置" icon="fa-trash" clickFun="MgrUser.resetSearch()" space="true"/>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="hidden-xs" id="managerTableToolbar" role="group">
                                    <#button name="导出" icon="fa-plus" clickFun="MgrUser.export()"/>
 
                                </div>
                                <#table id="managerTable"/>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/system/user/user.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.13/js/select2.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.13/css/select2.min.css">
 
 
<script>
    $('#tag').select2({
        multiple: true,
        closeOnSelect: false
    });
 
 
      function  openAddTTags() {
        console.log("====")
        var index = layer.open({
            type: 2,
            title: '添加',
            area: ['800px', '250px'], //宽高
            fix: false, //不固定
            maxmin: true,
            content: Feng.ctxPath + '/tTags/tTags_add1'
        });
        this.layerIndex = index;
    };
 
 
laydate.render({
elem: '#beginTime'
    ,range: true
});
 
 
        // layui.use('form', function(){
        //     var form = layui.form;
        //
        //     //监听提交
        //     form.on('submit(formDemo)', function(data){
        //         layer.msg(JSON.stringify(data.field));
        //         return false;
        //     });
        // });
</script>
@}