• 设为首页
  • 加入收藏
" + ""; $.ajax({ data: { xmlData: xmlData, }, url: "/system/resource/yygh/dataAjax.jsp", dataType: 'json',//服务器返回json格式数据 type: 'post',//HTTP请求类型 success: function (data) { var datainfo = JSON.parse(data.data); if (datainfo.Response.Header[0].ResultCode == 1) { messagePop("预约取消"+datainfo.Response.Header[0].ResultMsg) } else { messagePop("预约取消"+datainfo.Response.Header[0].ResultMsg) var dateRange = $("#orderDate").val(); if (dateRange == "") { messagePop("请选择查询日期范围"); return; } var dateRanges = dateRange.split("~"); var patientID = localStorage.getItem("PatientID"); var xmlData = "" + "
" + "1701" + "888899" + "
" + "

威尼斯平台手机app

" + "" + "" + patientID + "" + "" + dateRanges[0].trim() + "" + "" + dateRanges[1].trim() + "" + "
Baidu
sogou
" + "
"; $.ajax({ data: { xmlData: xmlData, }, url: "/system/resource/yygh/dataAjax.jsp", dataType: 'json',//服务器返回json格式数据 type: 'post',//HTTP请求类型 success: function (data) { var datainfo = JSON.parse(data.data); if (datainfo.Response.Header[0].ResultCode == 1) { messagePop(datainfo.Response.Header[0].ResultMsg) return; } if (datainfo.Response.Body == undefined) { messagePop(dateRange + "暂无预约记录"); return; } if (datainfo.Response.Header[0].ResultCode == 0) { $('#orderTable').empty(); var orderItems = datainfo.Response.Body[0].Items[0].Item; var trOne = "日期科室医生操作"; $('#orderTable').append(trOne); for (var k in orderItems) { var isCancel = orderItems[k].OrderState!="3"?"":"" var tr = "" + orderItems[k].RegDate + " " + orderItems[k].StartTime + " ~ " + orderItems[k].EndTime + "" + orderItems[k].DeptName + "" + orderItems[k].DoctName + ""+isCancel+""; $('#orderTable').append(tr); } } }, error: function () { messagePop("服务器繁忙 请稍后再试"); } }); } }, error: function () { messagePop("服务器繁忙 请稍后再试"); } }); } $(function () { var orderHandle = { ele: { nav: $(".order-nav"), box: $(".orderpage"), }, data: { itemIndex: 0, isLogin: false, //假数据,登陆状态是没登陆 }, // tab切换的方法 setTabs: function () { // tab切换的方法,如果要拦截不要tab切换 就在这里写 判断然后retrun // 如果要去预约页面,但是没登陆,就跳转到登陆 var index = this.data.itemIndex; if (index == 4) { if (this.data.isLogin) { this.orderInit() } //else { // index = 2; //} } this.ele.nav.find('li').eq(index).addClass('on').siblings().removeClass('on'); this.ele.box.find('.order-item').eq(index).show().siblings().hide() }, deptInit: function () { $.ajax({ url: "/system/resource/yygh/getThisWeekDept.jsp", dataType: 'json',//服务器返回json格式数据 type: 'post',//HTTP请求类型 success: function (data) { var rcode = data.responseCode; if (rcode) { var datainfo = JSON.parse(data.data) $('#keshi').empty(); for (var i = 0; i < 7; i++) { var info = JSON.parse(datainfo[i]); var response = info.Response; if (response.hasOwnProperty("Body")) { var keshiItems = response.Body[0].Items[0].Item; for (var k in keshiItems) { var str = "
  • " + keshiItems[k].DeptName + "
  • "; $('#keshi').append(str); } } } } else { messagePop("暂无可预约科室"); } }, error: function () { messagePop("服务器繁忙 请稍后再试"); } }); }, orderInit: function () { var date = new Date(); var y = date.getFullYear(); var m = date.getMonth() + 1; m = m < 10 ? ('0' + m) : m; var d = date.getDate(); d = d < 10 ? ('0' + d) : d; var h = date.getHours(); h = h < 10 ? ('0' + h) : h; var minute = date.getMinutes(); var second = date.getSeconds(); minute = minute < 10 ? ('0' + minute) : minute; second = second < 10 ? ('0' + second) : second; $("#orderDate").val((y - 1) + '-' + m + '-' + d + " ~ " + y + '-' + m + '-' + d); var patientID = localStorage.getItem("PatientID"); var xmlData = "" + "
    " + "1701" + "888899" + "
    " + "

    威尼斯平台手机app

    " + "" + "" + patientID + "" + "" + (y - 1) + '-' + m + '-' + d + "" + "" + y + '-' + m + '-' + d + "" + "
    Baidu
    sogou
    " + "
    "; $.ajax({ data: { xmlData: xmlData, }, url: "/system/resource/yygh/dataAjax.jsp", dataType: 'json',//服务器返回json格式数据 type: 'post',//HTTP请求类型 success: function (data) { var datainfo = JSON.parse(data.data); if (datainfo.Response.Header[0].ResultCode == 1) { messagePop(datainfo.Response.Header[0].ResultMsg) return; } if (datainfo.Response.Body == undefined) { messagePop((y - 1) + '-' + m + '-' + d + " ~ " + y + '-' + m + '-' + d + "暂无预约记录"); return; } if (datainfo.Response.Header[0].ResultCode == 0) { $('#orderTable').empty(); var orderItems = datainfo.Response.Body[0].Items[0].Item; var trOne = "日期科室医生操作状态"; $('#orderTable').append(trOne); for (var k in orderItems) { var isCancel = orderItems[k].OrderState!="3"?"":""; var status = ""; if(orderItems[k].OrderState == "3"){ status = "已取消"; } var orderDateReplace = orderItems[k].RegDate+" "+orderItems[k].EndTime; orderDateReplace = orderDateReplace.replace(/-/g,'/'); var timestamp = new Date(orderDateReplace).getTime(); console.log(timestamp); var tr = "" + orderItems[k].RegDate + " " + orderItems[k].StartTime + " ~ " + orderItems[k].EndTime + "" + orderItems[k].DeptName + "" + orderItems[k].DoctName + ""+isCancel+""; $('#orderTable').append(tr); } } }, error: function () { messagePop("服务器繁忙 请稍后再试"); } }); }, // 绑定事件写这里 bindEvent: function () { var that = this; that.ele.nav.find('li').click(function () { var index = $(this).index() // 不能直接点击头部的选医生和预约 if (index < 2 || that.data.isLogin) { that.data.itemIndex = index that.setTabs() }else { messagePop("请先登录"); } }) // 注册页面跳转登录 $("#goLogin").click(function () { that.data.itemIndex = 1 that.setTabs() }) $("#goRegister").click(function () { that.data.itemIndex = 0 that.setTabs() }) //预约 $("#yishenList").on("click", "img", function () { var idStr = this.id; var idArr = idStr.split("_"); var doctorCode = idArr[0]; var regSourceID = idArr[1]; var sessionCode = idArr[2]; var RegDate = idArr[3]; var keshiId = idArr[4]; var deptName = idArr[5]; var doctorName = idArr[6]; var sessionName = idArr[7]; var startTime = idArr[8]; var endTime = idArr[9]; layer.open({ type: 1, area: ['320px', '270px'], title: '

    确定预约?

    ', shadeClose: true, //点击遮罩关闭 content: '
    ' + '

    门诊: ' + deptName + '

    ' + '

    医生:' + doctorName + '

    ' + '

    时间:' + RegDate + ' ' + sessionName + ' ' + startTime + '-' + endTime + '


    ' + '

    注意: 需携带患者身份证或医保卡(儿童患者请携带户口本原件)


    ' + '
    ', btn: ['确定', '取消'], btnAlign: 'c', no: function (index, layero) { return; }, yes:function(index, layero){ var date = new Date(); var y = date.getFullYear(); var m = date.getMonth() + 1; m = m < 10 ? ('0' + m) : m; var d = date.getDate(); d = d < 10 ? ('0' + d) : d; var h = date.getHours(); h = h < 10 ? ('0' + h) : h; var minute = date.getMinutes(); var second = date.getSeconds(); minute = minute < 10 ? ('0' + minute) : minute; second = second < 10 ? ('0' + second) : second; var cardNo = localStorage.getItem('cardNo'); var xmlData = "" + "
    " + "1516" + "888899" + "" + y + '-' + m + '-' + d + ' ' + h + ':' + minute + ':' + second + "" + "" + y + m + d + h + minute + second + "" + "
    " + "

    威尼斯平台手机app

    " + "" + RegDate + "" + "1" + "" + RegDate + "" + "" + keshiId + "" + "" + doctorCode + "" + "" + regSourceID + "" + "" + cardNo + "" + "" + sessionCode + "" + "02" + "" + "1" + "00:00" + "23:59" + "" + regSourceID + "" + "" + RegDate + "" + "
    Baidu
    sogou
    " + "
    " console.log(xmlData) $.ajax({ data: { xmlData: xmlData, }, url: "/system/resource/yygh/dataAjax.jsp", dataType: 'json',//服务器返回json格式数据 type: 'post',//HTTP请求类型 success: function (data) { var datainfo = JSON.parse(data.data); console.log(datainfo) if (datainfo.Response.Header[0].ResultCode == 1) { var msg = datainfo.Response.Header[0].ResultMsg; messagePop(msg.replace("医生","科室")); } else { layer.open({ type: 1, area: ['320px', '270px'], title: '

    预约结果

    ', shadeClose: true, //点击遮罩关闭 content: '
    ' + '

    您已成功预约!


    ' + '

    门诊: ' + deptName + '

    ' + '

    医生:' + doctorName + '

    ' + '

    时间:' + RegDate + ' ' + sessionName + ' ' + startTime + '-' + endTime + '


    ' + '

    注意: 需携带患者身份证或医保卡(儿童患者请携带户口本原件)


    ' + '
    ' }); that.data.itemIndex = 4 that.setTabs() } }, error: function () { messagePop("服务器繁忙 请稍后再试"); } }); layer.close(index); } }); }) // 选科室 $(".department").on("click", "li", function () { //$(".department li").click(function() { var id = this.id; $("#doctorKeshi").empty(); $("#doctorKeshi").append($(this).children().text() + "(*医生排名不分先后)"); var cardNo = localStorage.getItem('cardNo') $.ajax({ data: { reqCardNo: cardNo, reqDeptCode: id }, url: "/system/resource/yygh/new_getThisWeekDoctor.jsp", dataType: 'json',//服务器返回json格式数据 type: 'post',//HTTP请求类型 success: function (data) { var response = data.response; console.log(response); var rcode = response.responseCode; if (rcode) { $("#yishenList").empty(); var dateJsonArray = response.dateJsonArray; var dataInfo = response.data; for (var di in dataInfo) { var doctorTimeTable = dataInfo[di]; var isExist = doctorTimeTable[0]['1'] == undefined || doctorTimeTable[0]['1'] == null ? '2' : '1'; var doctorName = doctorTimeTable[0][isExist].DoctorName; var typeName = doctorTimeTable[0][isExist].TypeName; var divTable = "
    "; $("#yishenList").append(divTable); var tr1 = "时间"; var tr2 = "

    " + doctorName + "

    " + typeName + "

    上午"; var tr3 = "下午"; $("#doctorTable_" + di).append(tr1); $("#doctorTable_" + di).append(tr2); $("#doctorTable_" + di).append(tr3); var weekTable = ""; for (var x in dateJsonArray) { weekTable += "

    " + dateJsonArray[x].dateStr + "

    " + dateJsonArray[x].weekStr + "

    "; } $("#doctorTableTr1_" + di).append(weekTable); var dja = 0; var tp = 0; while (dja < dateJsonArray.length) { var temp = doctorTimeTable[tp]; var morning = ""; var afternoon = ""; var dateStr = dateJsonArray[dja].dateStr; if (temp === undefined || dateStr != temp[temp.hasOwnProperty(2) ? '2' : '1'].RegDate) { morning += ""; afternoon += ""; dja++; } else if ((temp.hasOwnProperty(2) && temp['2'] != null) && (temp.hasOwnProperty(1) && temp['1'] != null)) { morning += ""; afternoon += ""; dja++; tp++; } else if (temp.hasOwnProperty(2) && temp['2'] != null) { afternoon += ""; morning += ""; dja++; tp++; } else if (temp.hasOwnProperty(1) && temp['1'] != null) { morning += ""; afternoon += ""; dja++; tp++; } else { morning += ""; afternoon += ""; dja++; } $("#doctorTableTr2_" + di).append(morning); $("#doctorTableTr3_" + di).append(afternoon); /*if ((temp === undefined || temp.hasOwnProperty(2) && temp['2'] != null) || (temp.hasOwnProperty(1) && temp['1'] != null)) { dja++; }*/ } } that.data.itemIndex = 3 that.setTabs() } else { messagePop("此科室下暂无问诊医生"); } }, error: function () { messagePop("服务器繁忙 请稍后再试"); } }); }) // 医院里面的返回科室 $(".goDepartment").click(function () { that.data.itemIndex = 2 that.setTabs() }) $("#registerReset").click(function () { $("#register-realName").val(""); $("#register-idCard").val(""); $("#register-telephone").val(""); // $("#register-birthday").val(""); $("#register-address").val(""); }) $("#register").click(function () { var realName = $("#register-realName").val(); var idCard = $("#register-idCard").val(); var telephone = $("#register-telephone").val(); //var birthday = $("#register-birthday").val(); var sex = $("input[name='register-sex']:checked").val(); var address = $("#register-address").val(); if (realName == "" || realName == "真实姓名") { messagePop("请输入姓名"); return; } // 验证身份证 var CardNoPattern = /^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$|^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/; if (idCard == "" || !CardNoPattern.test(idCard)) { messagePop("请正确输入身份证号码"); return; } // 验证手机号 var PhoneNoPattern = /^1[34578]\d{9}$/; if (telephone == "" || !PhoneNoPattern.test(telephone)) { messagePop("请正确输入手机号码"); return; } if (address == "" || address == "住址") { messagePop("请输入正确地址"); return; } var birthday = idCard.substring(6, 10) + "-" + idCard.substring(10, 12) + "-" + idCard.substring(12, 14); ; var cardNo = ""; $.ajax({ data: { idCard: idCard, }, url: "/system/resource/yygh/getCardId.jsp", dataType: 'json',//服务器返回json格式数据 type: 'post',//HTTP请求类型 async: false, success: function (data) { cardNo = data.data; }, error: function () { messagePop("服务器繁忙 请稍后再试"); } }); var date = new Date(); var y = date.getFullYear(); var m = date.getMonth() + 1; m = m < 10 ? ('0' + m) : m; var d = date.getDate(); d = d < 10 ? ('0' + d) : d; var h = date.getHours(); h = h < 10 ? ('0' + h) : h; var minute = date.getMinutes(); var second = date.getSeconds(); minute = minute < 10 ? ('0' + minute) : minute; second = second < 10 ? ('0' + second) : second; var xmlData = "" + "
    " + "888899" + "" + "" + "" + "" + "" + "1103" + "" + y + '-' + m + '-' + d + ' ' + h + ':' + minute + ':' + second + "" + "" + y + m + d + h + minute + second + "" + "
    " + "

    威尼斯平台手机app

    " + "1" + "" + cardNo + "" + "" + "" + "" + "" + "" + "" + realName + "" + "" + sex + "" + "" + birthday + "" + "" + "" + "" + idCard + "" + "" + "" + "
    " + address + "
    " + "" + telephone + "" + "" + "" + "" + "" + "0" + "6" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "
    Baidu
    sogou
    " + "
    "; $.ajax({ data: { xmlData: xmlData, }, url: "/system/resource/yygh/dataAjax.jsp", dataType: 'json',//服务器返回json格式数据 type: 'post',//HTTP请求类型 success: function (data) { var datainfo = JSON.parse(data.data); if (datainfo.Response.Header[0].ResultCode == 1) { messagePop(datainfo.Response.Header[0].ResultMsg); } else { messagePop("建档成功"); that.data.itemIndex = 1 that.setTabs() $("#register-realName").val(""); $("#register-idCard").val(""); $("#register-telephone").val(""); // $("#register-birthday").val(""); $("#register-address").val(""); } }, error: function () { messagePop("服务器繁忙 请稍后再试"); } }); }) $("#login-reset").click(function () { $("#login-cardNo").val(""); }) $("#login").click(function () { var idCard = $("#login-cardNo").val(); if (idCard == "") { messagePop("请输入身份证号"); return; } // 验证身份证 var CardNoPattern = /^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$|^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/; if (idCard == "" || !CardNoPattern.test(idCard)) { messagePop("请正确输入身份证号码"); return; } var cardNo = ""; $.ajax({ data: { idCard: idCard, }, url: "/system/resource/yygh/getIdCardNum.jsp", dataType: 'json',//服务器返回json格式数据 type: 'post',//HTTP请求类型 async: false, success: function (data) { cardNo = data.data; }, error: function () { messagePop("服务器繁忙 请稍后再试"); } }); var date = new Date(); var y = date.getFullYear(); var m = date.getMonth() + 1; m = m < 10 ? ('0' + m) : m; var d = date.getDate(); d = d < 10 ? ('0' + d) : d; var h = date.getHours(); h = h < 10 ? ('0' + h) : h; var minute = date.getMinutes(); var second = date.getSeconds(); minute = minute < 10 ? ('0' + minute) : minute; second = second < 10 ? ('0' + second) : second; var xmlData = "" + "
    " + "888899" + "1002" + "" + y + '-' + m + '-' + d + ' ' + h + ':' + minute + ':' + second + "" + "" + y + m + d + h + minute + second + "" + "
    " + "

    威尼斯平台手机app

    " + "1" + "" + cardNo + "" + "
    Baidu
    sogou
    " + "
    "; $.ajax({ data: { xmlData: xmlData, }, url: "/system/resource/yygh/dataAjax.jsp", dataType: 'json',//服务器返回json格式数据 type: 'post',//HTTP请求类型 success: function (data) { var datainfo = JSON.parse(data.data); if (datainfo.Response.Header[0].ResultCode == 1) { messagePop(datainfo.Response.Header[0].ResultMsg) } else { localStorage.setItem('cardNo', cardNo); localStorage.setItem('username', datainfo.Response.Body[0].Name); localStorage.setItem("PatientID", datainfo.Response.Body[0].PatientID); var shownameStr = "你好 ," + localStorage.getItem("username") + ""; $("#showname").empty(); $("#showname").append(shownameStr); messagePop("欢迎您 " + datainfo.Response.Body[0].Name); var zjyDeptCode = localStorage.getItem("zjyDeptCode"); var zjyDoctorCode = localStorage.getItem("zjyDoctorCode"); var zjyRegDate = localStorage.getItem("zjyRegDate"); var zjyRegSourceID = localStorage.getItem("zjyRegSourceID"); var zjySessionCode = localStorage.getItem("zjySessionCode"); var zjyDeptName = localStorage.getItem("zjyDeptName"); var zjyDoctorName = localStorage.getItem("zjyDoctorName"); var zjySessionName = localStorage.getItem("zjySessionName"); var zjyStartTime = localStorage.getItem("zjyStartTime"); var zjyEndTime = localStorage.getItem("zjyEndTime"); if (zjyDeptCode != null && zjyDoctorCode != null && zjyRegDate != null && zjyRegSourceID != null && zjySessionCode != null && zjyDeptName != null && zjyDoctorName != null && zjySessionName != null && zjyStartTime != null && zjyEndTime != null) { layer.open({ type: 1, area: ['320px', '270px'], title: '

    确定预约?

    ', shadeClose: true, //点击遮罩关闭 content: '
    ' + '

    门诊: ' + zjyDeptName + '

    ' + '

    医生:' + zjyDoctorName + '

    ' + '

    时间:' + zjyRegDate + ' ' + zjySessionName + ' ' + zjyStartTime + '-' + zjyEndTime + '


    ' + '

    注意: 需携带患者身份证或医保卡(儿童患者请携带户口本原件)


    ' + '
    ', btn: ['确定', '取消'], btnAlign: 'c', yes: function (index, layero) { var xmlData = "" + "
    " + "1516" + "888899" + "" + y + '-' + m + '-' + d + ' ' + h + ':' + minute + ':' + second + "" + "" + y + m + d + h + minute + second + "" + "
    " + "

    威尼斯平台手机app

    " + "" + zjyRegDate + "" + "1" + "" + zjyRegDate + "" + "" + zjyDeptCode + "" + "" + zjyDoctorCode + "" + "" + zjyRegSourceID + "" + "" + cardNo + "" + "" + zjySessionCode + "" + "02" + "" + "1" + "00:00" + "23:59" + "" + zjyRegSourceID + "" + "" + zjyRegDate + "" + "
    Baidu
    sogou
    " + "
    " $.ajax({ data: { xmlData: xmlData, }, url: "/system/resource/yygh/dataAjax.jsp", dataType: 'json',//服务器返回json格式数据 type: 'post',//HTTP请求类型 async: false, success: function (data) { var datainfo = JSON.parse(data.data); if (datainfo.Response.Header[0].ResultCode == 1) { layer.close(index); var msg = datainfo.Response.Header[0].ResultMsg; messagePop(msg.replace("医生","科室")); } else { layer.open({ type: 1, area: ['320px', '270px'], title: '

    预约结果

    ', shadeClose: true, //点击遮罩关闭 content: '
    ' + '

    您已成功预约!


    ' + '

    门诊: ' + zjyDeptName + '

    ' + '

    医生:' + zjyDoctorName + '

    ' + '

    时间:' + zjyRegDate + ' ' + zjySessionName + ' ' + zjyStartTime + '-' + zjyEndTime + '


    ' + '

    注意: 需携带患者身份证或医保卡(儿童患者请携带户口本原件)


    ' + '
    ' }); that.data.itemIndex = 4 that.setTabs() return; } }, error: function () { messagePop("服务器繁忙 请稍后再试"); } }); layer.close(index) } }); localStorage.removeItem("zjyDeptCode"); localStorage.removeItem("zjyDoctorCode"); localStorage.removeItem("zjyRegDate"); localStorage.removeItem("zjyRegSourceID"); localStorage.removeItem("zjySessionCode"); localStorage.removeItem("zjyDeptName"); localStorage.removeItem("zjyDoctorName"); localStorage.removeItem("zjySessionName"); localStorage.removeItem("zjyStartTime"); localStorage.removeItem("zjyEndTime"); } that.data.isLogin = true; that.data.itemIndex = 2; that.setTabs(); } //console.log("sss"+localStorage.getItem('cardNo')); //localStorage.clear('cardNo') }, error: function () { messagePop("服务器繁忙 请稍后再试"); } }); }) $("#orderDatebtn").click(function () { var dateRange = $("#orderDate").val(); if (dateRange == "") { messagePop("请选择查询日期范围"); return; } var dateRanges = dateRange.split("~"); var patientID = localStorage.getItem("PatientID"); var xmlData = "" + "
    " + "1701" + "888899" + "
    " + "

    威尼斯平台手机app

    " + "" + "" + patientID + "" + "" + dateRanges[0].trim() + "" + "" + dateRanges[1].trim() + "" + "
    Baidu
    sogou
    " + "
    "; $.ajax({ data: { xmlData: xmlData, }, url: "/system/resource/yygh/dataAjax.jsp", dataType: 'json',//服务器返回json格式数据 type: 'post',//HTTP请求类型 success: function (data) { $('#orderTable').empty(); var datainfo = JSON.parse(data.data); if (datainfo.Response.Header[0].ResultCode == 1) { messagePop(datainfo.Response.Header[0].ResultMsg) return; } if (datainfo.Response.Body == undefined) { messagePop(dateRange + "暂无预约记录"); return; } if (datainfo.Response.Header[0].ResultCode == 0) { var orderItems = datainfo.Response.Body[0].Items[0].Item; var trOne = "日期科室医生操作"; $('#orderTable').append(trOne); for (var k in orderItems) { var isCancel = orderItems[k].OrderState!="3"?"":"" var tr = "" + orderItems[k].RegDate + " " + orderItems[k].StartTime + " ~ " + orderItems[k].EndTime + "" + orderItems[k].DeptName + "" + orderItems[k].DoctName + ""+isCancel+""; $('#orderTable').append(tr); } } }, error: function () { messagePop("服务器繁忙 请稍后再试"); } }); }) }, init: function () { this.setTabs() this.bindEvent() this.deptInit() } } orderHandle.init() }) layui.use('laydate', function () { var laydate = layui.laydate; laydate.render({ elem: '#orderDate', range: "~", }); //常规用法 laydate.render({ elem: '#keshiDate' }); laydate.render({ elem: '#register-birthday' }); }) $(window).bind('beforeunload', function () { //localStorage.clear(); });
    • 1.建档
    • 2.登录
    • 3.选科室
    • 4.选医生
    • 5.预约
    03
    04
    未选择科室 (*医生排名不分先后)

    请先选择科室

    Baidu
    sogou