1 line
7.6 KiB
JavaScript
1 line
7.6 KiB
JavaScript
"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[2003],{2003:function(s,a,l){l.r(a),l.d(a,{default:function(){return y}});var c=function(){var s=this,a=s._self._c;return a("div",{staticClass:"finalInspectionData"},[a("el-row",{staticClass:"box-top"},[a("el-col",[a("div",{staticClass:"search-box"},[a("search-bar",{attrs:{formConfigs:s.formConfig},on:{headBtnClick:s.buttonClick}})],1)])],1),a("el-row",{staticClass:"box",attrs:{gutter:8}},[a("el-col",{attrs:{span:9}},[a("div",{staticClass:"left-box"},[a("span",{staticClass:"table-button"},[s._v("生成表格")]),a("base-table",{attrs:{selectWidth:40,"table-props":s.tablePropsL,"table-data":s.tableDataL,"max-height":s.tableHL}})],1)]),a("el-col",{attrs:{span:15}},[a("div",{staticClass:"right-box"},[a("div",[a("span",{staticClass:"title"},[s._v("成品玻璃基本缺陷统计")])]),a("ul",{staticClass:"tip"},[a("li",[s._v("单位:um")]),a("li",[s._v("玻璃ID:26522322323")]),a("li",[s._v("生产日期:2022.12.24 15:56:24")]),a("li",[s._v("等级:G1")])]),a("div",{staticClass:"table-box"},[a("final-data-table")],1)])])],1)],1)},t=[],e=l(475),i=function(){var s=this,a=s._self._c;return a("div",{staticClass:"finalDataTable"},[a("base-table",{attrs:{"table-props":s.tablePropsT,"table-data":s.tableDataT}}),a("base-table",{attrs:{"table-props":s.tablePropsB,"table-data":s.tableDataB}})],1)},n=[];const o=[{label:"尺寸",children:[{prop:"name1",label:"面检缺陷",width:110}]},{label:"class1",children:[{prop:"class1",label:"<10*25",minWidth:70}]},{label:"class2",children:[{prop:"class2",label:"<10*25",minWidth:70}]},{label:"class3",children:[{prop:"class3",label:"<10*25",minWidth:70}]},{label:"class4",children:[{prop:"class4",label:"<10*25",minWidth:70}]},{label:"class5",children:[{prop:"class5",label:"<10*25",minWidth:70}]},{label:"class6",children:[{prop:"class6",label:"<10*25",minWidth:70}]},{label:"class7",children:[{prop:"class7",label:"<10*25",minWidth:70}]},{label:"class8",children:[{prop:"class8",label:"<10*25",minWidth:70}]},{label:"class9",children:[{prop:"class9",label:"<10*25",minWidth:70}]},{label:"class10",children:[{prop:"class10",label:"<10*25",minWidth:70}]},{prop:"total",label:"总数",minWidth:70}],r=[{label:"尺寸",children:[{prop:"name1",label:"面检缺陷",width:110}]},{label:"class1",children:[{prop:"class1",label:"100-200",minWidth:70}]},{label:"class2",children:[{prop:"class2",label:"200-500",minWidth:70}]},{label:"class3",children:[{prop:"class3",label:"300-800",minWidth:70}]},{label:"class4",children:[{prop:"class4",label:"500-1000",minWidth:70}]},{label:"class5",children:[{prop:"class5",label:"1000-2000",minWidth:70}]},{label:"class6",children:[{prop:"class6",label:"<1000-30000",minWidth:70}]},{label:"class7",children:[{prop:"class7",label:"1000-5000",minWidth:70}]},{label:"class8",children:[{prop:"class8",label:"1000-8000",minWidth:70}]},{label:"class9",children:[{prop:"class9",label:"1000-10000",minWidth:70}]},{label:"class10",children:[{prop:"class10",label:"1000-10000",minWidth:70}]},{prop:"total",label:"总数",minWidth:70}];var b={name:"FinalDataTable",data(){return{tablePropsT:o,tableDataT:[],tablePropsB:r,tableDataB:[]}},mounted(){this.getList()},methods:{getList(){this.tableDataT=[{name1:"BL",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Distortion",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Fiber",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"IIS rest",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Knot",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"PT",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Scratch",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Stone",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Tail",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Tin",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Tin(Bottom)",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Tin(Top)",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"面检sum",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20}],this.tableDataB=[{name1:"BL",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Distortion",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Fiber",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"IIS rest",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Knot",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"PT",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Scratch",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Stone",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Tail",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Tin",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Tin(Bottom)",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"Tin(Top)",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20},{name1:"面检sum",class1:0,class2:2,class3:54,class4:0,class5:0,class6:0,class7:7,class8:0,class9:0,class10:0,total:20}]}}},p=b,m=l(1001),d=(0,m.Z)(p,i,n,!1,null,null,null),h=d.exports;const u=[{prop:"id",label:"ID",minWidth:100},{prop:"time",label:"检测时间",minWidth:100},{prop:"type",label:"研磨类型",minWidth:100}];var f={name:"FinalInspectionData",components:{finalDataTable:h},data(){return{formConfig:[{type:"datePicker",label:"检验时间",dateType:"datetime",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-dd HH:mm:ss",placeholder:"检验时间",param:"testTime",width:200},{type:"select",label:"玻璃架",selectOptions:[{id:"1",name:"521321545"},{id:"2",name:"932234561"},{id:"3",name:"542121212"},{id:"4",name:"354855321"}],param:"fullInspectionType",defaultSelect:"",width:150},{type:"select",label:"报表类型",selectOptions:[{id:"1",name:"单片玻璃基板缺陷统计"},{id:"2",name:"932234561"},{id:"3",name:"542121212"},{id:"4",name:"354855321"}],param:"fullInspectionType1",defaultSelect:"",width:150},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"导出",name:"export",color:"primary",plain:!0}],tablePropsL:u,tableDataL:[],tableHL:(0,e.NC)(300)}},mounted(){window.addEventListener("resize",(()=>{this.tableHL=(0,e.NC)(300)})),this.getList()},methods:{buttonClick(s){switch(s.btnName){case"search":this.getList();break;default:alert("导出")}},getList(){let s=[];for(let a=0;a<30;a++){let l={};l.type=a,s.push(l)}this.tableDataL=s}}},W=f,T=(0,m.Z)(W,c,t,!1,null,"980016d4",null),y=T.exports}}]); |