argument.js 945 B

123456789101112131415161718192021222324
  1. $(function() {
  2. var Request = new Object();
  3. Request = GetRequest();
  4. var doctor = Request["doctor"];
  5. var doctorName = Request["doctorName"];
  6. var hospitalName = Request["hospitalName"];
  7. var level = Request["level"];
  8. // 判断是否隐藏“我已认真阅读并同意该协议”的按钮
  9. var readonly = Request["readonly"],
  10. // 如果是签约邀请,则获取patientCode及inviCode参数
  11. patientCode = Request["patientCode"] || "", // 被邀请的患者code
  12. inviCode = Request["inviCode"]||""; // 被邀请的患者与医生的邀请code
  13. var code = Request["code"];
  14. if(readonly!==undefined) {
  15. $('#agree_btn').hide();
  16. }
  17. $('#agree_btn').on('click',function() {
  18. var url =
  19. location.href = "../../ssgg/html/start-sign3.html?doctor=" + doctor
  20. + "&doctorName=" + doctorName+ "&code=" + code +"&level="+level + "&hospitalName=" + hospitalName+"&patientCode="+patientCode+"&inviCode="+inviCode+"&"+$.now();
  21. });
  22. })