"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[6082],{5994:function(t,e,l){l.d(e,{Z:function(){return u}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"bottom-box"},[e("div",{staticClass:"bottom-left"},[e("ul",{staticClass:"dataTab"},[e("div",{staticClass:"title"},[t._v("颗粒数据")]),t._l(t.leftList,(function(l,a){return e("li",{key:a},[e("p",{staticClass:"tabHead"},[t._v(t._s(l.name))]),e("p",{staticClass:"tabValue"},[t._v(t._s(l.value))])])}))],2)]),e("div",{staticClass:"bottom-right"},[e("ul",{staticClass:"dataTab"},[e("div",{staticClass:"title"},[t._v("面检数据")]),t._l(t.rightList,(function(l,a){return e("li",{key:a},[e("p",{staticClass:"tabHead"},[t._v(t._s(l.name))]),e("p",{staticClass:"tabValue"},[t._v(t._s(l.value))])])}))],2)])])},n=[],i={name:"DefectScatterPlot",props:{detailObj:{type:Object}},data(){return{leftList:[{name:"S",value:null,key:"s"},{name:"M",value:null,key:"m"},{name:"L",value:null,key:"l"},{name:"XL",value:null,key:"xl"}],rightList:[{name:"气泡",value:null,key:"bl"},{name:"变形",value:null,key:"distortion"},{name:"纤维",value:null,key:"fiber"},{name:"划伤",value:null,key:"scratch"},{name:"点状缺陷",value:null,key:"tin"},{name:"结石",value:null,key:"stone"},{name:"铂金",value:null,key:"pt"},{name:"结节",value:null,key:"knot"},{name:"拖尾",value:null,key:"tail"},{name:"ADG",value:null,key:"adg"},{name:"锡缺陷(顶部)",value:null,key:"top"},{name:"锡缺陷(底部)",value:null,key:"bottom"},{name:"无法识别",value:null,key:"iisrest"}]}},methods:{init(){console.log(this.detailObj);for(let t=0;t{this.tableH=(0,i.NC)(330)})),this.getListType()},methods:{getDetail(t,e,l){(0,s.iF)({virtualcode:t,time:l,defectType:decodeURIComponent(e)}).then((t=>{console.log(t),this.detailObj=t.data,this.$nextTick((()=>{this.$refs.fullInspectionDetailPlot.init()}))}))},getListType(){(0,s.eT)({size:500,current:1}).then((t=>{console.log(t),this.formConfig[0].selectOptions=t.data}))},getList(){(0,s.YU)({...this.listQuery}).then((t=>{console.log(t)}))},buttonClick(t){switch(t.btnName){case"search":this.listQuery.defectType=t.defectType,this.listQuery.current=1,this.getList();break;default:this.$router.push({path:"/qualityManagement/processFullInspection/fullInspection"})}},handleClick(t){console.log(t),alert("图片详情")}}},p=c,d=l(1001),f=(0,d.Z)(p,a,n,!1,null,"444ed842",null),m=f.exports},2334:function(t,e,l){l.d(e,{Af:function(){return r},F0:function(){return m},ON:function(){return u},QI:function(){return s},Qd:function(){return h},YU:function(){return f},dy:function(){return v},eT:function(){return p},iF:function(){return c},jA:function(){return i},pS:function(){return o},pw:function(){return d},r5:function(){return y},uX:function(){return g},v:function(){return n},vD:function(){return b}});var a=l(8859);function n(t){return(0,a.Z)({url:"/quality/processDetect/page",method:"post",data:t})}function i(t){return(0,a.Z)({url:"/quality/processDetect/list",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/quality/processDetect/add",method:"post",formState:!0,data:t})}function r(t){return(0,a.Z)({url:"/quality/processDetect/detectInput",method:"post",formState:!0,data:t})}function o(t){return(0,a.Z)({url:"/quality/processDetect/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function u(t){return(0,a.Z)({url:"/quality/processCompleteInspetion/page",method:"post",data:t})}function c(t){return(0,a.Z)({url:"/quality/processCompleteInspetion/getDetails",method:"post",data:t})}function p(t){return(0,a.Z)({url:"/quality/processCompleteInspetion/listType",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/quality/processCompleteInspetion/export",method:"post",responseType:"blob",data:t})}function f(t){return(0,a.Z)({url:"/quality/processCompleteInspetion/pageIIS",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/quality/ProcessFull/queryPoint",method:"post",data:t})}function h(t){return(0,a.Z)({url:"/quality/ProcessFull/drawPoint",method:"post",data:t})}function y(t){return(0,a.Z)({url:"/quality/ProcessFull/queryPointClear",method:"post",data:t})}function b(t){return(0,a.Z)({url:"/quality/ProcessFull/confirm",method:"post",data:t})}function v(t){return(0,a.Z)({url:"/quality/ProcessFull/queryThickness",method:"post",data:t})}function g(t){return(0,a.Z)({url:"/quality/ProcessFull/drawThickness",method:"post",formState:!0,data:t})}}}]);