郑州第一人民医院UI

assign.html 4.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <link href="../css/init.css" rel="stylesheet" />
  7. <script src="../Script/Common/huayi.load.js"></script>
  8. <script src="../Script/Common/huayi.config.js"></script>
  9. <link rel="stylesheet" href="../css/WorkOrder/jquery.editable-select.css" />
  10. <link rel="stylesheet" href="../js/comboSelect/combo.select.css" />
  11. <link rel="stylesheet" href="../css/init.css" />
  12. <link rel="stylesheet" href="../css/WorkOrder/NewAddWorkOrder.css" />
  13. <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
  14. <link href="../css/WorkOrder/Search.css" rel="stylesheet">
  15. <link rel="stylesheet" href="../js/comboSelect/combo.select.css" />
  16. <link href="../css/init.css" rel="stylesheet" />
  17. <title></title>
  18. <style>
  19. ul li {
  20. float: initial;
  21. list-style: none;
  22. }
  23. .wrapper-content{
  24. padding-left: 0;
  25. padding-bottom: 0;
  26. }
  27. .common {
  28. width: 100%;
  29. text-align: center;
  30. padding: 20px 30px 0 0;
  31. }
  32. .common table {
  33. width: 100%;
  34. }
  35. .common table th {
  36. padding: 5px 8px 5px 0;
  37. text-align: right;
  38. }
  39. .common table td {
  40. padding: 6px 0 5px 10px;
  41. text-align: left;
  42. color: #717171;
  43. line-height: 200%;
  44. }
  45. .common table td textarea {
  46. width: 100%;
  47. vertical-align: middle;
  48. resize: none;
  49. outline: none;
  50. }
  51. .treeList {
  52. top: 34px !important;
  53. border: 1px solid #e5e6e7 !important;
  54. border-top: 0;
  55. height: auto !important;
  56. }
  57. #TreeDemo li {
  58. float: initial;
  59. }
  60. #typeclass {
  61. background: #fff;
  62. }
  63. .form-group {
  64. margin-bottom: 0;
  65. }
  66. button[disabled] {
  67. background-color: #999;
  68. }
  69. #referralPhysician {
  70. width: 350px;
  71. }
  72. #referralDepartment {
  73. width: 350px;
  74. }
  75. </style>
  76. </head>
  77. <body class="gray-bg">
  78. <div class="clearfix wrapper-content animated fadeInRight">
  79. <div class="common">
  80. <table>
  81. <tbody>
  82. <tr>
  83. <th>转诊单位:</th>
  84. <td>
  85. <div class="form-group">
  86. <select class="form-control" id="referralDepartment">
  87. <option value="">请选择转诊单位</option>
  88. <option value="1">内科</option>
  89. <option value="2">外科</option>
  90. <option value="3">儿科</option>
  91. </select>
  92. </div>
  93. </td>
  94. <th>转诊医师:</th>
  95. <td>
  96. <div class="form-group">
  97. <select class="form-control" id="referralPhysician">
  98. <option>请选择转诊医师</option>
  99. </select>
  100. </div>
  101. </td>
  102. </tr>
  103. <tr>
  104. <td colspan="8" style="text-align: center;">
  105. <button class="btns customerSubmit">确&nbsp;定</button>
  106. </td>
  107. </tr>
  108. </tbody>
  109. </table>
  110. </div>
  111. </div>
  112. <script>
  113. $("#referralDepartment").change(function() {
  114. if ($("#referralDepartment").val() == "1") {
  115. $("#referralPhysician").empty()
  116. var html1 = '<option>李医生</option>'
  117. + '<option>赵医生</option>'
  118. $(html1).appendTo("#referralPhysician");
  119. } else if ($("#referralDepartment").val() == "2") {
  120. $("#referralPhysician").empty()
  121. var html2 = '<option>钱医生</option>'
  122. + '<option>孙医生</option>'
  123. $(html2).appendTo("#referralPhysician");
  124. } else if ($("#referralDepartment").val() == "3") {
  125. $("#referralPhysician").empty()
  126. var html3 = '<option>周医生</option>'
  127. + '<option>吴医生</option>'
  128. $(html3).appendTo("#referralPhysician");
  129. }
  130. })
  131. $(".customerSubmit").click(function() {
  132. var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
  133. parent.layer.close(index)
  134. })
  135. </script>
  136. </body>
  137. </html>