add.html 45 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title></title>
  6. <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
  7. <link href="css/mui.min.css" rel="stylesheet" />
  8. <script src="assets/js/jquery-3.1.0.js"></script>
  9. <script src="assets/js/jquery.base64.js"></script>
  10. <script src="CommonJS/Config_JS/Config_Load.js"></script>
  11. <script src="CommonJS/DBUtil_JS/WsCommonClassJava.js"></script>
  12. <script src="CommonJS/Data_ProcessJS/CommonData.js"></script>
  13. <script src="CommonJS/HTML_ElementCommonJS/Select_Common.js"></script>
  14. <script src="http://pv.sohu.com/cityjson?ie=utf-8"></script>
  15. <script src="js/recordAction.js"></script>
  16. <script src="js/mui.min.js"></script>
  17. <!--<script src="js/jquery.min.js"></script>-->
  18. <!-- <script src="js/uploadImgs.js"></script> -->
  19. <script src="js/promptAndAlert.js"></script>
  20. <script src="js/fileImg.js"></script>
  21. <style>
  22. * {
  23. margin: 0;
  24. padding: 0;
  25. }
  26. html,
  27. body {
  28. width: 100%;
  29. height: 100%;
  30. overflow: hidden;
  31. }
  32. .logon_bg{
  33. position: absolute;
  34. width:100%;
  35. bottom: 0;
  36. }
  37. .bak{
  38. width: 100%;
  39. height: 100%;
  40. }
  41. .mainDiv{
  42. top: 10px;
  43. position: absolute;
  44. width: 100%;
  45. height: 100%;
  46. margin-top: 2.375rem;
  47. }
  48. .dynamic_images ul {
  49. margin: 0;
  50. padding: 0;
  51. }
  52. .dynamic_images ul li {
  53. position: relative;
  54. display: inline-block;
  55. margin-top: 10px;
  56. margin-bottom: 10px;
  57. margin-right: 5px;
  58. margin-left: 10px;
  59. float: left;
  60. list-style: none;
  61. }
  62. .dynamic_images ul li img {
  63. width: 50px;
  64. height: 50px;
  65. border-radius: 5px;
  66. }
  67. .del {
  68. display: inline-block;
  69. position: absolute;
  70. top:6px;
  71. right: 0px;
  72. width: 12px;
  73. height: 2px;
  74. background: #ED544D;
  75. line-height: 0;
  76. font-size: 0;
  77. vertical-align: middle;
  78. -webkit-transform: rotate(45deg);
  79. }
  80. .del:after {
  81. content: "/";
  82. display: block;
  83. width: 12px;
  84. height: 2px;
  85. background: #ED544D;
  86. -webkit-transform: rotate(-90deg);
  87. }
  88. #showimg{
  89. width: 60px;
  90. height: 50px;
  91. margin: auto auto;
  92. display: table-cell;
  93. vertical-align: middle;
  94. text-align: center;
  95. margin-top: 13%;
  96. }
  97. .image-upload > input
  98. {
  99. display: none;
  100. }
  101. .image-uploads > input
  102. {
  103. display: none;
  104. }
  105. </style>
  106. <script>
  107. var addStatus=0;
  108. mui.init({
  109. swipeBack:true //启用右滑关闭功能
  110. });
  111. $(document).on("click", '#mainpage', function() {
  112. window.location = "main.html?date=" + getDateStr();
  113. });
  114. $(document).on("click", '#addpage', function() {
  115. // mui.alert('模块更新中 敬请期待!!!', '系统提示', function() {});
  116. window.location = "add.html?date=" + getDateStr();
  117. });
  118. $(document).on("click", '#exit', function() {
  119. var btnArray = ['否', '是'];
  120. mui.confirm('是否确认退出登录?', '系统提示', btnArray, function(e) {
  121. if (e.index == 1) {
  122. window.location = "login.html";
  123. insertActionRecord('用户退出');
  124. } else {}
  125. })
  126. });
  127. function AddNew(){
  128. // if(role!="21" || role!="3") {
  129. if (document.getElementById("txt_address").value == "") {
  130. mui.alert('执业地址必填!', '提示', ['确定'], null, '');
  131. //alert("巡查结果必选!");
  132. return
  133. }
  134. if (document.getElementById("txt_name").value == "") {
  135. mui.alert('姓名必填!', '提示', ['确定'], null, '');
  136. //alert("巡查结果必选!");
  137. return
  138. }
  139. if (document.getElementById("select_major").value == "") {
  140. mui.alert('从事专业必填!', '提示', ['确定'], null, '');
  141. //alert("巡查结果必选!");
  142. return
  143. }
  144. if (document.getElementById("select_district").value == "") {
  145. mui.alert('所属区县必填!', '提示', ['确定'], null, '');
  146. //alert("巡查结果必选!");
  147. return
  148. }
  149. if (document.getElementById("select_town").value == "") {
  150. mui.alert('所属街镇必填!', '提示', ['确定'], null, '');
  151. //alert("巡查结果必选!");
  152. return
  153. }
  154. /*if(document.getElementById("select_num").value==""){
  155. mui.alert('身份证必填!','提示',['确定'],null,'');
  156. //alert("巡查结果必选!");
  157. return
  158. }*/
  159. // }else{
  160. // 巡查员用户&区级管理员用户
  161. if(role == "21" || role == "3") {
  162. // var TaskStatus=document.getElementsByName("TaskStatus");
  163. // var status="";
  164. // for(var i=0;i<TaskStatus.length;i++){
  165. // if(TaskStatus[i].checked==true){
  166. // status=TaskStatus[i].value;
  167. // }
  168. // }
  169. var medicine="";
  170. var medicineScene=document.getElementsByName("medicineScene");
  171. for(var i=0;i<medicineScene.length;i++){
  172. if(medicineScene[i].checked==true){
  173. medicine=medicineScene[i].value;
  174. }
  175. }
  176. // if(status==""){
  177. // mui.alert('巡查结果必选!','提示',['确定'],null,'');
  178. // //alert("巡查结果必选!");
  179. // return
  180. // }else if(status!="2"){
  181. // if(medicine==""){
  182. // mui.alert('行医人是否在现场必选!','提示',['确定'],null,'');
  183. // //alert("行医人是否在现场必选!");
  184. // return
  185. // }
  186. // }
  187. if(medicine==""){
  188. mui.alert('行医人是否在现场必选!','提示',['确定'],null,'');
  189. //alert("行医人是否在现场必选!");
  190. return
  191. }
  192. // 执业中
  193. // if(status=="1"){
  194. // var nk=document.getElementById("nk").checked;
  195. // var yk=document.getElementById("yk").checked;
  196. // var ylmr=document.getElementById("ylmr").checked;
  197. // var xyqt=document.getElementById("xyqt").checked;
  198. // if(nk==false && yk==false&&ylmr==false&&xyqt==false){
  199. // mui.alert('行医内容必选!','提示',['确定'],null,'');
  200. // return
  201. // }
  202. // }
  203. var nk=document.getElementById("nk").checked;
  204. var yk=document.getElementById("yk").checked;
  205. var ylmr=document.getElementById("ylmr").checked;
  206. var xyqt=document.getElementById("xyqt").checked;
  207. if(nk==false && yk==false&&ylmr==false&&xyqt==false){
  208. mui.alert('行医内容必选!','提示',['确定'],null,'');
  209. return
  210. }
  211. // 已搬离
  212. // if(status == "2"){
  213. // var yblStatus = document.getElementsByName("yblStatus");
  214. // var _status="";
  215. // for(var i=0;i<yblStatus.length;i++){
  216. // if(yblStatus[i].checked==true){
  217. // _status=yblStatus[i].value;
  218. // }
  219. // }
  220. // if(_status==""){
  221. // mui.alert('判断依据必选!','提示',['确定'],null,'');
  222. // //alert("判断依据必选!");
  223. // return
  224. // }
  225. // let _value = document.getElementById("yblyjContent").value;
  226. // if(_status == "5"&&_value == ""){
  227. // mui.alert('请填写判断依据!','提示',['确定'],null,'');
  228. // //alert("请填写判断依据!");
  229. // return
  230. // }
  231. // }
  232. // 未执业
  233. // if(status == "4"){
  234. // var wzyStatus = document.getElementsByName("wzyStatus");
  235. // var _status="";
  236. // for(var i=0;i<wzyStatus.length;i++){
  237. // if(wzyStatus[i].checked==true){
  238. // _status=wzyStatus[i].value;
  239. // }
  240. // }
  241. // if(_status==""){
  242. // mui.alert('判断依据必选!','提示',['确定'],null,'');
  243. // //alert("判断依据必选!");
  244. // return
  245. // }
  246. // let _value = document.getElementById("wzyyjContent").value;
  247. // if(_status == "3"&&_value == ""){
  248. // mui.alert('请填写判断依据!','提示',['确定'],null,'');
  249. // //alert("请填写判断依据!");
  250. // return
  251. // }
  252. // }
  253. // 可疑执业
  254. // if(status == "3"){
  255. var yp = document.getElementById("yp").checked;
  256. if(yp){
  257. var _value = document.getElementById("ypNum").value;
  258. if(_value == ""){
  259. mui.alert('请填写药品数量!','提示',['确定'],null,'');
  260. //alert("请填写药品数量!");
  261. return
  262. }
  263. }
  264. var ylqx = document.getElementById("ylqx").checked;
  265. if(ylqx){
  266. var _value = document.getElementById("ylqxNum").value;
  267. if(_value == ""){
  268. mui.alert('请填写医疗器械数量!','提示',['确定'],null,'');
  269. //alert("请填写医疗器械数量!");
  270. return
  271. }
  272. }
  273. var ylfqw = document.getElementById("ylfqw").checked;
  274. if(ylfqw){
  275. var _value = document.getElementById("ylfqwNum").value;
  276. if(_value == ""){
  277. mui.alert('请填写医疗废弃物数量!','提示',['确定'],null,'');
  278. //alert("请填写医疗废弃物数量!");
  279. return
  280. }
  281. }
  282. var gpmc = document.getElementById("gpmc").checked;
  283. if(gpmc){
  284. var _value = document.getElementById("gpmcName").value;
  285. if(_value == ""){
  286. mui.alert('请填写挂牌名称!','提示',['确定'],null,'');
  287. //alert("请填写挂牌名称!");
  288. return
  289. }
  290. }
  291. var xmp = document.getElementById("xmp").checked;
  292. var yy = document.getElementById("yy").checked;
  293. var xwhqr = document.getElementById("xwhqr").checked;
  294. var xcqt = document.getElementById("xcqt").checked;
  295. if(xcqt){
  296. var _value = document.getElementById("xcqtContent").value;
  297. if(_value == ""){
  298. mui.alert('请填写其他备注!','提示',['确定'],null,'');
  299. //alert("请填写挂牌名称!");
  300. return
  301. }
  302. }
  303. if(yp==false && ylqx==false && ylfqw==false && gpmc==false && xmp==false && yy==false && xwhqr==false && xcqt==false){
  304. mui.alert('现场查见必选一项!','提示',['确定'],null,'');
  305. return
  306. }
  307. // }
  308. // 照片必须上传
  309. if(($(".dynamic_images ul li").length-0)<1) {
  310. mui.alert('照片必须上传!','提示',['确定'],null,'');
  311. return
  312. }
  313. }
  314. mui.confirm('是否确认提交(提交后不可修改)','提示',['取消','确定'],function (e) {
  315. if(e.index==1){
  316. if(addStatus=="0"){
  317. addStatus=1;
  318. if(role=="21" || role=="3"){
  319. querySEQ_REPORT_ID();
  320. }else{
  321. querySEQ_TASK_ID();
  322. }
  323. }else{
  324. mui.toast("状态正在更新!");
  325. }
  326. }else{
  327. return
  328. }
  329. });
  330. }
  331. function commitok(){
  332. document.getElementById("syyalertDiv").remove();
  333. try{
  334. document.getElementById("alertDiv").style.display ="";
  335. }catch (e){}
  336. }
  337. function closefun() {
  338. document.getElementById("alertDiv").remove();
  339. }
  340. function commitButton() {
  341. // var TaskStatus=document.getElementsByName("TaskStatus");
  342. var status = "1"; //默认执业中
  343. // for(var i=0;i<TaskStatus.length;i++){
  344. // if(TaskStatus[i].checked==true){
  345. // status=TaskStatus[i].value;
  346. // }
  347. // }
  348. var yp="0";
  349. if(document.getElementById("yp").checked==true){
  350. yp="1";
  351. }
  352. var ylqx="0";
  353. if(document.getElementById("ylqx").checked==true){
  354. ylqx="1";
  355. }
  356. var ylfqw="0";
  357. if(document.getElementById("ylfqw").checked==true){
  358. ylfqw="1";
  359. }
  360. var gpmc="0";
  361. if(document.getElementById("gpmc").checked==true){
  362. gpmc="1";
  363. }
  364. var xmp="0";
  365. if(document.getElementById("xmp").checked==true){
  366. xmp="1";
  367. }
  368. var yy="0";
  369. if(document.getElementById("yy").checked==true){
  370. yy="1";
  371. }
  372. var xwhqy = "0";
  373. if(document.getElementById("xwhqr").checked==true){
  374. xwhqy = "1";
  375. }
  376. var xcqt="0";
  377. if(document.getElementById("xcqt").checked==true){
  378. xcqt="1";
  379. }
  380. var medicine="0";
  381. var medicineScene=document.getElementsByName("medicineScene");
  382. for(var i=0;i<medicineScene.length;i++) {
  383. if(medicineScene[i].checked==true){
  384. medicine=medicineScene[i].value;
  385. }
  386. }
  387. var nk="0";
  388. if(document.getElementById("nk").checked==true){
  389. nk="1";
  390. }
  391. var yk="0";
  392. if(document.getElementById("yk").checked==true){
  393. yk="1";
  394. }
  395. var ylmr="0";
  396. if(document.getElementById("ylmr").checked==true){
  397. ylmr="1";
  398. }
  399. var xyqt="0";
  400. if(document.getElementById("xyqt").checked==true){
  401. xyqt="1";
  402. }
  403. // 未执业
  404. // var yblStatus = document.getElementsByName("yblStatus");
  405. var _yblStatus = "0";
  406. // for(var i=0;i<yblStatus.length;i++){
  407. // if(yblStatus[i].checked==true){
  408. // _yblStatus=yblStatus[i].value;
  409. // }
  410. // }
  411. var _yblyjContent = "";
  412. // var _yblyjContent = document.getElementById("yblyjContent").value;
  413. // 已搬离
  414. // var wzyStatus = document.getElementsByName("wzyStatus");
  415. var _wzyStatus = "0";
  416. // for(var i=0;i<wzyStatus.length;i++){
  417. // if(wzyStatus[i].checked==true){
  418. // _wzyStatus=wzyStatus[i].value;
  419. // }
  420. // }
  421. var _wzyyjContent = "";
  422. // var _wzyyjContent = document.getElementById("wzyyjContent").value;
  423. var role = localStorage.getItem("ROLE");
  424. var souce;
  425. var soucesub=1;
  426. if(role=="21"||role=="3"){
  427. souce=4;
  428. }
  429. if(role=="2" || role=="1"){
  430. souce=5;
  431. // soucesub="";
  432. soucesub=0;
  433. }
  434. var date=new Date();
  435. var year=date.getFullYear();
  436. var month=date.getMonth()+1;
  437. var objimgs;
  438. if(($(".dynamic_images ul li").length-0)>0){
  439. objimgs= new Array();
  440. for(var i=0;i<($(".dynamic_images ul li").length-0);i++){
  441. var img=$("#files_"+i+" img");
  442. var obj = new Object();
  443. obj.img = img[0].src;
  444. objimgs.push(obj);
  445. }
  446. //保存到一户一档
  447. var strSqlTask="insert INTO HEALTH.一户一档 (ID,NAME,BODY," +
  448. "REGISTERE,IDTYPE,COUNTY,COUNTYSSTRING," +
  449. "MAJOR,STREET,STREETID,SENDMONTH,SENDYEAR,SENDTIME,SOURCE,SOURCESUB,NUM)" +
  450. "values ("+SEQ_TASK_ID+",'"+document.getElementById("txt_name").value+"','个人'" +
  451. ",'"+document.getElementById("txt_address").value+"','身份证','"+$("#select_district option:selected").val()+"'" +
  452. ",'"+$("#select_district option:selected").text().replace('区','').replace('新','')+"','"+$("#select_major option:selected").val()+"'" +
  453. ",'"+$("#select_town option:selected").text()+"','"+$("#select_town option:selected").val()+"',"+month+","+year+",sysdate,"+souce+","+soucesub+
  454. ",'"+document.getElementById("select_num").value+"')";
  455. new WsCommonClass("QueryDataBaseJson", ["sql"], [strSqlTask], querySuccess, "AddInfo");
  456. //alert(strSqlTask)
  457. // 巡查员用户&区级管理员用户
  458. if(role == "21" || role == "3"){
  459. // for(i=0;i<=objimgs.length;i++){
  460. //console.log(objimgs[i].img+"===****"+objimgs[i].imge+"");
  461. if (objimgs.length == 0) {
  462. var strSql = "insert into health.巡检状态(ID,一户一档ID,状态,手机,照片1,照片2) " +
  463. "values( "+SEQ_REPORT_ID+",'" + SEQ_TASK_ID + "','" + status + "','"+localStorage.getItem("mobile")+"','','')";
  464. console.log(strSql);
  465. new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql], querySuccess, "AddInfo");
  466. } else if (objimgs.length == 1) {
  467. var strSql = "insert into health.巡检状态(ID,一户一档ID,状态,手机,照片1,照片2) " +
  468. "values("+SEQ_REPORT_ID+",'" + SEQ_TASK_ID + "','" + status + "','"+localStorage.getItem("mobile")+"','" + objimgs[0].img + "','')";
  469. //alert(strSql)
  470. new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql], querySuccess, "AddInfo");
  471. } else if (objimgs.length == 2) {
  472. var strSql = "insert into health.巡检状态(ID,一户一档ID,状态,手机,照片1,照片2) " +
  473. "values("+SEQ_REPORT_ID+",'" + SEQ_TASK_ID + "','" + status + "','"+localStorage.getItem("mobile")+"','" + objimgs[0].img + "','" + objimgs[1].img + "')";
  474. console.log(strSql);
  475. new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql], querySuccess, "AddInfo");
  476. } else if (objimgs.length == 3) {
  477. var strSql = "insert into health.巡检状态(ID,一户一档ID,状态,手机,照片1,照片2,照片3) " +
  478. "values("+SEQ_REPORT_ID+",'" + SEQ_TASK_ID + "','" + status + "','"+localStorage.getItem("mobile")+"','" + objimgs[0].img + "','" + objimgs[1].img + "','" + objimgs[2].img + "')";
  479. console.log(strSql);
  480. new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql], querySuccess, "AddInfo");
  481. }
  482. else if (objimgs.length == 4) {
  483. var strSql = "insert into health.巡检状态(ID,一户一档ID,状态,手机,照片1,照片2,照片3,照片4) " +
  484. "values("+SEQ_REPORT_ID+",'" + SEQ_TASK_ID + "','" + status + "','"+localStorage.getItem("mobile")+"','" + objimgs[0].img + "','" + objimgs[1].img + "','" + objimgs[2].img + "','" + objimgs[3].img + "')";
  485. console.log(strSql);
  486. new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql], querySuccess, "AddInfo");
  487. }
  488. else if (objimgs.length == 5) {
  489. var strSql = "insert into health.巡检状态(ID,一户一档ID,状态,手机,照片1,照片2,照片3,照片4,照片5) " +
  490. "values("+SEQ_REPORT_ID+",'" + SEQ_TASK_ID + "','" + currentClickid + "','"+localStorage.getItem("mobile")+"','" + objimgs[0].img + "','" + objimgs[1].img + "','" + objimgs[2].img + "','" + objimgs[3].img + "','" + objimgs[4].img + "')";
  491. new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql], querySuccess, "AddInfo");
  492. }
  493. var strSql1 = "insert into health.PATROLSTATUS (ID,PATROLSTATUSID" +
  494. ", DRUG,DRUGNUM,INSTRUMENT,INSTRUMENTNUM,WASTE,WASTENUM," +
  495. " LISTED,LISTEDNAME,ADLET,DENTALCHAIR,INSIDERASK,SCENEOTHER,SCENEOTHERCONTENT" +
  496. ",WHETHERINSCENE" +
  497. ",INTERNALMEDICINE,DENTAL,MEDICAKBEAUTY, MEDICINEOTHER,MEDICINEOTHERCONTENT,"+
  498. "MOVEDACCORDING,MOVEDOTHER,NOTPRACTICINGACCORDING,NOTPRACTICINGOTHER)" +
  499. "values (SEQ_TASKSTATUS_ID.NEXTVAL, "+SEQ_REPORT_ID+" " +
  500. ","+yp+",'"+document.getElementById("ypNum").value+"',"+ylqx+",'"+document.getElementById("ylqxNum").value+"'" +
  501. ","+ylfqw+",'"+document.getElementById("ylfqwNum").value+"',"+gpmc+",'"+document.getElementById("gpmcName").value+"'" +
  502. ","+xmp+","+yy+","+xwhqy+","+xcqt+",'"+document.getElementById("xcqtContent").value+"',"+medicine+","+nk+"" +
  503. ","+yk+","+ylmr+","+xyqt+",'"+document.getElementById("xyqtContent").value+"'"+
  504. ","+_yblStatus+",'"+_yblyjContent+"',"+_wzyStatus+",'"+_wzyyjContent+"')";
  505. //alert(strSql1)
  506. new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql1], querySuccess, "AddInfo");
  507. }
  508. }else{
  509. //保存到一户一档
  510. var strSqlTask="insert INTO HEALTH.一户一档 (ID,NAME,BODY," +
  511. "REGISTERE,IDTYPE,COUNTY,COUNTYSSTRING," +
  512. "MAJOR,STREET,STREETID,SENDMONTH,SENDYEAR,SENDTIME,SOURCE,SOURCESUB,NUM)" +
  513. "values ("+SEQ_TASK_ID+",'"+document.getElementById("txt_name").value+"','个人'" +
  514. ",'"+document.getElementById("txt_address").value+"','身份证','"+$("#select_district option:selected").val()+"'" +
  515. ",'"+$("#select_district option:selected").text().replace('区','').replace('新','')+"','"+$("#select_major option:selected").val()+"'" +
  516. ",'"+$("#select_town option:selected").text()+"','"+$("#select_town option:selected").val()+"',"+month+","+year+",sysdate,"+souce+","+soucesub+
  517. ",'"+document.getElementById("select_num").value+"')";
  518. new WsCommonClass("QueryDataBaseJson", ["sql"], [strSqlTask], querySuccess, "AddInfo");
  519. //alert(strSqlTask)
  520. // 巡查员用户&区级管理员用户
  521. if(role == "21" || role == "3"){
  522. var strSql = "insert into 巡检状态(ID,一户一档ID,状态,手机,照片1,照片2 ) " +
  523. "values("+SEQ_REPORT_ID+",'" + SEQ_TASK_ID + "','" + status + "','"+localStorage.getItem("mobile")+"','','')";
  524. //new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql], querySuccess, "queryUser");
  525. var strSql1 = "insert into health.PATROLSTATUS (ID,PATROLSTATUSID" +
  526. ", DRUG,DRUGNUM,INSTRUMENT,INSTRUMENTNUM,WASTE,WASTENUM," +
  527. " LISTED,LISTEDNAME,ADLET,DENTALCHAIR,INSIDERASK,SCENEOTHER,SCENEOTHERCONTENT" +
  528. ",WHETHERINSCENE" +
  529. ",INTERNALMEDICINE,DENTAL,MEDICAKBEAUTY, MEDICINEOTHER,MEDICINEOTHERCONTENT,"+
  530. "MOVEDACCORDING,MOVEDOTHER,NOTPRACTICINGACCORDING,NOTPRACTICINGOTHER)" +
  531. "values (seq_taskstatus_id.nextval,"+SEQ_REPORT_ID+"" +
  532. ","+yp+",'"+document.getElementById("ypNum").value+"',"+ylqx+",'"+document.getElementById("ylqxNum").value+"'" +
  533. ","+ylfqw+",'"+document.getElementById("ylfqwNum").value+"',"+gpmc+",'"+document.getElementById("gpmcName").value+"'" +
  534. ","+xmp+","+yy+","+xwhqy+","+xcqt+",'"+document.getElementById("xcqtContent").value+"',"+medicine+","+nk+"" +
  535. ","+yk+","+ylmr+","+xyqt+",'"+document.getElementById("xyqtContent").value+"'"+
  536. ","+_yblStatus+",'"+_yblyjContent+"',"+_wzyStatus+",'"+_wzyyjContent+"')";
  537. //alert(strSql)
  538. //alert(strSql1)
  539. new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql], querySuccess, "AddInfo");
  540. new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql1], querySuccess, "AddInfo");
  541. }
  542. }
  543. }
  544. var address;
  545. var name;
  546. var major;
  547. var district;
  548. var town;
  549. var userid;
  550. var txt_nums;
  551. function Addfuntion(){
  552. address = $("#txt_address").val();
  553. name = $("#txt_name").val();
  554. txt_nums = $("#select_num").val();
  555. major = Select_GetSelectText("select_major");
  556. district = localStorage.getItem("district");
  557. town = localStorage.getItem("town");
  558. userid = localStorage.getItem("userid");
  559. adddataimg = localStorage.getItem("adddataimg");
  560. if(address == ""||name == ""||major == ""){
  561. alerts('请输入完整信息',commitok)
  562. //mui.alert('!', '系统提示', function() {});
  563. }else{
  564. //alerts('是否确认新增排查点',commitButton)
  565. sprompt('是否确认新增排查点','',commitButton,closefun,'alert')
  566. }
  567. }
  568. function loadMajor() {
  569. var strSql = "select t.编码 as code,t.名称 as name,t.备注 as memo from view_编码表无证对象专业 t order by code";
  570. new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql], querySuccess, "loadMajor");
  571. }
  572. function loadDistrict() {
  573. var strSql = "select DISTINCT t.district,t.districtcode from 系统用户信息表新 t where t.DISTRICT!='上海市' ";
  574. new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql], querySuccess, "loadDistrict");
  575. }
  576. function loadTown(districtcode) {
  577. var strSql = "select DISTINCT t.TOWN,t.TOWNCODE from 系统用户信息表新 t " +
  578. "where t.TOWNCODE is not null and t.districtcode='"+districtcode+"'";
  579. new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql], querySuccess, "loadTown");
  580. }
  581. function successinfo(){
  582. mui.toast("新增排查点成功!");
  583. window.location="main.html?date="+getDateStr();
  584. }
  585. function querySuccess(evt, keyvalue) {
  586. var jsonData = evt.data;
  587. if (jsonData != null) {
  588. switch (keyvalue) {
  589. case "loadMajor":
  590. Select_DyCreate("select_major", jsonData, "CODE", "NAME");
  591. break;
  592. case "AddInfo":
  593. addStatus=0;
  594. setTimeout(successinfo,3000);
  595. insertActionRecord('用户操作新增排查点');
  596. break;
  597. case "loadDistrict":
  598. Select_DyCreate("select_district", jsonData, "DISTRICTCODE", "DISTRICT");
  599. var districtcode=localStorage.getItem("districtcode");
  600. if(districtcode!=""){
  601. document.getElementById("select_district").value=districtcode;
  602. }
  603. break;
  604. case "loadTown":
  605. Select_DyCreate("select_town", jsonData, "TOWNCODE", "TOWN");
  606. var towncode=localStorage.getItem("towncode");
  607. if(towncode!=""){
  608. document.getElementById("select_town").value=towncode;
  609. }
  610. break;
  611. case "querySEQ_REPORT_ID":
  612. SEQ_REPORT_ID=evt.data[0].SEQ;
  613. querySEQ_TASK_ID();
  614. break;
  615. case "querySEQ_TASK_ID":
  616. SEQ_TASK_ID=evt.data[0].SEQ;
  617. commitButton();
  618. break;
  619. }
  620. }
  621. }
  622. function TaskStatusChange() {
  623. var TaskStatus=document.getElementsByName("TaskStatus");
  624. var status="";
  625. for(var i=0;i<TaskStatus.length;i++){
  626. if(TaskStatus[i].checked==true){
  627. status=TaskStatus[i].value;
  628. }
  629. }
  630. // 执行中or可疑执业
  631. if(status=="1" ||status=="3"){
  632. document.getElementById("patrolLi1").style.display="";
  633. document.getElementById("patrolLi2").style.display="";
  634. document.getElementById("patrolLi3").style.display="";
  635. document.getElementById("patrolLi4").style.display="none";
  636. document.getElementById("patrolLi5").style.display="none";
  637. if(status=="1"){
  638. document.getElementById("xynrLable").style.display="";
  639. }else{
  640. document.getElementById("xynrLable").style.display="none";
  641. }
  642. empty("3");
  643. empty("4");
  644. }
  645. // 未执业
  646. else if(status=="4"){
  647. document.getElementById("patrolLi1").style.display="none";
  648. document.getElementById("patrolLi2").style.display="";
  649. document.getElementById("patrolLi3").style.display="none";
  650. document.getElementById("patrolLi4").style.display="none";
  651. document.getElementById("patrolLi5").style.display="block";
  652. // empty(4);
  653. empty("4");
  654. }
  655. // 已搬离
  656. else if(status=="2"){
  657. document.getElementById("patrolLi1").style.display="none";
  658. document.getElementById("patrolLi2").style.display="none";
  659. document.getElementById("patrolLi3").style.display="none";
  660. document.getElementById("patrolLi4").style.display="block";
  661. document.getElementById("patrolLi5").style.display="none";
  662. // empty(2);
  663. empty("2");
  664. empty("3");
  665. }
  666. }
  667. function XccjSelectChange(type){
  668. //先全部隐藏
  669. document.getElementById("ypDiv").style.display = "none";
  670. document.getElementById("ylqxDiv").style.display = "none";
  671. document.getElementById("ylfqwDiv").style.display = "none";
  672. document.getElementById("gpmcDiv").style.display = "none";
  673. document.getElementById("xcqtDiv").style.display = "none";
  674. //根据类型判断
  675. if(type == 1){
  676. if(document.getElementById("yp").checked){
  677. document.getElementById("ypDiv").style.display = "block";
  678. }
  679. }
  680. if(type == 2){
  681. if(document.getElementById("ylqx").checked){
  682. document.getElementById("ylqxDiv").style.display = "block";
  683. }
  684. }
  685. if(type == 3){
  686. if(document.getElementById("ylfqw").checked){
  687. document.getElementById("ylfqwDiv").style.display = "block";
  688. }
  689. }
  690. if(type == 4){
  691. if(document.getElementById("gpmc").checked){
  692. document.getElementById("gpmcDiv").style.display = "block";
  693. }
  694. }
  695. if(type == 5){
  696. if(document.getElementById("xcqt").checked){
  697. document.getElementById("xcqtDiv").style.display = "block";
  698. }
  699. }
  700. }
  701. function empty(type) {
  702. document.getElementById("yp").checked=false;
  703. document.getElementById("ypNum").value="";
  704. document.getElementById("ylqx").checked=false;
  705. document.getElementById("ylqxNum").value="";
  706. document.getElementById("ylfqw").checked=false;
  707. document.getElementById("ylfqwNum").value="";
  708. document.getElementById("gpmc").checked=false;
  709. document.getElementById("gpmcName").value="";
  710. document.getElementById("xmp").checked=false;
  711. document.getElementById("yy").checked=false;
  712. document.getElementById("xwhqr").checked=false;
  713. document.getElementById("xcqt").checked=false;
  714. document.getElementById("xcqtContent").value="";
  715. if(type=="2"){
  716. var medicineScene=document.getElementsByName("medicineScene");
  717. for(var i=0;i<medicineScene.length;i++){
  718. medicineScene.checked=false;
  719. }
  720. }
  721. if(type=="3"){
  722. // 清空未执业依据选项
  723. var wzyStatus = document.getElementsByName("wzyStatus");
  724. for(var i=0;i<wzyStatus.length;i++){
  725. wzyStatus[i].checked = false;
  726. }
  727. }
  728. if(type=="4"){
  729. // 清空已搬离依据选项
  730. var yblStatus = document.getElementsByName("yblStatus");
  731. for(var i=0;i<yblStatus.length;i++){
  732. yblStatus[i].checked = false;
  733. }
  734. }
  735. document.getElementById("nk").checked=false;
  736. document.getElementById("yk").checked=false;
  737. document.getElementById("ylmr").checked=false;
  738. document.getElementById("xyqt").checked=false;
  739. document.getElementById("xyqtContent").value="";
  740. document.getElementById("yblyjContent").value="";
  741. document.getElementById("wzyyjContent").value="";
  742. }
  743. var SEQ_REPORT_ID=0;
  744. var SEQ_TASK_ID=0;
  745. var role;
  746. window.onload = function init() {
  747. loadMajor();
  748. loadDistrict();
  749. var districtcode=localStorage.getItem("districtcode");
  750. loadTown(districtcode);
  751. role = localStorage.getItem("ROLE");
  752. if(role=="3" ||role=="21"){
  753. document.getElementById("xcjgDiv").style.display="block";
  754. document.getElementById("buttonCommit").style.display="none";
  755. }else{
  756. document.getElementById("xcjgDiv").style.display="none";
  757. document.getElementById("buttonCommit").style.display="block";
  758. }
  759. //querySEQ_REPORT_ID();
  760. //querySEQ_TASK_ID();
  761. }
  762. function onchangedistrict() {
  763. var select_district=document.getElementById("select_district").value;
  764. loadTown(select_district);
  765. }
  766. function querySEQ_REPORT_ID() {
  767. var str = "select seq_report_id.nextval as seq from dual ";
  768. new WsCommonClass("QueryDataBaseJson", ["sql"], [str], querySuccess, "querySEQ_REPORT_ID");
  769. }
  770. function querySEQ_TASK_ID() {
  771. var str = "select SEQ_TASK_ID.nextval as seq from dual ";
  772. new WsCommonClass("QueryDataBaseJson", ["sql"], [str], querySuccess, "querySEQ_TASK_ID");
  773. }
  774. </script>
  775. </head>
  776. <body background="assets/image/login.png" style=" background-repeat:no-repeat ;background-size:100% 100%;background-attachment: fixed;">
  777. <header class="mui-bar mui-bar-nav">
  778. <h1 class="mui-title">新增排查点</h1>
  779. </header>
  780. <div class="mainDiv" style="overflow: scroll;width: 100%;height: 88%; ">
  781. <div style="width: 100%;margin: 0 auto;">
  782. <div class="mui-input-group" style="margin: 1.25rem 0.625rem 0.625rem 0.625rem;">
  783. <div class="mui-input-row" >
  784. <label><sapn style="color: red">*</sapn>执业地址:</label>
  785. <input id="txt_address" type="text" class="mui-input-clear" value="" placeholder="请输入执业地址">
  786. </div>
  787. <div class="mui-input-row">
  788. <label><sapn style="color: red">*</sapn>姓名:</label>
  789. <input id="txt_name" type="text" class="mui-input-clear" value="" placeholder="请输入姓名">
  790. </div>
  791. <div class="mui-input-row">
  792. <label>身份证:</label>
  793. <input id="select_num" type="text" class="mui-input-clear" value="" placeholder="请输入身份证">
  794. </div>
  795. <div class="mui-input-row">
  796. <label><sapn style="color: red">*</sapn>从事专业:</label>
  797. <select id="select_major" class="mui-btn-block" ></select>
  798. </div>
  799. <div class="mui-input-row">
  800. <label><sapn style="color: red">*</sapn>所属区县:</label>
  801. <select id="select_district" class="mui-btn-block" onchange="onchangedistrict()"></select>
  802. </div>
  803. <div class="mui-input-row">
  804. <label><sapn style="color: red">*</sapn>所属街镇:</label>
  805. <select id="select_town" class="mui-btn-block" ></select>
  806. </div>
  807. </div>
  808. </div>
  809. <div style="width: 100%;height: 30%;margin: 0 auto;" id="xcjgDiv">
  810. <div class="mui-card" >
  811. <ul class="mui-table-view">
  812. <!--巡查结果-->
  813. <!-- <li class="mui-table-view-cell mui-collapse" style="display: block;" id="patrolLi0">-->
  814. <!-- <a class="mui-navigate-right" href="#"><label style="color: red">*</label> 巡查结果</a>-->
  815. <!-- <div class="mui-collapse-content">-->
  816. <!-- <div class="mui-input-row mui-radio">-->
  817. <!-- <label>执业中</label>-->
  818. <!-- <input type="radio" name="TaskStatus" value="1" onchange="TaskStatusChange()">-->
  819. <!-- </div>-->
  820. <!-- <div class="mui-input-row mui-radio">-->
  821. <!-- <label>可疑执业</label>-->
  822. <!-- <input type="radio" name="TaskStatus" value="3" onchange="TaskStatusChange()">-->
  823. <!-- </div>-->
  824. <!-- <div class="mui-input-row mui-radio ">-->
  825. <!-- <label>未执业</label>-->
  826. <!-- <input type="radio" name="TaskStatus" value="4" onchange="TaskStatusChange()">-->
  827. <!-- </div>-->
  828. <!-- <div class="mui-input-row mui-radio ">-->
  829. <!-- <label>已搬离</label>-->
  830. <!-- <input type="radio" name="TaskStatus" value="2" onchange="TaskStatusChange()">-->
  831. <!-- </div>-->
  832. <!-- </div>-->
  833. <!-- </li>-->
  834. <!--已搬离判断依据-->
  835. <!-- <li class="mui-table-view-cell mui-collapse" style="display: none" id="patrolLi4">-->
  836. <!-- <a class="mui-navigate-right" href="#"><label style="color: red">*</label> 判断依据</a>-->
  837. <!-- <div class="mui-collapse-content">-->
  838. <!-- <div class="mui-input-row mui-radio">-->
  839. <!-- <label>该点位已拆迁</label>-->
  840. <!-- <input type="radio" name="yblStatus" value="1">-->
  841. <!-- </div>-->
  842. <!-- <div class="mui-input-row mui-radio">-->
  843. <!-- <label>该点位业态已改变</label>-->
  844. <!-- <input type="radio" name="yblStatus" value="2">-->
  845. <!-- </div>-->
  846. <!-- <div class="mui-input-row mui-radio">-->
  847. <!-- <label>该点位已更换实际居住人</label>-->
  848. <!-- <input type="radio" name="yblStatus" value="3">-->
  849. <!-- </div>-->
  850. <!-- <div class="mui-input-row mui-radio">-->
  851. <!-- <label>经与知情人询问后确认</label>-->
  852. <!-- <input type="radio" name="yblStatus" value="4">-->
  853. <!-- </div>-->
  854. <!-- <div class="mui-input-row mui-radio">-->
  855. <!-- <label>其他请填写备注(必填) <input style="width: 150px" id="yblyjContent"></label>-->
  856. <!-- <input type="radio" name="yblStatus" value="5">-->
  857. <!-- </div>-->
  858. <!-- </div>-->
  859. <!-- </li>-->
  860. <!--未执业判断依据-->
  861. <!-- <li class="mui-table-view-cell mui-collapse" style="display: none" id="patrolLi5">-->
  862. <!-- <a class="mui-navigate-right" href="#"><label style="color: red">*</label> 判断依据</a>-->
  863. <!-- <div class="mui-collapse-content">-->
  864. <!-- <div class="mui-input-row mui-radio">-->
  865. <!-- <label>无法进入现场</label>-->
  866. <!-- <input type="radio" name="wzyStatus" value="1">-->
  867. <!-- </div>-->
  868. <!-- <div class="mui-input-row mui-radio">-->
  869. <!-- <label>已进入现场,未发现可疑行医迹象</label>-->
  870. <!-- <input type="radio" name="wzyStatus" value="2">-->
  871. <!-- </div>-->
  872. <!-- <div class="mui-input-row mui-radio">-->
  873. <!-- <label>其他请填写备注(必填) <input style="width: 150px" id="wzyyjContent"></label>-->
  874. <!-- <input type="radio" name="wzyStatus" value="3">-->
  875. <!-- </div>-->
  876. <!-- </div>-->
  877. <!-- </li>-->
  878. <!--现场查见-->
  879. <li class="mui-table-view-cell mui-collapse" id="patrolLi1"><!--style="display: none"-->
  880. <a class="mui-navigate-right" href="#"><label style="color: red">*</label> 现场查见</a>
  881. <div class="mui-collapse-content">
  882. <div class="mui-input-row mui-checkbox">
  883. <label>药品
  884. <div id="ypDiv" style="display: none;">
  885. <input style="width: 80px;height: 30px" id="ypNum" type="number" oninput="if(value>1000)value='';if(value<0)value='';"> 箱
  886. </div>
  887. </label>
  888. <input type="checkbox" id="yp" onchange="XccjSelectChange(1)">
  889. </div>
  890. <div class="mui-input-row mui-checkbox">
  891. <label>医疗器械
  892. <div id="ylqxDiv" style="display: none;">
  893. <input style="width: 80px;height: 30px" id="ylqxNum" type="number" oninput="if(value>1000)value='';if(value<0)value='';"> 件
  894. </div>
  895. </label>
  896. <input type="checkbox" id="ylqx" onchange="XccjSelectChange(2)">
  897. </div>
  898. <div class="mui-input-row mui-checkbox">
  899. <label>医疗废弃物
  900. <div id="ylfqwDiv" style="display: none;">
  901. <input style="width: 80px;height: 30px" id="ylfqwNum" type="number" oninput="if(value>1000)value='';if(value<0)value='';"> 件
  902. </div>
  903. </label>
  904. <input type="checkbox" id="ylfqw" onchange="XccjSelectChange(3)">
  905. </div>
  906. <div class="mui-input-row mui-checkbox">
  907. <label>挂牌
  908. <div id="gpmcDiv" style="display: none;">
  909. (名称:<input style="width: 100px" id="gpmcName"> )
  910. </div>
  911. </label>
  912. <input type="checkbox" id="gpmc" onchange="XccjSelectChange(4)">
  913. </div>
  914. <div class="mui-input-row mui-checkbox">
  915. <label>小名片/小广告</label>
  916. <input type="checkbox" id="xmp" >
  917. </div>
  918. <div class="mui-input-row mui-checkbox">
  919. <label>牙椅</label>
  920. <input type="checkbox" id="yy" >
  921. </div>
  922. <div class="mui-input-row mui-checkbox">
  923. <label>经与知情人询问后确认</label>
  924. <input type="checkbox" id="xwhqr" >
  925. </div>
  926. <div class="mui-input-row mui-checkbox">
  927. <label>其他
  928. <div id="xcqtDiv" style="display: none;">
  929. (备注:<input style="width: 150px" id="xcqtContent"> )
  930. </div>
  931. </label>
  932. <input type="checkbox" id="xcqt" onchange="XccjSelectChange(5)">
  933. </div>
  934. </div>
  935. </li>
  936. <!--行医人是否在现场-->
  937. <li class="mui-table-view-cell mui-collapse" id="patrolLi2"><!--style="display: none"-->
  938. <a class="mui-navigate-right" href="#"><label style="color: red">*</label> 行医人是否在现场</a>
  939. <div class="mui-collapse-content">
  940. <div class="mui-input-row mui-radio">
  941. <label>是</label>
  942. <input type="radio" name="medicineScene" value="1">
  943. </div>
  944. <div class="mui-input-row mui-radio">
  945. <label>否</label>
  946. <input type="radio" name="medicineScene" value="0">
  947. </div>
  948. </div>
  949. </li>
  950. <!--行医内容-->
  951. <li class="mui-table-view-cell mui-collapse" id="patrolLi3"><!--style="display: none"-->
  952. <a class="mui-navigate-right" href="#"><label style="color: red;" id="xynrLable">*</label> 行医内容</a>
  953. <div class="mui-collapse-content">
  954. <div class="mui-input-row mui-checkbox">
  955. <label>内科</label>
  956. <input type="checkbox" id="nk" >
  957. </div>
  958. <div class="mui-input-row mui-checkbox">
  959. <label>牙科</label>
  960. <input type="checkbox" id="yk" >
  961. </div>
  962. <div class="mui-input-row mui-checkbox">
  963. <label>医疗美容</label>
  964. <input type="checkbox" id="ylmr" >
  965. </div>
  966. <div class="mui-input-row mui-checkbox">
  967. <label>其他 <input style="width: 150px" id="xyqtContent"></label>
  968. <input type="checkbox" id="xyqt" >
  969. </div>
  970. </div>
  971. </li>
  972. <!--拍照或上传图片-->
  973. <li class="mui-table-view-cell mui-collapse">
  974. <a class="mui-navigate-right" href="#"><label style="color: red">*</label>拍照或上传图片</a>
  975. <div class="mui-collapse-content">
  976. <div class="mui-content" style="width: 93%;height: 200px;margin: 0 auto;background-color: #91DBD9;">
  977. <form id='from1' enctype = "multipart/form-data">
  978. <div style="margin-top: 16px;margin-bottom: 10px;">
  979. <div class="image-uploads" style="width: 120px;position: absolute;">
  980. <label for="imgUploads">
  981. <img src="img/show3.png" id="addnew" style="width: 20px;height: 20px;margin-left: 10px;margin-top: 10px;" />
  982. </label>
  983. <input id="imgUploads" style="width: 180px;" type="file" name="imageUpload" accept="image/*" capture="camera" onchange="loadUpImgs()" />
  984. </div>
  985. <span class="title" style="color: #F9FDFD;font-size: 15px;margin-top: 10px;position: absolute;margin-left: 40px;">拍照</span>
  986. <div class="image-upload" style="width: 120px;position: absolute;margin-left: 70px;">
  987. <label for="imgUpload">
  988. <img src="img/imgadd.png" id="addnew1" style="width: 20px;height: 20px;margin-left: 10px;margin-top: 10px;" />
  989. </label>
  990. <input id="imgUpload" style="width: 180px;" type="file" name="imageUpload" accept="image/*" onchange="loadUpImg()" />
  991. </div>
  992. <span class="title" style="color: #F9FDFD;font-size: 15px;margin-top: 10px;position: absolute;margin-left: 110px;">从相册选取</span>
  993. <span id="picnum" style="float: right;font-size: 12px; color: #F9FDFD;margin-top: 10px;position: absolute;margin-left: 200px;">0/5</span>
  994. </div>
  995. <div class="dynamic_images" style="background-color: #91DBD9;height: 70px;width: 100%;padding-left: 40px;padding-right: 15px;">
  996. <ul class="row mui-input-row" style="width: 83%;height: 80%;margin-top: 30px;position: absolute;margin-left: -5%;">
  997. <img src="img/show.png" id="showimg"/>
  998. </ul>
  999. </div>
  1000. </form>
  1001. </div>
  1002. </div>
  1003. </li>
  1004. <!--提交-->
  1005. <li class="mui-table-view-cell mui-collapse " >
  1006. <div style="margin-left: 2rem;" >
  1007. <button type="button" class="mui-btn mui-btn-primary " onclick="AddNew()" style="width: 90%;">提交</button>
  1008. </div>
  1009. </li>
  1010. </ul>
  1011. </div>
  1012. </div>
  1013. <div style="margin-left: 2rem;" id="buttonCommit">
  1014. <button type="button" class="mui-btn mui-btn-primary " onclick="AddNew()" style="width: 90%;">提交</button>
  1015. </div>
  1016. <nav class="mui-bar mui-bar-tab">
  1017. <a href="firstPage.html" id="mainpage" class="mui-tab-item ">
  1018. <span class="mui-icon mui-icon-home"></span>
  1019. <span class="mui-tab-label">主页</span>
  1020. </a>
  1021. <a href="projectInfo.html" id="addpage" class="mui-tab-item mui-active">
  1022. <span class="mui-icon mui-icon-chatboxes"></span>
  1023. <span class="mui-tab-label">添加</span>
  1024. </a>
  1025. <a href="myInfo.html" id="exit" class="mui-tab-item">
  1026. <span class="mui-icon mui-icon-gear"></span>
  1027. <span class="mui-tab-label">退出</span>
  1028. </a>
  1029. </nav>
  1030. </div>
  1031. </body>
  1032. </html>