"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[9929],{9929:function(t,e,r){r.r(e),r.d(e,{default:function(){return v}});var a=function(){var t=this,e=t._self._c;return e("el-row",{staticClass:"thicknessDistributionMap",attrs:{gutter:8}},[e("el-col",{attrs:{span:10}},[e("div",{staticClass:"left-box"},[e("search-bar",{attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{ref:"thicknessDistributionTable",attrs:{id:"thicknessDistributionTable1","table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH,"highlight-current-row":""},on:{"current-change":t.handleCurrentChange}})],1)]),e("el-col",{attrs:{span:14}},[e("div",{staticClass:"right-box"},[e("thickness-distribution-chart",{attrs:{chartMsg:t.chartData}})],1)])],1)},s=[],i=r(475),n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"thicknessDistributionChart"},[t._m(0),t._m(1),e("div",{staticStyle:{width:"100%"},style:{height:t.chartHeight+"px"},attrs:{id:"thicknessChart"}})])},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"top-table"},[e("ul",[e("li",[t._v("转换速度:32654654")]),e("li",[t._v("配方类型:G8.5-0943")]),e("li",[t._v("玻璃索引:56565")]),e("li",[t._v("等级:G1")]),e("li")]),e("ul",[e("li",{staticClass:"red-tip"},[t._v("最大值:235454")]),e("li",{staticClass:"blue-tip"},[t._v("最小值:5652356")]),e("li",{staticClass:"purple-tip"},[t._v("平均值:6856532656")]),e("li",{staticClass:"green-tip"},[t._v("厚度差:656413212")]),e("li",{staticClass:"yellow-tip"},[t._v("研磨类型:4ABC")])])])},function(){var t=this,e=t._self._c;return e("div",[e("span",{staticClass:"title"},[t._v("玻璃ID:46745386415274874")])])}],l=r(7171),u=r(5468),c={name:"thicknessDistributionChart",mixins:[u.Z],data(){return{chartDom:"",chart:"",chartHeight:(0,i.NC)(320)}},props:{chartMsg:{type:Array,default:()=>[]}},mounted(){this.chartDom=document.getElementById("thicknessChart"),this.chart=l.S1(this.chartDom),this.getChart(),window.addEventListener("resize",(()=>{this.chartHeight=(0,i.NC)(320)}))},watch:{chartMsg:function(){this.getChart()}},methods:{getChart(){let t=[];for(let s=1;s<=21;s++)t.push(s);let e=[];for(let s=1;s<=7;s++)e.push(s);const r=[];for(let s=0;s{this.tableH=(0,i.NC)(350)})),this.formConfig[0].defaultSelect=[g()().format("yyyy-MM-DD")+"T00:00:00",g()().format("yyyy-MM-DD")+"T23:59:59"],this.listQuery.startTime=g()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=g()().format("yyyy-MM-DD")+"T23:59:59",this.getList()},methods:{getList(){(0,y.dy)({...this.listQuery}).then((t=>{if(console.log(t),0===t.code&&t.data.length>0){let e=this;e.tableData=t.data,e.$nextTick((()=>{e.$refs.thicknessDistributionTable.setCurrent("thicknessDistributionTable1",0)})),e.listQuery2.glassId=e.tableData[0].glassId,e.listQuery2.glassType=e.tableData[0].grindType,e.listQuery2.testTime=e.tableData[0].testTime}else this.tableData=[],this.listQuery2.glassId="",this.listQuery2.glassType="",this.listQuery2.testTime=""}))},buttonClick(t){switch(t.btnName){case"search":this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.listQuery.glassId=t.glassId,this.getList();break;default:(0,y.uX)({...this.listQuery2}).then((t=>{console.log(t),this.chartData=t.data}))}},handleCurrentChange(t){this.listQuery2.glassId=t.newVal.glassId,this.listQuery2.glassType=t.newVal.grindType,this.listQuery2.testTime=t.newVal.testTime}}},T=C,D=(0,p.Z)(T,a,s,!1,null,"247deb1f",null),v=D.exports},2334:function(t,e,r){r.d(e,{Af:function(){return o},F0:function(){return m},G$:function(){return C},Jt:function(){return b},ON:function(){return u},QI:function(){return n},Qd:function(){return y},YU:function(){return d},dy:function(){return D},eT:function(){return h},gP:function(){return I},iF:function(){return c},jA:function(){return i},kT:function(){return q},nE:function(){return g},pS:function(){return l},pw:function(){return p},qn:function(){return k},r5:function(){return f},uX:function(){return v},v:function(){return s},vD:function(){return T}});var a=r(8859);function s(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 n(t){return(0,a.Z)({url:"/quality/processDetect/add",method:"post",formState:!0,data:t})}function o(t){return(0,a.Z)({url:"/quality/processDetect/detectInput",method:"post",formState:!0,data:t})}function l(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 h(t){return(0,a.Z)({url:"/quality/processCompleteInspetion/listType",method:"post",data:t})}function p(t){return(0,a.Z)({url:"/quality/processCompleteInspetion/export2",method:"post",responseType:"blob",data:t})}function d(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 y(t){return(0,a.Z)({url:"/quality/ProcessFull/drawPoint",method:"post",data:t})}function f(t){return(0,a.Z)({url:"/quality/ProcessFull/queryPointClear",method:"post",data:t})}function g(t){return(0,a.Z)({url:"/quality/ProcessFull/cornerData",method:"post",data:t})}function b(t){return(0,a.Z)({url:"/quality/ProcessFull/pointExport2",method:"post",responseType:"blob",data:t,timeout:6e4})}function C(t){return(0,a.Z)({url:"/quality/ProcessFull/pointExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function T(t){return(0,a.Z)({url:"/quality/ProcessFull/confirm",method:"post",data:t})}function D(t){return(0,a.Z)({url:"/quality/ProcessFull/queryThickness",method:"post",data:t})}function v(t){return(0,a.Z)({url:"/quality/ProcessFull/drawThickness",method:"post",formState:!0,data:t})}function q(t){return(0,a.Z)({url:"/quality/productTrace/page",method:"post",data:t})}function I(t){return(0,a.Z)({url:"/quality/productTrace/pageProcess",method:"post",data:t})}function k(t){return(0,a.Z)({url:"/quality/productTrace/pageProcessParameter",method:"post",data:t})}}}]);