myd-upsamples.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>满意度调查 - 创建问卷 - 调查设置</title>
  6. <script type="text/javascript" src="../../commons/js/survey-all.js"></script>
  7. <link rel="stylesheet" href="../../commons/themes/default/css/SimpleTree.css" type="text/css"></link>
  8. <link href="../../commons/themes/default/css/leftnav.css" type="text/css" rel="stylesheet" />
  9. <link rel="stylesheet" href="../../commons/themes/default/css/htfk.css" type="text/css"></link>
  10. <script type="text/javascript" src="./js/upsamples.js"></script>
  11. <script type="text/javascript" src="../../commons/js/SimpleTree/SimpleTree.js"></script>
  12. <script type="text/javascript" src="../../commons/upload/upload.js"></script>
  13. <script type="text/javascript" src="../../commons/js/My97DatePicker/WdatePicker.js"></script>
  14. </head>
  15. <body>
  16. <div class="hidden">
  17. <div>
  18. <!-- 问卷样本导入开始 -->
  19. <div class="ml20 mt15 mb25 mr15 main-myd" id="four" style="">
  20. <h2 class="relative pb10 bb-ccc"><span class="f18 f-yahei" id="subjectspan"></span><div class="absolute myd-step-4" style="right:0; top:0;"></div></h2>
  21. <div class="mt10 tip-myd relative" style="position:relative;">
  22. <span class="c-org">上传说明</span>
  23. <ul class="c-999">
  24. <li>文件必须包含列:姓名、性别、电话、就诊科室</li>
  25. <li>文件可选包含列:就诊医生、疾病诊断、病案号</li>
  26. </ul>
  27. <input id="samplesup" style="right:20px; top:35px;z-index:999; filter:alpha(opacity=0);opacity:0;" onchange=upload("samplesup"); type="file" name="0" class="absolute btn-upload"/>
  28. <button class="absolute btn-upload" style="right:20px; top:35px;" ></button>
  29. </div>
  30. <input type="hidden" id="SubjectId"/>
  31. <div class="mt20 myd-box-gray" id="nohave" style="display: none;">
  32. <div class="pl15 myd-gray-tit"><strong>样本信息</strong></div>
  33. <div class="myd-gray-con">
  34. <div class="clearfix" style="padding:35px 0 35px 220px;">
  35. <i class="fl icon-dl"></i>
  36. <div class="fl ml15 c-555" style="width:400px;">
  37. <h4 class="f24 f-yahei" style="line-height:1.5">您尚未上传样本!</h4>
  38. <div class="mt5 f14 f-yahei"> 请按模板格式制作样本,然后上传,<a href="/WbjUI/servlet/ActionServlet?bizAction=samplesmodel&date=date()" class="c-007">下载模板</a></div>
  39. </div>
  40. </div>
  41. </div>
  42. </div>
  43. <div class="mt20 clearfix" id="haveshow" style="display: none;">
  44. <div class="fl myd-box-blue" style=" width:184px;">
  45. <div class="myd-blue-tit"><strong>样本概况</strong></div>
  46. <div class="myd-blue-con" style="">
  47. <ul id="showdept" class="myd-blue-ul" style="height:250px; overflow:auto;">
  48. </ul>
  49. <a href="javascript:;" onclick="getnoOptiondept()" class="c-007">提取预约数据</a>
  50. </div>
  51. </div>
  52. <div class="ml5 fl" style="width:80%;">
  53. <div id="samplediv" class=""></div>
  54. <div class="p5 clearfix" style="border:1px solid #f6f6f6; border-top:none;"><input type="button" onclick="getxj()" class="fr btn-gray-xl mr10 mt5 mb5" value="+ 增加信息" /></div>
  55. <div class="pager_container" >
  56. <input id="pagenumber" value="1" type="hidden" />
  57. <div id="pager"></div>
  58. </div>
  59. </div>
  60. </div>
  61. <div class="mt15 t-rig"><!-- <input type="button" class="btn-blue-xl" value="确定调查" onclick="gowjfb()" />--><input type="button" class="btn-blue-l mr10" value="返回" onclick="goreturn()" /></div>
  62. </div>
  63. <!-- 问卷样本导入结束 -->
  64. </div>
  65. </div>
  66. <!--提示弹窗-->
  67. <div class="pop" id="alertSucc" style="display: none;">
  68. <div class="mask"></div>
  69. <!--[if lte IE 6]><iframe class="mask-iframe" frameborder="0"></iframe><![endif]-->
  70. <div class="popbox popbox-w430">
  71. <div class="pop-tit relative f14 c-222 bold">提示</div>
  72. <div class="pop-main" style="padding:35px 25px;">
  73. <div class="f14"><i class="icon-loading mr25"></i>数据导入中,请稍后……</div>
  74. </div>
  75. </div>
  76. </div>
  77. <!--新增信息弹窗-->
  78. <div class="pop" id="addSample" style="display: none;">
  79. <div class="mask"></div>
  80. <!--[if lte IE 6]><iframe class="mask-iframe" frameborder="0"></iframe><![endif]-->
  81. <div class="popbox popbox-w430">
  82. <form id="add_f">
  83. <div class="pop-tit relative f14 c-222 bold">新增信息<a href="javascript:;" class="btn-close absolute" onclick="closepop('addSample')"></a></div>
  84. <div class="pop-main" style="padding:15px">
  85. <div class=" clearfix"><label class="fl" style="width:120px"><span class="c-f00">*</span>姓名:</label><input type="text" id="username" class="inp-txt validate[required,maxSize[5],custom[chinaenglishnumber]]" /></div>
  86. <div class="mt15 clearfix"><label class="fl" style="width:120px"><span class="c-f00">*</span>性别:</label><select id="sex" class="pop-sel" style="width:180px"><option value="1">男</option><option value="2">女</option><option value="3">未知</option></select></div>
  87. <div class="mt15 clearfix"><label class="fl" style="width:120px"><span class="c-f00">*</span>电话:</label><input type="text" id="moblie" class="inp-txt validate[required]" /></div>
  88. <div class="mt15 clearfix"><label class="fl" style="width:120px"><span class="c-f00">*</span>就诊科室:</label><input id="deptname" type="text" class="inp-txt validate[required,maxSize[10],custom[chinaenglishnumber]]" /></div>
  89. <div class="mt15 clearfix"><label class="fl" style="width:120px">就诊医生:</label><input id="doctorname" type="text" class="inp-txt validate[maxSize[5],custom[chinaenglishnumber]]" /></div>
  90. <div class="mt15 clearfix"><label class="fl" style="width:120px">疾病诊断:</label><input id="treatres" type="text" class="inp-txt validate[maxSize[20]]" /></div>
  91. <div class="mt15 clearfix"><label class="fl" style="width:120px">病案号:</label><input id="casehistoryid" type="text" class="inp-txt validate[maxSize[10],custom[chinaenglishnumber]]" /></div>
  92. </div>
  93. <div class="pop-btns t-rig" style="padding-left:0;">
  94. <input type="submit" class="btn-blue mr10" onclick="addSamples()" value="确认" /><input type="button" class=" btn-gray-s mr25" value="取消" onclick="closepop('addSample')" />
  95. </div>
  96. </form>
  97. </div>
  98. </div>
  99. <!--修改样本弹窗-->
  100. <div class="pop" id="modifySample" style="display: none;">
  101. <div class="mask"></div>
  102. <!--[if lte IE 6]><iframe class="mask-iframe" frameborder="0"></iframe><![endif]-->
  103. <div class="popbox popbox-w430">
  104. <form id="update_f">
  105. <div class="pop-tit relative f14 c-222 bold">修改样本<a href="javascript:;" class="btn-close absolute" onclick="closepop('modifySample')"></a></div>
  106. <div class="pop-main" style="padding:15px">
  107. <input type="hidden" id="bj_SampleId"/>
  108. <input type="hidden" id="bj_SubjectId"/>
  109. <div class=" clearfix"><label class="fl" style="width:120px"><span class="c-f00">*</span>姓名:</label><input type="text" id="bj_username" class="inp-txt validate[required,maxSize[5],custom[chinaenglishnumber]]" /></div>
  110. <div class="mt15 clearfix"><label class="fl" style="width:120px"><span class="c-f00">*</span>性别:</label><select id="bj_sex" class="pop-sel" style="width:180px"><option value="1">男</option><option value="2">女</option><option value="3">未知</option></select></div>
  111. <div class="mt15 clearfix"><label class="fl" style="width:120px"><span class="c-f00">*</span>电话:</label><input type="text" id="bj_moblie" class="inp-txt validate[required]" /></div>
  112. <div class="mt15 clearfix"><label class="fl" style="width:120px"><span class="c-f00">*</span>就诊科室:</label><input id="bj_deptname" type="text" class="inp-txt validate[required,maxSize[10],custom[chinaenglishnumber]]" /></div>
  113. <div class="mt15 clearfix"><label class="fl" style="width:120px">就诊医生:</label><input id="bj_doctorname" type="text" class="inp-txt validate[maxSize[5],custom[chinaenglishnumber]]" /></div>
  114. <div class="mt15 clearfix"><label class="fl" style="width:120px">疾病诊断:</label><input id="bj_treatres" type="text" class="inp-txt validate[maxSize[20]]" /></div>
  115. <div class="mt15 clearfix"><label class="fl" style="width:120px">病案号:</label><input id="bj_casehistoryid" type="text" class="inp-txt validate[maxSize[10],custom[chinaenglishnumber]]" /></div>
  116. </div>
  117. <div class="pop-btns t-rig" style="padding-left:0;">
  118. <input type="submit" class="btn-blue mr10" onclick="updateSamples()" value="确认" /><input type="button" class=" btn-gray-s mr25" value="取消" onclick="closepop('modifySample')" />
  119. </div>
  120. </form>
  121. </div>
  122. </div>
  123. <!--预约患者信息提取弹窗-->
  124. <div class="pop" id="getYYHZInfo" style="display: none;">
  125. <div class="mask"></div>
  126. <!--[if lte IE 6]><iframe class="mask-iframe" frameborder="0"></iframe><![endif]-->
  127. <div class="popbox popbox-w430">
  128. <form id="yyhz">
  129. <div class="pop-tit relative f14 c-222 bold">预约患者信息提取<a href="javascript:;" class="btn-close absolute" onclick="closepop('getYYHZInfo')"></a></div>
  130. <div class="pop-main" style="padding:15px">
  131. <input type="hidden" id="orderdeptname"/>
  132. <div class="clearfix"><label class="fl">就诊科室:</label>
  133. <!-- <input type="text" id="orderdeptid" class="cus-sel-chosed" value="" onclick="showtree(this)" disabled style="width:150px; border:none; outline:none;" />-->
  134. <div class="fl relative" style="width:321px; z-index:2">
  135. <div class="cus-sel-chosed" id="cusSelChosed"></div>
  136. <!-- <div id="cusSelList" style="position:absolute; z-index:99999;display: none;position: absolute; overflow: auto; width: 180px; height: 200px; border: 1px; background-color: #F0F8FF;" >
  137. <ul id="treeid" ></ul>
  138. </div> -->
  139. <input type="hidden" id="orderdeptid" />
  140. <div class="absolute cus-sel-list" id="cusSelList" style="display:none;overflow: auto; width: 220px; height: 400px;">
  141. <div id="treeid" class="st_tree"></div>
  142. </div>
  143. </div>
  144. </div>
  145. <div class="mt15 clearfix">
  146. <label class="fl">就诊日期:</label>
  147. <div class="fl xzrq" onClick="WdatePicker({el:'DateTimeStart',isShowClear:true,readOnly:true})">
  148. <!-- <span class="fl">2014-04-22</span>-->
  149. <input class="fl Wdate validate[required,custom[date]]" style="height:26px;border: 0px;text-align:left;margin-left: 0px; width:120px;" id="DateTimeStart" onClick="WdatePicker({el:'DateTimeStart',isShowClear:true,readOnly:true})" />
  150. </div>
  151. <span class="fl ml5 mr5">到</span>
  152. <div class="fl xzrq" onClick="WdatePicker({el:'DateTimeEnd',isShowClear:true,readOnly:true})">
  153. <!-- <span class="fl">2014-04-22</span>-->
  154. <input class="fl Wdate validate[required,custom[date]]" style="height:26px;border: 0px;text-align:left;margin-left: 0px;width:120px;" id="DateTimeEnd" onClick="WdatePicker({el:'DateTimeEnd',isShowClear:true,readOnly:true})" />
  155. </div>
  156. </div>
  157. <div class="mt15"><label class="fl">人员数量:</label><input type="text" id="num" class="inp-txt validate[required,custom[integer],min[1]]" style="width:130px;" /></div>
  158. </div>
  159. <div class="pop-btns t-rig">
  160. <input type="submit" class="btn-blue mr25" onclick="orderUp()" value="确认" />
  161. </div>
  162. </form>
  163. </div>
  164. </div>
  165. <!--错误样本数据列表弹窗 -->
  166. <div class="pop" id="errorDataList" style="display: none;">
  167. <div class="pop-tit relative f14 c-222 bold"><!-- <a href="javascript:;" class="btn-close absolute" onclick="closepop('errorDataList')"></a> --></div>
  168. <div class="pop-main" style="padding:15px">
  169. <div>一共导入<span class="c-org" id="drtotal"></span>条,错误<span class="c-f00" id="errornum"></span>条</div>
  170. <div id="drerrordetail" style="height:250px; overflow-x:hidden; overflow-y:scroll;"></div>
  171. </div>
  172. <!-- <div class="pop-btns t-rig" style="padding-left:0;">
  173. <input type="button" class="btn-blue mr25" onclick="closepop('errorDataList')" value="确认" />
  174. </div> -->
  175. </div>
  176. </body>
  177. </html>