(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-jctz-index"],{2909:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=u;var n=r(e("6005")),i=r(e("db90")),s=r(e("06c5")),o=r(e("3427"));function r(t){return t&&t.__esModule?t:{default:t}}function u(t){return(0,n.default)(t)||(0,i.default)(t)||(0,s.default)(t)||(0,o.default)()}},"2a37":function(t,a,e){var n=e("4af2");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=e("4f06").default;i("17a831a8",n,!0,{sourceMap:!1,shadowMode:!1})},"318b":function(t,a,e){"use strict";e.d(a,"b",(function(){return i})),e.d(a,"c",(function(){return s})),e.d(a,"a",(function(){return n}));var n={tab:e("fb7d").default,noData:e("ba10").default},i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",{staticClass:"content"},[e("tab",{attrs:{tabs:t.tabData},on:{change:function(a){arguments[0]=a=t.$handleEvent(a),t.onTabChange.apply(void 0,arguments)}}}),e("v-uni-view",{staticClass:"panel-list"},[t.data.length>0?t._l(t.data,(function(a,n){return e("v-uni-view",{staticClass:"panel",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toDetail("detail",a.id)}}},[e("v-uni-view",{staticClass:"panel-item"},[e("v-uni-text",{staticClass:"uni-text-main-color"},[t._v(t._s(a.job_name))]),0==a.status?e("v-uni-text",{staticClass:"right-item font-red-deep"},[t._v(t._s(a.status_str))]):t._e(),1==a.status?e("v-uni-text",{staticClass:"right-item uni-color-primary"},[t._v(t._s(a.status_str))]):t._e(),2==a.status?e("v-uni-text",{staticClass:"right-item uni-text-main-color"},[t._v(t._s(a.status_str))]):t._e()],1),e("v-uni-view",{staticClass:"panel-item"},[e("v-uni-text",[t._v("巡查人员：")]),e("v-uni-text",{staticClass:"text-color-grey"},[t._v(t._s(a.person_names))])],1),e("v-uni-view",{staticClass:"panel-item"},[e("v-uni-text",[t._v("巡查目标：")]),e("v-uni-text",{staticClass:"text-color-grey"},[t._v(t._s(a.target_name))])],1),e("v-uni-view",{staticClass:"panel-item panel-item2"},[e("v-uni-text",{staticClass:"uni-text-color-placeholder"},[t._v("开始日期："+t._s(a.start_time))]),e("v-uni-text",{staticClass:"right-item uni-text-color-placeholder"},[t._v("结束日期："+t._s(a.end_time))])],1)],1)})):[e("noData",{attrs:{show:!0}})]],2)],1)},s=[]},3427:function(t,a,e){"use strict";function n(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}Object.defineProperty(a,"__esModule",{value:!0}),a.default=n},"4af2":function(t,a,e){var n=e("24fb");a=n(!1),a.push([t.i,".panel-item2[data-v-74804942]{padding:%?20?% 0 0;margin-bottom:0!important;font-size:%?22?%!important;border-top:%?1?% solid #eee}",""]),t.exports=a},6005:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=s;var n=i(e("6b75"));function i(t){return t&&t.__esModule?t:{default:t}}function s(t){if(Array.isArray(t))return(0,n.default)(t)}},7170:function(t,a,e){"use strict";e.r(a);var n=e("318b"),i=e("9c2e");for(var s in i)"default"!==s&&function(t){e.d(a,t,(function(){return i[t]}))}(s);e("f401");var o,r=e("f0c5"),u=Object(r["a"])(i["default"],n["b"],n["c"],!1,null,"74804942",null,!1,n["a"],o);a["default"]=u.exports},"9c2e":function(t,a,e){"use strict";e.r(a);var n=e("dd09"),i=e.n(n);for(var s in n)"default"!==s&&function(t){e.d(a,t,(function(){return n[t]}))}(s);a["default"]=i.a},db90:function(t,a,e){"use strict";function n(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}e("a4d3"),e("e01a"),e("d28b"),e("a630"),e("d3b7"),e("3ca3"),e("ddb0"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=n},dd09:function(t,a,e){"use strict";var n=e("4ea4");e("99af"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i=n(e("2909")),s=n(e("fb7d")),o=n(e("ba10")),r={components:{tab:s.default,nodata:o.default},data:function(){return{job_type:2,tabData:[{title:"汛前检查",type:2},{title:"年度检查",type:4},{title:"特别检查",type:5}],data:[],params:{page:1,limit:10}}},onLoad:function(){this.init(),this.getData()},onReachBottom:function(){this.params.page++,this.getData()},methods:{init:function(){uni.pageScrollTo({scrollTop:0,duration:300}),this.params.page=1,this.params.limit=10,this.data=[]},onTabChange:function(t){this.job_type=this.tabData[t].type,this.init(),this.getData()},getData:function(){var t=this,a={page:this.params.page,limit:this.params.limit,job_type:this.job_type};this.$request.getData("inspectionjob/detail",a).then((function(a){1==t.params.page?t.data=a.data:t.data=[].concat((0,i.default)(t.data),(0,i.default)(a.data));for(var e=0;e<t.data.length;e++)t.data[e].start_time=t.$util.dateFormat(t.data[e].start_time),t.data[e].end_time=t.$util.dateFormat(t.data[e].end_time)}))},toDetail:function(t,a){uni.navigateTo({url:"".concat(t,"?id=").concat(a)})}}};a.default=r},f401:function(t,a,e){"use strict";var n=e("2a37"),i=e.n(n);i.a}}]);