From 31de20695ac5fc8562c5922fcbe8729ae4e146a1 Mon Sep 17 00:00:00 2001 From: zhaoxiaohao <913652501@qq.com> Date: Mon, 29 Jun 2020 14:20:39 +0800 Subject: [PATCH] Merge branch 'dev' of http://192.168.2.240:7070/r/kidgrow-microservices-platform into dev --- kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/doctor.html | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/doctor.html b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/doctor.html index c9642a3..d26f60e 100644 --- a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/doctor.html +++ b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/doctor.html @@ -220,7 +220,7 @@ <div class="layui-form-item"> <label class="layui-form-label">联系电话</label> <div class="layui-input-block"> - <input name="doctorTel" type="text" class="layui-input" maxlength="20" lay-verify="required|phone" required/> + <input name="doctorTel" id="doctorTel-add" type="text" class="layui-input" maxlength="20" lay-verify="required|phone" required/> </div> </div> <div class="layui-form-item"> @@ -290,7 +290,7 @@ <div class="layui-form-item"> <label class="layui-form-label" >登录帐号</label> <div class="layui-input-block"> - <input name="username" id="username" type="text" class="layui-input" maxlength="15" lay-verify="required" required/> + <input name="username" id="username" readonly type="text" class="layui-input" maxlength="15" lay-verify="required" required/> </div> </div> </div> @@ -542,6 +542,7 @@ var doctorName = $('#doctorName').val(); table.reload('app-table', { where: { doctorState: doctorState, hospitalId: hospitalName, doctorTel: doctorTel, doctorName: doctorName } }); }); + // 显示新增弹窗 var showEditModel_add = function () { layer.open({ @@ -597,6 +598,10 @@ $("#username").blur(function () { username_is_usered("username"); }) + $("#doctorTel-add").blur(function () { + $("#username").val($("#doctorTel-add").val()) + username_is_usered("username"); + }) } }); }; -- Gitblit v1.8.0