(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order-alarm"],{1475:function(t,e,a){"use strict";a.r(e);var n=a("2ecf"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},"24e1":function(t,e,a){"use strict";a.r(e);var n=a("e8a2"),i=a("1475");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("4126");var l=a("828b"),o=Object(l["a"])(i["default"],n["b"],n["c"],!1,null,"49979625",null,!1,n["a"],void 0);e["default"]=o.exports},"2ecf":function(t,e,a){"use strict";a("6a54");var n=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(a("2634")),r=n(a("2fdc")),l=a("75a0"),o={data:function(){return{list:[]}},onLoad:function(){this.getAlarmList()},methods:{onPullDownRefresh:function(){var t=this;setTimeout((function(){t.getAlarmList(),uni.stopPullDownRefresh()}),500)},addAlarm:function(){uni.navigateTo({url:"/pages/order/addAlarm"})},getAlarmList:function(){var t=this;return(0,r.default)((0,i.default)().mark((function e(){return(0,i.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,l.get)("/myapi/api/yq_driver/troubleList").then((function(e){t.list=e.data}));case 2:case"end":return e.stop()}}),e)})))()},toDetail:function(t){uni.navigateTo({url:"/pages/order/detailAlarm?id="+t})}}};e.default=o},4126:function(t,e,a){"use strict";var n=a("57ff"),i=a.n(n);i.a},"57ff":function(t,e,a){var n=a("f8fa");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("967d").default;i("1e297e0b",n,!0,{sourceMap:!1,shadowMode:!1})},e8a2:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return n}));var n={uButton:a("14ce").default,uTag:a("f879").default},i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"container"},[a("v-uni-view",{staticClass:"add_btn"},[a("u-button",{staticStyle:{width:"80px"},attrs:{type:"primary",size:"small",text:"去上报",icon:"plus-circle"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.addAlarm.apply(void 0,arguments)}}})],1),a("v-uni-view",{staticClass:"list"},[a("v-uni-scroll-view",{staticClass:"scroll-Y",attrs:{"scroll-top":t.scrollTop,"scroll-y":"true"},on:{scrolltoupper:function(e){arguments[0]=e=t.$handleEvent(e),t.upper.apply(void 0,arguments)},scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.lower.apply(void 0,arguments)},scroll:function(e){arguments[0]=e=t.$handleEvent(e),t.scroll.apply(void 0,arguments)}}},t._l(t.list,(function(e,n){return a("v-uni-view",{staticClass:"card",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.toDetail(e.id)}}},[a("v-uni-view",{staticClass:"title"},[t._v(t._s(e.license))]),a("v-uni-view",{staticClass:"name_1 flex"},[t._v("事件类型："+t._s(e.name))]),a("v-uni-view",{staticClass:"name_1 flex"},[t._v("上报时间："+t._s(e.create_time))]),a("v-uni-view",{staticClass:"name_1 flex"},[1==e.status?a("u-tag",{attrs:{text:"已通过",type:"success"}}):2==e.status?a("u-tag",{attrs:{text:"拒绝",type:"warning"}}):a("u-tag",{attrs:{text:"审核中",type:"error"}})],1)],1)})),1)],1)],1)},r=[]},f8fa:function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,".container[data-v-49979625]{padding:20px}.container .add_btn[data-v-49979625]{position:fixed;top:50px;right:10px;z-index:1}.container .list .scroll-Y[data-v-49979625]{height:calc(100vh - 86px)}.container .list .scroll-Y .card[data-v-49979625]{background-color:#fff;padding:10px;margin-bottom:10px;font-size:14px;border-radius:10px;border:1px solid #f4f4f4}.container .list .scroll-Y .card .title[data-v-49979625]{font-size:18px;font-weight:700;height:40px;line-height:40px;border-bottom:1px solid #f4f4f4;display:flex;justify-content:space-between;align-items:center}.container .list .scroll-Y .card .flex[data-v-49979625]{display:flex}.container .list .scroll-Y .card .flex .icon-right[data-v-49979625]{margin-right:5px}.container .list .scroll-Y .card .name_1[data-v-49979625]{margin:10px 0}",""]),t.exports=e}}]);