tft-fe/dist/js/6488.c01a640d.js

1 line
9.5 KiB
JavaScript
Raw Normal View History

2023-02-22 13:59:09 +08:00
"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[6488],{6488:function(t,e,a){a.r(e),a.d(e,{default:function(){return L}});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,page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}}),e("pagination",{attrs:{limit:t.listQuery.size,total:t.total}})],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"},model:{value:t.type,callback:function(e){t.type=e},expression:"type"}},[e("el-radio-button",{attrs:{label:"1"}},[t._v("颗粒全选")]),e("el-radio-button",{attrs:{label:"2"}},[t._v("面检全选")])],1),e("el-button",{staticStyle:{"margin-right":"14px"},attrs:{type:"primary",size:"small"}},[t._v("绘图")]),e("el-button",{attrs:{type:"primary",size:"small",plain:""}},[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("缺陷散点图(1245241242)")])]),e("defect-scatter-plot-chart",{ref:"poltChart"}),e("div",{staticClass:"bottom"},[e("div",{staticStyle:{"margin-bottom":"10px"}},[e("span",{staticClass:"title"},[t._v("合计")]),e("defect-scatter-plot-total")],1)])],1)])]},proxy:!0}]),model:{value:t.split1,callback:function(e){t.split1=e},expression:"split1"}})],1)},s=[],i=a(475),r=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.a,(function(a,l){return e("li",{key:l},[e("p",{staticClass:"tabHead"},[t._v(t._s(a.name))]),e("p",{staticClass:"tabValue"},[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.b,(function(a,l){return e("li",{key:l},[e("p",{staticClass:"tabHead"},[t._v(t._s(a.name))]),e("p",{staticClass:"tabValue"},[t._v(t._s(a.value))])])}))],2)])])},n=[],o={name:"DefectScatterPlot",data(){return{a:[{name:"S",value:65323},{name:"M",value:65323},{name:"L",value:65323},{name:"XL",value:65323}],b:[{name:"气泡",value:65323},{name:"变形",value:65323},{name:"纤维",value:65323},{name:"划伤",value:65323},{name:"点状缺陷",value:65323},{name:"结石",value:65323},{name:"铂金",value:65323},{name:"结节",value:65323},{name:"拖尾",value:65323},{name:"ADG",value:65323},{name:"锡缺陷(顶部)",value:65323},{name:"锡缺陷(底部)",value:65323},{name:"无法识别",value:65323}]}}},c=o,u=a(1001),p=(0,u.Z)(c,r,n,!1,null,"7836bff5",null),v=p.exports,b=function(){var t=this,e=t._self._c;return e("div",{staticClass:"box"},[e("div",{staticStyle:{width:"100%"},style:{height:t.chartHeight+"px"},attrs:{id:"defectScatterPlotChart"}}),e("span",{staticClass:"text1"},[t._v("文本框11111")]),e("span",{staticClass:"text2"},[t._v("文本框222222232323232322")]),e("span",{staticClass:"text3"},[t._v("文本框33333")]),e("span",{staticClass:"text4"},[t._v("文本框44444")])])},d=[],m=a(7171),h=a(5468),f={name:"DefectScatterPlotChart",mixins:[h.Z],data(){return{chartDom:"",chart:"",chartHeight:(0,i.NC)(446)}},mounted(){window.addEventListener("resize",(()=>{this.chartHeight=(0,i.NC)(446)})),setTimeout((()=>{this.getChart()}),20)},methods:{getChart(){null!==this.chart&&""!==this.chart&&void 0!==this.ch