(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-45b04401"],{"1da1":function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));r("d3b7");function n(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(s){return void r(s)}c.done?e(u):Promise.resolve(u).then(n,o)}function o(t){return function(){var e=this,r=arguments;return new Promise((function(o,i){var a=t.apply(e,r);function c(t){n(a,o,i,c,u,"next",t)}function u(t){n(a,o,i,c,u,"throw",t)}c(void 0)}))}}},6022:function(t,e,r){},"96cf":function(t,e,r){var n=function(t){"use strict";var e,r=Object.prototype,n=r.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(F){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=e&&e.prototype instanceof g?e:g,i=Object.create(o.prototype),a=new S(n||[]);return i._invoke=j(t,r,a),i}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(F){return{type:"throw",arg:F}}}t.wrap=s;var h="suspendedStart",f="suspendedYield",v="executing",p="completed",d={};function g(){}function y(){}function m(){}var w={};w[i]=function(){return this};var _=Object.getPrototypeOf,x=_&&_(_(C([])));x&&x!==r&&n.call(x,i)&&(w=x);var b=m.prototype=g.prototype=Object.create(w);function L(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,i,a,c){var u=l(t[o],t,i);if("throw"!==u.type){var s=u.arg,h=s.value;return h&&"object"===typeof h&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(h).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var o;function i(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}this._invoke=i}function j(t,e,r){var n=h;return function(o,i){if(n===v)throw new Error("Generator is already running");if(n===p){if("throw"===o)throw i;return D()}r.method=o,r.arg=i;while(1){var a=r.delegate;if(a){var c=O(a,r);if(c){if(c===d)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===h)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=v;var u=l(t,e,r);if("normal"===u.type){if(n=r.done?p:f,u.arg===d)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=p,r.method="throw",r.arg=u.arg)}}}function O(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator["return"]&&(r.method="return",r.arg=e,O(t,r),"throw"===r.method))return d;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var o=l(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,d;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,d):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function C(t){if(t){var r=t[i];if(r)return r.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){while(++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),N(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;N(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:C(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),d}},t}(t.exports);try{regeneratorRuntime=n}catch(o){Function("r","regeneratorRuntime = r")(n)}},"9edb":function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"img"},[n("img",{attrs:{src:r("da96"),alt:""}}),n("h1",[t._v("东井通风系统")]),n("p",[t._v(t._s(t.nowTime))])]),n("div",t._l(t.data,(function(e){return n("div",{staticClass:"content"},[n("div",{staticClass:"top"},[n("div",{staticClass:"left"},[t._v(t._s(e.name))]),0!=e.run?n("div",{staticClass:"right",staticStyle:{"background-color":"#27ae60"}},[t._v("运行")]):n("div",{staticClass:"right",staticStyle:{"background-color":"red"}},[t._v("停止")])]),n("div",{staticClass:"data"},[n("ul",t._l(e.list,(function(e){return 0!=e.tag_value?n("li",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}]},[n("div",{staticClass:"title"},[t._v(t._s(e.tag_name))]),n("div",{staticClass:"num"},[t._v(" "+t._s(e.tag_value.substring(0,e.tag_value.indexOf(".")+3))+" ")])]):t._e()})),0)])])})),0)])},o=[],i=r("1da1"),a=(r("96cf"),{name:"tongfeng_dongjin",data:function(){return{data:"",show:!0,nowTime:""}},methods:{getData:function(){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function e(){var r,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$http.post("http://nmjt.nxjiewei.com:8011/api/automate/mine_ventilate/get_list",{mine_id:"zaoquan",type:1});case 2:r=e.sent,n=r.data,console.log(n.content.data),t.data=n.content.data;case 6:case"end":return e.stop()}}),e)})))()},getNowFormatDate:function(){var t=new Date,e=t.getFullYear(),r=t.getMonth(),n=t.getDate(),o=t.getDay(),i=t.getHours(),a=t.getMinutes(),c=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();r+=1;var u=new Array("星期日","星期一","星期二","星期三","星期四","星期五","星期六"),s=u[o],l=e+"年"+r+"月"+n+"日 "+s+" "+i+":"+a+":"+c;this.nowTime=l}},mounted:function(){this.getData(),this.infos=setInterval(this.getData,5e3),this.date=setInterval(this.getNowFormatDate,1e3)},beforeDestroy:function(){clearInterval(this.infos),clearInterval(this.date)}}),c=a,u=(r("c399"),r("2877")),s=Object(u["a"])(c,n,o,!1,null,"734767f6",null);e["default"]=s.exports},c399:function(t,e,r){"use strict";r("6022")},da96:function(t,e,r){t.exports=r.p+"img/tongfeng.e13c8bc1.png"}}]); //# sourceMappingURL=chunk-45b04401.db4b6925.js.map