tft-fe/dist/js/9498.37992c37.js

1 line
8.3 KiB
JavaScript
Raw Normal View History

"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[9498],{2804: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",attrs:{title:l.value}},[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",attrs:{title:l.value}},[t._v(t._s(l.value))])])}))],2)])])},n=[],s={name:"DefectScatterPlot",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(t){console.log(t);for(let e=0;e<this.leftList.length;e++)this.leftList[e].value=t[this.leftList[e].key]?t[this.leftList[e].key]:null;for(let e=0;e<this.rightList.length;e++)this.rightList[e].value=t[this.rightList[e].key]?t[this.rightList[e].key]:null}}},r=s,i=l(1001),o=(0,i.Z)(r,a,n,!1,null,"4b7be4b1",null),u=o.exports},9498:function(t,e,l){l.r(e),l.d(e,{default:function(){return m}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"full-inspection-detail"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("div",{staticClass:"plot-total"},[e("defect-scatter-plot-total",{ref:"fullInspectionDetailPlot",staticClass:"plot-total-box",attrs:{detailObj:t.detailObj}})],1),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:80,label:"操作",fixed:"right","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),e("BaseDialog",{attrs:{dialogTitle:"查看图片",dialogVisible:t.centervisible,"close-on-click-modal":!1,"before-close":t.handleCancel}},[e("el-image",{staticStyle:{width:"100px",height:"100px"},attrs:{src:"https://fuss10.elemecdn.com/8/27/f01c15bb73e1ef3793e64e6b7bbccjpeg.jpeg","preview-src-list":t.arr}}),e("el-row",{attrs:{slot:"footer",type:"flex",justify:"end"},slot:"footer"},[e("el-col",{attrs:{span:12}},[e("el-button",{staticClass:"btnTextStyle",attrs:{size:"small"},on:{click:t.handleCancel}},[t._v("关闭")])],1)],1)],1)],1)},n=[],s=l(475),r=l(2334),i=l(2804);const o=[{prop:"ypos",label:"Y轴位置(mm)"},{prop:"xpos",label:"X轴位置(mm)"},{prop:"defectclass",label:"缺陷尺寸等级"},{prop:"defecttype",label:"缺陷类型"},{prop:"length",label:"长度(mm)"},{prop:"width",label:"宽度(mm)"}],u=[{type:"viewPic",btnName:"查看图片"}];var c={name:"FullInspectionDetail",components:{defectScatterPlotTotal:i.Z},data(){return{arr:["https://fuss10.elemecdn.com/8/27/f01c15bb73e1ef3793e64e6b7bbccjpeg.jpeg"],formConfig:[{type:"input",label:"玻璃ID",param:"glassId",defaultSelect:"",disabled:!0},{type:"select",label:"<EFBFBD><EFBFBD>