123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269 |
- <!doctype html>
- <html>
- <head>
- <meta charset="utf-8">
- <title></title>
- <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
- <link href="css/mui.min.css" rel="stylesheet" />
- <script src="assets/js/jquery-3.1.0.js"></script>
- <script src="assets/js/jquery.base64.js"></script>
- <script src="CommonJS/Config_JS/Config_Load.js"></script>
- <script src="CommonJS/DBUtil_JS/WsCommonClassJava.js"></script>
- <script src="CommonJS/Data_ProcessJS/CommonData.js"></script>
- <script src="CommonJS/HTML_ElementCommonJS/Select_Common.js"></script>
- <script src="http://pv.sohu.com/cityjson?ie=utf-8"></script>
- <script src="js/recordAction.js"></script>
- <script src="js/mui.min.js"></script>
- <!--<script src="js/jquery.min.js"></script>-->
- <!-- <script src="js/uploadImgs.js"></script> -->
- <script src="js/promptAndAlert.js"></script>
- <script src="js/fileImg.js"></script>
- <script src="js/jweixin.js"></script>
- <!--<script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>-->
- <script type="text/javascript">
- var SEQ_REPORT_ID=0;
- var insertStatus=0;
- mui.init();
- var lat=Android.getLatitude();
- var long=Android.getLongitude();
- /* $.ajax({
- url: "http://139.196.105.31:8080/LoginService/DMWebservice",
- type: "post",
- data: {method: 'getGeolocationConfig',data:''},
- dataType: "json",
- success: function (data) {
- // var datad = data;
- wx.config({
- beta:true,
- debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来
- appId: data.appid, // 必填,公众号的唯一标识
- timestamp: data.timestamp, // 必填,生成签名的时间戳
- nonceStr: data.noncestr, // 必填,生成签名的随机串
- signature: data.signature,// 必填,签名,见附录1
- jsApiList: [
- "getLocation"
- ] // 必填,需要使用的JS接口列表,所有JS接口列表见附录2
- });
- wx.ready(function(){
- // config信息验证后会执行ready方法,所有接口调用都必须在config接口获得结果之后,config是一个客户端的异步操作,所以如果需要在页面加载时就调用相关接口,则须把相关接口放在ready函数中调用来确保正确执行。对于用户触发时才调用的接口,则可以直接调用,不需要放在ready函数中。
- wx.getLocation({
- type: 'wgs84', // 默认为wgs84的gps坐标,如果要返回直接给openLocation用的火星坐标,可传入'gcj02'
- success: function (res) {
- var latitude = res.latitude; // 纬度,浮点数,范围为90 ~ -90
- var longitude = res.longitude; // 经度,浮点数,范围为180 ~ -180。
- var speed = res.speed; // 速度,以米/每秒计
- var accuracy = res.accuracy; // 位置精度
- console.log(latitude)
- console.log(longitude)
- $("#txt_jwd2").val(latitude);
- $("#txt_jwd1").val(longitude);
- //取消loading遮罩层
- this.show=false;
- }
- });
- });
- wx.error(function (res) {
- //alert(res);
- });
- }
- });*/
- </script>
- <style>
- * {
- margin: 0;
- padding: 0;
- }
- html,
- body {
- width: 100%;
- height: 100%;
- overflow: hidden;
- }
- .logon_bg{
- position: absolute;
- width:100%;
- bottom: 0;
- }
- .bak{
- width: 100%;
- height: 100%;
- }
- .mainDiv{
- top: 0;
- position: absolute;
- width: 100%;
- height: 100%;
- margin-top: 2.375rem;
- }
- .dynamic_images ul {
- margin: 0;
- padding: 0;
- }
- .dynamic_images ul li {
- position: relative;
- display: inline-block;
- margin-top: 10px;
- margin-bottom: 10px;
- margin-right: 5px;
- margin-left: 10px;
- float: left;
- list-style: none;
- }
- .dynamic_images ul li img {
- width: 50px;
- height: 50px;
- border-radius: 5px;
- }
- .del {
- display: inline-block;
- position: absolute;
- top:6px;
- right: 0px;
- width: 12px;
- height: 2px;
- background: #ED544D;
- line-height: 0;
- font-size: 0;
- vertical-align: middle;
- -webkit-transform: rotate(45deg);
- }
- .del:after {
- content: "/";
- display: block;
- width: 12px;
- height: 2px;
- background: #ED544D;
- -webkit-transform: rotate(-90deg);
- }
- #showimg{
- width: 60px;
- height: 50px;
- margin: auto auto;
- display: table-cell;
- vertical-align: middle;
- text-align: center;
- margin-top: 13%;
- }
- .image-upload > input
- {
- display: none;
- }
- .image-uploads > input
- {
- display: none;
- }
- </style>
- <script>
- mui.init({
- swipeBack:true //启用右滑关闭功能
- });
- $(document).on("click", '#mainpage', function() {
- window.location="main.html?date="+getDateStr() ;
- });
- $(document).on("click", '#addpage', function() {
- // mui.alert('模块更新中 敬请期待!!!', '系统提示', function() {});
- window.location="add.html?date="+getDateStr();
- });
- $(document).on("click", '#back', function() {
- window.location="main.html?date="+getDateStr() ;
- });
- $(document).on("click", '#exit', function() {
- var btnArray = ['否', '是'];
- mui.confirm('是否确认退出登录?', '系统提示', btnArray, function(e) {
- if (e.index == 1) {
- window.location="login.html";
- } else {
- }
- })
- });
- // $(document).on("click", '#back', function() {
- // window.location="main.html";
- // });
- var idcard;
- var caseid;
- window.onload = function (){
- insertStatus = 0; //重置更新状态
- //querySEQ_REPORT_ID();//查下一个序列
- //getLatLon();
- setInterval(onloadjwd,1000*2 );//定时查询当前经纬度
- var name = localStorage.getItem("name");
- idcard = localStorage.getItem("idcard");
- var address = localStorage.getItem("address");
- caseid = localStorage.getItem("caseid");
- console.log(caseid+"***")
- var sex = localStorage.getItem("sex");
- var major = localStorage.getItem("major");
- $("#txt_name").val(name);
- // $('#checkUserName').attr("val ue",sessionUser.name);
- $("#txt_idcard").val(idcard);
- var sex="";
- if(idcard !="" || idcard.length==18){
- if(idcard.substring(16,17)%2==0){
- sex="女";
- }else{
- sex="男";
- }
- }
- $("#txt_add").val(address);
- if(sex=='0'){
- $("#txt_sex").val('男');
- }else if(sex=='1'){
- $("#txt_sex").val('女');
- }else{
- if(sex==""){
- $("#txt_sex").val('无');
- }else{
- $("#txt_sex").val(sex);
- }
- }
- $("#txt_major").val(major);
- // loadMajor();
- }
- // 1 1 营业中
- // 4 4 未营业
- // 2 2 已搬离
- // 3 3 待确定
- var currentClickid ;
- var uploadobj;
- var bz;
- function updateDb(state){
- currentClickid = state;
- determineSubmit();
- //uploadPicture();
- }
- function onloadjwd(){
- $("#txt_jwd2").val(lat);
- $("#txt_jwd1").val(long);
- lat=Android.getLatitude();
- long=Android.getLongitude();
- }
- function commitok(){
- document.getElementById("syyalertDiv").remove();
- try{
- document.getElementById("alertDiv").style.display ="";
- }catch(e){}
- }
- function applyToDBNew() {
- var TaskStatus=document.getElementsByName("TaskStatus");
- var status="";
- for(var i=0;i<TaskStatus.length;i++){
- if(TaskStatus[i].checked==true){
- status=TaskStatus[i].value;
- }
- }
- var medicine="";
- var medicineScene=document.getElementsByName("medicineScene");
- for(var i=0;i<medicineScene.length;i++){
- if(medicineScene[i].checked==true){
- medicine=medicineScene[i].value;
- }
- }
- // 未取得合法资质
- if(hfzzStatus == 0){
- if(status==""){
- mui.alert('巡查结果必选!','提示',['确定'],null,'');
- //alert("巡查结果必选!");
- return
- }else if(status!="2"){
- if(medicine==""){
- mui.alert('行医人是否在现场必选!','提示',['确定'],null,'');
- //alert("行医人是否在现场必选!");
- return
- }
- }
- // 执业中
- if(status=="1"){
- var nk=document.getElementById("nk").checked;
- var yk=document.getElementById("yk").checked;
- var ylmr=document.getElementById("ylmr").checked;
- var xyqt=document.getElementById("xyqt").checked;
- if(nk==false && yk==false&&ylmr==false&&xyqt==false){
- mui.alert('行医内容必选!','提示',['确定'],null,'');
- return
- }
- }
- // 已搬离
- if(status == "2"){
- var yblStatus = document.getElementsByName("yblStatus");
- var _status="";
- for(var i=0;i<yblStatus.length;i++){
- if(yblStatus[i].checked==true){
- _status=yblStatus[i].value;
- }
- }
- if(_status==""){
- mui.alert('判断依据必选!','提示',['确定'],null,'');
- //alert("判断依据必选!");
- return
- }
- let _value = document.getElementById("yblyjContent").value;
- if(_status == "5"&&_value == ""){
- mui.alert('请填写判断依据!','提示',['确定'],null,'');
- //alert("请填写判断依据!");
- return
- }
- }
- // 未执业
- if(status == "4"){
- var wzyStatus = document.getElementsByName("wzyStatus");
- var _status="";
- for(var i=0;i<wzyStatus.length;i++){
- if(wzyStatus[i].checked==true){
- _status=wzyStatus[i].value;
- }
- }
- if(_status==""){
- mui.alert('判断依据必选!','提示',['确定'],null,'');
- //alert("判断依据必选!");
- return
- }
- let _value = document.getElementById("wzyyjContent").value;
- if(_status == "3"&&_value == ""){
- mui.alert('请填写判断依据!','提示',['确定'],null,'');
- //alert("请填写判断依据!");
- return
- }
- }
- // 可疑执业
- if(status == "3"){
- var yp = document.getElementById("yp").checked;
- if(yp){
- var _value = document.getElementById("ypNum").value;
- if(_value == ""){
- mui.alert('请填写药品数量!','提示',['确定'],null,'');
- //alert("请填写药品数量!");
- return
- }
- }
- var ylqx = document.getElementById("ylqx").checked;
- if(ylqx){
- var _value = document.getElementById("ylqxNum").value;
- if(_value == ""){
- mui.alert('请填写医疗器械数量!','提示',['确定'],null,'');
- //alert("请填写医疗器械数量!");
- return
- }
- }
- var ylfqw = document.getElementById("ylfqw").checked;
- if(ylfqw){
- var _value = document.getElementById("ylfqwNum").value;
- if(_value == ""){
- mui.alert('请填写医疗废弃物数量!','提示',['确定'],null,'');
- //alert("请填写医疗废弃物数量!");
- return
- }
- }
- var gpmc = document.getElementById("gpmc").checked;
- if(gpmc){
- var _value = document.getElementById("gpmcName").value;
- if(_value == ""){
- mui.alert('请填写挂牌名称!','提示',['确定'],null,'');
- //alert("请填写挂牌名称!");
- return
- }
- }
- var xmp = document.getElementById("xmp").checked;
- var yy = document.getElementById("yy").checked;
- var xwhqr = document.getElementById("xwhqr").checked;
- var xcqt = document.getElementById("xcqt").checked;
- if(xcqt){
- var _value = document.getElementById("xcqtContent").value;
- if(_value == ""){
- mui.alert('请填写其他备注!','提示',['确定'],null,'');
- //alert("请填写挂牌名称!");
- return
- }
- }
- if(yp==false && ylqx==false && ylfqw==false && gpmc==false && xmp==false && yy==false && xwhqr==false && xcqt==false){
- mui.alert('现场查见必选一项!','提示',['确定'],null,'');
- return
- }
- }
- }
- if(($(".dynamic_images ul li").length-0)<1) {
- mui.alert('照片必须上传!','提示',['确定'],null,'');
- return
- }
- mui.confirm('是否确认提交(提交后不可修改)','提示',['取消','确定'],function (e) {
- if(e.index==1){
- if(insertStatus=="0"){
- insertStatus = 1;
- querySEQ_REPORT_IDOne();
- }else{
- mui.toast("状态正在更新!");
- }
- /* if(SEQ_REPORT_ID=='0'){
- //alert(SEQ_REPORT_ID)
- querySEQ_REPORT_IDOne();
- }else{
- commitStatus();
- }*/
- //commitStatus();
- }else{
- return
- }
- });
- }
- function getLatLon() {
- navigator.geolocation.getCurrentPosition( // 该函数有如下三个参数
- function (pos){ // 如果成果则执行该回调函数
- var txt=document.getElementById("txt_jwd1");
- txt.value=pos.coords.longitude;
- alert(pos.coords.longitude)
- var txt1=document.getElementById("txt_jwd2");
- txt1.value=pos.coords.latitude;
- }, function (err){ // 如果失败则执行该回调函数
- alert(err.message);
- }, { // 附带参数
- enableHighAccuracy: false , // 提高精度(耗费资源)
- timeout: 3000, // 超过timeout则调用失败的回调函数
- maximumAge: 1000 // 获取到的地理信息的有效期,超过有效期则重新获取一次位置信息
- }
- );
- }
- function querySEQ_REPORT_ID() {
- var str = "select seq_report_id.nextval as seq from dual ";
- new WsCommonClass("QueryDataBaseJson", ["sql"], [str], querySuccess, "querySEQ_REPORT_ID");
- }
- function querySEQ_REPORT_IDOne() {
- var str = "select seq_report_id.nextval as seq from dual ";
- new WsCommonClass("QueryDataBaseJson", ["sql"], [str], querySuccess, "querySEQ_REPORT_IDOne");
- }
- function commitButton() {
- /* if(($(".dynamic_images ul li").length-0)>0){
- var data = new Array();
- for(var i=0;i<($(".dynamic_images ul li").length-0);i++){
- var img=$(".files_"+i+" ul li img");
- var obj = [];
- obj.img = img.src;
- data.push(obj);
- console.log(img.src)
- }*/
- /*localStorage.setItem("datas", data);
- localStorage.setItem("adddataimg", data);*/
- //applyToDBNew();
- //}else{
- //querySEQ_REPORT_IDOne();
- applyToDBNew();
- //}
- }
- function commitStatus() {
- var TaskStatus=document.getElementsByName("TaskStatus");
- var status="";
- for(var i=0;i<TaskStatus.length;i++){
- if(TaskStatus[i].checked==true){
- status=TaskStatus[i].value;
- }
- }
- // 已取得合法资质
- if(hfzzStatus == 1){
- status = 6;
- }
- var yp="0";
- if(document.getElementById("yp").checked==true){
- yp="1";
- }
- var ylqx="0";
- if(document.getElementById("ylqx").checked==true){
- ylqx="1";
- }
- var ylfqw="0";
- if(document.getElementById("ylfqw").checked==true){
- ylfqw="1";
- }
- var gpmc="0";
- if(document.getElementById("gpmc").checked==true){
- gpmc="1";
- }
- var xmp="0";
- if(document.getElementById("xmp").checked==true){
- xmp="1";
- }
- var yy="0";
- if(document.getElementById("yy").checked==true){
- yy="1";
- }
- var xwhqy = "0";
- if(document.getElementById("xwhqr").checked==true){
- xwhqy = "1";
- }
- var xcqt="0";
- if(document.getElementById("xcqt").checked==true){
- xcqt="1";
- }
- var medicine="0";
- var medicineScene=document.getElementsByName("medicineScene");
- for(var i=0;i<medicineScene.length;i++) {
- if(medicineScene[i].checked==true){
- medicine=medicineScene[i].value;
- }
- }
- var nk="0";
- if(document.getElementById("nk").checked==true){
- nk="1";
- }
- var yk="0";
- if(document.getElementById("yk").checked==true){
- yk="1";
- }
- var ylmr="0";
- if(document.getElementById("ylmr").checked==true){
- ylmr="1";
- }
- var xyqt="0";
- if(document.getElementById("xyqt").checked==true){
- xyqt="1";
- }
- //var objimgs=eval(uploadobj);
- // 未执业
- var yblStatus = document.getElementsByName("yblStatus");
- var _yblStatus = "0";
- for(var i=0;i<yblStatus.length;i++){
- if(yblStatus[i].checked==true){
- _yblStatus=yblStatus[i].value;
- }
- }
- var _yblyjContent = document.getElementById("yblyjContent").value;
- // 已搬离
- var wzyStatus = document.getElementsByName("wzyStatus");
- var _wzyStatus = "0";
- for(var i=0;i<wzyStatus.length;i++){
- if(wzyStatus[i].checked==true){
- _wzyStatus=wzyStatus[i].value;
- }
- }
- var _wzyyjContent = document.getElementById("wzyyjContent").value;
- //if(objimgs.length>0 || objimgs.length!=null || objimgs.length!="") {
- //if(myformList.length>0){
- var objimgs;
- if(($(".dynamic_images ul li").length-0)>0){
- objimgs= new Array();
- for(var i=0;i<($(".dynamic_images ul li").length-0);i++){
- var img=$("#files_"+i+" img");
- var obj = new Object();
- obj.img = img[0].src;
- objimgs.push(obj);
- }
- // for(i=0;i<=objimgs.length;i++){
- //console.log(objimgs[i].img+"===****"+objimgs[i].imge+"");
- if (objimgs.length == 0) {
- var strSql = "insert into health.巡检状态(ID,一户一档ID,状态,手机,照片1,照片2) " +
- "values( "+SEQ_REPORT_ID+",'" + caseid + "','" + status + "','"+localStorage.getItem("mobile")+"','','')";
- console.log(strSql);
- new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql], querySuccess, "queryUser");
- } else if (objimgs.length == 1) {
- var strSql = "insert into health.巡检状态(ID,一户一档ID,状态,手机,照片1,照片2) " +
- "values("+SEQ_REPORT_ID+",'" + caseid + "','" + status + "','"+localStorage.getItem("mobile")+"','" + objimgs[0].img + "','')";
- //alert(strSql);
- console.log(strSql);
- new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql], querySuccess, "queryUser");
- } else if (objimgs.length == 2) {
- var strSql = "insert into health.巡检状态(ID,一户一档ID,状态,手机,照片1,照片2) " +
- "values("+SEQ_REPORT_ID+",'" + caseid + "','" + status + "','"+localStorage.getItem("mobile")+"','" + objimgs[0].img + "','" + objimgs[1].img + "')";
- console.log(strSql);
- new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql], querySuccess, "queryUser");
- } else if (objimgs.length == 3) {
- var strSql = "insert into health.巡检状态(ID,一户一档ID,状态,手机,照片1,照片2,照片3) " +
- "values("+SEQ_REPORT_ID+",'" + caseid + "','" + status + "','"+localStorage.getItem("mobile")+"','" + objimgs[0].img + "','" + objimgs[1].img + "','" + objimgs[2].img + "')";
- console.log(strSql);
- new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql], querySuccess, "queryUser");
- }
- else if (objimgs.length == 4) {
- var strSql = "insert into health.巡检状态(ID,一户一档ID,状态,手机,照片1,照片2,照片3,照片4) " +
- "values("+SEQ_REPORT_ID+",'" + caseid + "','" + status + "','"+localStorage.getItem("mobile")+"','" + objimgs[0].img + "','" + objimgs[1].img + "','" + objimgs[2].img + "','" + objimgs[3].img + "')";
- console.log(strSql);
- new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql], querySuccess, "queryUser");
- }
- else if (objimgs.length == 5) {
- var strSql = "insert into health.巡检状态(ID,一户一档ID,状态,手机,照片1,照片2,照片3,照片4,照片5) " +
- "values("+SEQ_REPORT_ID+",'" + caseid + "','" + status + "','"+localStorage.getItem("mobile")+"','" + objimgs[0].img + "','" + objimgs[1].img + "','" + objimgs[2].img + "','" + objimgs[3].img + "','" + objimgs[4].img + "')";
- console.log(strSql);
- new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql], querySuccess, "queryUser");
- }
- var strSql1 = "insert into health.PATROLSTATUS (ID,PATROLSTATUSID, " +
- "DRUG,DRUGNUM,INSTRUMENT,INSTRUMENTNUM,"+
- "WASTE,WASTENUM, LISTED,LISTEDNAME,"+
- "ADLET,DENTALCHAIR,INSIDERASK,SCENEOTHER,SCENEOTHERCONTENT,WHETHERINSCENE," +
- "INTERNALMEDICINE,DENTAL,MEDICAKBEAUTY, MEDICINEOTHER,MEDICINEOTHERCONTENT,"+
- "MOVEDACCORDING,MOVEDOTHER,NOTPRACTICINGACCORDING,NOTPRACTICINGOTHER,JD,WD)" +
- "values (SEQ_TASKSTATUS_ID.NEXTVAL, "+SEQ_REPORT_ID+" " +
- ","+yp+",'"+document.getElementById("ypNum").value+"',"+ylqx+",'"+document.getElementById("ylqxNum").value+"'" +
- ","+ylfqw+",'"+document.getElementById("ylfqwNum").value+"',"+gpmc+",'"+document.getElementById("gpmcName").value+"'" +
- ","+xmp+","+yy+","+xwhqy+","+xcqt+",'"+document.getElementById("xcqtContent").value+"',"+medicine+
- ","+nk+"" +","+yk+","+ylmr+","+xyqt+",'"+document.getElementById("xyqtContent").value+"'" +
- ","+_yblStatus+",'"+_yblyjContent+"',"+_wzyStatus+",'"+_wzyyjContent+"'"+
- ",'"+document.getElementById("txt_jwd1").value+"','"+document.getElementById("txt_jwd2").value+"')";
- console.log(strSql1);
- new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql1], querySuccess, "queryUser1");
- }else{
- var strSql = "insert into 巡检状态(ID,一户一档ID,状态,手机,照片1,照片2 ) " +
- "values("+SEQ_REPORT_ID+",'" + caseid + "','" + status + "','"+localStorage.getItem("mobile")+"','','')";
- //new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql], querySuccess, "queryUser");
- var strSql1 = "insert into health.PATROLSTATUS (ID,PATROLSTATUSID" +
- ", DRUG,DRUGNUM,INSTRUMENT,INSTRUMENTNUM,WASTE,WASTENUM," +
- " LISTED,LISTEDNAME,ADLET,DENTALCHAIR,INSIDERASK,SCENEOTHER,SCENEOTHERCONTENT" +
- ",WHETHERINSCENE" +
- ",INTERNALMEDICINE,DENTAL,MEDICAKBEAUTY, MEDICINEOTHER,MEDICINEOTHERCONTENT,"+
- "MOVEDACCORDING,MOVEDOTHER,NOTPRACTICINGACCORDING,NOTPRACTICINGOTHER,JD,WD)" +
- "values (seq_taskstatus_id.nextval,"+SEQ_REPORT_ID+"" +
- ","+yp+",'"+document.getElementById("ypNum").value+"',"+ylqx+",'"+document.getElementById("ylqxNum").value+"'" +
- ","+ylfqw+",'"+document.getElementById("ylfqwNum").value+"',"+gpmc+",'"+document.getElementById("gpmcName").value+"'" +
- ","+xmp+","+yy+","+xwhqy+","+xcqt+",'"+document.getElementById("xcqtContent").value+"',"+medicine+","+nk+"" +
- ","+yk+","+ylmr+","+xyqt+",'"+document.getElementById("xyqtContent").value+"'" +
- ","+_yblStatus+",'"+_yblyjContent+"',"+_wzyStatus+",'"+_wzyyjContent+"'"+
- ",'"+document.getElementById("txt_jwd1").value+"','"+document.getElementById("txt_jwd2").value+"')";
- new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql], querySuccess, "queryUser ");
- new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql1], querySuccess, "queryUser1");
- }
- }
- function closefun() {
- document.getElementById("alertDiv").remove();
- }
- function applyToDB(){
- var state = currentClickid;
- //bz=$('#txt_bz').val();
- var alertInfo = "是否确认更改为营业中状态?";
- switch (state){
- case 1:
- alertInfo = "是否确认更改为营业中状态?\n确认请输入手机号提交";
- break;
- case 4:
- alertInfo = "是否确认更改未营业状态?";
- break;
- case 2:
- alertInfo = "是否确认更改为已搬离状态?";
- break;
- case 3:
- alertInfo = "是否确认更改为待确定状态?";
- break;
- }
- // var btnArray = ['否', '是'];
- // mui.confirm(alertInfo, '系统提示', btnArray, function(e) {
- // if (e.index == 1) {
- // var strSql = "insert into 巡检状态(一户一档ID,状态) values('"+caseid+"','"+state+"')";
- // new WsCommonClass("QueryDataBaseJson",["sql"],[strSql],querySuccess,"queryUser");
- // } else {
- // return;
- // }
- // });
- uploadobj = localStorage.getItem("datas");
- uploadobj=JSON.parse(uploadobj);
- var btnArray = ['确定', '取消'];
- prompts(alertInfo,'',commitButton,closefun,'prompt')
- /* mui.prompt(alertInfo, '请输入手机号码', '系统提示', btnArray, function(e) {
- if (e.index == 0) {
- if(e.value == ""){
- mui.alert('输入手机号为空!\n请重新提交', '系统提示', function() {
- });
- }else if(e.value.length != 11){
- mui.alert('手机号不正确!\n请重新提交', '系统提示', function() {
- });
- }else{
- var objimgs=eval(uploadobj);
- if(objimgs.length>0 || objimgs.length!=null || objimgs.length!=""){
- // for(i=0;i<=objimgs.length;i++){
- //console.log(objimgs[i].img+"===****"+objimgs[i].imge+"");
- if(objimgs.length==0){
- var strSql = "insert into 巡检状态(一户一档ID,状态,手机,备注,照片1,照片2) values('"+caseid+"','"+state+"','"+e.value+"','"+bz+"','','')";
- //console.log(strSql)
- new WsCommonClassSP("QueryDataBase",["sql"],[strSql],querySuccess,"queryUser");
- }else if(objimgs.length==1){
- var strSql = "insert into 巡检状态(一户一档ID,状态,手机,备注,照片1,照片2) values('"+caseid+"','"+state+"','"+e.value+"','"+bz+"','"+objimgs[0].img+"','')";
- //console.log(strSql)
- new WsCommonClassSP("QueryDataBase",["sql"],[strSql],querySuccess,"queryUser");
- }else if(objimgs.length==2){
- var strSql = "insert into 巡检状态(一户一档ID,状态,手机,备注,照片1,照片2) values('"+caseid+"','"+state+"','"+e.value+"','"+bz+"','"+objimgs[0].img+"','"+objimgs[1].img+"')";
- //console.log(strSql)
- new WsCommonClassSP("QueryDataBase",["sql"],[strSql],querySuccess,"queryUser");
- }else if(objimgs.length==3){
- var strSql = "insert into 巡检状态(一户一档ID,状态,手机,备注,照片1,照片2,照片3) values('"+caseid+"','"+state+"','"+e.value+"','"+bz+"','"+objimgs[0].img+"','"+objimgs[1].img+"','"+objimgs[2].img+"')";
- //console.log(strSql)
- new WsCommonClassSP("QueryDataBase",["sql"],[strSql],querySuccess,"queryUser");
- }
- // }
- }else{
- plus.nativeUI.alert('您还没点击上传图片,请先上传图片');
- }
- }
- } else {
- }
- }) */
- }
- function querySuccess(evt,keyValue){
- if(keyValue=="querySEQ_REPORT_ID"){
- SEQ_REPORT_ID=evt.data[0].SEQ;
- }else if(keyValue=="querySEQ_REPORT_IDOne"){
- SEQ_REPORT_ID=evt.data[0].SEQ;
- commitStatus();
- }
- else{
- /* var result = evt.substr(76,evtlength);
- var evtlength = evt.length-85;
- result = result.substr(0,evtlength);
- var jsonData = JSON.parse(result); */
- // var jsonObj = JSON.parse(evt)
- // var jsonData = jsonObj[0].data;
- // if(jsonData != null){
- // insertStatus=0; //去掉更新状态
- //setTimeout("mui.toast('状态正在更新')",2000);
- setTimeout(successinfo,2000);
- // }
- insertActionRecord('用户操作更新状态');
- }
- }
- function successinfo(){
- mui.toast("状态更新成功");
- window.location="main.html?date="+getDateStr();
- }
- function loadMajor() {
- var strSql = "select t.编码 as code,t.名称 as name,t.备注 as memo from view_编码表无证对象专业 t order by code";
- new WsCommonClass("QueryDataBaseJson", ["sql"], [strSql], querySuccesse, "loadMajor");
- }
- var hfzzStatus = 0;
- function onChangeHFZZ(){
- var HFZZStatus = document.getElementsByName("HFZZStatus");
- var status = "";
- for(var i=0;i<HFZZStatus.length;i++){
- if(HFZZStatus[i].checked){
- status = HFZZStatus[i].value;
- }
- }
- //已取得
- if(status == "1"){
- var btnArray = ['否', '是'];
- mui.confirm('是否确认此人已获得合法资质?', '系统提示', btnArray, function(e) {
- // 若确认,则拍照上传结束
- if (e.index == 1) {
- hfzzStatus = 1;
- document.getElementById("patrolLi0").style.display = "none";
- } else {
- hfzzStatus = 0;
- document.getElementById("patrolLi0").style.display = "";
- //选项切换到未取得
- document.getElementById("HFZZInput").checked = "checked";
- }
- })
- }
- //未取得
- else if(status == "0"){
- hfzzStatus = 0;
- document.getElementById("patrolLi0").style.display = "";
- }
- }
- function TaskStatusChange() {
- var TaskStatus=document.getElementsByName("TaskStatus");
- var status="";
- for(var i=0;i<TaskStatus.length;i++){
- if(TaskStatus[i].checked == true){
- status = TaskStatus[i].value;
- }
- }
- // 执行中or可疑执业
- if(status=="1" ||status=="3"){
- document.getElementById("patrolLi1").style.display="";
- document.getElementById("patrolLi2").style.display="";
- document.getElementById("patrolLi3").style.display="";
- document.getElementById("patrolLi4").style.display="none";
- document.getElementById("patrolLi5").style.display="none";
- // 执业中
- if(status=="1"){
- document.getElementById("xynrLable").style.display="";
- }else{
- document.getElementById("xynrLable").style.display="none";
- }
- empty("3");
- empty("4");
- }
- // 未执业
- else if(status=="4"){
- document.getElementById("patrolLi1").style.display="none";
- document.getElementById("patrolLi2").style.display="";
- document.getElementById("patrolLi3").style.display="none";
- document.getElementById("patrolLi4").style.display="none";
- document.getElementById("patrolLi5").style.display="block";
- empty("4");
- }
- // 已搬离
- else if(status=="2"){
- document.getElementById("patrolLi1").style.display="none";
- document.getElementById("patrolLi2").style.display="none";
- document.getElementById("patrolLi3").style.display="none";
- document.getElementById("patrolLi4").style.display="block";
- document.getElementById("patrolLi5").style.display="none";
- // empty(2);
- empty("2");
- empty("3");
- }
- }
- function XccjSelectChange(type){
- //先全部隐藏
- document.getElementById("ypDiv").style.display = "none";
- document.getElementById("ylqxDiv").style.display = "none";
- document.getElementById("ylfqwDiv").style.display = "none";
- document.getElementById("gpmcDiv").style.display = "none";
- document.getElementById("xcqtDiv").style.display = "none";
- //根据类型判断
- if(type == 1){
- if(document.getElementById("yp").checked){
- document.getElementById("ypDiv").style.display = "block";
- }
- }
- if(type == 2){
- if(document.getElementById("ylqx").checked){
- document.getElementById("ylqxDiv").style.display = "block";
- }
- }
- if(type == 3){
- if(document.getElementById("ylfqw").checked){
- document.getElementById("ylfqwDiv").style.display = "block";
- }
- }
- if(type == 4){
- if(document.getElementById("gpmc").checked){
- document.getElementById("gpmcDiv").style.display = "block";
- }
- }
- if(type == 5){
- if(document.getElementById("xcqt").checked){
- document.getElementById("xcqtDiv").style.display = "block";
- }
- }
- }
- function empty(type) {
- document.getElementById("yp").checked=false;
- document.getElementById("ypNum").value="";
- document.getElementById("ylqx").checked=false;
- document.getElementById("ylqxNum").value="";
- document.getElementById("ylfqw").checked=false;
- document.getElementById("ylfqwNum").value="";
- document.getElementById("gpmc").checked=false;
- document.getElementById("gpmcName").value="";
- document.getElementById("xmp").checked=false;
- document.getElementById("yy").checked=false;
- document.getElementById("xcqt").checked=false;
- document.getElementById("xwhqr").checked=false;
- document.getElementById("xcqtContent").value="";
- if(type=="2"){
- var medicineScene=document.getElementsByName("medicineScene");
- for(var i=0;i<medicineScene.length;i++){
- // medicineScene.checked=false;
- medicineScene[i].checked = false;
- }
- }
- if(type=="3"){
- // 清空未执业依据选项
- var wzyStatus = document.getElementsByName("wzyStatus");
- for(var i=0;i<wzyStatus.length;i++){
- wzyStatus[i].checked = false;
- }
- }
- if(type=="4"){
- // 清空已搬离依据选项
- var yblStatus = document.getElementsByName("yblStatus");
- for(var i=0;i<yblStatus.length;i++){
- yblStatus[i].checked = false;
- }
- }
- document.getElementById("nk").checked=false;
- document.getElementById("yk").checked=false;
- document.getElementById("ylmr").checked=false;
- document.getElementById("xyqt").checked=false;
- document.getElementById("xyqtContent").value="";
- document.getElementById("yblyjContent").value="";
- document.getElementById("wzyyjContent").value="";
- }
- function querySuccesse(evt, keyvalue) {
- // var result = evt.substr(76, evtlength);
- // var evtlength = evt.length - 85;
- // result = result.substr(0, evtlength);
- // var jsonData = JSON.parse(result);
- if (keyvalue == "AddInfo") {
- insertActionRecord('用户操作新增排查点');
- mui.toast("新增排查点成功!");
- window.location = "main.html?date=" + getDateStr();
- return;
- }
- // var jsonObj = JSON.parse(result)
- var jsonData = evt.data;
- if (jsonData != null) {
- switch (keyvalue) {
- case "loadMajor":
- Select_DyCreate("select_major", jsonData, "CODE", "NAME",true);
- break;
- }
- }
- }
- </script>
- </head>
- <body background="assets/image/login.png" style=" background-repeat:no-repeat ;background-size:100% 100%;background-attachment: fixed;">
- <header class="mui-bar mui-bar-nav">
- <a id="back" class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
- <h1 class="mui-title">巡查结果</h1>
- </header>
- <div class="mainDiv" style="overflow: scroll;width: 100%;height: 88%;">
- <div>
- <div class="mui-input-group" style="margin: 1.25rem 0.625rem 0.625rem 0.625rem;">
- <div class="mui-input-row" >
- <label>姓名:</label>
- <input id="txt_name" type="text" placeholder="姓名" readonly="true"/>
- </div>
- <div class="mui-input-row" >
- <label>性别:</label>
- <input id="txt_sex" type="text" placeholder="性别" readonly="true"/>
- <!-- <select id="txt_sex" class="mui-btn-block" >
- <option value="0">请选择</option>
- <option value="1">男</option>
- <option value="2">女</option>
- </select> -->
- </div>
- <!-- <div class="mui-input-row" >
- <label>类别:</label>
- <input id="txt_type" type="text" class="mui-input-clear" placeholder="主体类别"/>
- <select id="txt_type" class="mui-btn-block" >
- <option value="0">请选择</option>
- <option value="1">个人</option>
- <option value="2">单位</option>
- </select>
- </div> -->
- <div class="mui-input-row" >
- <label>专业:</label>
- <input id="txt_major" type="text" placeholder="从事专业" readonly="true"/>
- <!-- <select id="select_major" class="mui-btn-block" ></select> -->
- </div>
- <div class="mui-input-row" style="height: auto;" >
- <label>地址:</label>
- <textarea id="txt_add" placeholder="地址" readonly="true"></textarea>
- </div>
- <div class="mui-input-row" >
- <label>证件:</label>
- <input id="txt_idcard" type="text" placeholder="无" readonly="true"/>
- </div>
- <div class="mui-input-row" >
- <label>经度:</label>
- <input id="txt_jwd1" type="text" placeholder=" " readonly="true" value="121.213"/>
- </div>
- <div class="mui-input-row" >
- <label>纬度:</label>
- <input id="txt_jwd2" type="text" placeholder=" " readonly="true" value="32.2131"/>
- </div>
- <!-- <div class="mui-input-row" >
- <label>备注:</label>
- <input id="txt_bz" type="text" class="mui-input-clear" placeholder="备注"/>
- </div> -->
- </div>
- </div>
- <div style="width: 100%;height: 28%;margin: 0 auto;">
- <div class="mui-card" >
- <ul class="mui-table-view">
- <!--是否取得合法资质-->
- <li class="mui-table-view-cell mui-collapse">
- <a class="mui-navigate-right" href="#"><label style="color: red">*</label> 是否取得合法资质</a>
- <div class="mui-collapse-content" style="display: block;">
- <div class="mui-input-row mui-radio">
- <label>此人未取得合法资质</label>
- <input type="radio" name="HFZZStatus" value="0" onchange="onChangeHFZZ()" checked="checked" id="HFZZInput">
- </div>
- <div class="mui-input-row mui-radio">
- <label>此人已取得合法资质(《医师资格证书》和《医师执业证书》)</label>
- <input type="radio" name="HFZZStatus" value="1" onchange="onChangeHFZZ()">
- </div>
- </div>
- </li>
- <!--巡查结果-->
- <li class="mui-table-view-cell mui-collapse" style="display: block;" id="patrolLi0">
- <a class="mui-navigate-right" href="#"><label style="color: red">*</label> 巡查结果</a>
- <div class="mui-collapse-content">
- <div class="mui-input-row mui-radio">
- <label>执业中</label>
- <input type="radio" name="TaskStatus" value="1" onchange="TaskStatusChange()">
- </div>
- <div class="mui-input-row mui-radio">
- <label>可疑执业</label>
- <input type="radio" name="TaskStatus" value="3" onchange="TaskStatusChange()">
- </div>
- <div class="mui-input-row mui-radio ">
- <label>未执业</label>
- <input type="radio" name="TaskStatus" value="4" onchange="TaskStatusChange()">
- </div>
- <div class="mui-input-row mui-radio ">
- <label>已搬离</label>
- <input type="radio" name="TaskStatus" value="2" onchange="TaskStatusChange()">
- </div>
- </div>
- </li>
- <!--已搬离判断依据-->
- <li class="mui-table-view-cell mui-collapse" style="display: none" id="patrolLi4">
- <a class="mui-navigate-right" href="#"><label style="color: red">*</label> 判断依据</a>
- <div class="mui-collapse-content">
- <div class="mui-input-row mui-radio">
- <label>该点位已拆迁</label>
- <input type="radio" name="yblStatus" value="1">
- </div>
- <div class="mui-input-row mui-radio">
- <label>该点位业态已改变</label>
- <input type="radio" name="yblStatus" value="2">
- </div>
- <div class="mui-input-row mui-radio">
- <label>该点位已更换实际居住人</label>
- <input type="radio" name="yblStatus" value="3">
- </div>
- <div class="mui-input-row mui-radio">
- <label>经与知情人询问后确认</label>
- <input type="radio" name="yblStatus" value="4">
- </div>
- <div class="mui-input-row mui-radio">
- <label>其他
- (备注:<input style="width: 150px" id="yblyjContent"> )
- </label>
- <input type="radio" name="yblStatus" value="5">
- </div>
- </div>
- </li>
- <!--未执业判断依据-->
- <li class="mui-table-view-cell mui-collapse" style="display: none" id="patrolLi5">
- <a class="mui-navigate-right" href="#"><label style="color: red">*</label> 判断依据</a>
- <div class="mui-collapse-content">
- <div class="mui-input-row mui-radio">
- <label>无法进入现场</label>
- <input type="radio" name="wzyStatus" value="1">
- </div>
- <div class="mui-input-row mui-radio">
- <label>已进入现场,未发现可疑行医迹象</label>
- <input type="radio" name="wzyStatus" value="2">
- </div>
- <div class="mui-input-row mui-radio">
- <label>其他
- (备注:<input style="width: 150px" id="wzyyjContent"> )
- </label>
- <input type="radio" name="wzyStatus" value="3">
- </div>
- </div>
- </li>
- <!--现场查见-->
- <li class="mui-table-view-cell mui-collapse" style="display: none" id="patrolLi1">
- <a class="mui-navigate-right" href="#"><label style="color: red">*</label> 现场查见</a>
- <div class="mui-collapse-content">
- <div class="mui-input-row mui-checkbox">
- <label>药品
- <div id="ypDiv" style="display: none;">
- <input style="width: 80px;height: 26px;" id="ypNum" type="number" oninput="if(value>1000)value='';if(value<0)value='';"> 箱
- </div>
- </label>
- <input type="checkbox" id="yp" onchange="XccjSelectChange(1)">
- </div>
- <div class="mui-input-row mui-checkbox">
- <label>医疗器械
- <div id="ylqxDiv" style="display: none;">
- <input style="width: 80px;height: 26px;" id="ylqxNum" type="number" oninput="if(value>1000)value='';if(value<0)value='';"> 件
- </div>
- </label>
- <input type="checkbox" id="ylqx" onchange="XccjSelectChange(2)">
- </div>
- <div class="mui-input-row mui-checkbox">
- <label>医疗废弃物
- <div id="ylfqwDiv" style="display: none;">
- <input style="width: 80px;height: 26px;" id="ylfqwNum" type="number" oninput="if(value>1000)value='';if(value<0)value='';"> 件
- </div>
- </label>
- <input type="checkbox" id="ylfqw" onchange="XccjSelectChange(3)">
- </div>
- <div class="mui-input-row mui-checkbox">
- <label>挂牌
- <div id="gpmcDiv" style="display: none;">
- (名称:<input style="width: 100px;" id="gpmcName"> )
- </div>
- </label>
- <input type="checkbox" id="gpmc" onchange="XccjSelectChange(4)">
- </div>
- <div class="mui-input-row mui-checkbox">
- <label>小名片/小广告</label>
- <input type="checkbox" id="xmp" >
- </div>
- <div class="mui-input-row mui-checkbox">
- <label>牙椅</label>
- <input type="checkbox" id="yy" >
- </div>
- <div class="mui-input-row mui-checkbox">
- <label>经与知情人询问后确认</label>
- <input type="checkbox" id="xwhqr" >
- </div>
- <div class="mui-input-row mui-checkbox">
- <label>其他
- <div id="xcqtDiv" style="display: none;">
- (备注:<input style="width: 150px;" id="xcqtContent"> )
- </div>
- </label>
- <input type="checkbox" id="xcqt" onchange="XccjSelectChange(5)">
- </div>
- </div>
- </li>
- <!--行医人是否在现场-->
- <li class="mui-table-view-cell mui-collapse" style="display: none" id="patrolLi2">
- <a class="mui-navigate-right" href="#"><label style="color: red">*</label> 行医人是否在现场</a>
- <div class="mui-collapse-content">
- <div class="mui-input-row mui-radio">
- <label>是</label>
- <input type="radio" name="medicineScene" value="1">
- </div>
- <div class="mui-input-row mui-radio">
- <label>否</label>
- <input type="radio" name="medicineScene" value="0">
- </div>
- </div>
- </li>
- <!--行医内容-->
- <li class="mui-table-view-cell mui-collapse" style="display: none" id="patrolLi3">
- <a class="mui-navigate-right" href="#"><label style="color: red;display: none" id="xynrLable">*</label> 行医内容</a>
- <div class="mui-collapse-content">
- <div class="mui-input-row mui-checkbox">
- <label>内科</label>
- <input type="checkbox" id="nk" >
- </div>
- <div class="mui-input-row mui-checkbox">
- <label>牙科</label>
- <input type="checkbox" id="yk" >
- </div>
- <div class="mui-input-row mui-checkbox">
- <label>医疗美容</label>
- <input type="checkbox" id="ylmr" >
- </div>
- <div class="mui-input-row mui-checkbox">
- <label>其他 <input style="width: 150px" id="xyqtContent"></label>
- <input type="checkbox" id="xyqt" >
- </div>
- </div>
- </li>
- <!--拍照或上传图片-->
- <li class="mui-table-view-cell mui-collapse">
- <a class="mui-navigate-right" href="#"><label style="color: red">*</label>拍照或上传图片</a>
- <div class="mui-collapse-content">
- <div class="mui-content" style="width: 93%;height: 200px;margin: 0 auto;background-color: #91DBD9;">
- <form id='from1' enctype = "multipart/form-data">
- <div style="margin-top: 16px;margin-bottom: 10px;">
- <div class="image-uploads" style="width: 120px;position: absolute;">
- <label for="imgUploads">
- <img src="img/show3.png" id="addnew" style="width: 20px;height: 20px;margin-left: 10px;margin-top: 10px;" />
- </label>
- <input id="imgUploads" style="width: 180px;" type="file" name="imageUpload" accept="image/*" capture="camera" onchange="loadUpImgs()" />
- </div>
- <span class="title" style="color: #F9FDFD;font-size: 15px;margin-top: 10px;position: absolute;margin-left: 40px;">拍照</span>
- <div class="image-upload" style="width: 120px;position: absolute;margin-left: 70px;">
- <label for="imgUpload">
- <img src="img/imgadd.png" id="addnew1" style="width: 20px;height: 20px;margin-left: 10px;margin-top: 10px;" />
- </label>
- <input id="imgUpload" style="width: 180px;" type="file" name="imageUpload" accept="audio/*" capture="microphone" onchange="loadUpImg()" />
- </div>
- <span class="title" style="color: #F9FDFD;font-size: 15px;margin-top: 10px;position: absolute;margin-left: 110px;">从相册选取</span>
- <span id="picnum" style="float: right;font-size: 12px; color: #F9FDFD;margin-top: 10px;position: absolute;margin-left: 200px;">0/5</span>
- </div>
- <div class="dynamic_images" style="background-color: #91DBD9;height: 70px;width: 100%;padding-left: 40px;padding-right: 15px;">
- <ul class="row mui-input-row" style="width: 83%;height: 80%;margin-top: 30px;position: absolute;margin-left: -5%;">
- <img src="img/show.png" id="showimg"/>
- </ul>
- </div>
- </form>
- </div>
- </div>
- </li>
- <!--提交-->
- <li class="mui-table-view-cell mui-collapse" >
- <div style="margin-left: 2rem;">
- <button type="button" class="mui-btn mui-btn-primary " onclick="commitButton()" style="width: 90%;">提交</button>
- </div>
- </li>
- </ul>
- </div>
- </div>
- <nav class="mui-bar mui-bar-tab">
- <a href="firstPage.html" id="mainpage" class="mui-tab-item mui-active">
- <span class="mui-icon mui-icon-home"></span>
- <span class="mui-tab-label">主页</span>
- </a>
- <a href="projectInfo.html" id="addpage" class="mui-tab-item">
- <span class="mui-icon mui-icon-chatboxes"></span>
- <span class="mui-tab-label">添加</span>
- </a>
- <a href="myInfo.html" id="exit" class="mui-tab-item">
- <span class="mui-icon mui-icon-gear"></span>
- <span class="mui-tab-label">退出</span>
- </a>
- </nav>
- </div>
- </body>
- </html>
|