1 line
16 KiB
JavaScript
1 line
16 KiB
JavaScript
|
"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[2927],{2804:function(t,e,a){a.d(e,{Z:function(){return c}});var l=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(a,l){return e("li",{key:l},[e("p",{staticClass:"tabHead"},[t._v(t._s(a.name))]),e("p",{staticClass:"tabValue",attrs:{title:a.value}},[t._v(t._s(a.value))])])}))],2)]),e("div",{staticClass:"bottom-right"},[e("ul",{staticClass:"dataTab"},[e("div",{staticClass:"title"},[t._v("面检数据")]),t._l(t.rightList,(function(a,l){return e("li",{key:l},[e("p",{staticClass:"tabHead"},[t._v(t._s(a.name))]),e("p",{staticClass:"tabValue",attrs:{title:a.value}},[t._v(t._s(a.value))])])}))],2)])])},s=[],r={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}}},i=r,n=a(1001),o=(0,n.Z)(i,l,s,!1,null,"4b7be4b1",null),c=o.exports},2927:function(t,e,a){a.r(e),a.d(e,{default:function(){return x}});var l=function(){var t=this,e=t._self._c;return e("div",{staticClass:"defectScatterPlot"},[e("split-pane",{on:{"on-move-end":t.moveEnd},scopedSlots:t._u([{key:"left",fn:function(){return[e("div",{staticClass:"split-pane left-box"},[e("search-bar",{attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{selectWidth:50,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH},on:{"selection-change":t.selectChange}})],1)]},proxy:!0},{key:"right",fn:function(){return[e("div",{staticClass:"split-pane right-box"},[e("div",{staticClass:"inner-box"},[e("div",{staticClass:"line1"},[e("span",{staticStyle:{"margin-right":"8px"}},[t._v("颗粒缺陷选择")]),e("el-radio-group",{staticStyle:{"margin-right":"24px"},attrs:{size:"small"},on:{change:t.selectType},model:{value:t.type,callback:function(e){t.type=e},expression:"type"}},[e("el-radio-button",{attrs:{label:"pellet"}},[t._v("颗粒全选")]),e("el-radio-button",{attrs:{label:"surface"}},[t._v("面检全选")])],1),e("el-button",{staticStyle:{"margin-right":"14px"},attrs:{type:"primary",size:"small"},on:{click:t.drawPic}},[t._v("绘图")]),e("el-button",{attrs:{type:"primary",size:"small",plain:""},on:{click:t.exportExl}},[t._v("导出")]),e("el-button",{attrs:{type:"primary",size:"small",plain:""},on:{click:t.clearChoose}},[t._v("重置")])],1),e("div",{staticClass:"line2"},[e("el-checkbox-group",{model:{value:t.checkList,callback:function(e){t.checkList=e},expression:"checkList"}},t._l(t.list,(function(a,l){return e("el-checkbox",{key:l,attrs:{label:a.value}},[t._v(t._s(a.label))])})),1)],1),e("div",[e("span",{staticClass:"title"},[t._v("缺陷散点图"+t._s(t.showGlassId))])]),e("defect-scatter-plot-chart",{ref:"poltChart",attrs:{defectMsg:t.defectList,cornerData:t.cornerList}}),e("div",{staticClass:"bottom"},[e("div",{staticStyle:{"margin-bottom":"10px"}},[e("span",{staticClass:"title"},[t._v("合计")]),e("defect-scatter-plot-total",{ref:"plotTotal"})],1)])],1)])]},proxy:!0}]),model:{value:t.split1,callback:function(e){t.split1=e},expression:"split1"}})],1)},s=[],r=
|