webpackJsonp([10],{"3L8F":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Xxa5"),s=a.n(n),r=a("exGp"),c=a.n(r),i=a("oZit"),o={props:{id:{type:String,required:!0},space:{type:String,required:!0}},data:function(){return{breadcrumbData:[{to:"/"+this.space+"/project/index",name:"项目"},{to:"",name:"检测报告"}],data:null,project:null}},created:function(){this.getProject(),this.getDetactions()},methods:{getDetactions:function(){var t=this;return c()(s.a.mark(function e(){var a,n;return s.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(i.d)(t.id);case 2:a=e.sent,n=a.data,t.data=n;case 5:case"end":return e.stop()}},e,t)}))()},getProject:function(){var t=this;return c()(s.a.mark(function e(){var a,n;return s.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(i.e)(t.id);case 2:a=e.sent,n=a.data,t.project=n;case 5:case"end":return e.stop()}},e,t)}))()}}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wl-detaction"},[a("wl-breadcrumb",{attrs:{data:t.breadcrumbData}}),t._v(" "),t.project?a("div",{staticClass:"wl-detaction__title"},[t._v("检测报告："+t._s(t.project.name))]):t._e(),t._v(" "),t.data&&0===t.data.length?a("div",{staticClass:"wl-detaction__success"},[a("i",{staticClass:"el-icon-success"}),t._v(" "),a("span",[t._v("恭喜，检测通过")])]):t._e(),t._v(" "),t._l(t.data,function(e,n){return a("div",{key:n+"detaction",staticClass:"wl-detaction__content"},[a("h1",[t._v(t._s(e.title))]),t._v(" "),a("div",{staticClass:"wl-detaction__item"},[a("span",[t._v("原因：")]),a("p",[t._v(t._s(e.why))])]),t._v(" "),a("div",{staticClass:"wl-detaction__item"},[a("span",[t._v("解决建议：")]),a("p",[t._v(t._s(e.how))])])])})],2)},staticRenderFns:[]};var u=a("VU/8")(o,d,!1,function(t){a("8Ejy")},null,null);e.default=u.exports},"8Ejy":function(t,e){}});