(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-21b598cc"],{"6fac":function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e._self._c;return t("spotCheckLogDetail",{attrs:{localType:e.localType,dataSourceDtail:e.dataSourceDtail,objData:e.objData,headtitle:e.headerTitle}})},o=[],n=(a("1771"),a("8416"),a("7ad2"),a("0b8b"),a("0277"),a("7c02"),a("706d"),a("d625")),r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"spot_check_log_detail"},[t("div",{staticClass:"title"},[t("div",{staticClass:"g-card g-card-border"},[t("div",{staticClass:"card-header"},[t("span",{staticClass:"card-header__title all-font-style"},[e._v(e._s(e.headtitle))])]),t("div",{staticClass:"card-content"},[t("span",[e._v(e._s(e.lang.reportTime))]),e._v("\n        "+e._s(e.objData.reportTime)+"\n      ")])])]),t("div",{staticClass:"contant"},[t("div",{staticClass:"g-card g-card-spot"},[t("div",{staticClass:"card-contents"},[t("div",[t("span",[e._v(e._s(e.lang.unitNumber))]),t("span",[e._v(e._s(e.objData.totalUnit))])]),t("div",[t("span",[e._v(e._s(e.lang.repiarNumber))]),t("span",[e._v(e._s(e.objData.defectiveUnit))])]),t("div",{staticStyle:{width:"50%"}},[t("span",[e._v(e._s(e.lang.totalDeadRate)+" ")]),t("span",[e._v(e._s(e.objData.alltotalDeadRate)+"‰   ("+e._s(e.objData.redDeadPixelCount+e.objData.greenDeadPixelCount+e.objData.blueDeadPixelCount+e.objData.virtualRedDeadPixelCount)+"/"+e._s(e.objData.totalPixel)+")")])])]),t("div",{staticClass:"card-contents"},[t("div",[t("span",[e._v(e._s(e.lang.readRepair))]),t("span",[e._v(e._s(e.objData.redRepairedRange)+"‰    ("+e._s(e.objData.redDeadPixelCount)+"/"+e._s(e.objData.redPixelCount)+")")])]),t("div",[t("span",[e._v(e._s(e.lang.greenRepair))]),t("span",[e._v(e._s(e.objData.greenRepairedRange)+"‰   ("+e._s(e.objData.greenDeadPixelCount)+"/"+e._s(e.objData.greenPixelCount)+")")])]),t("div",[t("span",[e._v(e._s(e.lang.blueRepair))]),t("span",[e._v(e._s(e.objData.blueRepairedRange)+"‰   ("+e._s(e.objData.blueDeadPixelCount)+"/"+e._s(e.objData.bluePixelCount)+")")])]),t("div",[t("span",[e._v(e._s(e.lang.virreadRepair))]),t("span",[e._v(e._s(e.objData.virRepairedRange)+"‰   ("+e._s(e.objData.virtualRedDeadPixelCount)+"/"+e._s(e.objData.virtualRedPixelCount)+")")])])])])]),t("div",{staticClass:"g-card"},[t("div",{staticClass:"card-header__title table-tip"},[t("span",{staticClass:"all-font-style"},[e._v(e._s(e.lang.repairedUnitNumber))]),t("a-tooltip",{attrs:{placement:"topLeft",title:e.lang.tip}},[t("a-icon",{attrs:{type:"exclamation-circle"}})],1)],1),t("a-table",{attrs:{"data-source":e.dataSourceDtail,scroll:{y:"calc(100% - 200px)"},columns:e.columns,"row-key":"index",pagination:!1},scopedSlots:e._u([{key:"deadtotalPixel",fn:function(a){return t("a",{staticClass:"sport-list-group"},[e._v(e._s(a)+"‰")])}}])})],1)])},l=[],d={zh:{reportTime:"报告时间：",unitNumber:"单元板总数：",repiarNumber:"待维修单元板数：",totalDeadRate:"整屏坏点率 (坏灯数/总灯数) ：",readRepair:"红灯坏点率：",greenRepair:"绿灯坏点率：",blueRepair:"蓝灯坏点率：",virreadRepair:"虚拟红灯坏点率：",repairedUnitNumber:"待维修单元板数",tip:"坏点率或者坏点数超过阈值,通知维修的单元板",No:"序号",sendNo:"发送卡序号",netdNo:"网口序号",recivedNo:"接收卡序号",position:"单元板位置",repairAll:"坏点总数",repairRange:"坏点率"},en:{reportTime:"Reported",unitNumber:"Total Modules：",repiarNumber:"Modules to Repair：",totalDeadRate:"Faulty LED Rate (Faulty LEDs/Total LEDs) ：",readRepair:"Faulty Red LED Rate：",greenRepair:"Faulty Green LED Rate：",blueRepair:"Faulty Blue LED Rate：",virreadRepair:"Faulty Virtual Red LED Rate：",repairedUnitNumber:"Modules to Repair",tip:"Only the modules that exceed the faulty LED rate or the faulty LED number threshold are displayed here. ",No:"No.",sendNo:"Sending Card No",netdNo:"Ethernet Port No",recivedNo:"Receiving Card No",position:"Module Location",repairAll:"Total Faulty LEDs",repairRange:"Faulty LED Rate"}},s=d,u={blueDeadPixelCount:1,bluePixelCount:20,createAt:"2022-07-23T07:43:09.511Z",defectiveUnit:0,greenDeadPixelCount:1,greenPixelCount:40,id:"1",redDeadPixelCount:1,redPixelCount:50,ruleId:0,screenId:0,totalPixel:0,totalUnit:0,unitDataList:[{id:"1",deadPixelCount:0,networkInterfaceIndex:"www",position:"www",receiveCardIndex:"www",sendCardIndex:"w",totalPixel:10},{id:"2",deadPixelCount:0,networkInterfaceIndex:"tt",position:"u",receiveCardIndex:"t",sendCardIndex:"i",totalPixel:20}],units:"string",updateAt:"2022-07-23T07:43:09.511Z",virtualRedDeadPixelCount:1,virtualRedPixelCount:30,all:40},c=u,p={data:function(){return{columns:[{title:s[this.localType].No,dataIndex:"index"},{title:s[this.localType].sendNo,dataIndex:"sendCardIndex"},{title:s[this.localType].netdNo,dataIndex:"networkInterfaceIndex"},{title:s[this.localType].recivedNo,dataIndex:"receiveCardIndex"},{title:s[this.localType].position,dataIndex:"position"},{title:s[this.localType].repairAll,dataIndex:"deadPixelCount"},{title:s[this.localType].repairRange,dataIndex:"deadtotalPixel",scopedSlots:{customRender:"deadtotalPixel"}}],lang:{}}},props:{localType:{type:String,default:"zh"},headtitle:{type:String},dataSourceDtail:{type:Array,default:function(){return c.unitDataList}},objData:{type:Object,default:function(){return c}}},watch:{localType:{handler:function(e){this.lang=s[e]},immediate:!0,deep:!0}},created:function(){}},D=p,x=(a("a318"),a("aa36")),b=Object(x["a"])(D,r,l,!1,null,"3dac3887",null),g=b.exports,v=a("7696");function h(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}function C(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?h(Object(a),!0).forEach((function(t){Object(n["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):h(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var y={data:function(){return{localType:window.cfg.isVnnox?"en":"zh",dataSourceDtail:[],objData:{},headerTitle:this.$route.query.sn}},components:{spotCheckLogDetail:g},created:function(){this.$isMobile||this.setCrumbs([{key:this.$route.query.from,name:"deviceManage"===this.$route.query.from?this.$t("deviceManage.menuName"):this.$t("page.screenManage"),url:"/".concat(this.$route.query.from)},{key:"deviceManage"===this.$route.query.from?"/deviceDetail/:id":"/screen/:id",name:this.$route.query.sn,url:"/screen/".concat(this.$route.query.screenId,"?from=").concat(this.$route.query.from)},{name:this.$t("spotCheck.logDetail")}]),this.getData()},methods:C(C({},Object(v["d"])(["setCrumbs"])),{},{getData:function(){var e=this;this.loading=!0;var t={},a=" id eq ".concat(this.$route.params.id),i={$filter:a};this.$request("getSpotCheckLogDetail",C({},i)).then((function(a){e.loading=!1,"ok"===a.code?(t=a.body,console.log("getSpotCheckLogDetail",t.unitDataList),e.initData(t)):(e.dataSourceDtail=[],console.log("error",a))}))},initData:function(e){var t=this;e.unitDataList.forEach((function(e,a){e.index=a+1,e.position=parseInt(e.position)+1,e.deadtotalPixel=e.totalPixel>0?(e.deadPixelCount/e.totalPixel*1e3).toFixed(2):0,t.dataSourceDtail.push(e)})),console.log("_parameters.dataSourceDtail"+JSON.stringify(e.unitDataList)+"-----"+JSON.stringify(this.dataSourceDtail));var a=e.timeZone?"(".concat(e.timeZone,") "):"",i=this.$tool.getTimeDiff(e.timeZone);e.reportTime="".concat(a).concat(this.$tool.formatUTCDate(e.createAt+i,"yyyy-MM-dd hh:mm:ss")),e.alltotalDeadRate=e.totalPixel>0?((e.redDeadPixelCount+e.greenDeadPixelCount+e.blueDeadPixelCount+e.virtualRedDeadPixelCount)/e.totalPixel*1e3).toFixed(2):0,e.redRepairedRange=e.redPixelCount>0?(e.redDeadPixelCount/e.redPixelCount*1e3).toFixed(2):0,e.blueRepairedRange=e.bluePixelCount>0?(e.blueDeadPixelCount/e.bluePixelCount*1e3).toFixed(2):0,e.greenRepairedRange=e.greenPixelCount>0?(e.greenDeadPixelCount/e.greenPixelCount*1e3).toFixed(2):0,e.virRepairedRange=e.virtualRedPixelCount>0?(e.virtualRedDeadPixelCount/e.virtualRedPixelCount*1e3).toFixed(2):0,this.objData=e}})},f=y,P=Object(x["a"])(f,i,o,!1,null,null,null);t["default"]=P.exports},a318:function(e,t,a){"use strict";a("e0ad")},e0ad:function(e,t,a){}}]);