| igdss-app/grain-quantity.html | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| igdss-app/js/admin/grain-quantity.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| igdss-app/js/admin/height-all.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| igdss-app/js/admin/security-ai.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| igdss-app/js/admin/security-patrol.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| igdss-app/js/admin/security-snapshot.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| igdss-app/js/admin/work-audit.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
igdss-app/grain-quantity.html
@@ -20,11 +20,11 @@ </header> <div class="mui-content"> <div class="g-date_box"> <span class="day prev">前一天</span> <span class="day prev">前一月</span> <div class="inpbox" onclick="chooseDate();"> <input id="date" type="text" value="2022-04-15" readonly class="inp" /> </div> <span class="day next">后一天</span> <span class="day next">后一月</span> </div> <div class="mui-scroll-wrapper index-dzxg"> <div class="mui-scroll"> @@ -105,7 +105,7 @@ </div> </li> --> <li><div class="item"><div style="text-align: center;font-size: 20px;color:#dd524d;padding: 18px;">暂无工单审核信息</div></div></li> <li><div class="notItem"><div style="text-align: center;font-size: 20px;color:#dd524d;padding: 18px;">暂无数量监测信息</div></div></li> </ul> </div> </div> igdss-app/js/admin/grain-quantity.js
@@ -2,18 +2,18 @@ var uploadUrl = null; var quantityList = null; var ImgFile = null; var dateTime; var dateTime1; var length; var currentImageIndex; //电子巡更记录 var data = { "interfaceId": "5207", "outId": "10207", "reqDateTime": new Date(), "reqdateTime1": new Date(), "tokenAuth": "", "data": { "deptId": "", "dateTime": "", "dateTime1": "", } }; @@ -21,7 +21,7 @@ var data2 = { "interfaceId": "5208", "outId": "10208", "reqDateTime": new Date(), "reqdateTime1": new Date(), "tokenAuth": "", "data": { "id": "", @@ -35,8 +35,8 @@ data.tokenAuth = user.tokenAuth; data2.tokenAuth = user.tokenAuth; data.data.deptId = selectDeptId; dateTime = getDate(new Date()) document.getElementById("date").value = dateTime; dateTime1 = getDate(new Date()) document.getElementById("date").value = dateTime1; //获取数量检测列表 getQuantityList() @@ -50,20 +50,16 @@ if (month > 0 && month <= 9) { month = "0" + month; } day = date.getDate(); if (day > 0 && day <= 9) { day = "0" + day; } return year + "-" + month + "-" + day return year + "-" + month } //加减天数 function addAndReduceMonth(tag) { var date = new Date(dateTime); date = date.setDate(date.getDate() + tag); var date = new Date(dateTime1); date = date.setMonth(date.getMonth() + tag); date = new Date(date); dateTime = getDate(date); document.getElementById("date").value = dateTime; dateTime1 = getDate(date); document.getElementById("date").value = dateTime1; //获取数量检测列表 getQuantityList() } @@ -71,16 +67,16 @@ //选择日期 function chooseDate() { var dtpicker = new mui.DtPicker({ type: "date", //设置日历初始视图模式 type: "month", //设置日历初始视图模式 // beginDate: new Date(2015, 04, 25), //设置开始日期 // endDate: new Date(2016, 04, 25), //设置结束日期 value: dateTime value: dateTime1 }) var time = dateTime; var time = dateTime1; dtpicker.show(function(e) { dateTime = e.value; dateTime1 = e.value; document.getElementById("date").value = e.value if (time != dateTime) { if (time != dateTime1) { getQuantityList(); } }) @@ -88,7 +84,7 @@ //获取数量检测列表 function getQuantityList() { //赋值参数的日期 data.data.dateTime = dateTime; data.data.dateTime1 = dateTime1; console.log(JSON.stringify(data.data), "数量检测", "grain-quantity") mui.ajax(url, { type: "POST", @@ -101,6 +97,7 @@ quantityList = result.data; renderPatrol(); } else { quantityList = '' renderPatrol(); mui.toast(result.msg); console.log(JSON.stringify(result)) @@ -124,7 +121,7 @@ }) } else { html += '<li><div class="notItem"><div style="text-align: center;font-size: 20px;color:#dd524d;padding: 18px;">暂无工单审核信息</div></div></li>'; '<li><div class="notItem"><div style="text-align: center;font-size: 20px;color:#dd524d;padding: 18px;">暂无数量监测信息</div></div></li>'; } $("#recordList").html(html) igdss-app/js/admin/height-all.js
@@ -42,6 +42,7 @@ heightList = result.data; renderHeight(); } else { heightList = '' renderHeight(); mui.toast(result.msg); console.log(JSON.stringify(result)) igdss-app/js/admin/security-ai.js
@@ -105,6 +105,7 @@ PatrolList = result.data; renderPatrol(); } else { PatrolList='' renderPatrol(); mui.toast(result.msg); } igdss-app/js/admin/security-patrol.js
@@ -132,6 +132,7 @@ PatrolList = result.data; renderPatrol(); } else { PatrolList = '' renderPatrol(); mui.toast(result.msg); // console.log(JSON.stringify(result)) igdss-app/js/admin/security-snapshot.js
@@ -105,6 +105,7 @@ PatrolList = result.data; renderPatrol(); } else { PatrolList = '' renderPatrol(); mui.toast(result.msg); // console.log(JSON.stringify(result)) igdss-app/js/admin/work-audit.js
@@ -71,11 +71,13 @@ auditList = result.data; renderAuditList(); } else { auditList = '' renderAuditList(); mui.alert(result.msg, '提示', ["确定"], function() {}, "div"); } }, error: function() { auditList = '' renderAuditList(); mui.alert('系统繁忙,请重新登录尝试!', '提示', ["确定"], function() {}, "div");