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