chunk-677efcca.f586f083.js 1.4 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-677efcca"],{"2abc":function(t,a,n){"use strict";var e=n("39cd"),s=n.n(e);s.a},"39cd":function(t,a,n){},"43b9":function(t,a,n){"use strict";n.r(a);var e=function(){var t=this,a=t.$createElement,n=t._self._c||a;return n("div",{staticClass:"container"},[n("Header",{attrs:{title:"巡检任务"}}),n("div",{staticClass:"main"},[n("ul",t._l(t.list,(function(a,e){return n("li",{key:e,on:{click:function(n){return t.setPath(a)}}},[n("p",[n("span"),t._v(t._s(a.areaName))]),n("p",{staticClass:"aa"},[n("span",[t._v("区域负责人:")]),t._v(t._s(a.areaUserList.map((function(t){return t.nickName})).join(",")))]),n("p",{staticClass:"aa"},[n("span",[t._v("任务数量:")]),t._v(t._s(a.completedCheckTaskCount)+"/"+t._s(a.checkTaskCount))])])})),0)])],1)},s=[],c=n("0319"),i={name:"VueSkTask",data:function(){return{list:[]}},mounted:function(){var t=this,a=Android.getNfcCode();a&&Object(c["d"])(a).then((function(a){var n=a.data;console.log(n,"看看"),200===n.code&&(t.$notify({type:"success",message:n.msg,duration:1500}),t.areaList())})).catch((function(t){console.log(t,"走到错误了")})),this.areaList()},methods:{areaList:function(){var t=this;Object(c["a"])().then((function(a){var n=a.data;200===n.code&&(t.list=n.rows)}))},setPath:function(t){this.$router.push({name:"inspect",query:{id:t.areaId}})}}},o=i,r=(n("2abc"),n("2877")),u=Object(r["a"])(o,e,s,!1,null,"2e51dabf",null);a["default"]=u.exports}}]);