From a84137b0b1660bf4033f6831c19dac09c02ccc30 Mon Sep 17 00:00:00 2001 From: zhaoxiaohao <279049017@qq.com> Date: Tue, 23 Mar 2021 16:18:25 +0800 Subject: [PATCH] 自定义权限的树状图添加滚动条 --- kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/doctorTemplete.html | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/doctorTemplete.html b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/doctorTemplete.html index 5c3640e..9101a3f 100644 --- a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/doctorTemplete.html +++ b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/doctorTemplete.html @@ -19,7 +19,7 @@ <option value="0">公开-</option> <option value="1">私有</option> </select> - <input name="templeteTitle" id="templeteTitle" placeholder="按标题" type="text" + <input name="templeteTitle" id="templeteTitle" autocomplete="off" placeholder="按标题" type="text" class="layui-input search-input" maxlength="20" /> <button id="app-btn-search" class="layui-btn icon-btn"><i class="layui-icon"></i>搜索</button> <button id="docto-templete-btn-add" class="layui-btn icon-btn permissions" permissions="doctortemplete-edit"><i class="layui-icon"></i>添加</button> @@ -48,7 +48,7 @@ <div class="layui-form-item"> <label class="layui-form-label">标题</label> <div class="layui-input-block"> - <input name="templeteTitle" type="text" class="layui-input" maxlength="20" + <input name="templeteTitle" autocomplete="off" type="text" class="layui-input" maxlength="20" lay-verify="required" required/> </div> </div> @@ -169,7 +169,7 @@ var templeteType = $('#templeteType').val(); var publicType = $('#publicType').val(); var templeteTitle = $('#templeteTitle').val(); - table.reload('app-table', { where: { templeteType: templeteType, publicType: publicType, templeteTitle: templeteTitle } }); + table.reload('app-table', { where: { templeteType: templeteType, publicType: publicType, templeteTitle: templeteTitle },page: {curr: 1 } }); }); // 修改user状态 -- Gitblit v1.8.0