addTest.html 46 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059
  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 = "mainTest.html?date=" + getDateStr();
  113. });
  114. $(document).on("click", '#addpage', function() {
  115. // mui.alert('模块更新中 敬请期待!!!', '系统提示', function() {});
  116. window.location = "addTest.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 = "loginTest.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. var strSqlTask="insert INTO HEALTH.一户一档 (ID,NAME,BODY," +
  447. "REGISTERE,IDTYPE,COUNTY,COUNTYSSTRING," +
  448. "MAJOR,STREET,STREETID,SENDMONTH,SENDYEAR,SENDTIME,SOURCE,SOURCESUB,NUM)" +
  449. "values ("+SEQ_TASK_ID+",'"+document.getElementById("txt_name").value+"','个人'" +
  450. ",'"+document.getElementById("txt_address").value+"','身份证','"+$("#select_district option:selected").val()+"'" +
  451. ",'"+$("#select_district option:selected").text().replace('区','').replace('新','')+"','"+$("#select_major option:selected").val()+"'" +
  452. ",'"+$("#select_town option:selected").text()+"','"+$("#select_town option:selected").val()+"',"+month+","+year+",sysdate,"+souce+","+soucesub+
  453. ",'"+document.getElementById("select_num").value+"')";
  454. console.log(strSqlTask);
  455. new WsCommonClass("QueryDataBaseJson", ["sql"], [strSqlTask], querySuccess, "AddInfo");
  456. //alert(strSqlTask)
  457. // for(i=0;i<=objimgs.length;i++){
  458. //console.log(objimgs[i].img+"===****"+objimgs[i].imge+"");
  459. if (objimgs.length == 0) {
  460. var strSql = "insert into health.巡检状态(ID,一户一档ID,状态,手机,照片1,照片2) " +
  461. "values( "+SEQ_REPORT_ID+",'" + SEQ_TASK_ID + "','" + status + "','"+localStorage.getItem("mobile")+"','','')";
  462. console.log(strSql);
  463. new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql], querySuccess, "AddInfo");
  464. } else if (objimgs.length == 1) {
  465. var strSql = "insert into health.巡检状态(ID,一户一档ID,状态,手机,照片1,照片2) " +
  466. "values("+SEQ_REPORT_ID+",'" + SEQ_TASK_ID + "','" + status + "','"+localStorage.getItem("mobile")+"','" + objimgs[0].img + "','')";
  467. //alert(strSql)
  468. new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql], querySuccess, "AddInfo");
  469. } else if (objimgs.length == 2) {
  470. var strSql = "insert into health.巡检状态(ID,一户一档ID,状态,手机,照片1,照片2) " +
  471. "values("+SEQ_REPORT_ID+",'" + SEQ_TASK_ID + "','" + status + "','"+localStorage.getItem("mobile")+"','" + objimgs[0].img + "','" + objimgs[1].img + "')";
  472. console.log(strSql);
  473. new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql], querySuccess, "AddInfo");
  474. } else if (objimgs.length == 3) {
  475. var strSql = "insert into health.巡检状态(ID,一户一档ID,状态,手机,照片1,照片2,照片3) " +
  476. "values("+SEQ_REPORT_ID+",'" + SEQ_TASK_ID + "','" + status + "','"+localStorage.getItem("mobile")+"','" + objimgs[0].img + "','" + objimgs[1].img + "','" + objimgs[2].img + "')";
  477. console.log(strSql);
  478. new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql], querySuccess, "AddInfo");
  479. }
  480. else if (objimgs.length == 4) {
  481. var strSql = "insert into health.巡检状态(ID,一户一档ID,状态,手机,照片1,照片2,照片3,照片4) " +
  482. "values("+SEQ_REPORT_ID+",'" + SEQ_TASK_ID + "','" + status + "','"+localStorage.getItem("mobile")+"','" + objimgs[0].img + "','" + objimgs[1].img + "','" + objimgs[2].img + "','" + objimgs[3].img + "')";
  483. console.log(strSql);
  484. new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql], querySuccess, "AddInfo");
  485. }
  486. else if (objimgs.length == 5) {
  487. var strSql = "insert into health.巡检状态(ID,一户一档ID,状态,手机,照片1,照片2,照片3,照片4,照片5) " +
  488. "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 + "')";
  489. new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql], querySuccess, "AddInfo");
  490. }
  491. var strSql1 = "insert into health.PATROLSTATUS (ID,PATROLSTATUSID" +
  492. ", DRUG,DRUGNUM,INSTRUMENT,INSTRUMENTNUM,WASTE,WASTENUM," +
  493. " LISTED,LISTEDNAME,ADLET,DENTALCHAIR,INSIDERASK,SCENEOTHER,SCENEOTHERCONTENT" +
  494. ",WHETHERINSCENE" +
  495. ",INTERNALMEDICINE,DENTAL,MEDICAKBEAUTY, MEDICINEOTHER,MEDICINEOTHERCONTENT,"+
  496. "MOVEDACCORDING,MOVEDOTHER,NOTPRACTICINGACCORDING,NOTPRACTICINGOTHER)" +
  497. "values (SEQ_TASKSTATUS_ID.NEXTVAL, "+SEQ_REPORT_ID+" " +
  498. ","+yp+",'"+document.getElementById("ypNum").value+"',"+ylqx+",'"+document.getElementById("ylqxNum").value+"'" +
  499. ","+ylfqw+",'"+document.getElementById("ylfqwNum").value+"',"+gpmc+",'"+document.getElementById("gpmcName").value+"'" +
  500. ","+xmp+","+yy+","+xwhqy+","+xcqt+",'"+document.getElementById("xcqtContent").value+"',"+medicine+","+nk+"" +
  501. ","+yk+","+ylmr+","+xyqt+",'"+document.getElementById("xyqtContent").value+"'"+
  502. ","+_yblStatus+",'"+_yblyjContent+"',"+_wzyStatus+",'"+_wzyyjContent+"')";
  503. // alert(strSql1)
  504. console.log(strSql1);
  505. new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql1], querySuccess, "AddInfo");
  506. }else{
  507. var strSqlTask="insert INTO HEALTH.一户一档 (ID,NAME,BODY," +
  508. "REGISTERE,IDTYPE,COUNTY,COUNTYSSTRING," +
  509. "MAJOR,STREET,STREETID,SENDMONTH,SENDYEAR,SENDTIME,SOURCE,SOURCESUB,NUM)" +
  510. "values ("+SEQ_TASK_ID+",'"+document.getElementById("txt_name").value+"','个人'" +
  511. ",'"+document.getElementById("txt_address").value+"','身份证','"+$("#select_district option:selected").val()+"'" +
  512. ",'"+$("#select_district option:selected").text().replace('区','').replace('新','')+"','"+$("#select_major option:selected").val()+"'" +
  513. ",'"+$("#select_town option:selected").text()+"','"+$("#select_town option:selected").val()+"',"+month+","+year+",sysdate,"+souce+","+soucesub+
  514. ",'"+document.getElementById("select_num").value+"')";
  515. new WsCommonClass("QueryDataBaseJson", ["sql"], [strSqlTask], querySuccess, "AddInfo");
  516. //alert(strSqlTask)
  517. var strSql = "insert into 巡检状态(ID,一户一档ID,状态,手机,照片1,照片2 ) " +
  518. "values("+SEQ_REPORT_ID+",'" + SEQ_TASK_ID + "','" + status + "','"+localStorage.getItem("mobile")+"','','')";
  519. //new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql], querySuccess, "queryUser");
  520. var strSql1 = "insert into health.PATROLSTATUS (ID,PATROLSTATUSID" +
  521. ", DRUG,DRUGNUM,INSTRUMENT,INSTRUMENTNUM,WASTE,WASTENUM," +
  522. " LISTED,LISTEDNAME,ADLET,DENTALCHAIR,INSIDERASK,SCENEOTHER,SCENEOTHERCONTENT" +
  523. ",WHETHERINSCENE" +
  524. ",INTERNALMEDICINE,DENTAL,MEDICAKBEAUTY, MEDICINEOTHER,MEDICINEOTHERCONTENT,"+
  525. "MOVEDACCORDING,MOVEDOTHER,NOTPRACTICINGACCORDING,NOTPRACTICINGOTHER)" +
  526. "values (seq_taskstatus_id.nextval,"+SEQ_REPORT_ID+"" +
  527. ","+yp+",'"+document.getElementById("ypNum").value+"',"+ylqx+",'"+document.getElementById("ylqxNum").value+"'" +
  528. ","+ylfqw+",'"+document.getElementById("ylfqwNum").value+"',"+gpmc+",'"+document.getElementById("gpmcName").value+"'" +
  529. ","+xmp+","+yy+","+xwhqy+","+xcqt+",'"+document.getElementById("xcqtContent").value+"',"+medicine+","+nk+"" +
  530. ","+yk+","+ylmr+","+xyqt+",'"+document.getElementById("xyqtContent").value+"'"+
  531. ","+_yblStatus+",'"+_yblyjContent+"',"+_wzyStatus+",'"+_wzyyjContent+"')";
  532. //alert(strSql)
  533. //alert(strSql1)
  534. new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql], querySuccess, "AddInfo");
  535. new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql1], querySuccess, "AddInfo");
  536. }
  537. }
  538. var address;
  539. var name;
  540. var major;
  541. var district;
  542. var town;
  543. var userid;
  544. var txt_nums;
  545. function Addfuntion(){
  546. address = $("#txt_address").val();
  547. name = $("#txt_name").val();
  548. txt_nums = $("#select_num").val();
  549. major = Select_GetSelectText("select_major");
  550. district = localStorage.getItem("district");
  551. town = localStorage.getItem("town");
  552. userid = localStorage.getItem("userid");
  553. adddataimg = localStorage.getItem("adddataimg");
  554. if(address == ""||name == ""||major == ""){
  555. alerts('请输入完整信息',commitok)
  556. //mui.alert('!', '系统提示', function() {});
  557. }else{
  558. //alerts('是否确认新增排查点',commitButton)
  559. sprompt('是否确认新增排查点','',commitButton,closefun,'alert')
  560. }
  561. }
  562. function loadMajor() {
  563. var strSql = "select t.编码 as code,t.名称 as name,t.备注 as memo from view_编码表无证对象专业 t order by code";
  564. new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql], querySuccess, "loadMajor");
  565. }
  566. function loadDistrict() {
  567. var strSql = "select DISTINCT t.district,t.districtcode from 系统用户信息表新 t where t.DISTRICT!='上海市' ";
  568. new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql], querySuccess, "loadDistrict");
  569. }
  570. function loadTown(districtcode) {
  571. var strSql = "select DISTINCT t.TOWN,t.TOWNCODE from 系统用户信息表新 t " +
  572. "where t.TOWNCODE is not null and t.districtcode='"+districtcode+"'";
  573. new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql], querySuccess, "loadTown");
  574. }
  575. function successinfo(){
  576. mui.toast("新增排查点成功!");
  577. window.location="mainTest.html?date="+getDateStr();
  578. }
  579. function querySuccess(evt, keyvalue) {
  580. var jsonData = evt.data;
  581. if (jsonData != null) {
  582. switch (keyvalue) {
  583. case "loadMajor":
  584. Select_DyCreate("select_major", jsonData, "CODE", "NAME");
  585. break;
  586. case "AddInfo":
  587. addStatus=0;
  588. setTimeout(successinfo,3000);
  589. insertActionRecord('用户操作新增排查点');
  590. break;
  591. case "loadDistrict":
  592. Select_DyCreate("select_district", jsonData, "DISTRICTCODE", "DISTRICT");
  593. var districtcode=localStorage.getItem("districtcode");
  594. if(districtcode!=""){
  595. document.getElementById("select_district").value=districtcode;
  596. }
  597. break;
  598. case "loadTown":
  599. Select_DyCreate("select_town", jsonData, "TOWNCODE", "TOWN");
  600. var towncode=localStorage.getItem("towncode");
  601. if(towncode!=""){
  602. document.getElementById("select_town").value=towncode;
  603. }
  604. break;
  605. case "querySEQ_REPORT_ID":
  606. SEQ_REPORT_ID=evt.data[0].SEQ;
  607. querySEQ_TASK_ID();
  608. break;
  609. case "querySEQ_TASK_ID":
  610. SEQ_TASK_ID=evt.data[0].SEQ;
  611. commitButton();
  612. break;
  613. }
  614. }
  615. }
  616. function TaskStatusChange() {
  617. var TaskStatus=document.getElementsByName("TaskStatus");
  618. var status="";
  619. for(var i=0;i<TaskStatus.length;i++){
  620. if(TaskStatus[i].checked==true){
  621. status=TaskStatus[i].value;
  622. }
  623. }
  624. // 执行中or可疑执业
  625. if(status=="1" ||status=="3"){
  626. document.getElementById("patrolLi1").style.display="";
  627. document.getElementById("patrolLi2").style.display="";
  628. document.getElementById("patrolLi3").style.display="";
  629. document.getElementById("patrolLi4").style.display="none";
  630. document.getElementById("patrolLi5").style.display="none";
  631. if(status=="1"){
  632. document.getElementById("xynrLable").style.display="";
  633. }else{
  634. document.getElementById("xynrLable").style.display="none";
  635. }
  636. empty("3");
  637. empty("4");
  638. }
  639. // 未执业
  640. else if(status=="4"){
  641. document.getElementById("patrolLi1").style.display="none";
  642. document.getElementById("patrolLi2").style.display="";
  643. document.getElementById("patrolLi3").style.display="none";
  644. document.getElementById("patrolLi4").style.display="none";
  645. document.getElementById("patrolLi5").style.display="block";
  646. // empty(4);
  647. empty("4");
  648. }
  649. // 已搬离
  650. else if(status=="2"){
  651. document.getElementById("patrolLi1").style.display="none";
  652. document.getElementById("patrolLi2").style.display="none";
  653. document.getElementById("patrolLi3").style.display="none";
  654. document.getElementById("patrolLi4").style.display="block";
  655. document.getElementById("patrolLi5").style.display="none";
  656. // empty(2);
  657. empty("2");
  658. empty("3");
  659. }
  660. }
  661. function XccjSelectChange(type){
  662. //先全部隐藏
  663. document.getElementById("ypDiv").style.display = "none";
  664. document.getElementById("ylqxDiv").style.display = "none";
  665. document.getElementById("ylfqwDiv").style.display = "none";
  666. document.getElementById("gpmcDiv").style.display = "none";
  667. document.getElementById("xcqtDiv").style.display = "none";
  668. //根据类型判断
  669. if(type == 1){
  670. if(document.getElementById("yp").checked){
  671. document.getElementById("ypDiv").style.display = "block";
  672. }
  673. }
  674. if(type == 2){
  675. if(document.getElementById("ylqx").checked){
  676. document.getElementById("ylqxDiv").style.display = "block";
  677. }
  678. }
  679. if(type == 3){
  680. if(document.getElementById("ylfqw").checked){
  681. document.getElementById("ylfqwDiv").style.display = "block";
  682. }
  683. }
  684. if(type == 4){
  685. if(document.getElementById("gpmc").checked){
  686. document.getElementById("gpmcDiv").style.display = "block";
  687. }
  688. }
  689. if(type == 5){
  690. if(document.getElementById("xcqt").checked){
  691. document.getElementById("xcqtDiv").style.display = "block";
  692. }
  693. }
  694. }
  695. function empty(type) {
  696. document.getElementById("yp").checked=false;
  697. document.getElementById("ypNum").value="";
  698. document.getElementById("ylqx").checked=false;
  699. document.getElementById("ylqxNum").value="";
  700. document.getElementById("ylfqw").checked=false;
  701. document.getElementById("ylfqwNum").value="";
  702. document.getElementById("gpmc").checked=false;
  703. document.getElementById("gpmcName").value="";
  704. document.getElementById("xmp").checked=false;
  705. document.getElementById("yy").checked=false;
  706. document.getElementById("xwhqr").checked=false;
  707. document.getElementById("xcqt").checked=false;
  708. document.getElementById("xcqtContent").value="";
  709. if(type=="2"){
  710. var medicineScene=document.getElementsByName("medicineScene");
  711. for(var i=0;i<medicineScene.length;i++){
  712. medicineScene.checked=false;
  713. }
  714. }
  715. if(type=="3"){
  716. // 清空未执业依据选项
  717. var wzyStatus = document.getElementsByName("wzyStatus");
  718. for(var i=0;i<wzyStatus.length;i++){
  719. wzyStatus[i].checked = false;
  720. }
  721. }
  722. if(type=="4"){
  723. // 清空已搬离依据选项
  724. var yblStatus = document.getElementsByName("yblStatus");
  725. for(var i=0;i<yblStatus.length;i++){
  726. yblStatus[i].checked = false;
  727. }
  728. }
  729. document.getElementById("nk").checked=false;
  730. document.getElementById("yk").checked=false;
  731. document.getElementById("ylmr").checked=false;
  732. document.getElementById("xyqt").checked=false;
  733. document.getElementById("xyqtContent").value="";
  734. document.getElementById("yblyjContent").value="";
  735. document.getElementById("wzyyjContent").value="";
  736. }
  737. var SEQ_REPORT_ID=0;
  738. var SEQ_TASK_ID=0;
  739. var role;
  740. window.onload = function init() {
  741. loadMajor();
  742. loadDistrict();
  743. var districtcode=localStorage.getItem("districtcode");
  744. loadTown(districtcode);
  745. role = localStorage.getItem("ROLE");
  746. if(role=="3" ||role=="21"){
  747. document.getElementById("xcjgDiv").style.display="block";
  748. document.getElementById("buttonCommit").style.display="none";
  749. }else{
  750. document.getElementById("xcjgDiv").style.display="none";
  751. document.getElementById("buttonCommit").style.display="block";
  752. }
  753. //querySEQ_REPORT_ID();
  754. //querySEQ_TASK_ID();
  755. }
  756. function onchangedistrict() {
  757. var select_district=document.getElementById("select_district").value;
  758. loadTown(select_district);
  759. }
  760. function querySEQ_REPORT_ID() {
  761. var str = "select seq_report_id.nextval as seq from dual ";
  762. new WsCommonClass("QueryDataBaseJson", ["sql"], [str], querySuccess, "querySEQ_REPORT_ID");
  763. }
  764. function querySEQ_TASK_ID() {
  765. var str = "select SEQ_TASK_ID.nextval as seq from dual ";
  766. new WsCommonClass("QueryDataBaseJson", ["sql"], [str], querySuccess, "querySEQ_TASK_ID");
  767. }
  768. </script>
  769. </head>
  770. <body background="assets/image/login.png" style=" background-repeat:no-repeat ;background-size:100% 100%;background-attachment: fixed;">
  771. <header class="mui-bar mui-bar-nav">
  772. <h1 class="mui-title">新增排查点</h1>
  773. </header>
  774. <div class="mainDiv" style="overflow: scroll;width: 100%;height: 88%; ">
  775. <div style="width: 100%;margin: 0 auto;">
  776. <div class="mui-input-group" style="margin: 1.25rem 0.625rem 0.625rem 0.625rem;">
  777. <div class="mui-input-row" >
  778. <label><sapn style="color: red">*</sapn>执业地址:</label>
  779. <input id="txt_address" type="text" class="mui-input-clear" value="" placeholder="请输入执业地址">
  780. </div>
  781. <div class="mui-input-row">
  782. <label><sapn style="color: red">*</sapn>姓名:</label>
  783. <input id="txt_name" type="text" class="mui-input-clear" value="" placeholder="请输入姓名">
  784. </div>
  785. <div class="mui-input-row">
  786. <label>身份证:</label>
  787. <input id="select_num" type="text" class="mui-input-clear" value="" placeholder="请输入身份证">
  788. </div>
  789. <div class="mui-input-row">
  790. <label><sapn style="color: red">*</sapn>从事专业:</label>
  791. <select id="select_major" class="mui-btn-block" ></select>
  792. </div>
  793. <div class="mui-input-row">
  794. <label><sapn style="color: red">*</sapn>所属区县:</label>
  795. <select id="select_district" class="mui-btn-block" onchange="onchangedistrict()"></select>
  796. </div>
  797. <div class="mui-input-row">
  798. <label><sapn style="color: red">*</sapn>所属街镇:</label>
  799. <select id="select_town" class="mui-btn-block" ></select>
  800. </div>
  801. </div>
  802. </div>
  803. <div style="width: 100%;height: 30%;margin: 0 auto;" id="xcjgDiv">
  804. <div class="mui-card" >
  805. <ul class="mui-table-view">
  806. <!--巡查结果-->
  807. <!-- <li class="mui-table-view-cell mui-collapse" style="display: block;" id="patrolLi0">-->
  808. <!-- <a class="mui-navigate-right" href="#"><label style="color: red">*</label> 巡查结果</a>-->
  809. <!-- <div class="mui-collapse-content">-->
  810. <!-- <div class="mui-input-row mui-radio">-->
  811. <!-- <label>执业中</label>-->
  812. <!-- <input type="radio" name="TaskStatus" value="1" onchange="TaskStatusChange()">-->
  813. <!-- </div>-->
  814. <!-- <div class="mui-input-row mui-radio">-->
  815. <!-- <label>可疑执业</label>-->
  816. <!-- <input type="radio" name="TaskStatus" value="3" onchange="TaskStatusChange()">-->
  817. <!-- </div>-->
  818. <!-- <div class="mui-input-row mui-radio ">-->
  819. <!-- <label>未执业</label>-->
  820. <!-- <input type="radio" name="TaskStatus" value="4" onchange="TaskStatusChange()">-->
  821. <!-- </div>-->
  822. <!-- <div class="mui-input-row mui-radio ">-->
  823. <!-- <label>已搬离</label>-->
  824. <!-- <input type="radio" name="TaskStatus" value="2" onchange="TaskStatusChange()">-->
  825. <!-- </div>-->
  826. <!-- </div>-->
  827. <!-- </li>-->
  828. <!--已搬离判断依据-->
  829. <!-- <li class="mui-table-view-cell mui-collapse" style="display: none" id="patrolLi4">-->
  830. <!-- <a class="mui-navigate-right" href="#"><label style="color: red">*</label> 判断依据</a>-->
  831. <!-- <div class="mui-collapse-content">-->
  832. <!-- <div class="mui-input-row mui-radio">-->
  833. <!-- <label>该点位已拆迁</label>-->
  834. <!-- <input type="radio" name="yblStatus" value="1">-->
  835. <!-- </div>-->
  836. <!-- <div class="mui-input-row mui-radio">-->
  837. <!-- <label>该点位业态已改变</label>-->
  838. <!-- <input type="radio" name="yblStatus" value="2">-->
  839. <!-- </div>-->
  840. <!-- <div class="mui-input-row mui-radio">-->
  841. <!-- <label>该点位已更换实际居住人</label>-->
  842. <!-- <input type="radio" name="yblStatus" value="3">-->
  843. <!-- </div>-->
  844. <!-- <div class="mui-input-row mui-radio">-->
  845. <!-- <label>经与知情人询问后确认</label>-->
  846. <!-- <input type="radio" name="yblStatus" value="4">-->
  847. <!-- </div>-->
  848. <!-- <div class="mui-input-row mui-radio">-->
  849. <!-- <label>其他请填写备注(必填) <input style="width: 150px" id="yblyjContent"></label>-->
  850. <!-- <input type="radio" name="yblStatus" value="5">-->
  851. <!-- </div>-->
  852. <!-- </div>-->
  853. <!-- </li>-->
  854. <!--未执业判断依据-->
  855. <!-- <li class="mui-table-view-cell mui-collapse" style="display: none" id="patrolLi5">-->
  856. <!-- <a class="mui-navigate-right" href="#"><label style="color: red">*</label> 判断依据</a>-->
  857. <!-- <div class="mui-collapse-content">-->
  858. <!-- <div class="mui-input-row mui-radio">-->
  859. <!-- <label>无法进入现场</label>-->
  860. <!-- <input type="radio" name="wzyStatus" value="1">-->
  861. <!-- </div>-->
  862. <!-- <div class="mui-input-row mui-radio">-->
  863. <!-- <label>已进入现场,未发现可疑行医迹象</label>-->
  864. <!-- <input type="radio" name="wzyStatus" value="2">-->
  865. <!-- </div>-->
  866. <!-- <div class="mui-input-row mui-radio">-->
  867. <!-- <label>其他请填写备注(必填) <input style="width: 150px" id="wzyyjContent"></label>-->
  868. <!-- <input type="radio" name="wzyStatus" value="3">-->
  869. <!-- </div>-->
  870. <!-- </div>-->
  871. <!-- </li>-->
  872. <!--现场查见-->
  873. <li class="mui-table-view-cell mui-collapse" id="patrolLi1"><!--style="display: none"-->
  874. <a class="mui-navigate-right" href="#"><label style="color: red">*</label> 现场查见</a>
  875. <div class="mui-collapse-content">
  876. <div class="mui-input-row mui-checkbox">
  877. <label>药品
  878. <div id="ypDiv" style="display: none;">
  879. <input style="width: 80px;height: 30px" id="ypNum" type="number" oninput="if(value>1000)value='';if(value<0)value='';"> 箱
  880. </div>
  881. </label>
  882. <input type="checkbox" id="yp" onchange="XccjSelectChange(1)">
  883. </div>
  884. <div class="mui-input-row mui-checkbox">
  885. <label>医疗器械
  886. <div id="ylqxDiv" style="display: none;">
  887. <input style="width: 80px;height: 30px" id="ylqxNum" type="number" oninput="if(value>1000)value='';if(value<0)value='';"> 件
  888. </div>
  889. </label>
  890. <input type="checkbox" id="ylqx" onchange="XccjSelectChange(2)">
  891. </div>
  892. <div class="mui-input-row mui-checkbox">
  893. <label>医疗废弃物
  894. <div id="ylfqwDiv" style="display: none;">
  895. <input style="width: 80px;height: 30px" id="ylfqwNum" type="number" oninput="if(value>1000)value='';if(value<0)value='';"> 件
  896. </div>
  897. </label>
  898. <input type="checkbox" id="ylfqw" onchange="XccjSelectChange(3)">
  899. </div>
  900. <div class="mui-input-row mui-checkbox">
  901. <label>挂牌
  902. <div id="gpmcDiv" style="display: none;">
  903. (名称:<input style="width: 100px" id="gpmcName"> )
  904. </div>
  905. </label>
  906. <input type="checkbox" id="gpmc" onchange="XccjSelectChange(4)">
  907. </div>
  908. <div class="mui-input-row mui-checkbox">
  909. <label>小名片/小广告</label>
  910. <input type="checkbox" id="xmp" >
  911. </div>
  912. <div class="mui-input-row mui-checkbox">
  913. <label>牙椅</label>
  914. <input type="checkbox" id="yy" >
  915. </div>
  916. <div class="mui-input-row mui-checkbox">
  917. <label>经与知情人询问后确认</label>
  918. <input type="checkbox" id="xwhqr" >
  919. </div>
  920. <div class="mui-input-row mui-checkbox">
  921. <label>其他
  922. <div id="xcqtDiv" style="display: none;">
  923. (备注:<input style="width: 150px" id="xcqtContent"> )
  924. </div>
  925. </label>
  926. <input type="checkbox" id="xcqt" onchange="XccjSelectChange(5)">
  927. </div>
  928. </div>
  929. </li>
  930. <!--行医人是否在现场-->
  931. <li class="mui-table-view-cell mui-collapse" id="patrolLi2"><!--style="display: none"-->
  932. <a class="mui-navigate-right" href="#"><label style="color: red">*</label> 行医人是否在现场</a>
  933. <div class="mui-collapse-content">
  934. <div class="mui-input-row mui-radio">
  935. <label>是</label>
  936. <input type="radio" name="medicineScene" value="1">
  937. </div>
  938. <div class="mui-input-row mui-radio">
  939. <label>否</label>
  940. <input type="radio" name="medicineScene" value="0">
  941. </div>
  942. </div>
  943. </li>
  944. <!--行医内容-->
  945. <li class="mui-table-view-cell mui-collapse" id="patrolLi3"><!--style="display: none"-->
  946. <a class="mui-navigate-right" href="#"><label style="color: red;" id="xynrLable">*</label> 行医内容</a>
  947. <div class="mui-collapse-content">
  948. <div class="mui-input-row mui-checkbox">
  949. <label>内科</label>
  950. <input type="checkbox" id="nk" >
  951. </div>
  952. <div class="mui-input-row mui-checkbox">
  953. <label>牙科</label>
  954. <input type="checkbox" id="yk" >
  955. </div>
  956. <div class="mui-input-row mui-checkbox">
  957. <label>医疗美容</label>
  958. <input type="checkbox" id="ylmr" >
  959. </div>
  960. <div class="mui-input-row mui-checkbox">
  961. <label>其他 <input style="width: 150px" id="xyqtContent"></label>
  962. <input type="checkbox" id="xyqt" >
  963. </div>
  964. </div>
  965. </li>
  966. <!--拍照或上传图片-->
  967. <li class="mui-table-view-cell mui-collapse">
  968. <a class="mui-navigate-right" href="#"><label style="color: red">*</label>拍照或上传图片</a>
  969. <div class="mui-collapse-content">
  970. <div class="mui-content" style="width: 93%;height: 200px;margin: 0 auto;background-color: #91DBD9;">
  971. <form id='from1' enctype = "multipart/form-data">
  972. <div style="margin-top: 16px;margin-bottom: 10px;">
  973. <div class="image-uploads" style="width: 120px;position: absolute;">
  974. <label for="imgUploads">
  975. <img src="img/show3.png" id="addnew" style="width: 20px;height: 20px;margin-left: 10px;margin-top: 10px;" />
  976. </label>
  977. <input id="imgUploads" style="width: 180px;" type="file" name="imageUpload" accept="image/*" capture="camera" onchange="loadUpImgs()" />
  978. </div>
  979. <span class="title" style="color: #F9FDFD;font-size: 15px;margin-top: 10px;position: absolute;margin-left: 40px;">拍照</span>
  980. <div class="image-upload" style="width: 120px;position: absolute;margin-left: 70px;">
  981. <label for="imgUpload">
  982. <img src="img/imgadd.png" id="addnew1" style="width: 20px;height: 20px;margin-left: 10px;margin-top: 10px;" />
  983. </label>
  984. <input id="imgUpload" style="width: 180px;" type="file" name="imageUpload" accept="image/*" onchange="loadUpImg()" />
  985. </div>
  986. <span class="title" style="color: #F9FDFD;font-size: 15px;margin-top: 10px;position: absolute;margin-left: 110px;">从相册选取</span>
  987. <span id="picnum" style="float: right;font-size: 12px; color: #F9FDFD;margin-top: 10px;position: absolute;margin-left: 200px;">0/5</span>
  988. </div>
  989. <div class="dynamic_images" style="background-color: #91DBD9;height: 70px;width: 100%;padding-left: 40px;padding-right: 15px;">
  990. <ul class="row mui-input-row" style="width: 83%;height: 80%;margin-top: 30px;position: absolute;margin-left: -5%;">
  991. <img src="img/show.png" id="showimg"/>
  992. </ul>
  993. </div>
  994. </form>
  995. </div>
  996. </div>
  997. </li>
  998. <!--提交-->
  999. <li class="mui-table-view-cell mui-collapse" >
  1000. <div style="margin-left: 2rem;" >
  1001. <button type="button" class="mui-btn mui-btn-primary " onclick="AddNew()" style="width: 90%;">提交</button>
  1002. </div>
  1003. </li>
  1004. </ul>
  1005. </div>
  1006. </div>
  1007. <div style="margin-left: 2rem;" id="buttonCommit">
  1008. <button type="button" class="mui-btn mui-btn-primary " onclick="AddNew()" style="width: 90%;">提交</button>
  1009. </div>
  1010. <nav class="mui-bar mui-bar-tab">
  1011. <a href="firstPage.html" id="mainpage" class="mui-tab-item ">
  1012. <span class="mui-icon mui-icon-home"></span>
  1013. <span class="mui-tab-label">主页</span>
  1014. </a>
  1015. <a href="projectInfo.html" id="addpage" class="mui-tab-item mui-active">
  1016. <span class="mui-icon mui-icon-chatboxes"></span>
  1017. <span class="mui-tab-label">添加</span>
  1018. </a>
  1019. <a href="myInfo.html" id="exit" class="mui-tab-item">
  1020. <span class="mui-icon mui-icon-gear"></span>
  1021. <span class="mui-tab-label">退出</span>
  1022. </a>
  1023. </nav>
  1024. </div>
  1025. </body>
  1026. </html>