YYC
2023-06-09 5132d695e4edc00e2a80f7bf40b5164be34e9499
igds-app/js/admin/warn-list.js
@@ -69,45 +69,45 @@
         mui.alert("系统繁忙,请重试!", "提示", ["确定"], function() {}, "div")
      }
   })
   warnList = [{
         "id": "88",
         "name": "拉目些调",
         "type": "nostrud",
         "eventType": "cillumreprehenderitest",
         "level": "1",
         "status": "40",
         "time": "2006-11-01 14:01:36",
         "info": "dolor",
         "depotId": "6",
         "depotName": "",
         "remark": "00000"
      },
      {
         "id": "56",
         "name": "法都象叫与局",
         "type": "cillumreprehenderitUt",
         "eventType": "in",
         "level": "2",
         "status": "20",
         "time": "1981-02-18 22:28:23",
         "info": "deserunt Excepteur aliqua veniam commodo",
         "depotId": "28",
         "depotName": "龙用改素",
         "remark": "1111"
      }, {
         "id": "72",
         "name": "华林九别",
         "type": "exdeseruntcillumeu",
         "eventType": "aliqua sint dolor aute",
         "level": "1",
         "status": "10",
         "time": "1978-07-23 12:17:27",
         "info": "deserunt nostrud id tempor",
         "depotId": "70",
         "depotName": "县志选只",
         "remark": ""
      }
   ]
   // warnList = [{
   //       "id": "88",
   //       "name": "拉目些调",
   //       "type": "nostrud",
   //       "eventType": "cillumreprehenderitest",
   //       "level": "1",
   //       "status": "40",
   //       "time": "2006-11-01 14:01:36",
   //       "info": "dolor",
   //       "depotId": "6",
   //       "depotName": "",
   //       "remark": "00000"
   //    },
   //    {
   //       "id": "56",
   //       "name": "法都象叫与局",
   //       "type": "cillumreprehenderitUt",
   //       "eventType": "in",
   //       "level": "2",
   //       "status": "20",
   //       "time": "1981-02-18 22:28:23",
   //       "info": "deserunt Excepteur aliqua veniam commodo",
   //       "depotId": "28",
   //       "depotName": "龙用改素",
   //       "remark": "1111"
   //    }, {
   //       "id": "72",
   //       "name": "华林九别",
   //       "type": "exdeseruntcillumeu",
   //       "eventType": "aliqua sint dolor aute",
   //       "level": "1",
   //       "status": "10",
   //       "time": "1978-07-23 12:17:27",
   //       "info": "deserunt nostrud id tempor",
   //       "depotId": "70",
   //       "depotName": "县志选只",
   //       "remark": ""
   //    }
   // ]
   renderWarn();
}
@@ -161,10 +161,13 @@
      // endDate: new Date(2016, 04, 25), //设置结束日期 
      value: dateTime
   })
   var time = dateTime
   dtpicker.show(function(e) {
      dateTime = e.value;
      document.getElementById("date").value = e.value
      getWarnList();
      if(time != dateTime){
         getWarnList();
      }
   })
}
@@ -270,7 +273,7 @@
//滑动
mui('.mui-scroll-wrapper').scroll({
   indicators: false, //是否显示滚动条
   indicators: true, //是否显示滚动条
   deceleration: 0.0006, //阻尼系数,系数越小滑动越灵敏
   bounce: false, //是否启用回弹
   deceleration: 0.0005 //flick 减速系数,系数越大,滚动速度越慢,滚动距离越小,默认值0.0006