tft-fe/dist/js/7671.f1c440e0.js

1 line
16 KiB
JavaScript
Raw Normal View History

2023-06-30 14:01:06 +08:00
"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[7671],{7671:function(t,e,a){a.r(e),a.d(e,{default:function(){return x}});var n=function(){var t=this,e=t._self._c;return e("div",[e("el-row",{staticClass:"main-box",attrs:{gutter:10}},[e("el-col",{attrs:{span:4}},[e("div",{staticClass:"left-box"},[e("el-tree",{ref:"deviceTree",attrs:{data:t.treeData,"node-key":"name",props:t.defaultTime,"default-expand-all":"","highlight-current":!0},on:{"node-click":t.clickDevice}})],1)]),e("el-col",{attrs:{span:20}},[e("el-row",{attrs:{gutter:10}},[e("el-col",{attrs:{span:24}},[e("el-row",{attrs:{gutter:10}},[e("el-col",{attrs:{span:18}},[e("div",{staticClass:"top-left"},[e("div",[e("search-bar",{attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"page-width":50,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}})],1)])]),e("el-col",{attrs:{span:6}},[e("div",{staticClass:"top-right"},[e("div",[e("span",{staticClass:"title"},[t._v(t._s(t.eqName)+"计划产能")]),e("svg-icon",{staticClass:"icon-style",attrs:{"icon-class":"device_edit"},on:{click:t.editPower}})],1),e("el-row",[e("el-col",{attrs:{span:12}},[e("base-table",{attrs:{"table-props":t.tableProps2,"table-data":t.tableData2,"max-height":t.tableH}})],1),e("el-col",{attrs:{span:12}},[e("base-table",{attrs:{"table-props":t.tableProps2,"table-data":t.tableData3,"max-height":t.tableH}})],1)],1)],1)])],1)],1)],1),e("el-row",{attrs:{gutter:10}},[e("el-col",{attrs:{span:24}},[e("div",{staticClass:"right-bottom"},[e("device-oee-line",{ref:"oeeLine",attrs:{chartMsg:t.tableData}})],1)])],1)],1)],1),e("base-dialog",{attrs:{dialogTitle:"产能维护",dialogVisible:t.centervisible,"close-on-click-modal":!1,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("product-power-edit",{ref:"productPower",on:{successSubmit:t.successSubmit}})],1)],1)},r=[],o=a(5591),i=a(475),l=a(147),u=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticStyle:{"text-align":"center","margin-bottom":"10px","font-weight":"bold"}},[t._v(" "+t._s(t.name)+" ")]),e("el-form",{ref:"form",attrs:{"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"1月",prop:"january"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0},model:{value:t.form.january,callback:function(e){t.$set(t.form,"january",e)},expression:"form.january"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"2月",prop:"february"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0},model:{value:t.form.february,callback:function(e){t.$set(t.form,"february",e)},expression:"form.february"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"3月",prop:"march"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0},model:{value:t.form.march,callback:function(e){t.$set(t.form,"march",e)},expression:"form.march"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"4月",prop:"april"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0},model:{value:t.form.april,callback:function(e){t.$set(t.form,"april",e)},expression:"form.april"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"5月",prop:"may"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0},model:{value:t.form.may,callback:function(e){t.$set(t.form,"may",e)},expression:"form.may"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"6月",prop:"june"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0},model:{value:t.form.june,callback:function(e){t.$set(t.form,"june",e)},expression:"form.june"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"7月",prop:"july"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0},model:{value:t.form.july,c