(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"5c46":function(e,t,a){"use strict";var n;a.d(t,"b",(function(){return r})),a.d(t,"c",(function(){return i})),a.d(t,"a",(function(){return n}));var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",[a("v-uni-swiper",{staticClass:"grace-swiper swiper1",staticStyle:{height:"380rpx"},attrs:{autoplay:"true","indicator-dots":!0,"indicator-color":"rgba(255, 255, 255, 1)","indicator-active-color":"#3688FF",interval:"5000"}},e._l(e.swiperItems,(function(e,t){return a("v-uni-swiper-item",{key:t},[a("v-uni-image",{attrs:{src:e,mode:"widthFix"}})],1)})),1),a("v-uni-view",{staticClass:"time-bx",staticStyle:{padding:"20upx"}},[a("v-uni-view",{staticClass:"grace-flex-center"},[a("v-uni-text",{staticClass:"grace-black grace-h2"},[e._v(e._s(e.real_time.date_hm))]),a("v-uni-text",{staticClass:"grace-black grace-h4",staticStyle:{"padding-top":"30upx","margin-left":"20upx",width:"40upx"}},[e._v(e._s(e.real_time.data_s))])],1),a("v-uni-view",{staticClass:"grace-flex-center"},[a("v-uni-text",{staticClass:"grace-gray grace-h4"},[e._v(e._s(e.real_time.date_nyr)+" "+e._s(e.real_time.date_week))])],1)],1),a("v-uni-view",{staticClass:"line"}),a("v-uni-view",{staticClass:"grace-grids six"},e._l(e.todoList,(function(t,n){return a("v-uni-view",{staticClass:"grace-grids-items grace-relative",attrs:{"data-todott":t.name,"data-todoroot":t.root},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.on_todo_list_tap.apply(void 0,arguments)}}},[a("v-uni-image",{staticClass:"todo-img",attrs:{src:t.src,mode:""}}),a("v-uni-text",{staticClass:"grace-grids-text"},[e._v(e._s(t.name))])],1)})),1)],1)},i=[]},6954:function(e,t,a){var n=a("24fb");t=n(!1),t.push([e.i,".grace-select-tags[data-v-7a41314f]{padding:0}.grace-select-tags uni-checkbox-group[data-v-7a41314f], .grace-select-tags uni-radio-group[data-v-7a41314f]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap}.grace-select-tags uni-label[data-v-7a41314f]{display:block;width:auto;overflow:hidden;padding:%?18?% %?20?%;height:%?30?%;line-height:%?30?%;margin:%?8?% 8px 8px 0;background:#f6f7f8;font-size:%?24?%;border-radius:%?8?%}.grace-select-tags uni-label uni-checkbox[data-v-7a41314f], .grace-select-tags uni-label uni-radio[data-v-7a41314f]{display:none}.grace-checked[data-v-7a41314f]{color:#fff}",""]),e.exports=t},"70c5":function(e,t,a){"use strict";var n=a("d6d9"),r=a.n(n);r.a},7125:function(e,t,a){"use strict";a("c975"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,Array.prototype.indexOf=function(e){for(var t=0;t0}));console.log("有数字的筛选",n),console.log(n.length),n.length>0?uni.showTabBarRedDot({index:1}):uni.hideTabBarRedDot({index:1})},filter_data_root:function(e){var t=this,a=e.data.list,n=[{name:"资产信息",src:"../../static/index/a1.png",root:"true"},{name:"报修",src:"../../static/index/a2.png",root:"false"},{name:"点检",src:"../../static/index/a4.png",root:"false"},{name:"启停",src:"../../static/index/a5.png",root:"false"},{name:"申购",src:"../../static/index/d1.png",root:"false"},{name:"评估验证",src:"../../static/index/d3.png",root:"false"},{name:"水表",src:"../../static/index/c1.png",root:"false"},{name:"电表",src:"../../static/index/c2.png",root:"false"},{name:"天然气表",src:"../../static/index/c3.png",root:"false"},{name:"蒸汽表",src:"../../static/index/c5.png",root:"false"}];a.forEach((function(e,t){"maintenance:repair:baoxiu"==e.path&&(n[1]["root"]="true",console.log("报修权限有")),"maintenance:spotCheck:add"==e.path&&(n[2]["root"]="true",console.log("点检权限有")),"asset:SST:equipmentStop"==e.path&&(n[3]["root"]="true",console.log("启停权限有")),"customs:subscribe:add"==e.path&&(n[4]["root"]="true",console.log("申购权限有")),"evaluationVerification:assessment:APP"==e.path&&(n[5]["root"]="true",console.log("评估验证权限有")),"cost:water:waterMeter"==e.path&&(n[6]["root"]="true",console.log("水表权限有")),"cost:elec:electricityMeter"==e.path&&(n[7]["root"]="true",console.log("电表权限有")),"cost:gas:naturalGasMeter"==e.path&&(n[8]["root"]="true",console.log("天然气表权限有")),"cost:steam:steamMeter"==e.path&&(n[9]["root"]="true",console.log("蒸汽表权限有"))})),t.todoList=n},on_todo_list_tap:function(e){var t=e.currentTarget.dataset.todott,a=e.currentTarget.dataset.todoroot;switch(console.log(a),t){case"资产信息":uni.navigateTo({url:"./card/card"});break;case"报修":"true"==a?uni.navigateTo({url:"./reportRepair/reportRepair"}):uni.showToast({title:"暂无此权限",duration:2e3,icon:"none"});break;case"点检":"true"==a?uni.navigateTo({url:"./spotCheck/spotCheck"}):uni.showToast({title:"暂无此权限",duration:2e3,icon:"none"});break;case"启停":"true"==a?uni.navigateTo({url:"./equipmentStop/equipmentStop"}):uni.showToast({title:"暂无此权限",duration:2e3,icon:"none"});break;case"水表":"true"==a?uni.navigateTo({url:"./waterMeter/waterMeter"}):uni.showToast({title:"暂无此权限",duration:2e3,icon:"none"});break;case"电表":"true"==a?uni.navigateTo({url:"./electricityMeter/electricityMeter"}):uni.showToast({title:"暂无此权限",duration:2e3,icon:"none"});break;case"天然气表":if("true"==a){uni.navigateTo({url:"./naturalGasMeter/naturalGasMeter"});break}uni.showToast({title:"暂无此权限",duration:2e3,icon:"none"});break;case"沼气表":"true"==a?uni.navigateTo({url:"./methaneMeter/methaneMeter"}):uni.showToast({title:"暂无此权限",duration:2e3,icon:"none"});break;case"蒸汽表":"true"==a?uni.navigateTo({url:"./steamMeter/steamMeter"}):uni.showToast({title:"暂无此权限",duration:2e3,icon:"none"});break;case"评估验证":"true"==a?uni.navigateTo({url:"./assessmentVerify/assessmentVerify"}):uni.showToast({title:"暂无此权限",duration:2e3,icon:"none"});break;case"申购":"true"==a?uni.navigateTo({url:"./applyForBuy/applyForBuy"}):uni.showToast({title:"暂无此权限",duration:2e3,icon:"none"});break;case"非维保领用":"true"==a?uni.navigateTo({url:"./collect/collect"}):uni.showToast({title:"暂无此权限",duration:2e3,icon:"none"});break}}},components:{graceSelectTags:r.default}};t.default=i},c337:function(e,t,a){var n=a("24fb");t=n(!1),t.push([e.i,".grace-body[data-v-069052e3]{padding:%?25?%}.line[data-v-069052e3]{background:#f6f7f8;height:%?16?%;width:100%}.six[data-v-069052e3]{border-top:1px solid #dcdcdc;border-left:1px solid #dcdcdc}.six > .grace-grids-items[data-v-069052e3]{width:33.3%;border-right:1px solid #dcdcdc;border-bottom:1px solid #dcdcdc;padding:%?40?% 0}.todo-img[data-v-069052e3]{width:%?60?%;height:%?60?%;margin-bottom:%?10?%}",""]),e.exports=t},d6d9:function(e,t,a){var n=a("c337");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var r=a("4f06").default;r("5ebb5fef",n,!0,{sourceMap:!1,shadowMode:!1})},f248:function(e,t,a){"use strict";a.r(t);var n=a("7125"),r=a.n(n);for(var i in n)"default"!==i&&function(e){a.d(t,e,(function(){return n[e]}))}(i);t["default"]=r.a},f987:function(e,t,a){"use strict";a.r(t);var n=a("5c46"),r=a("99d7");for(var i in r)"default"!==i&&function(e){a.d(t,e,(function(){return r[e]}))}(i);a("70c5");var o,c=a("f0c5"),s=Object(c["a"])(r["default"],n["b"],n["c"],!1,null,"069052e3",null,!1,n["a"],o);t["default"]=s.exports}}]);