From fa672aad1a91b2a8481324339e063230d378039e Mon Sep 17 00:00:00 2001 From: luodangjia <luodangjia> Date: 星期五, 09 八月 2024 14:56:36 +0800 Subject: [PATCH] 7.17 --- guns-admin/src/main/webapp/WEB-INF/view/system/user/userList.html | 28 ++++++++++++++++++++++------ 1 files changed, 22 insertions(+), 6 deletions(-) diff --git a/guns-admin/src/main/webapp/WEB-INF/view/system/user/userList.html b/guns-admin/src/main/webapp/WEB-INF/view/system/user/userList.html index 3db0fb0..d0ea618 100644 --- a/guns-admin/src/main/webapp/WEB-INF/view/system/user/userList.html +++ b/guns-admin/src/main/webapp/WEB-INF/view/system/user/userList.html @@ -72,12 +72,18 @@ <#NameCon id="hospital" name="就诊医院" /> </div> <div class="col-lg-3 col-sm-12"> - <#SelectCon id="tag" name="用户标签" > - <option value="">全部</option> - @for(obj in tags){ - <option value="${obj.id}"}>${obj.tagName}</option> - @} - </#SelectCon> + <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> @@ -104,7 +110,17 @@ </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({ -- Gitblit v1.7.1