12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268 |
- <!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="mainTest.html?date="+getDateStr() ;
- });
- $(document).on("click", '#addpage', function() {
- // mui.alert('模块更新中 敬请期待!!!', '系统提示', function() {});
- window.location="addTest.html?date="+getDateStr();
- });
- $(document).on("click", '#back', function() {
- window.location="mainTest.html?date="+getDateStr() ;
- });
- $(document).on("click", '#exit', function() {
- var btnArray = ['否', '是'];
- mui.confirm('是否确认退出登录?', '系统提示', btnArray, function(e) {
- if (e.index == 1) {
- window.location="loginTest.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="mainTest.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("xwhqr").checked=false;
- document.getElementById("xcqt").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 = "mainTest.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>
|